mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
pan/genxml: Build libpanfrost_decode for v15
This commit is contained in:
parent
b2671ddcee
commit
fb3dd5f938
4 changed files with 20 additions and 1 deletions
|
|
@ -139,6 +139,13 @@ void pandecode_cs_binary_v14(struct pandecode_context *ctx, uint64_t bin,
|
|||
void pandecode_cs_trace_v14(struct pandecode_context *ctx, uint64_t trace,
|
||||
uint32_t trace_size, uint64_t gpu_id);
|
||||
|
||||
void pandecode_interpret_cs_v15(struct pandecode_context *ctx, uint64_t queue,
|
||||
uint32_t size, uint64_t gpu_id, uint32_t *regs);
|
||||
void pandecode_cs_binary_v15(struct pandecode_context *ctx, uint64_t bin,
|
||||
uint32_t bin_size);
|
||||
void pandecode_cs_trace_v15(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)
|
||||
|
|
|
|||
|
|
@ -426,6 +426,9 @@ pandecode_interpret_cs(struct pandecode_context *ctx, uint64_t queue_gpu_va,
|
|||
case 14:
|
||||
pandecode_interpret_cs_v14(ctx, queue_gpu_va, size, gpu_id, regs);
|
||||
break;
|
||||
case 15:
|
||||
pandecode_interpret_cs_v15(ctx, queue_gpu_va, size, gpu_id, regs);
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE("Unsupported architecture");
|
||||
}
|
||||
|
|
@ -452,6 +455,9 @@ pandecode_cs_binary(struct pandecode_context *ctx, uint64_t bin_gpu_va,
|
|||
case 14:
|
||||
pandecode_cs_binary_v14(ctx, bin_gpu_va, size);
|
||||
break;
|
||||
case 15:
|
||||
pandecode_cs_binary_v15(ctx, bin_gpu_va, size);
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE("Unsupported architecture");
|
||||
}
|
||||
|
|
@ -478,6 +484,9 @@ pandecode_cs_trace(struct pandecode_context *ctx, uint64_t trace_gpu_va,
|
|||
case 14:
|
||||
pandecode_cs_trace_v14(ctx, trace_gpu_va, size, gpu_id);
|
||||
break;
|
||||
case 15:
|
||||
pandecode_cs_trace_v15(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', '14']
|
||||
foreach ver : ['4', '5', '6', '7', '9', '10', '12', '13', '14', '15']
|
||||
libpanfrost_decode_per_arch += static_library(
|
||||
'pandecode-arch-v' + ver,
|
||||
['decode.c', 'decode_jm.c', 'decode_csf.c', pan_packers],
|
||||
|
|
|
|||
|
|
@ -170,6 +170,8 @@ 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];
|
||||
extern const struct pan_blendable_format
|
||||
pan_blendable_formats_v15[PIPE_FORMAT_COUNT];
|
||||
|
||||
uint8_t pan_raw_format_mask_midgard(enum pipe_format *formats);
|
||||
|
||||
|
|
@ -203,6 +205,7 @@ 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];
|
||||
extern const struct pan_format pan_pipe_format_v15[PIPE_FORMAT_COUNT];
|
||||
|
||||
static inline const struct pan_format *
|
||||
pan_format_table(unsigned arch)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue