asahi: Pass valid memctx to open_device

Currently the argument is unused but that's about to change.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25498>
This commit is contained in:
Alyssa Rosenzweig 2023-09-28 12:44:09 -04:00 committed by Marge Bot
parent cde7ca1683
commit 75fe90dab0

View file

@ -2175,7 +2175,7 @@ agx_screen_create(int fd, struct renderonly *ro,
agx_screen->dev.ro = ro;
/* Try to open an AGX device */
if (!agx_open_device(screen, &agx_screen->dev)) {
if (!agx_open_device(agx_screen, &agx_screen->dev)) {
ralloc_free(agx_screen);
return NULL;
}