summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2014-01-24 15:48:26 -0500
committerTom Stellard <[email protected]>2014-01-27 11:09:15 -0500
commitd51dbe048afd2131eb3675e9cd868ce73325a61d (patch)
tree7b09236837020ff5c792eb706d816969b7277128 /src/gallium/drivers/r600/r600_pipe.h
parent3518606c149393a656a653459972ef35aa527c55 (diff)
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> CC: "9.2" "10.0" <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 735047920ff..88b08604940 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -499,16 +499,6 @@ struct r600_context {
void *sb_context;
struct r600_isa *isa;
-
- /* Work-around for flushing problems with compute shaders on Cayman:
- * Emitting a SURFACE_SYNC packet with any of the CB*_DEST_BASE_ENA
- * or DB_DEST_BASE_ENA bits set after dispatching a compute shader
- * hangs the GPU.
- *
- * Setting this to true will prevent r600_flush_emit() from emitting
- * a SURFACE_SYNC packet. This field will be cleared by
- * by r600_context_flush() after flushing the command stream. */
- boolean skip_surface_sync_on_next_cs_flush;
};
static INLINE void r600_emit_command_buffer(struct radeon_winsys_cs *cs,