summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_schedule_instructions.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-08-26 00:05:21 -0700
committerKenneth Graunke <[email protected]>2019-08-27 14:20:07 -0700
commit0d96484165a42f95d2a894f7cfb9888674f45ce8 (patch)
tree5258e175b56109f23fac047fdbecaf7604e71b1d /src/intel/compiler/brw_schedule_instructions.cpp
parent86a63b1098c9b5a7550398830982299e49fa61f9 (diff)
intel/compiler: Use generic SEND for Gen7+ FB writes
This takes care of generate_fb_write/fire_fb_write/brw_fb_WRITE's stuff earlier in the visitor. It will also make it easier to generate SENDSC messages with indirect extended descriptors in a few patches. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_schedule_instructions.cpp')
-rw-r--r--src/intel/compiler/brw_schedule_instructions.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_schedule_instructions.cpp b/src/intel/compiler/brw_schedule_instructions.cpp
index 4fed1492ff7..08e89151e91 100644
--- a/src/intel/compiler/brw_schedule_instructions.cpp
+++ b/src/intel/compiler/brw_schedule_instructions.cpp
@@ -412,6 +412,11 @@ schedule_node::set_latency_gen7(bool is_haswell)
latency = 14000;
break;
+ case GEN6_DATAPORT_WRITE_MESSAGE_RENDER_TARGET_WRITE:
+ /* completely fabricated number */
+ latency = 600;
+ break;
+
default:
unreachable("Unknown render cache message");
}