diff options
author | Francisco Jerez <currojerez@riseup.net> | 2016-01-03 10:06:52 -0800 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2016-01-14 19:26:24 -0800 |
commit | 0556b87de4302195402ade43f400e859d9bfad0e (patch) | |
tree | 7db0db2c3b7313f8a4f6472e51f980ad47d980a3 /src/mesa/drivers/dri/i965/brw_state.h | |
parent | c8df0e7bf35cbab649c8d0e0205746293e686ce3 (diff) | |
download | external_mesa3d-0556b87de4302195402ade43f400e859d9bfad0e.zip external_mesa3d-0556b87de4302195402ade43f400e859d9bfad0e.tar.gz external_mesa3d-0556b87de4302195402ade43f400e859d9bfad0e.tar.bz2 |
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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index d29b997..7d61b7c 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -396,6 +396,7 @@ void gen7_update_binding_table_from_array(struct brw_context *brw, gl_shader_stage stage, const uint32_t* binding_table, int num_surfaces); +void gen7_enable_hw_binding_tables(struct brw_context *brw); void gen7_disable_hw_binding_tables(struct brw_context *brw); void gen7_reset_hw_bt_pool_offsets(struct brw_context *brw); |