summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-07-11 15:48:14 -0700
committerKenneth Graunke <[email protected]>2014-08-10 19:03:45 -0700
commit8609df97a087d025ad40efad8d71e2a56450ef8f (patch)
tree69483b7a67bacc9f6de64b067c7ca8b9751d1005 /src/mesa
parente1bd2ca28a125676f45c97e28339feec6d766795 (diff)
i965/eu: Use Haswell atomic messages on Broadwell.
Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Chris Forbes <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu_emit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index 038bfc60a59..822c73cc439 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -2511,7 +2511,7 @@ brw_set_dp_untyped_atomic_message(struct brw_compile *p,
atomic_op | /* Atomic Operation Type: BRW_AOP_* */
(response_length ? 1 << 5 : 0); /* Return data expected */
- if (brw->is_haswell) {
+ if (brw->gen >= 8 || brw->is_haswell) {
brw_set_message_descriptor(p, insn, HSW_SFID_DATAPORT_DATA_CACHE_1,
msg_length, response_length,
header_present, false);
@@ -2574,7 +2574,7 @@ brw_set_dp_untyped_surface_read_message(struct brw_compile *p,
(brw_inst_exec_size(brw, insn) == BRW_EXECUTE_16 ? 16 : 8);
const unsigned num_channels = response_length / (dispatch_width / 8);
- if (brw->is_haswell) {
+ if (brw->gen >= 8 || brw->is_haswell) {
brw_set_message_descriptor(p, insn, HSW_SFID_DATAPORT_DATA_CACHE_1,
msg_length, response_length,
header_present, false);