From: Tomeu Vizoso Date: Tue, 7 Apr 2020 16:22:37 +0000 (+0200) Subject: panfrost: Pass IS_BIFROST to pandecode_jc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30e7027e1c74139b934f9b7768936299d3925fdb;p=mesa.git 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: --- 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;