@@ -2115,14 +2115,6 @@ static void intel_c10_pll_program(struct intel_display *display,
2115
2115
0 , C10_VDR_CTRL_MSGBUS_ACCESS ,
2116
2116
MB_WRITE_COMMITTED );
2117
2117
2118
- /* Custom width needs to be programmed to 0 for both the phy lanes */
2119
- intel_cx0_rmw (encoder , INTEL_CX0_BOTH_LANES , PHY_C10_VDR_CUSTOM_WIDTH ,
2120
- C10_VDR_CUSTOM_WIDTH_MASK , C10_VDR_CUSTOM_WIDTH_8_10 ,
2121
- MB_WRITE_COMMITTED );
2122
- intel_cx0_rmw (encoder , INTEL_CX0_BOTH_LANES , PHY_C10_VDR_CONTROL (1 ),
2123
- 0 , C10_VDR_CTRL_UPDATE_CFG ,
2124
- MB_WRITE_COMMITTED );
2125
-
2126
2118
/* Program the pll values only for the master lane */
2127
2119
for (i = 0 ; i < ARRAY_SIZE (pll_state -> pll ); i ++ )
2128
2120
intel_cx0_write (encoder , INTEL_CX0_LANE0 , PHY_C10_VDR_PLL (i ),
@@ -2132,6 +2124,10 @@ static void intel_c10_pll_program(struct intel_display *display,
2132
2124
intel_cx0_write (encoder , INTEL_CX0_LANE0 , PHY_C10_VDR_CMN (0 ), pll_state -> cmn , MB_WRITE_COMMITTED );
2133
2125
intel_cx0_write (encoder , INTEL_CX0_LANE0 , PHY_C10_VDR_TX (0 ), pll_state -> tx , MB_WRITE_COMMITTED );
2134
2126
2127
+ /* Custom width needs to be programmed to 0 for both the phy lanes */
2128
+ intel_cx0_rmw (encoder , INTEL_CX0_BOTH_LANES , PHY_C10_VDR_CUSTOM_WIDTH ,
2129
+ C10_VDR_CUSTOM_WIDTH_MASK , C10_VDR_CUSTOM_WIDTH_8_10 ,
2130
+ MB_WRITE_COMMITTED );
2135
2131
intel_cx0_rmw (encoder , INTEL_CX0_LANE0 , PHY_C10_VDR_CONTROL (1 ),
2136
2132
0 , C10_VDR_CTRL_MASTER_LANE | C10_VDR_CTRL_UPDATE_CFG ,
2137
2133
MB_WRITE_COMMITTED );
0 commit comments