freedreno/ir3: fix potential gpu lockup with kill
authorRob Clark <robclark@freedesktop.org>
Sat, 18 Oct 2014 19:28:16 +0000 (15:28 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 21 Oct 2014 01:42:44 +0000 (21:42 -0400)
commit8a0ffedd8de51eaf980855283c4525dba6dc5847
tree91b1a9e527826679fac39959538678896a4c4328
parentab33a240890a7ef147d4b8cf35c27ae1932a1dbe
freedreno/ir3: fix potential gpu lockup with kill

It seems like the hardware is unhappy if we execute a kill instruction
prior to last input (ei).  Probably the shader thread stops executing
and the end-input flag is never set.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3.c
src/gallium/drivers/freedreno/ir3/ir3.h
src/gallium/drivers/freedreno/ir3/ir3_depth.c
src/gallium/drivers/freedreno/ir3/ir3_sched.c