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 <jason@jlekstrand.net>
This commit is contained in:
Kenneth Graunke
2019-08-26 00:05:21 -07:00
parent 86a63b1098
commit 0d96484165
2 changed files with 28 additions and 6 deletions

View File

@@ -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");
}