r600g/compute: Emit DEALLOC_STATE on cayman after dispatching a compute shader.
authorTom Stellard <thomas.stellard@amd.com>
Fri, 24 Jan 2014 20:48:26 +0000 (15:48 -0500)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 27 Jan 2014 16:09:15 +0000 (11:09 -0500)
commitd51dbe048afd2131eb3675e9cd868ce73325a61d
tree7b09236837020ff5c792eb706d816969b7277128
parent3518606c149393a656a653459972ef35aa527c55
r600g/compute: Emit DEALLOC_STATE on cayman after dispatching a compute shader.

This is necessary to prevent the next SURFACE_SYNC packet from
hanging the GPU.

https://bugs.freedesktop.org/show_bug.cgi?id=73418

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
CC: "9.2" "10.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/r600/evergreen_compute.c
src/gallium/drivers/r600/evergreend.h
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_pipe.h