mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
pan/genxml: Build libpanfrost_decode for v14
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
This commit is contained in:
parent
d603396bd1
commit
7f1bd35a36
4 changed files with 20 additions and 1 deletions
|
|
@ -132,6 +132,13 @@ void pandecode_cs_binary_v13(struct pandecode_context *ctx, uint64_t bin,
|
|||
void pandecode_cs_trace_v13(struct pandecode_context *ctx, uint64_t trace,
|
||||
uint32_t trace_size, uint64_t gpu_id);
|
||||
|
||||
void pandecode_interpret_cs_v14(struct pandecode_context *ctx, uint64_t queue,
|
||||
uint32_t size, uint64_t gpu_id, uint32_t *regs);
|
||||
void pandecode_cs_binary_v14(struct pandecode_context *ctx, uint64_t bin,
|
||||
uint32_t bin_size);
|
||||
void pandecode_cs_trace_v14(struct pandecode_context *ctx, uint64_t trace,
|
||||
uint32_t trace_size, uint64_t gpu_id);
|
||||
|
||||
/* Logging infrastructure */
|
||||
static void
|
||||
pandecode_make_indent(struct pandecode_context *ctx)
|
||||
|
|
|
|||
|
|
@ -423,6 +423,9 @@ pandecode_interpret_cs(struct pandecode_context *ctx, uint64_t queue_gpu_va,
|
|||
case 13:
|
||||
pandecode_interpret_cs_v13(ctx, queue_gpu_va, size, gpu_id, regs);
|
||||
break;
|
||||
case 14:
|
||||
pandecode_interpret_cs_v14(ctx, queue_gpu_va, size, gpu_id, regs);
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE("Unsupported architecture");
|
||||
}
|
||||
|
|
@ -446,6 +449,9 @@ pandecode_cs_binary(struct pandecode_context *ctx, uint64_t bin_gpu_va,
|
|||
case 13:
|
||||
pandecode_cs_binary_v13(ctx, bin_gpu_va, size);
|
||||
break;
|
||||
case 14:
|
||||
pandecode_cs_binary_v14(ctx, bin_gpu_va, size);
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE("Unsupported architecture");
|
||||
}
|
||||
|
|
@ -469,6 +475,9 @@ pandecode_cs_trace(struct pandecode_context *ctx, uint64_t trace_gpu_va,
|
|||
case 13:
|
||||
pandecode_cs_trace_v13(ctx, trace_gpu_va, size, gpu_id);
|
||||
break;
|
||||
case 14:
|
||||
pandecode_cs_trace_v14(ctx, trace_gpu_va, size, gpu_id);
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE("Unsupported architecture");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ idep_pan_packers = declare_dependency(
|
|||
|
||||
libpanfrost_decode_per_arch = []
|
||||
|
||||
foreach ver : ['4', '5', '6', '7', '9', '10', '12', '13']
|
||||
foreach ver : ['4', '5', '6', '7', '9', '10', '12', '13', '14']
|
||||
libpanfrost_decode_per_arch += static_library(
|
||||
'pandecode-arch-v' + ver,
|
||||
['decode.c', 'decode_jm.c', 'decode_csf.c', pan_packers],
|
||||
|
|
|
|||
|
|
@ -168,6 +168,8 @@ extern const struct pan_blendable_format
|
|||
pan_blendable_formats_v12[PIPE_FORMAT_COUNT];
|
||||
extern const struct pan_blendable_format
|
||||
pan_blendable_formats_v13[PIPE_FORMAT_COUNT];
|
||||
extern const struct pan_blendable_format
|
||||
pan_blendable_formats_v14[PIPE_FORMAT_COUNT];
|
||||
|
||||
uint8_t pan_raw_format_mask_midgard(enum pipe_format *formats);
|
||||
|
||||
|
|
@ -199,6 +201,7 @@ extern const struct pan_format pan_pipe_format_v9[PIPE_FORMAT_COUNT];
|
|||
extern const struct pan_format pan_pipe_format_v10[PIPE_FORMAT_COUNT];
|
||||
extern const struct pan_format pan_pipe_format_v12[PIPE_FORMAT_COUNT];
|
||||
extern const struct pan_format pan_pipe_format_v13[PIPE_FORMAT_COUNT];
|
||||
extern const struct pan_format pan_pipe_format_v14[PIPE_FORMAT_COUNT];
|
||||
|
||||
static inline const struct pan_format *
|
||||
pan_format_table(unsigned arch)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue