Allow for pipelined register writes for gen < 7.
v2:
* Split from another patch and adjust comment (jljusten)
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
static bool
can_do_pipelined_register_writes(struct brw_context *brw)
{
- /* Supposedly, Broadwell just works. */
- if (brw->gen >= 8)
+ /**
+ * gen >= 8 specifically allows these writes. gen <= 6 also
+ * doesn't block them.
+ */
+ if (brw->gen != 7)
return true;
static int result = -1;