freedreno: also set DUMP flag on shaders
authorRob Clark <robdclark@gmail.com>
Tue, 4 Dec 2018 13:07:50 +0000 (08:07 -0500)
committerRob Clark <robdclark@gmail.com>
Thu, 13 Dec 2018 20:51:01 +0000 (15:51 -0500)
commit3e8e033f4c1f09d5c1b9373ba850fe4d46e5b048
tree72f75311fd6a9ef959f51c1ebd7422f61ba27a21
parent4cd016b5d6a8f3baeea8850deeb528d5febf4784
freedreno: also set DUMP flag on shaders

If we emit shader as a pointer to a GEM object, also set the RELOC_DUMP
flag as a hint to kernel that this is a useful buffer to snapshot for
debug dumps.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a3xx/fd3_program.c
src/gallium/drivers/freedreno/a4xx/fd4_program.c
src/gallium/drivers/freedreno/a5xx/fd5_program.c
src/gallium/drivers/freedreno/a6xx/fd6_program.c
src/gallium/drivers/freedreno/freedreno_util.h