freedreno: emit markers to scratch registers
authorRob Clark <robclark@freedesktop.org>
Fri, 6 Sep 2013 16:47:18 +0000 (12:47 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 14 Sep 2013 17:31:58 +0000 (13:31 -0400)
commitca505303a72970f40792f16d79eedab35b27b6ed
tree5289ab277aabf0f91d47555bf7297f08fcbb348f
parent1e6d290f216fe987c095a79e22042cc9fcdcb181
freedreno: emit markers to scratch registers

Emit markers by writing to scratch registers in order to "triangulate"
gpu lockup position from post-mortem register dump.  By comparing
register values in post-mortem dump to command-stream, it is possible to
narrow down which DRAW_INDX caused the lockup.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/freedreno_draw.h
src/gallium/drivers/freedreno/freedreno_util.c
src/gallium/drivers/freedreno/freedreno_util.h