[PATCH 10/18] drm/i915: Remove unnecessary bit assignment from vlv_phy_prepare_dpll()
Ander Conselvan de Oliveira
ander.conselvan.de.oliveira at intel.com
Tue May 3 14:35:21 UTC 2016
The bit 24 of coreclk (DW7) is already set unconditionally, so there is
not need to set it again for DP.
---
drivers/gpu/drm/i915/intel_dpio_phy.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_dpio_phy.c b/drivers/gpu/drm/i915/intel_dpio_phy.c
index 0e145d7..0c749189 100644
--- a/drivers/gpu/drm/i915/intel_dpio_phy.c
+++ b/drivers/gpu/drm/i915/intel_dpio_phy.c
@@ -656,9 +656,6 @@ void vlv_phy_prepare_pll(struct intel_crtc *crtc, u32 bestn,
coreclk = vlv_dpio_read(dev_priv, pipe, VLV_PLL_DW7(pipe));
coreclk = (coreclk & 0x0000ff00) | 0x01c00000;
- if (intel_pipe_has_type(crtc, INTEL_OUTPUT_DISPLAYPORT) ||
- intel_pipe_has_type(crtc, INTEL_OUTPUT_EDP))
- coreclk |= 0x01000000;
vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW7(pipe), coreclk);
vlv_dpio_write(dev_priv, pipe, VLV_PLL_DW11(pipe), 0x87871000);
--
2.4.11
More information about the Intel-gfx-trybot
mailing list