freedreno/drm: Use cached-coherent cmdstream buffers
authorRob Clark <robdclark@chromium.org>
Wed, 2 Jun 2021 18:45:29 +0000 (11:45 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 17 Sep 2021 18:24:34 +0000 (18:24 +0000)
commitf5879012cae7aec330e19def5f253d5d18edd201
tree581474360a8ba859bc831ccae1f98eb6b7eb484a
parent076196ae08d6eae2c2ae2c4fd19e21daa4ffb401
freedreno/drm: Use cached-coherent cmdstream buffers

Some more extreme examples, like gl_driver2_off, can be bottlenecked on
writes to cmdstream.  OTOH the CP is pretty pipelined in how it slurps
in memory, so the penalty of using coherent buffers should not be so
much.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11176>
src/freedreno/drm/freedreno_bo.c