Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345260
b: refs/heads/master
c: 8f5718a
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter committed Nov 11, 2012
1 parent 99c4844 commit a2d0c84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7fcb83cde02da2f0c7d7eb8ba2c51df24495c0a8
refs/heads/master: 8f5718a6d9a29bf1f51910c6b32bd0244f905303
14 changes: 5 additions & 9 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -2490,11 +2490,9 @@ static void ironlake_fdi_link_train(struct drm_crtc *crtc)
udelay(150);

/* Ironlake workaround, enable clock pointer after FDI enable*/
if (HAS_PCH_IBX(dev)) {
I915_WRITE(FDI_RX_CHICKEN(pipe), FDI_RX_PHASE_SYNC_POINTER_OVR);
I915_WRITE(FDI_RX_CHICKEN(pipe), FDI_RX_PHASE_SYNC_POINTER_OVR |
FDI_RX_PHASE_SYNC_POINTER_EN);
}
I915_WRITE(FDI_RX_CHICKEN(pipe), FDI_RX_PHASE_SYNC_POINTER_OVR);
I915_WRITE(FDI_RX_CHICKEN(pipe), FDI_RX_PHASE_SYNC_POINTER_OVR |
FDI_RX_PHASE_SYNC_POINTER_EN);

reg = FDI_RX_IIR(pipe);
for (tries = 0; tries < 5; tries++) {
Expand Down Expand Up @@ -2600,8 +2598,7 @@ static void gen6_fdi_link_train(struct drm_crtc *crtc)
POSTING_READ(reg);
udelay(150);

if (HAS_PCH_CPT(dev))
cpt_phase_pointer_enable(dev, pipe);
cpt_phase_pointer_enable(dev, pipe);

for (i = 0; i < 4; i++) {
reg = FDI_TX_CTL(pipe);
Expand Down Expand Up @@ -2735,8 +2732,7 @@ static void ivb_manual_fdi_link_train(struct drm_crtc *crtc)
POSTING_READ(reg);
udelay(150);

if (HAS_PCH_CPT(dev))
cpt_phase_pointer_enable(dev, pipe);
cpt_phase_pointer_enable(dev, pipe);

for (i = 0; i < 4; i++) {
reg = FDI_TX_CTL(pipe);
Expand Down

0 comments on commit a2d0c84

Please sign in to comment.