panfrost: Emulate indirect draws on Midgard

I can't really justify spending time on this right now, even to myself.
So take the perf hit and get out checkbox.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11123>
This commit is contained in:
Alyssa Rosenzweig 2021-06-04 19:18:23 -04:00 committed by Marge Bot
parent bc48df001c
commit d7788252e6

View file

@ -835,6 +835,10 @@ panfrost_create_screen(int fd, struct renderonly *ro)
if (dev->arch == 7)
dev->quirks |= MIDGARD_NO_AFBC;
/* XXX: Indirect draws on Midgard need debugging, emulate for now */
if (dev->arch < 6)
dev->debug |= PAN_DBG_NOINDIRECT;
dev->ro = ro;
/* Check if we're loading against a supported GPU model. */