From 30e7027e1c74139b934f9b7768936299d3925fdb Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 7 Apr 2020 18:22:37 +0200 Subject: [PATCH] panfrost: Pass IS_BIFROST to pandecode_jc So we can decode the right structures on Bifrost hw. Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/pan_job.c b/src/gallium/drivers/panfrost/pan_job.c index 8634bf74d6e..cf74a73a86d 100644 --- a/src/gallium/drivers/panfrost/pan_job.c +++ b/src/gallium/drivers/panfrost/pan_job.c @@ -918,7 +918,7 @@ panfrost_batch_submit_ioctl(struct panfrost_batch *batch, /* Trace gets priority over sync */ bool minimal = !(pan_debug & PAN_DBG_TRACE); - pandecode_jc(submit.jc, FALSE, dev->gpu_id, minimal); + pandecode_jc(submit.jc, dev->quirks & IS_BIFROST, dev->gpu_id, minimal); } return 0; -- 2.30.2