mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
panfrost: Enable v10 in the gallium driver
Now that everything is in place to support v10, add it to the panfrost_versions array in meson.build and patch panfrost_create_screen() to hook up pipe_screen initialization. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Antonino Maniscalco <antonino.maniscalco@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26358>
This commit is contained in:
parent
447075eeee
commit
4943002a2c
3 changed files with 4 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ compile_args_panfrost = [
|
|||
'-Wno-pointer-arith'
|
||||
]
|
||||
|
||||
panfrost_versions = ['4', '5', '6', '7', '9']
|
||||
panfrost_versions = ['4', '5', '6', '7', '9', '10']
|
||||
libpanfrost_versions = []
|
||||
|
||||
foreach ver : panfrost_versions
|
||||
|
|
|
|||
|
|
@ -898,6 +898,8 @@ panfrost_create_screen(int fd, const struct pipe_screen_config *config,
|
|||
panfrost_cmdstream_screen_init_v7(screen);
|
||||
else if (dev->arch == 9)
|
||||
panfrost_cmdstream_screen_init_v9(screen);
|
||||
else if (dev->arch == 10)
|
||||
panfrost_cmdstream_screen_init_v10(screen);
|
||||
else
|
||||
unreachable("Unhandled architecture major");
|
||||
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ 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);
|
||||
void panfrost_cmdstream_screen_init_v10(struct panfrost_screen *screen);
|
||||
|
||||
#define perf_debug(dev, ...) \
|
||||
do { \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue