panfrost: Kick off v9 support in the driver

Call panfrost_cmdstream_screen_init_v9.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>
This commit is contained in:
Alyssa Rosenzweig
2022-04-07 10:34:00 -04:00
committed by Marge Bot
parent 1a1546ca7e
commit f329f67243
2 changed files with 3 additions and 0 deletions
@@ -907,6 +907,8 @@ panfrost_create_screen(int fd, struct renderonly *ro)
panfrost_cmdstream_screen_init_v6(screen);
else if (dev->arch == 7)
panfrost_cmdstream_screen_init_v7(screen);
else if (dev->arch == 9)
panfrost_cmdstream_screen_init_v9(screen);
else
unreachable("Unhandled architecture major");
@@ -128,6 +128,7 @@ void panfrost_cmdstream_screen_init_v4(struct panfrost_screen *screen);
void panfrost_cmdstream_screen_init_v5(struct panfrost_screen *screen);
void panfrost_cmdstream_screen_init_v6(struct panfrost_screen *screen);
void panfrost_cmdstream_screen_init_v7(struct panfrost_screen *screen);
void panfrost_cmdstream_screen_init_v9(struct panfrost_screen *screen);
#define perf_debug(dev, ...) \
do { \