[Intel-gfx] [PATCH 2/4] drm/i915/bxt: Enable WaDSRefCountFullforceMissDisable

Nick Hoath nicholas.hoath at intel.com
Mon Jun 29 06:07:30 PDT 2015


From: Rafael Barbalho <rafael.barbalho at intel.com>

Signed-off-by: Rafael Barbalho <rafael.barbalho at intel.com>
Signed-off-by: Nick Hoath <nicholas.hoath at intel.com>
---
 drivers/gpu/drm/i915/intel_pm.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index d635d0a..f29e575 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -60,10 +60,13 @@ static void gen9_init_clock_gating(struct drm_device *dev)
 	I915_WRITE(BDW_SCRATCH1, I915_READ(BDW_SCRATCH1) |
 		   GEN9_LBS_SLA_RETRY_TIMER_DECREMENT_ENABLE);
 
-	/* WaVSRefCountFullforceMissDisable:skl,bxt */
+	/*
+	 * WaVSRefCountFullforceMissDisable:skl,bxt
+	 * WaDSRefCountFullforceMissDisable:skl,bxt
+	 */
 	I915_WRITE(GEN7_FF_THREAD_MODE,
 		   I915_READ(GEN7_FF_THREAD_MODE) &
-		   ~(GEN7_FF_VS_REF_CNT_FFME));
+		   ~(GEN8_FF_DS_REF_CNT_FFME | GEN7_FF_VS_REF_CNT_FFME));
 }
 
 static void skl_init_clock_gating(struct drm_device *dev)
-- 
2.1.1



More information about the Intel-gfx mailing list