panfrost: Pull erratum workaround into own function
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 14 May 2021 23:29:38 +0000 (19:29 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 18 May 2021 22:51:56 +0000 (22:51 +0000)
commit876de2831f3b7e68ddaf2e9e0c980111ea55976c
treef8870aa3ee8fc4bcde3faad652bfa715d0436157
parent672079e592ef56c428a1c6e0627c02f5c1ff4dd7
panfrost: Pull erratum workaround into own function

This _does_ need to be draw-time, but it doesn't need to be in the
monster routine.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10869>
src/gallium/drivers/panfrost/pan_cmdstream.c