i965/gen7.5+: Disable resource streamer during GPGPU workloads.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 3 Jan 2016 18:06:52 +0000 (10:06 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 15 Jan 2016 03:26:24 +0000 (19:26 -0800)
commit0556b87de4302195402ade43f400e859d9bfad0e
tree7db0db2c3b7313f8a4f6472e51f980ad47d980a3
parentc8df0e7bf35cbab649c8d0e0205746293e686ce3
i965/gen7.5+: Disable resource streamer during GPGPU workloads.

The RS and hardware binding tables are only supported on the 3D
pipeline and can lead to corruption if left enabled during a GPGPU
workload.  Disable it when switching to the GPGPU (or media) pipeline
and re-enable it when switching back to the 3D pipeline.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
src/mesa/drivers/dri/i965/brw_binding_tables.c
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/i965/brw_state.h