mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
asahi: Set fd/ro appropriately
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606>
This commit is contained in:
parent
f1771ec398
commit
a5b8918800
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue