freedreno: add batch debugging
authorRob Clark <robdclark@chromium.org>
Sat, 23 May 2020 18:00:40 +0000 (11:00 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 26 May 2020 19:14:22 +0000 (19:14 +0000)
commit4c97a716a64a0d4990a2cc2f8185713459576ca4
tree70249482a18bade779ad7556f6ef4f635b3d8870
parent8e2009c4481434f1b97713d8a0ec193fdccb65a6
freedreno: add batch debugging

Something I cooked up in the process of debugging the issue fixed in the
next commit.  Might come in useful again in the future.

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