Module: Mesa Branch: main Commit: a5b891880086cc7f4ce6831056615e246b0d6be4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5b891880086cc7f4ce6831056615e246b0d6be4
Author: Asahi Lina <[email protected]> Date: Tue Nov 8 10:34:17 2022 -0500 asahi: Set fd/ro appropriately Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606> --- src/gallium/drivers/asahi/agx_pipe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/asahi/agx_pipe.c b/src/gallium/drivers/asahi/agx_pipe.c index 02536161207..7d2734ab3e7 100644 --- a/src/gallium/drivers/asahi/agx_pipe.c +++ b/src/gallium/drivers/asahi/agx_pipe.c @@ -1382,6 +1382,9 @@ agx_screen_create(int fd, struct renderonly *ro, struct sw_winsys *winsys) agx_screen->dev.debug = debug_get_flags_option("ASAHI_MESA_DEBUG", agx_debug_options, 0); + agx_screen->dev.fd = fd; + agx_screen->dev.ro = ro; + /* Try to open an AGX device */ if (!agx_open_device(screen, &agx_screen->dev)) { ralloc_free(agx_screen);
