i965: Emit PIPE_CONTROL with ISP bit on older platforms.
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 26 Jan 2018 01:14:47 +0000 (17:14 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Mon, 29 Jan 2018 22:52:07 +0000 (14:52 -0800)
Emit it on all platforms since gen7.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/intel_batchbuffer.c

index 86d88a701f879080e908e3b8fe89d40ea099d978..8e89963f2f9aa7963a720097659eedd495425da5 100644 (file)
@@ -766,7 +766,7 @@ brw_finish_batch(struct brw_context *brw)
       }
 
       /* Do not restore push constant packets during context restore. */
-      if (devinfo->gen == 10)
+      if (devinfo->gen >= 7)
          gen10_emit_isp_disable(brw);
    }