Commit 50c27137 authored by Francisco Jerez's avatar Francisco Jerez

i965: Adjust gen check in can_do_pipelined_register_writes

Allow for pipelined register writes for gen < 7.

v2:
 * Split from another patch and adjust comment (jljusten)
Reviewed-by: Jordan Justen's avatarJordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian H. Kristensen's avatarKristian Høgsberg  <krh@bitplanet.net>
parent 5912da45
......@@ -38,8 +38,11 @@
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment