panfrost: s/pandecode_vertex_tiler_postfix_pre/pandecode_dcd/
We will soon use this function to decode pre/post frame DCDs which are not part of a job descriptor. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10033>
This commit is contained in:
parent
9d7a5a6b75
commit
9f1bbced3c
|
@ -749,8 +749,7 @@ pandecode_samplers(mali_ptr samplers, unsigned sampler_count, int job_no, bool i
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
pandecode_vertex_tiler_postfix_pre(
|
pandecode_dcd(const struct MALI_DRAW *p,
|
||||||
const struct MALI_DRAW *p,
|
|
||||||
int job_no, enum mali_job_type job_type,
|
int job_no, enum mali_job_type job_type,
|
||||||
char *suffix, bool is_bifrost, unsigned gpu_id)
|
char *suffix, bool is_bifrost, unsigned gpu_id)
|
||||||
{
|
{
|
||||||
|
@ -927,7 +926,7 @@ pandecode_vertex_compute_geometry_job(const struct MALI_JOB_HEADER *h,
|
||||||
{
|
{
|
||||||
struct mali_compute_job_packed *PANDECODE_PTR_VAR(p, mem, job);
|
struct mali_compute_job_packed *PANDECODE_PTR_VAR(p, mem, job);
|
||||||
pan_section_unpack(p, COMPUTE_JOB, DRAW, draw);
|
pan_section_unpack(p, COMPUTE_JOB, DRAW, draw);
|
||||||
pandecode_vertex_tiler_postfix_pre(&draw, job_no, h->type, "", is_bifrost, gpu_id);
|
pandecode_dcd(&draw, job_no, h->type, "", is_bifrost, gpu_id);
|
||||||
|
|
||||||
pandecode_log("Vertex Job Payload:\n");
|
pandecode_log("Vertex Job Payload:\n");
|
||||||
pandecode_indent++;
|
pandecode_indent++;
|
||||||
|
@ -946,7 +945,7 @@ pandecode_tiler_job_bfr(const struct MALI_JOB_HEADER *h,
|
||||||
struct mali_bifrost_tiler_job_packed *PANDECODE_PTR_VAR(p, mem, job);
|
struct mali_bifrost_tiler_job_packed *PANDECODE_PTR_VAR(p, mem, job);
|
||||||
pan_section_unpack(p, BIFROST_TILER_JOB, DRAW, draw);
|
pan_section_unpack(p, BIFROST_TILER_JOB, DRAW, draw);
|
||||||
pan_section_unpack(p, BIFROST_TILER_JOB, TILER, tiler_ptr);
|
pan_section_unpack(p, BIFROST_TILER_JOB, TILER, tiler_ptr);
|
||||||
pandecode_vertex_tiler_postfix_pre(&draw, job_no, h->type, "", true, gpu_id);
|
pandecode_dcd(&draw, job_no, h->type, "", true, gpu_id);
|
||||||
|
|
||||||
pandecode_log("Tiler Job Payload:\n");
|
pandecode_log("Tiler Job Payload:\n");
|
||||||
pandecode_indent++;
|
pandecode_indent++;
|
||||||
|
@ -970,7 +969,7 @@ pandecode_tiler_job_mdg(const struct MALI_JOB_HEADER *h,
|
||||||
{
|
{
|
||||||
struct mali_midgard_tiler_job_packed *PANDECODE_PTR_VAR(p, mem, job);
|
struct mali_midgard_tiler_job_packed *PANDECODE_PTR_VAR(p, mem, job);
|
||||||
pan_section_unpack(p, MIDGARD_TILER_JOB, DRAW, draw);
|
pan_section_unpack(p, MIDGARD_TILER_JOB, DRAW, draw);
|
||||||
pandecode_vertex_tiler_postfix_pre(&draw, job_no, h->type, "", false, gpu_id);
|
pandecode_dcd(&draw, job_no, h->type, "", false, gpu_id);
|
||||||
|
|
||||||
pandecode_log("Tiler Job Payload:\n");
|
pandecode_log("Tiler Job Payload:\n");
|
||||||
pandecode_indent++;
|
pandecode_indent++;
|
||||||
|
|
Loading…
Reference in New Issue