freedreno: Add a nohw flag to skip submitting to the kernel.
authorEric Anholt <eric@anholt.net>
Mon, 11 May 2020 20:53:48 +0000 (13:53 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 12 May 2020 21:19:50 +0000 (21:19 +0000)
commitfdcadf611e03f0dc8878fb032b62510c38fe069b
tree23510ad92c09fd181dad1c7c37dd2d4b144341e6
parenta43e9740646a42e3c2d914ad7e0eb20f4113d153
freedreno: Add a nohw flag to skip submitting to the kernel.

For some CPU-side-only optimizations, it can be nice to disable rendering
so that we can see what the impact is even on cases where the GPU can't
quite keep up.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4996>
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_screen.c
src/gallium/drivers/freedreno/freedreno_util.h