Skip to contentSkip to conversation

drm/i915: update FDI mPHY setup code

PATCH Applied Daniel Vetter 3 participants 3 messages Apr 8, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: update FDI mPHY setup code

Bspec has been been updated and dropped these two changes for non-sdv LPT PCHs.

---
 drivers/gpu/drm/i915/intel_display.c |    7 -------
 1 file changed, 7 deletions(-)
drivers/gpu/drm/i915/intel_display.c +0 -7
index 04d91cc..8809813 100644
@@ -4958,13 +4958,6 @@ static void lpt_init_pch_refclk(struct drm_device *dev)
 	tmp |= (0x12 << 24);
 	intel_sbi_write(dev_priv, 0x8008, tmp, SBI_MPHY);
 
-	if (!is_sdv) {
-		tmp = intel_sbi_read(dev_priv, 0x808C, SBI_MPHY);
-		tmp &= ~(0x3 << 6);
-		tmp |= (1 << 6) | (1 << 0);
-		intel_sbi_write(dev_priv, 0x808C, tmp, SBI_MPHY);
-	}
-
 	if (is_sdv) {
 		tmp = intel_sbi_read(dev_priv, 0x800C, SBI_MPHY);
 		tmp |= 0x7FFF;
Signature · 1 line
1.7.10.4
Reviewed-by on v1 1/1
#1 lore raw

Hi

2013/4/8 Daniel Vetter <[email protected]>:

Quoted 5 lines

Bspec has been been updated and dropped these two changes for non-sdv LPT PCHs.

Quoted 25 lines
---
 drivers/gpu/drm/i915/intel_display.c |    7 -------
 1 file changed, 7 deletions(-)
drivers/gpu/drm/i915/intel_display.c +0 -8
index 04d91cc..8809813 100644
@@ -4958,13 +4958,6 @@ static void lpt_init_pch_refclk(struct drm_device *dev)
        tmp |= (0x12 << 24);
        intel_sbi_write(dev_priv, 0x8008, tmp, SBI_MPHY);
 
-       if (!is_sdv) {
-               tmp = intel_sbi_read(dev_priv, 0x808C, SBI_MPHY);
-               tmp &= ~(0x3 << 6);
-               tmp |= (1 << 6) | (1 << 0);
-               intel_sbi_write(dev_priv, 0x808C, tmp, SBI_MPHY);
-       }
-
        if (is_sdv) {
                tmp = intel_sbi_read(dev_priv, 0x800C, SBI_MPHY);
                tmp |= 0x7FFF;
--

1.7.10.4

Quoted 4 lines

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

--
Paulo Zanoni

#2 lore raw
Quoted 10 lines · Paulo Zanoni

Hi

2013/4/8 Daniel Vetter <[email protected]>:

Quoted 5 lines

Bspec has been been updated and dropped these two changes for non-sdv LPT PCHs.

Queued for -next, thanks for the review.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch