mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 15:40:11 +01:00
panfrost: Fix bifrost tiler job emission
The tiler descriptor pointer and padding sections were not filled.
Fixes: d289209ea6 ("panfrost: XML-ify the compute job descriptor")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6859>
This commit is contained in:
parent
6abb4cd8b9
commit
2e9599b34d
1 changed files with 6 additions and 1 deletions
|
|
@ -369,8 +369,13 @@ panfrost_draw_emit_tiler(struct panfrost_batch *batch,
|
|||
pan_section_ptr(job, BIFROST_TILER_JOB, PRIMITIVE_SIZE) :
|
||||
pan_section_ptr(job, MIDGARD_TILER_JOB, PRIMITIVE_SIZE);
|
||||
|
||||
if (is_bifrost)
|
||||
if (is_bifrost) {
|
||||
panfrost_emit_primitive_size(ctx, points, psiz, prim_size);
|
||||
pan_section_pack(job, BIFROST_TILER_JOB, TILER, cfg) {
|
||||
cfg.address = panfrost_batch_get_bifrost_tiler(batch, ~0);
|
||||
}
|
||||
pan_section_pack(job, BIFROST_TILER_JOB, PADDING, padding) {}
|
||||
}
|
||||
|
||||
section = is_bifrost ?
|
||||
pan_section_ptr(job, BIFROST_TILER_JOB, DRAW) :
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue