[Mesa-dev] [PATCH 4/4] i965: Emit PIPE_CONTROL with ISP bit on older platforms.

Rafael Antognolli rafael.antognolli at intel.com
Fri Jan 26 19:32:40 UTC 2018


Emit it on all platforms since gen7.

Signed-off-by: Rafael Antognolli <rafael.antognolli at intel.com>
---
 src/mesa/drivers/dri/i965/intel_batchbuffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
index 86d88a701f8..8e89963f2f9 100644
--- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c
+++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
@@ -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);
    }
 
-- 
2.14.3



More information about the mesa-dev mailing list