mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
panfrost: Fix tiler_desc assignment
Bifrost/valhall descriptor pointers are incorrectly assigned
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Fixes: 11fcb23f74 ("pan/desc: Add a struct for valhall/bifrost to the union in pan_tiler_context")
Signed-off-by: Ashley Smith <ashley.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41126>
This commit is contained in:
parent
5b6e9374b6
commit
fea2af1b7b
1 changed files with 2 additions and 2 deletions
|
|
@ -412,8 +412,8 @@ static uint64_t
|
|||
jm_emit_tiler_desc(struct panfrost_batch *batch)
|
||||
{
|
||||
struct panfrost_device *dev = pan_device(batch->ctx->base.screen);
|
||||
uint64_t tiler_desc = PAN_ARCH >= 9 ? batch->tiler_ctx.bifrost.desc
|
||||
: batch->tiler_ctx.valhall.desc;
|
||||
uint64_t tiler_desc = PAN_ARCH >= 9 ? batch->tiler_ctx.valhall.desc
|
||||
: batch->tiler_ctx.bifrost.desc;
|
||||
|
||||
if (tiler_desc)
|
||||
return tiler_desc;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue