freedreno: add env var to override GMEM size
authorRob Clark <robdclark@chromium.org>
Tue, 25 Aug 2020 17:03:31 +0000 (10:03 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 25 Aug 2020 22:20:41 +0000 (22:20 +0000)
commit688ca541e7bc0f5791afe0bc3f2fd2692634b281
tree85c447e0f8a6bb9714df20a1a13445ebbcabfab9
parent758fdb9f3315d9ee4c31ed90e379f98928acd8b5
freedreno: add env var to override GMEM size

Sometimes it is useful to force a smaller size while debugging.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6461>
src/gallium/drivers/freedreno/freedreno_screen.c
src/gallium/drivers/freedreno/freedreno_screen.h