public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/i915/cnp: Don't touch other PCH clock gating bits.
@ 2017-09-08 23:45 Rodrigo Vivi
  2017-09-08 23:45 ` [PATCH 2/2] drm/i915/cnp: Wa 1179 Rodrigo Vivi
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Rodrigo Vivi @ 2017-09-08 23:45 UTC (permalink / raw)
  To: intel-gfx; +Cc: Dhinakaran Pandiyan, Rodrigo Vivi

Don't touch other bits. My bad.

I haven't seen any case where those other bits appeard to be
set before we touch it, but it is safe to avoid touching
other bits we weren't told to touch.

Fixes: 0a46ddd57c9e ("drm/i915/cnp: Wa 1181: Fix Backlight issue")
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 drivers/gpu/drm/i915/intel_pm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index fa9055a4f790..09ecc8e3b2d3 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -8370,7 +8370,8 @@ static void cnp_init_clock_gating(struct drm_i915_private *dev_priv)
 		return;
 
 	/* Wa #1181 */
-	I915_WRITE(SOUTH_DSPCLK_GATE_D, CNP_PWM_CGE_GATING_DISABLE);
+	I915_WRITE(SOUTH_DSPCLK_GATE_D, I915_READ(SOUTH_DSPCLK_GATE_D) |
+		   CNP_PWM_CGE_GATING_DISABLE);
 }
 
 static void cnl_init_clock_gating(struct drm_i915_private *dev_priv)
-- 
2.13.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-09-19 21:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-08 23:45 [PATCH 1/2] drm/i915/cnp: Don't touch other PCH clock gating bits Rodrigo Vivi
2017-09-08 23:45 ` [PATCH 2/2] drm/i915/cnp: Wa 1179 Rodrigo Vivi
2017-09-09  0:33   ` Pandiyan, Dhinakaran
2017-09-09  0:38     ` Vivi, Rodrigo
2017-09-09  1:55       ` Runyan, Arthur J
2017-09-18 23:56         ` [PATCH] drm/i915/cnp: Display Wa #1179: WaHardHangonHotPlug Rodrigo Vivi
2017-09-19  0:31           ` Pandiyan, Dhinakaran
2017-09-19 17:28             ` Rodrigo Vivi
2017-09-09  0:05 ` ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/cnp: Don't touch other PCH clock gating bits Patchwork
2017-09-09  0:10 ` [PATCH 1/2] " Pandiyan, Dhinakaran
2017-09-18 23:25   ` Rodrigo Vivi
2017-09-09  1:11 ` ✓ Fi.CI.IGT: success for series starting with [1/2] " Patchwork
2017-09-19 13:25 ` ✗ Fi.CI.BAT: warning for series starting with drm/i915/cnp: Display Wa #1179: WaHardHangonHotPlug (rev2) Patchwork
2017-09-19 20:28 ` ✗ Fi.CI.BAT: failure for series starting with drm/i915/cnp: Display Wa #1179: WaHardHangonHotPlug (rev3) Patchwork
2017-09-19 21:50   ` Rodrigo Vivi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox