summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-08-07 12:01:36 +0200
committerEric Anholt <eric@anholt.net>2010-08-09 20:24:35 +0200
commit5ddb954b9ee50824977d2931e0ff58b3050b337d (patch)
tree11812f1a8d79c2a6dedf9091250810f600e74683
parentdrm/i915: Ensure that while(INREG()) are bounded (v2) (diff)
downloadlinux-5ddb954b9ee50824977d2931e0ff58b3050b337d.tar.xz
linux-5ddb954b9ee50824977d2931e0ff58b3050b337d.zip
drm/i915/edp: Flush the write before waiting for PLLs
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
-rw-r--r--drivers/gpu/drm/i915/intel_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 0bf683dd512c..2a32a7b60c96 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1665,6 +1665,7 @@ static void ironlake_enable_pll_edp (struct drm_crtc *crtc)
dpa_ctl = I915_READ(DP_A);
dpa_ctl |= DP_PLL_ENABLE;
I915_WRITE(DP_A, dpa_ctl);
+ POSTING_READ(DP_A);
udelay(200);
}