panfrost: Pass IS_BIFROST to pandecode_jc

So we can decode the right structures on Bifrost hw.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>
This commit is contained in:
Tomeu Vizoso 2020-04-07 18:22:37 +02:00
parent 7b10d4ece6
commit 30e7027e1c

View file

@ -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;