projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1771ec
)
asahi: Set fd/ro appropriately
author
Asahi Lina
<lina@asahilina.net>
Tue, 8 Nov 2022 15:34:17 +0000
(10:34 -0500)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 17 Nov 2022 02:47:10 +0000
(
02:47
+0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19606>
src/gallium/drivers/asahi/agx_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/asahi/agx_pipe.c
b/src/gallium/drivers/asahi/agx_pipe.c
index
0253616
..
7d2734a
100644
(file)
--- 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);