freedreno: add gmem state cache
authorRob Clark <robdclark@chromium.org>
Tue, 21 Jan 2020 22:28:06 +0000 (14:28 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 21:19:41 +0000 (21:19 +0000)
commit91f9bb99c5e0db38a1ac26dd9e6a967312f5e8b0
treebb6738a181b00438fb0f72644a8c9de66b96317a
parent712f8802ee248713821e8d649263257e67c5d597
freedreno: add gmem state cache

Which also has the benefit of getting rid of fd_context::gmem.

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