mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
panfrost: Build the Gallium driver for v14
Enable building panfrost for v14. Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
This commit is contained in:
parent
2b216a01f9
commit
d717bd5fb2
4 changed files with 7 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ compile_args_panfrost = [
|
|||
'-Wno-pointer-arith'
|
||||
]
|
||||
|
||||
panfrost_versions = ['4', '5', '6', '7', '9', '10', '12', '13']
|
||||
panfrost_versions = ['4', '5', '6', '7', '9', '10', '12', '13', '14']
|
||||
libpanfrost_versions = []
|
||||
|
||||
foreach ver : panfrost_versions
|
||||
|
|
@ -54,7 +54,7 @@ foreach ver : panfrost_versions
|
|||
]
|
||||
if ver in ['4', '5', '6', '7', '9']
|
||||
files_panfrost_vx += ['pan_jm.c']
|
||||
elif ver in ['10', '12', '13']
|
||||
elif ver in ['10', '12', '13', '14']
|
||||
files_panfrost_vx += ['pan_csf.c']
|
||||
endif
|
||||
libpanfrost_versions += static_library(
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
* functions. */
|
||||
#if PAN_ARCH <= 9
|
||||
#define JOBX(__suffix) GENX(jm_##__suffix)
|
||||
#elif PAN_ARCH <= 13
|
||||
#elif PAN_ARCH <= 14
|
||||
#define JOBX(__suffix) GENX(csf_##__suffix)
|
||||
#else
|
||||
#error "Unsupported arch"
|
||||
|
|
|
|||
|
|
@ -1175,6 +1175,9 @@ panfrost_create_screen(int fd, const struct pipe_screen_config *config,
|
|||
case 13:
|
||||
panfrost_cmdstream_screen_init_v13(screen);
|
||||
break;
|
||||
case 14:
|
||||
panfrost_cmdstream_screen_init_v14(screen);
|
||||
break;
|
||||
default:
|
||||
debug_printf("panfrost: Unhandled architecture major %d", dev->arch);
|
||||
panfrost_destroy_screen(&(screen->base));
|
||||
|
|
|
|||
|
|
@ -155,6 +155,7 @@ void panfrost_cmdstream_screen_init_v9(struct panfrost_screen *screen);
|
|||
void panfrost_cmdstream_screen_init_v10(struct panfrost_screen *screen);
|
||||
void panfrost_cmdstream_screen_init_v12(struct panfrost_screen *screen);
|
||||
void panfrost_cmdstream_screen_init_v13(struct panfrost_screen *screen);
|
||||
void panfrost_cmdstream_screen_init_v14(struct panfrost_screen *screen);
|
||||
|
||||
#define perf_debug(ctx, ...) \
|
||||
do { \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue