drm/i915/mtl: Add support for C20 phy
Subsystems (3)
v2 cover drm/i915/mtl: Add support for C20 phy
Add support for C20 phy for Type-C connections. C20 phy differs from C10 and hence we need to separately handle this case.
v2: Fixes for C20 pll programming and hw readout
Anusha Srivatsa (1):
drm/i915/mtl: Pin assignment for TypeC
Gustavo Sousa (1):
drm/i915/mtl: Define mask for DDI AUX interrupts
Imre Deak (1):
drm/i915/mtl: TypeC HPD live status query
Mika Kahola (10):
drm/i915/mtl: C20 PLL programming
drm/i915/mtl: C20 HW readout
drm/i915/mtl: Dump C20 pll hw state drm/i915/mtl: C20 port clock calculation drm/i915/mtl: Add voltage swing sequence for C20 drm/i915/mtl: For DP2.0 10G and 20G rates use MPLLA drm/i915/mtl: Enabling/disabling sequence Thunderbolt pll drm/i915/mtl: Readout Thunderbolt HW state drm/i915/mtl: Power up TCSS
drm/i915/mtl: Enable TC ports
drivers/gpu/drm/i915/display/intel_cx0_phy.c | 1137 ++++++++++++++++- drivers/gpu/drm/i915/display/intel_cx0_phy.h | 23 +- .../gpu/drm/i915/display/intel_cx0_phy_regs.h | 41 + drivers/gpu/drm/i915/display/intel_ddi.c | 25 +- .../drm/i915/display/intel_ddi_buf_trans.c | 53 +- drivers/gpu/drm/i915/display/intel_display.c | 7 +- .../drm/i915/display/intel_display_types.h | 16 +- drivers/gpu/drm/i915/display/intel_dp.c | 12 +- drivers/gpu/drm/i915/display/intel_dpll.c | 2 + drivers/gpu/drm/i915/display/intel_hdmi.c | 6 +- drivers/gpu/drm/i915/display/intel_hdmi.h | 1 + drivers/gpu/drm/i915/display/intel_tc.c | 255 +++- drivers/gpu/drm/i915/i915_irq.c | 5 +- 13 files changed, 1510 insertions(+), 73 deletions(-)
Signature · 1 line
2.34.1
PATCH v2 1/13 drm/i915/mtl: C20 PLL programming
C20 phy PLL programming sequence for DP, DP2.0, HDMI2.x non-FRL and HDMI2.x FRL. This enables C20 MPLLA and MPLLB programming sequence. add 4 lane support for c20.
v2: Add 6.48Gbps and 6.75Gbps modes for eDP (RK)
Fix lane check (RK)
Fix multiline commenting (Arun)
use usleep_range() instead of msleep() (Andi)
--- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 288 +++++++++++++++--- .../gpu/drm/i915/display/intel_cx0_phy_regs.h | 33 ++ drivers/gpu/drm/i915/display/intel_ddi.c | 3 +- .../drm/i915/display/intel_display_types.h | 15 +- drivers/gpu/drm/i915/display/intel_dp.c | 12 +- 5 files changed, 309 insertions(+), 42 deletions(-)
drivers/gpu/drm/i915/display/intel_cx0_phy.c +250 -38
@@ -273,6 +273,18 @@ static void intel_cx0_write(struct drm_i915_private *i915, enum port port,__intel_cx0_write (i915, port, lane, addr, data, committed); } +static void intel_c20_sram_write (struct drm_i915_private *i915,enum port port, +int lane,u16 addr,u16 data) +{ +assert_dc_off (i915); + +intel_cx0_write (i915, port, lane,PHY_C20_WR_ADDRESS_H , addr >>8 ,0 ); +intel_cx0_write (i915, port, lane,PHY_C20_WR_ADDRESS_L , addr &0xff ,0 ); + +intel_cx0_write (i915, port, lane,PHY_C20_WR_DATA_H , data >>8 ,0 ); +intel_cx0_write (i915, port, lane,PHY_C20_WR_DATA_L , data &0xff ,1 ); +} +static void __intel_cx0_rmw (struct drm_i915_private *i915,enum port port,int lane,u16 addr,u8 clear,u8 set,bool committed) {
@@ -1415,6 +1427,215 @@ void intel_c10pll_dump_hw_state(struct drm_i915_private *i915, i + 2, hw_state->pll[i + 2], i + 3, hw_state->pll[i + 3]); } +static bool intel_c20_use_mplla (u32 clock) +{ +/* 10G and 20G rates use MPLLA */ +if (clock ==312500 || clock ==625000 ) +return true; + +return false; +} + +static u8 intel_c20_get_dp_rate (u32 clock) +{ +switch (clock) { +case 162000 :/* 1.62 Gbps DP1.4 */ +return 0 ; +case 270000 :/* 2.7 Gbps DP1.4 */ +return 1 ; +case 540000 :/* 5.4 Gbps DP 1.4 */ +return 2 ; +case 810000 :/* 8.1 Gbps DP1.4 */ +return 3 ; +case 216000 :/* 2.16 Gbps eDP */ +return 4 ; +case 243000 :/* 2.43 Gbps eDP */ +return 5 ; +case 324000 :/* 3.24 Gbps eDP */ +return 6 ; +case 432000 :/* 4.32 Gbps eDP */ +return 7 ; +case 312500 :/* 10 Gbps DP2.0 */ +return 8 ; +case 421875 :/* 13.5 Gbps DP2.0 */ +return 9 ; +case 625000 :/* 20 Gbps DP2.0*/ +return 10 ; +case 648000 :/* 6.48 Gbps eDP*/ +return 11 ; +case 675000 :/* 6.75 Gbps eDP*/ +return 12 ; +default : +MISSING_CASE (clock); +return 0 ; + } +} + +static u8 intel_c20_get_hdmi_rate (u32 clock) +{ +switch (clock) { +case 25175 : +case 27000 : +case 74250 : +case 148500 : +case 594000 : +return 0 ; +case 166670 :/* 3 Gbps */ +case 333330 :/* 6 Gbps */ +case 666670 :/* 12 Gbps */ +return 1 ; +case 444440 :/* 8 Gbps */ +return 2 ; +case 555560 :/* 10 Gbps */ +return 3 ; +default : +MISSING_CASE (clock); +return 0 ; + } +} + +static bool is_dp2 (u32 clock) +{ +/* DP2.0 clock rates */ +if (clock ==312500 || clock ==421875 || clock ==625000 ) +return true; + +return false; +} + +static bool is_hdmi_frl (u32 clock) +{ +switch (clock) { +case 166670 :/* 3 Gbps */ +case 333330 :/* 6 Gbps */ +case 444440 :/* 8 Gbps */ +case 555560 :/* 10 Gbps */ +case 666670 :/* 12 Gbps */ +return true; +default : +return false; + } +} + +static bool intel_c20_protocol_switch_valid (struct intel_encoder *encoder) +{ +struct intel_digital_port *intel_dig_port =enc_to_dig_port (encoder); + +/* banks should not be cleared for DPALT/USB4/TBT modes */ +/* TODO: optimize re-calibration in legacy mode */ +return intel_tc_port_in_legacy_mode (intel_dig_port); +} + +static int intel_get_c20_custom_width (u32 clock,bool dp) +{ +if (dp &&is_dp2 (clock)) +return 2 ; +else if (is_hdmi_frl (clock)) +return 1 ; +else +return 0 ; +} + +static void intel_c20_pll_program (struct drm_i915_private *i915, +const struct intel_crtc_state *crtc_state, +struct intel_encoder *encoder) +{ +const struct intel_c20pll_state *pll_state = &crtc_state->cx0pll_state.c20; +bool dp = false; +int lane = crtc_state->lane_count >2 ?INTEL_CX0_BOTH_LANES :INTEL_CX0_LANE0 ; +bool cntx; +int i; + +if (intel_crtc_has_dp_encoder (crtc_state)) + dp = true; + +/* 1. Read current context selection */ + cntx =intel_cx0_read (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_VDR_CUSTOM_SERDES_RATE ) &BIT (0 ); + +/* +* 2. If there is a protocol switch from HDMI to DP or vice versa, clear +* the lane #0 MPLLB CAL_DONE_BANK DP2.0 10G and 20G rates enable MPLLA. +* Protocol switch is only applicable for MPLLA +*/ +if (intel_c20_protocol_switch_valid (encoder)) { +for (i =0 ; i <4 ; i++) +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 ,RAWLANEAONX_DIG_TX_MPLLB_CAL_DONE_BANK (i),0 ); +usleep_range (4000 ,4100 ); + } + +/* 3. Write SRAM configuration context. If A in use, write configuration to B context */ +/* 3.1 Tx configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->tx); i++) { +if (cntx) +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_A_TX_CNTX_CFG (i), pll_state->tx[i]); +else +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_B_TX_CNTX_CFG (i), pll_state->tx[i]); + } + +/* 3.2 common configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->cmn); i++) { +if (cntx) +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_A_CMN_CNTX_CFG (i), pll_state->cmn[i]); +else +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_B_CMN_CNTX_CFG (i), pll_state->cmn[i]); + } + +/* 3.3 mpllb or mplla configuration */ +if (intel_c20_use_mplla (pll_state->clock)) { +for (i =0 ; i <ARRAY_SIZE (pll_state->mplla); i++) { +if (cntx) +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_MPLLA_CNTX_CFG (i), + pll_state->mplla[i]); +else +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_MPLLA_CNTX_CFG (i), + pll_state->mplla[i]); + } + }else { +for (i =0 ; i <ARRAY_SIZE (pll_state->mpllb); i++) { +if (cntx) +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_MPLLB_CNTX_CFG (i), + pll_state->mpllb[i]); +else +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_MPLLB_CNTX_CFG (i), + pll_state->mpllb[i]); + } + } + +/* 4. Program custom width to match the link protocol */ +intel_cx0_rmw (i915, encoder->port, lane,PHY_C20_VDR_CUSTOM_WIDTH , +PHY_C20_CUSTOM_WIDTH_MASK , +PHY_C20_CUSTOM_WIDTH (intel_get_c20_custom_width (pll_state->clock, dp)), +MB_WRITE_COMMITTED ); + +/* 5. For DP or 6. For HDMI */ +if (dp) { +intel_cx0_rmw (i915, encoder->port, lane,PHY_C20_VDR_CUSTOM_SERDES_RATE , +BIT (6 ) |PHY_C20_CUSTOM_SERDES_MASK , +BIT (6 ) |PHY_C20_CUSTOM_SERDES (intel_c20_get_dp_rate (pll_state->clock)), +MB_WRITE_COMMITTED ); + }else { +intel_cx0_rmw (i915, encoder->port, lane,PHY_C20_VDR_CUSTOM_SERDES_RATE , +BIT (7 ) |PHY_C20_CUSTOM_SERDES_MASK , +is_hdmi_frl (pll_state->clock) ?BIT (7 ) :0 , +MB_WRITE_COMMITTED ); + +intel_cx0_write (i915, encoder->port,INTEL_CX0_BOTH_LANES ,PHY_C20_VDR_HDMI_RATE , +intel_c20_get_hdmi_rate (pll_state->clock), +MB_WRITE_COMMITTED ); + } + +/* +* 7. Write Vendor specific registers to toggle context setting to load +* the updated programming toggle context bit +*/ +intel_cx0_rmw (i915, encoder->port, lane,PHY_C20_VDR_CUSTOM_SERDES_RATE , +BIT (0 ), cntx ?0 :1 ,MB_WRITE_COMMITTED ); +} +int intel_c10pll_calc_port_clock (struct intel_encoder *encoder,const struct intel_c10pll_state *pll_state) {
@@ -1456,7 +1677,11 @@ static void intel_program_port_clock_ctl(struct intel_encoder *encoder, val |=XELPDP_LANE1_PHY_CLOCK_SELECT ; val |=XELPDP_FORWARD_CLOCK_UNGATE ; - val |=XELPDP_DDI_CLOCK_SELECT (XELPDP_DDI_CLOCK_SELECT_MAXPCLK ); + +if (is_hdmi_frl (crtc_state->port_clock)) + val |=XELPDP_DDI_CLOCK_SELECT (XELPDP_DDI_CLOCK_SELECT_DIV18CLK ); +else + val |=XELPDP_DDI_CLOCK_SELECT (XELPDP_DDI_CLOCK_SELECT_MAXPCLK );/* TODO: HDMI FRL */ /* TODO: DP2.0 10G and 20G rates enable MPLLA*/
@@ -1612,7 +1837,7 @@ static void intel_cx0_phy_lane_reset(struct drm_i915_private *i915, enum port po phy_name(phy), XELPDP_PORT_RESET_END_TIMEOUT); } -static void intel_c10_program_phy_lane (struct drm_i915_private *i915, +static void intel_cx0_program_phy_lane (struct drm_i915_private *i915,struct intel_encoder *encoder,int lane_count,bool lane_reversal) {
@@ -1620,9 +1845,11 @@ static void intel_c10_program_phy_lane(struct drm_i915_private *i915,bool dp_alt_mode =intel_tc_port_in_dp_alt_mode (enc_to_dig_port (encoder));enum port port = encoder->port; -intel_cx0_rmw (i915, port,INTEL_CX0_BOTH_LANES ,PHY_C10_VDR_CONTROL (1 ), -0 ,C10_VDR_CTRL_MSGBUS_ACCESS , -MB_WRITE_COMMITTED ); +if (intel_is_c10phy (i915,intel_port_to_phy (i915, port))) +intel_cx0_rmw (i915, port,INTEL_CX0_BOTH_LANES , +PHY_C10_VDR_CONTROL (1 ),0 , +C10_VDR_CTRL_MSGBUS_ACCESS , +MB_WRITE_COMMITTED );/* TODO: DP-alt MFD case where only one PHY lane should be programmed. */ l0t1 =intel_cx0_read (i915, port,INTEL_CX0_LANE0 ,PHY_CX0_TX_CONTROL (1 ,2 ));
@@ -1685,9 +1912,11 @@ static void intel_c10_program_phy_lane(struct drm_i915_private *i915,intel_cx0_write (i915, port,INTEL_CX0_LANE1 ,PHY_CX0_TX_CONTROL (2 ,2 ), l1t2,MB_WRITE_COMMITTED ); -intel_cx0_rmw (i915, port,INTEL_CX0_BOTH_LANES ,PHY_C10_VDR_CONTROL (1 ), -0 ,C10_VDR_CTRL_UPDATE_CFG , -MB_WRITE_COMMITTED ); +if (intel_is_c10phy (i915,intel_port_to_phy (i915, port))) +intel_cx0_rmw (i915, port,INTEL_CX0_BOTH_LANES , +PHY_C10_VDR_CONTROL (1 ),0 , +C10_VDR_CTRL_UPDATE_CFG , +MB_WRITE_COMMITTED ); }static u32 intel_cx0_get_pclk_pll_request (u8 lane_mask)
@@ -1712,8 +1941,8 @@ static u32 intel_cx0_get_pclk_pll_ack(u8 lane_mask)return val; } -static void intel_c10pll_enable (struct intel_encoder *encoder, -const struct intel_crtc_state *crtc_state) +void intel_cx0pll_enable (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state) {struct drm_i915_private *i915 =to_i915 (encoder->base.dev);enum phy phy =intel_port_to_phy (i915, encoder->port);
@@ -1721,6 +1950,7 @@ static void intel_c10pll_enable(struct intel_encoder *encoder,bool lane_reversal = dig_port->saved_port_bits &DDI_BUF_PORT_REVERSAL ;u8 maxpclk_lane = lane_reversal ?INTEL_CX0_LANE1 :INTEL_CX0_LANE0 ; +intel_wakeref_t wakeref =intel_cx0_phy_transaction_begin (encoder);/* * 1. Program PORT_CLOCK_CTL REGISTER to configure
@@ -1739,13 +1969,16 @@ static void intel_c10pll_enable(struct intel_encoder *encoder, CX0_P2_STATE_READY);/* 4. Program PHY internal PLL internal registers. */ -intel_c10_pll_program (i915, crtc_state, encoder); +if (intel_is_c10phy (i915, phy)) +intel_c10_pll_program (i915, crtc_state, encoder); +else +intel_c20_pll_program (i915, crtc_state, encoder);/* * 5. Program the enabled and disabled owned PHY lane * transmitters over message bus */ -intel_c10_program_phy_lane (i915, encoder, crtc_state->lane_count, lane_reversal); +intel_cx0_program_phy_lane (i915, encoder, crtc_state->lane_count, lane_reversal);/* * 6. Follow the Display Voltage Frequency Switching - Sequence
@@ -1779,32 +2012,22 @@ static void intel_c10pll_enable(struct intel_encoder *encoder,* 10. Follow the Display Voltage Frequency Switching Sequence After * Frequency Change. We handle this step in bxt_set_cdclk(). */ -} - -void intel_cx0pll_enable (struct intel_encoder *encoder, -const struct intel_crtc_state *crtc_state) -{ -struct drm_i915_private *i915 =to_i915 (encoder->base.dev); -enum phy phy =intel_port_to_phy (i915, encoder->port); -intel_wakeref_t wakeref; - - wakeref =intel_cx0_phy_transaction_begin (encoder); - -drm_WARN_ON (&i915->drm, !intel_is_c10phy (i915, phy)); -intel_c10pll_enable (encoder, crtc_state);/* TODO: enable TBT-ALT mode */ intel_cx0_phy_transaction_end (encoder, wakeref); } -static void intel_c10pll_disable (struct intel_encoder *encoder) +void intel_cx0pll_disable (struct intel_encoder *encoder) {struct drm_i915_private *i915 =to_i915 (encoder->base.dev);enum phy phy =intel_port_to_phy (i915, encoder->port); +bool is_c10 =intel_is_c10phy (i915, phy); +intel_wakeref_t wakeref =intel_cx0_phy_transaction_begin (encoder);/* 1. Change owned PHY lane power to Disable state. */ intel_cx0_powerdown_change_sequence (i915, encoder->port,INTEL_CX0_BOTH_LANES , -CX0_P2PG_STATE_DISABLE ); + is_c10 ?CX0_P2PG_STATE_DISABLE : +CX0_P4PG_STATE_DISABLE );/* * 2. Follow the Display Voltage Frequency Switching Sequence Before
@@ -1842,18 +2065,7 @@ static void intel_c10pll_disable(struct intel_encoder *encoder) XELPDP_DDI_CLOCK_SELECT_MASK, 0);intel_de_rmw (i915,XELPDP_PORT_CLOCK_CTL (encoder->port),XELPDP_FORWARD_CLOCK_UNGATE ,0 ); -} - -void intel_cx0pll_disable (struct intel_encoder *encoder) -{ -struct drm_i915_private *i915 =to_i915 (encoder->base.dev); -enum phy phy =intel_port_to_phy (i915, encoder->port); -intel_wakeref_t wakeref; - wakeref =intel_cx0_phy_transaction_begin (encoder); - -drm_WARN_ON (&i915->drm, !intel_is_c10phy (i915, phy)); -intel_c10pll_disable (encoder);intel_cx0_phy_transaction_end (encoder, wakeref); }
drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h +33 -0
@@ -177,4 +177,37 @@#define PHY_CX0_TX_CONTROL (tx, control) (0x400 + ((tx) - 1) * 0x200 + (control))#define CONTROL2_DISABLE_SINGLE_TX REG_BIT(6) +/* C20 Registers */ +#define PHY_C20_WR_ADDRESS_L 0xC02 +#define PHY_C20_WR_ADDRESS_H 0xC03 +#define PHY_C20_WR_DATA_L 0xC04 +#define PHY_C20_WR_DATA_H 0xC05 +#define PHY_C20_RD_ADDRESS_L 0xC06 +#define PHY_C20_RD_ADDRESS_H 0xC07 +#define PHY_C20_RD_DATA_L 0xC08 +#define PHY_C20_RD_DATA_H 0xC09 +#define PHY_C20_VDR_CUSTOM_SERDES_RATE 0xD00 +#define PHY_C20_VDR_HDMI_RATE 0xD01 +#define PHY_C20_CONTEXT_TOGGLE REG_BIT8(0) +#define PHY_C20_CUSTOM_SERDES_MASK REG_GENMASK8(4, 1) +#define PHY_C20_CUSTOM_SERDES (val) REG_FIELD_PREP8(PHY_C20_CUSTOM_SERDES_MASK, val) +#define PHY_C20_VDR_CUSTOM_WIDTH 0xD02 +#define PHY_C20_CUSTOM_WIDTH_MASK REG_GENMASK(1, 0) +#define PHY_C20_CUSTOM_WIDTH (val) REG_FIELD_PREP8(PHY_C20_CUSTOM_WIDTH_MASK, val) +#define PHY_C20_A_TX_CNTX_CFG (idx) (0xCF2E - (idx)) +#define PHY_C20_B_TX_CNTX_CFG (idx) (0xCF2A - (idx)) +#define PHY_C20_A_CMN_CNTX_CFG (idx) (0xCDAA - (idx)) +#define PHY_C20_B_CMN_CNTX_CFG (idx) (0xCDA5 - (idx)) +#define PHY_C20_A_MPLLA_CNTX_CFG (idx) (0xCCF0 - (idx)) +#define PHY_C20_B_MPLLA_CNTX_CFG (idx) (0xCCE5 - (idx)) +#define C20_MPLLA_FRACEN REG_BIT(14) +#define C20_MPLLA_TX_CLK_DIV_MASK REG_GENMASK(10, 8) +#define PHY_C20_A_MPLLB_CNTX_CFG (idx) (0xCB5A - (idx)) +#define PHY_C20_B_MPLLB_CNTX_CFG (idx) (0xCB4E - (idx)) +#define C20_MPLLB_TX_CLK_DIV_MASK REG_GENMASK(15, 13) +#define C20_MPLLB_FRACEN REG_BIT(13) +#define C20_MULTIPLIER_MASK REG_GENMASK(11, 0) + +#define RAWLANEAONX_DIG_TX_MPLLB_CAL_DONE_BANK (idx) (0x303D + (idx)) +#endif /* __INTEL_CX0_REG_DEFS_H__ */
drivers/gpu/drm/i915/display/intel_ddi.c +2 -1
@@ -3359,7 +3359,8 @@ void intel_ddi_update_active_dpll(struct intel_atomic_state *state,struct intel_crtc *slave_crtc;enum phy phy =intel_port_to_phy (i915, encoder->port); -if (!intel_phy_is_tc (i915, phy)) +/* FIXME: Add MTL pll_mgr */ +if (DISPLAY_VER (i915) >=14 || !intel_phy_is_tc (i915, phy))return ;intel_update_active_dpll (state, crtc, encoder);
drivers/gpu/drm/i915/display/intel_display_types.h +14 -1
@@ -996,8 +996,21 @@ struct intel_c10pll_state {u8 pll[20 ]; }; +struct intel_c20pll_state { +u32 clock;/* in kHz */ +u16 tx[3 ]; +u16 cmn[4 ]; +union { +u16 mplla[10 ]; +u16 mpllb[11 ]; + }; +}; +struct intel_cx0pll_state { -struct intel_c10pll_state c10; +union { +struct intel_c10pll_state c10; +struct intel_c20pll_state c20; + };bool ssc_enabled; };
drivers/gpu/drm/i915/display/intel_dp.c +10 -2
@@ -53,6 +53,7 @@#include "intel_combo_phy_regs.h" #include "intel_connector.h" #include "intel_crtc.h" +#include "intel_cx0_phy.h" #include "intel_ddi.h" #include "intel_de.h" #include "intel_display_types.h"
@@ -423,7 +424,14 @@ static int ehl_max_source_rate(struct intel_dp *intel_dp)static int mtl_max_source_rate (struct intel_dp *intel_dp) { -return intel_dp_is_edp (intel_dp) ?675000 :810000 ; +struct intel_digital_port *dig_port =dp_to_dig_port (intel_dp); +struct drm_i915_private *i915 =to_i915 (dig_port->base.base.dev); +enum phy phy =intel_port_to_phy (i915, dig_port->base.port); + +if (intel_is_c10phy (i915, phy)) +return intel_dp_is_edp (intel_dp) ?675000 :810000 ; + +return 2000000 ; }static int vbt_max_link_rate (struct intel_dp *intel_dp)
@@ -452,7 +460,7 @@ intel_dp_set_source_rates(struct intel_dp *intel_dp)/* The values must be in increasing order */ static const int mtl_rates[] = {162000 ,216000 ,243000 ,270000 ,324000 ,432000 ,540000 ,675000 , -810000 , +810000 ,1000000 ,1350000 ,2000000 , };static const int icl_rates[] = {162000 ,216000 ,270000 ,324000 ,432000 ,540000 ,648000 ,810000 ,
Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH v2 01/13] drm/i915/mtl: C20 PLL programming
Quoted 10 lines · Mika Kahola
C20 phy PLL programming sequence for DP, DP2.0, HDMI2.x non-FRL and HDMI2.x FRL. This enables C20 MPLLA and MPLLB programming sequence. add 4 lane support for c20.
v2: Add 6.48Gbps and 6.75Gbps modes for eDP (RK)
Fix lane check (RK)
Fix multiline commenting (Arun)
useusleep_range()instead ofmsleep()(Andi)Reviewed-by Arun R Murthy <[email protected]>
LGTM,
Quoted 522 lines
Signed-off-by José Roberto de Souza <[email protected]>Signed-off-by Mika Kahola <[email protected]>Signed-off-by Bhanuprakash Modem <[email protected]>Signed-off-by Imre Deak <[email protected]>Signed-off-by Arun R Murthy <[email protected]>--- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 288 +++++++++++++++--- .../gpu/drm/i915/display/intel_cx0_phy_regs.h | 33 ++ drivers/gpu/drm/i915/display/intel_ddi.c | 3 +- .../drm/i915/display/intel_display_types.h | 15 +- drivers/gpu/drm/i915/display/intel_dp.c | 12 +- 5 files changed, 309 insertions(+), 42 deletions(-)drivers/gpu/drm/i915/display/intel_cx0_phy.c +250
-38@@ -273,6 +273,18 @@ static void intel_cx0_write(struct drm_i915_private *i915, enum port port,__intel_cx0_write (i915, port, lane, addr, data, committed); } +static void intel_c20_sram_write (struct drm_i915_private *i915,enum port port, +int lane,u16 addr,u16 data) +{ +assert_dc_off (i915); + +intel_cx0_write (i915, port, lane,PHY_C20_WR_ADDRESS_H , addr >>8 ,0 ); +intel_cx0_write (i915, port, lane,PHY_C20_WR_ADDRESS_L , addr &0xff ,0 ); + +intel_cx0_write (i915, port, lane,PHY_C20_WR_DATA_H , data >>8 ,0 ); +intel_cx0_write (i915, port, lane,PHY_C20_WR_DATA_L , data &0xff ,1 ); +} +static void __intel_cx0_rmw (struct drm_i915_private *i915,enum port port,int lane,u16 addr,u8 clear,u8 set,bool committed) {@@ -1415,6 +1427,215 @@ void intel_c10pll_dump_hw_state(struct drm_i915_private *i915, i + 2, hw_state->pll[i + 2], i + 3, hw_state->pll[i + 3]); } +static bool intel_c20_use_mplla (u32 clock) +{ +/* 10G and 20G rates use MPLLA */ +if (clock ==312500 || clock ==625000 ) +return true; + +return false; +} + +static u8 intel_c20_get_dp_rate (u32 clock) +{ +switch (clock) { +case 162000 :/* 1.62 Gbps DP1.4 */ +return 0 ; +case 270000 :/* 2.7 Gbps DP1.4 */ +return 1 ; +case 540000 :/* 5.4 Gbps DP 1.4 */ +return 2 ; +case 810000 :/* 8.1 Gbps DP1.4 */ +return 3 ; +case 216000 :/* 2.16 Gbps eDP */ +return 4 ; +case 243000 :/* 2.43 Gbps eDP */ +return 5 ; +case 324000 :/* 3.24 Gbps eDP */ +return 6 ; +case 432000 :/* 4.32 Gbps eDP */ +return 7 ; +case 312500 :/* 10 Gbps DP2.0 */ +return 8 ; +case 421875 :/* 13.5 Gbps DP2.0 */ +return 9 ; +case 625000 :/* 20 Gbps DP2.0*/ +return 10 ; +case 648000 :/* 6.48 Gbps eDP*/ +return 11 ; +case 675000 :/* 6.75 Gbps eDP*/ +return 12 ; +default : +MISSING_CASE (clock); +return 0 ; + } +} + +static u8 intel_c20_get_hdmi_rate (u32 clock) +{ +switch (clock) { +case 25175 : +case 27000 : +case 74250 : +case 148500 : +case 594000 : +return 0 ; +case 166670 :/* 3 Gbps */ +case 333330 :/* 6 Gbps */ +case 666670 :/* 12 Gbps */ +return 1 ; +case 444440 :/* 8 Gbps */ +return 2 ; +case 555560 :/* 10 Gbps */ +return 3 ; +default : +MISSING_CASE (clock); +return 0 ; + } +} + +static bool is_dp2 (u32 clock) +{ +/* DP2.0 clock rates */ +if (clock ==312500 || clock ==421875 || clock ==625000 ) +return true; + +return false; +} + +static bool is_hdmi_frl (u32 clock) +{ +switch (clock) { +case 166670 :/* 3 Gbps */ +case 333330 :/* 6 Gbps */ +case 444440 :/* 8 Gbps */ +case 555560 :/* 10 Gbps */ +case 666670 :/* 12 Gbps */ +return true; +default : +return false; + } +} + +static bool intel_c20_protocol_switch_valid (struct intel_encoder *encoder) +{ +struct intel_digital_port *intel_dig_port =enc_to_dig_port (encoder); + +/* banks should not be cleared for DPALT/USB4/TBT modes */ +/* TODO: optimize re-calibration in legacy mode */ +return intel_tc_port_in_legacy_mode (intel_dig_port); +} + +static int intel_get_c20_custom_width (u32 clock,bool dp) +{ +if (dp &&is_dp2 (clock)) +return 2 ; +else if (is_hdmi_frl (clock)) +return 1 ; +else +return 0 ; +} + +static void intel_c20_pll_program (struct drm_i915_private *i915, +const struct intel_crtc_state *crtc_state, +struct intel_encoder *encoder) +{ +const struct intel_c20pll_state *pll_state = &crtc_state->cx0pll_state.c20; +bool dp = false; +int lane = crtc_state->lane_count >2 ?INTEL_CX0_BOTH_LANES :INTEL_CX0_LANE0 ; +bool cntx; +int i; + +if (intel_crtc_has_dp_encoder (crtc_state)) + dp = true; + +/* 1. Read current context selection */ + cntx =intel_cx0_read (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_VDR_CUSTOM_SERDES_RATE ) &BIT (0 ); + +/* +* 2. If there is a protocol switch from HDMI to DP or vice versa, clear +* the lane #0 MPLLB CAL_DONE_BANK DP2.0 10G and 20G rates enable MPLLA. +* Protocol switch is only applicable for MPLLA +*/ +if (intel_c20_protocol_switch_valid (encoder)) { +for (i =0 ; i <4 ; i++) +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 ,RAWLANEAONX_DIG_TX_MPLLB_CAL_DONE_BANK (i),0 ); +usleep_range (4000 ,4100 ); + } + +/* 3. Write SRAM configuration context. If A in use, write configuration to B context */ +/* 3.1 Tx configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->tx); i++) { +if (cntx) +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_A_TX_CNTX_CFG (i), pll_state->tx[i]); +else +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_B_TX_CNTX_CFG (i), pll_state->tx[i]); + } + +/* 3.2 common configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->cmn); i++) { +if (cntx) +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_A_CMN_CNTX_CFG (i), pll_state->cmn[i]); +else +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_B_CMN_CNTX_CFG (i), pll_state->cmn[i]); + } + +/* 3.3 mpllb or mplla configuration */ +if (intel_c20_use_mplla (pll_state->clock)) { +for (i =0 ; i <ARRAY_SIZE (pll_state->mplla); i++) { +if (cntx) +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_MPLLA_CNTX_CFG (i), + pll_state->mplla[i]); +else +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_MPLLA_CNTX_CFG (i), + pll_state->mplla[i]); + } + }else { +for (i =0 ; i <ARRAY_SIZE (pll_state->mpllb); i++) { +if (cntx) +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_MPLLB_CNTX_CFG (i), + pll_state->mpllb[i]); +else +intel_c20_sram_write (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_MPLLB_CNTX_CFG (i), + pll_state->mpllb[i]); + } + } + +/* 4. Program custom width to match the link protocol */ +intel_cx0_rmw (i915, encoder->port, lane,PHY_C20_VDR_CUSTOM_WIDTH , +PHY_C20_CUSTOM_WIDTH_MASK , +PHY_C20_CUSTOM_WIDTH (intel_get_c20_custom_width (pll_state->clock, dp)), +MB_WRITE_COMMITTED ); + +/* 5. For DP or 6. For HDMI */ +if (dp) { +intel_cx0_rmw (i915, encoder->port, lane,PHY_C20_VDR_CUSTOM_SERDES_RATE , +BIT (6 ) |PHY_C20_CUSTOM_SERDES_MASK , +BIT (6 ) |PHY_C20_CUSTOM_SERDES (intel_c20_get_dp_rate (pll_state->clock)), +MB_WRITE_COMMITTED ); + }else { +intel_cx0_rmw (i915, encoder->port, lane,PHY_C20_VDR_CUSTOM_SERDES_RATE , +BIT (7 ) |PHY_C20_CUSTOM_SERDES_MASK , +is_hdmi_frl (pll_state->clock) ?BIT (7 ) :0 , +MB_WRITE_COMMITTED ); + +intel_cx0_write (i915, encoder->port,INTEL_CX0_BOTH_LANES ,PHY_C20_VDR_HDMI_RATE , +intel_c20_get_hdmi_rate (pll_state->clock), +MB_WRITE_COMMITTED ); + } + +/* +* 7. Write Vendor specific registers to toggle context setting to load +* the updated programming toggle context bit +*/ +intel_cx0_rmw (i915, encoder->port, lane,PHY_C20_VDR_CUSTOM_SERDES_RATE , +BIT (0 ), cntx ?0 :1 ,MB_WRITE_COMMITTED ); +} +int intel_c10pll_calc_port_clock (struct intel_encoder *encoder,const struct intel_c10pll_state *pll_state) {@@ -1456,7 +1677,11 @@ static void intel_program_port_clock_ctl(struct intel_encoder *encoder, val |=XELPDP_LANE1_PHY_CLOCK_SELECT ; val |=XELPDP_FORWARD_CLOCK_UNGATE ; - val |=XELPDP_DDI_CLOCK_SELECT (XELPDP_DDI_CLOCK_SELECT_MAXPCLK ); + +if (is_hdmi_frl (crtc_state->port_clock)) + val |=XELPDP_DDI_CLOCK_SELECT (XELPDP_DDI_CLOCK_SELECT_DIV18CLK ); +else + val |=XELPDP_DDI_CLOCK_SELECT (XELPDP_DDI_CLOCK_SELECT_MAXPCLK );/* TODO: HDMI FRL */ /* TODO: DP2.0 10G and 20G rates enable MPLLA*/ @@ -1612,7 +1837,7 @@ static void intel_cx0_phy_lane_reset(struct drm_i915_private *i915, enum port po phy_name(phy), XELPDP_PORT_RESET_END_TIMEOUT); } -static void intel_c10_program_phy_lane (struct drm_i915_private *i915, +static void intel_cx0_program_phy_lane (struct drm_i915_private *i915,struct intel_encoder *encoder,int lane_count,bool lane_reversal) {@@ -1620,9 +1845,11 @@ static void intel_c10_program_phy_lane(struct drm_i915_private *i915,bool dp_alt_mode =intel_tc_port_in_dp_alt_mode (enc_to_dig_port (encoder));enum port port = encoder->port; -intel_cx0_rmw (i915, port,INTEL_CX0_BOTH_LANES ,PHY_C10_VDR_CONTROL (1 ), -0 ,C10_VDR_CTRL_MSGBUS_ACCESS , -MB_WRITE_COMMITTED ); +if (intel_is_c10phy (i915,intel_port_to_phy (i915, port))) +intel_cx0_rmw (i915, port,INTEL_CX0_BOTH_LANES , +PHY_C10_VDR_CONTROL (1 ),0 , +C10_VDR_CTRL_MSGBUS_ACCESS , +MB_WRITE_COMMITTED );/* TODO: DP-alt MFD case where only one PHY lane should be programmed. */ l0t1 =intel_cx0_read (i915, port,INTEL_CX0_LANE0 ,PHY_CX0_TX_CONTROL (1 ,2 ));@@ -1685,9 +1912,11 @@ static void intel_c10_program_phy_lane(struct drm_i915_private *i915,intel_cx0_write (i915, port,INTEL_CX0_LANE1 ,PHY_CX0_TX_CONTROL (2 ,2 ), l1t2,MB_WRITE_COMMITTED ); -intel_cx0_rmw (i915, port,INTEL_CX0_BOTH_LANES ,PHY_C10_VDR_CONTROL (1 ), -0 ,C10_VDR_CTRL_UPDATE_CFG , -MB_WRITE_COMMITTED ); +if (intel_is_c10phy (i915,intel_port_to_phy (i915, port))) +intel_cx0_rmw (i915, port,INTEL_CX0_BOTH_LANES , +PHY_C10_VDR_CONTROL (1 ),0 , +C10_VDR_CTRL_UPDATE_CFG , +MB_WRITE_COMMITTED ); }static u32 intel_cx0_get_pclk_pll_request (u8 lane_mask)@@ -1712,8 +1941,8 @@ static u32 intel_cx0_get_pclk_pll_ack(u8 lane_mask)return val; } -static void intel_c10pll_enable (struct intel_encoder *encoder, -const struct intel_crtc_state *crtc_state) +void intel_cx0pll_enable (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state) {struct drm_i915_private *i915 =to_i915 (encoder->base.dev);enum phy phy =intel_port_to_phy (i915, encoder->port);@@ -1721,6 +1950,7 @@ static void intel_c10pll_enable(struct intel_encoder *encoder,bool lane_reversal = dig_port->saved_port_bits &DDI_BUF_PORT_REVERSAL ;u8 maxpclk_lane = lane_reversal ?INTEL_CX0_LANE1 :INTEL_CX0_LANE0 ; +intel_wakeref_t wakeref =intel_cx0_phy_transaction_begin (encoder);/* * 1. Program PORT_CLOCK_CTL REGISTER to configure @@ -1739,13 +1969,16 @@ static void intel_c10pll_enable(struct intel_encoder *encoder, CX0_P2_STATE_READY);/* 4. Program PHY internal PLL internal registers. */ -intel_c10_pll_program (i915, crtc_state, encoder); +if (intel_is_c10phy (i915, phy)) +intel_c10_pll_program (i915, crtc_state, encoder); +else +intel_c20_pll_program (i915, crtc_state, encoder);/* * 5. Program the enabled and disabled owned PHY lane * transmitters over message bus */ -intel_c10_program_phy_lane (i915, encoder, crtc_state->lane_count, lane_reversal); +intel_cx0_program_phy_lane (i915, encoder, crtc_state->lane_count, lane_reversal);/* * 6. Follow the Display Voltage Frequency Switching - Sequence @@ -1779,32 +2012,22 @@ static void intel_c10pll_enable(struct intel_encoder *encoder,* 10. Follow the Display Voltage Frequency Switching Sequence After * Frequency Change. We handle this step in bxt_set_cdclk(). */ -} - -void intel_cx0pll_enable (struct intel_encoder *encoder, -const struct intel_crtc_state *crtc_state) -{ -struct drm_i915_private *i915 =to_i915 (encoder->base.dev); -enum phy phy =intel_port_to_phy (i915, encoder->port); -intel_wakeref_t wakeref; - - wakeref =intel_cx0_phy_transaction_begin (encoder); - -drm_WARN_ON (&i915->drm, !intel_is_c10phy (i915, phy)); -intel_c10pll_enable (encoder, crtc_state);/* TODO: enable TBT-ALT mode */ intel_cx0_phy_transaction_end (encoder, wakeref); } -static void intel_c10pll_disable (struct intel_encoder *encoder) +void intel_cx0pll_disable (struct intel_encoder *encoder) {struct drm_i915_private *i915 =to_i915 (encoder->base.dev);enum phy phy =intel_port_to_phy (i915, encoder->port); +bool is_c10 =intel_is_c10phy (i915, phy); +intel_wakeref_t wakeref =intel_cx0_phy_transaction_begin (encoder);/* 1. Change owned PHY lane power to Disable state. */ intel_cx0_powerdown_change_sequence (i915, encoder->port,INTEL_CX0_BOTH_LANES , -CX0_P2PG_STATE_DISABLE ); + is_c10 ?CX0_P2PG_STATE_DISABLE : +CX0_P4PG_STATE_DISABLE );/* * 2. Follow the Display Voltage Frequency Switching Sequence Before @@ -1842,18 +2065,7 @@ static void intel_c10pll_disable(struct intel_encoder *encoder) XELPDP_DDI_CLOCK_SELECT_MASK, 0);intel_de_rmw (i915,XELPDP_PORT_CLOCK_CTL (encoder->port),XELPDP_FORWARD_CLOCK_UNGATE ,0 ); -} - -void intel_cx0pll_disable (struct intel_encoder *encoder) -{ -struct drm_i915_private *i915 =to_i915 (encoder->base.dev); -enum phy phy =intel_port_to_phy (i915, encoder->port); -intel_wakeref_t wakeref; - wakeref =intel_cx0_phy_transaction_begin (encoder); - -drm_WARN_ON (&i915->drm, !intel_is_c10phy (i915, phy)); -intel_c10pll_disable (encoder);intel_cx0_phy_transaction_end (encoder, wakeref); }drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h +33
-0@@ -177,4 +177,37 @@#define PHY_CX0_TX_CONTROL (tx, control) (0x400 + ((tx) - 1) * 0x200 + (control))#define CONTROL2_DISABLE_SINGLE_TX REG_BIT(6) +/* C20 Registers */ +#define PHY_C20_WR_ADDRESS_L 0xC02 +#define PHY_C20_WR_ADDRESS_H 0xC03 +#define PHY_C20_WR_DATA_L 0xC04 +#define PHY_C20_WR_DATA_H 0xC05 +#define PHY_C20_RD_ADDRESS_L 0xC06 +#define PHY_C20_RD_ADDRESS_H 0xC07 +#define PHY_C20_RD_DATA_L 0xC08 +#define PHY_C20_RD_DATA_H 0xC09 +#define PHY_C20_VDR_CUSTOM_SERDES_RATE 0xD00 +#define PHY_C20_VDR_HDMI_RATE 0xD01 +#define PHY_C20_CONTEXT_TOGGLE REG_BIT8(0) +#define PHY_C20_CUSTOM_SERDES_MASK REG_GENMASK8(4, 1) +#define PHY_C20_CUSTOM_SERDES (val) REG_FIELD_PREP8(PHY_C20_CUSTOM_SERDES_MASK, val) +#define PHY_C20_VDR_CUSTOM_WIDTH 0xD02 +#define PHY_C20_CUSTOM_WIDTH_MASK REG_GENMASK(1, 0) +#define PHY_C20_CUSTOM_WIDTH (val) REG_FIELD_PREP8(PHY_C20_CUSTOM_WIDTH_MASK, val) +#define PHY_C20_A_TX_CNTX_CFG (idx) (0xCF2E - (idx)) +#define PHY_C20_B_TX_CNTX_CFG (idx) (0xCF2A - (idx)) +#define PHY_C20_A_CMN_CNTX_CFG (idx) (0xCDAA - (idx)) +#define PHY_C20_B_CMN_CNTX_CFG (idx) (0xCDA5 - (idx)) +#define PHY_C20_A_MPLLA_CNTX_CFG (idx) (0xCCF0 - (idx)) +#define PHY_C20_B_MPLLA_CNTX_CFG (idx) (0xCCE5 - (idx)) +#define C20_MPLLA_FRACEN REG_BIT(14) +#define C20_MPLLA_TX_CLK_DIV_MASK REG_GENMASK(10, 8) +#define PHY_C20_A_MPLLB_CNTX_CFG (idx) (0xCB5A - (idx)) +#define PHY_C20_B_MPLLB_CNTX_CFG (idx) (0xCB4E - (idx)) +#define C20_MPLLB_TX_CLK_DIV_MASK REG_GENMASK(15, 13) +#define C20_MPLLB_FRACEN REG_BIT(13) +#define C20_MULTIPLIER_MASK REG_GENMASK(11, 0) + +#define RAWLANEAONX_DIG_TX_MPLLB_CAL_DONE_BANK (idx) (0x303D + (idx)) +#endif /* __INTEL_CX0_REG_DEFS_H__ */ drivers/gpu/drm/i915/display/intel_ddi.c +2
-1@@ -3359,7 +3359,8 @@ void intel_ddi_update_active_dpll(struct intel_atomic_state *state,struct intel_crtc *slave_crtc;enum phy phy =intel_port_to_phy (i915, encoder->port); -if (!intel_phy_is_tc (i915, phy)) +/* FIXME: Add MTL pll_mgr */ +if (DISPLAY_VER (i915) >=14 || !intel_phy_is_tc (i915, phy))return ;intel_update_active_dpll (state, crtc, encoder);drivers/gpu/drm/i915/display/intel_display_types.h +14
-1@@ -996,8 +996,21 @@ struct intel_c10pll_state {u8 pll[20 ]; }; +struct intel_c20pll_state { +u32 clock;/* in kHz */ +u16 tx[3 ]; +u16 cmn[4 ]; +union { +u16 mplla[10 ]; +u16 mpllb[11 ]; + }; +}; +struct intel_cx0pll_state { -struct intel_c10pll_state c10; +union { +struct intel_c10pll_state c10; +struct intel_c20pll_state c20; + };bool ssc_enabled; };drivers/gpu/drm/i915/display/intel_dp.c +10
-2@@ -53,6 +53,7 @@#include "intel_combo_phy_regs.h" #include "intel_connector.h" #include "intel_crtc.h" +#include "intel_cx0_phy.h" #include "intel_ddi.h" #include "intel_de.h" #include "intel_display_types.h" @@ -423,7 +424,14 @@ static int ehl_max_source_rate(struct intel_dp *intel_dp)static int mtl_max_source_rate (struct intel_dp *intel_dp) { -return intel_dp_is_edp (intel_dp) ?675000 :810000 ; +struct intel_digital_port *dig_port =dp_to_dig_port (intel_dp); +struct drm_i915_private *i915 =to_i915 (dig_port->base.base.dev); +enum phy phy =intel_port_to_phy (i915, dig_port->base.port); + +if (intel_is_c10phy (i915, phy)) +return intel_dp_is_edp (intel_dp) ?675000 :810000 ; + +return 2000000 ; }static int vbt_max_link_rate (struct intel_dp *intel_dp)@@ -452,7 +460,7 @@ intel_dp_set_source_rates(struct intel_dp *intel_dp)/* The values must be in increasing order */ static const int mtl_rates[] = {162000 ,216000 ,243000 ,270000 ,324000 ,432000 ,540000 ,675000 , -810000 , +810000 ,1000000 ,1350000 ,2000000 , };static const int icl_rates[] = {162000 ,216000 ,270000 ,324000 ,432000 ,540000 ,648000 ,810000 ,Signature · 1 line
2.34.1
PATCH v2 2/13 drm/i915/mtl: C20 HW readout
In reply to Mika KaholaCreate a table for C20 DP1.4, DP2.0 and HDMI2.1 rates.
The PLL settings are based on table, not for algorithmic alternative. For DP 1.4 only MPLLB is in use.
Once register settings are done, we read back C20 HW state.
BSpec: 64568
v2: Updated pll tables (RK)
MPLLB selection fix (RK)
--- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 624 +++++++++++++++++- drivers/gpu/drm/i915/display/intel_cx0_phy.h | 8 +- .../gpu/drm/i915/display/intel_cx0_phy_regs.h | 1 + drivers/gpu/drm/i915/display/intel_ddi.c | 9 +- .../drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_hdmi.c | 6 +- drivers/gpu/drm/i915/display/intel_hdmi.h | 1 + 7 files changed, 630 insertions(+), 20 deletions(-)
drivers/gpu/drm/i915/display/intel_cx0_phy.c +612 -12
@@ -11,6 +11,7 @@#include "intel_de.h" #include "intel_display_types.h" #include "intel_dp.h" +#include "intel_hdmi.h" #include "intel_panel.h" #include "intel_psr.h" #include "intel_tc.h"
@@ -285,6 +286,23 @@ static void intel_c20_sram_write(struct drm_i915_private *i915, enum port port,intel_cx0_write (i915, port, lane,PHY_C20_WR_DATA_L , data &0xff ,1 ); } +static u16 intel_c20_sram_read (struct drm_i915_private *i915,enum port port, +int lane,u16 addr) +{ +u16 val; + +assert_dc_off (i915); + +intel_cx0_write (i915, port, lane,PHY_C20_RD_ADDRESS_H , addr >>8 ,0 ); +intel_cx0_write (i915, port, lane,PHY_C20_RD_ADDRESS_L , addr &0xff ,1 ); + + val =intel_cx0_read (i915, port, lane,PHY_C20_RD_DATA_H ); + val <<=8 ; + val |=intel_cx0_read (i915, port, lane,PHY_C20_RD_DATA_L ); + +return val; +} +static void __intel_cx0_rmw (struct drm_i915_private *i915,enum port port,int lane,u16 addr,u8 clear,u8 set,bool committed) {
@@ -659,6 +677,199 @@ static const struct intel_c10pll_state * const mtl_c10_edp_tables[] = { NULL, }; +/* C20 basic DP 1.4 tables */ +static const struct intel_c20pll_state mtl_c20_dp_rbr = { + .link_bit_rate =162000 , + .clock =162000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x5800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x50a8 ,/* mpllb cfg0 */ +0x2120 ,/* mpllb cfg1 */ +0xcd9a ,/* mpllb cfg2 */ +0xbfc1 ,/* mpllb cfg3 */ +0x5ab8 ,/* mpllb cfg4 */ +0x4c34 ,/* mpllb cfg5 */ +0x2000 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x6000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0000 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_dp_hbr1 = { + .link_bit_rate =270000 , + .clock =270000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x308c ,/* mpllb cfg0 */ +0x2110 ,/* mpllb cfg1 */ +0xcc9c ,/* mpllb cfg2 */ +0xbfc1 ,/* mpllb cfg3 */ +0x4b9a ,/* mpllb cfg4 */ +0x3f81 ,/* mpllb cfg5 */ +0x2000 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x5000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0000 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_dp_hbr2 = { + .link_bit_rate =540000 , + .clock =540000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x108c ,/* mpllb cfg0 */ +0x2108 ,/* mpllb cfg1 */ +0xcc9c ,/* mpllb cfg2 */ +0xbfc1 ,/* mpllb cfg3 */ +0x4b9a ,/* mpllb cfg4 */ +0x3f81 ,/* mpllb cfg5 */ +0x2000 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x5000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0000 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_dp_hbr3 = { + .link_bit_rate =810000 , + .clock =810000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x10d2 ,/* mpllb cfg0 */ +0x2108 ,/* mpllb cfg1 */ +0x8d98 ,/* mpllb cfg2 */ +0xbfc1 ,/* mpllb cfg3 */ +0x7166 ,/* mpllb cfg4 */ +0x5f42 ,/* mpllb cfg5 */ +0x2000 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x7800 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0000 ,/* mpllb cfg10 */ + }, +}; + +/* C20 basic DP 2.0 tables */ +static const struct intel_c20pll_state mtl_c20_dp_uhbr10 = { + .link_bit_rate =1000000 ,/* 10 Gbps */ + .clock =312500 , + .tx = {0xbe21 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mplla = {0x3104 ,/* mplla cfg0 */ +0xd105 ,/* mplla cfg1 */ +0xc025 ,/* mplla cfg2 */ +0xc025 ,/* mplla cfg3 */ +0x8c00 ,/* mplla cfg4 */ +0x759a ,/* mplla cfg5 */ +0x4000 ,/* mplla cfg6 */ +0x0003 ,/* mplla cfg7 */ +0x3555 ,/* mplla cfg8 */ +0x0001 ,/* mplla cfg9 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_dp_uhbr13_5 = { + .link_bit_rate =1350000 ,/* 13.5 Gbps */ + .clock =421875 , + .tx = {0xbea0 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x015f ,/* mpllb cfg0 */ +0x2205 ,/* mpllb cfg1 */ +0x1b17 ,/* mpllb cfg2 */ +0xffc1 ,/* mpllb cfg3 */ +0xe100 ,/* mpllb cfg4 */ +0xbd00 ,/* mpllb cfg5 */ +0x2000 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x4800 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0000 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_dp_uhbr20 = { + .link_bit_rate =2000000 ,/* 20 Gbps */ + .clock =625000 , + .tx = {0xbe20 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mplla = {0x3104 ,/* mplla cfg0 */ +0xd105 ,/* mplla cfg1 */ +0xc025 ,/* mplla cfg2 */ +0xc025 ,/* mplla cfg3 */ +0xa6ab ,/* mplla cfg4 */ +0x8c00 ,/* mplla cfg5 */ +0x4000 ,/* mplla cfg6 */ +0x0003 ,/* mplla cfg7 */ +0x3555 ,/* mplla cfg8 */ +0x0001 ,/* mplla cfg9 */ + }, +}; + +static const struct intel_c20pll_state *const mtl_c20_dp_tables[] = { + &mtl_c20_dp_rbr, + &mtl_c20_dp_hbr1, + &mtl_c20_dp_hbr2, + &mtl_c20_dp_hbr3, + &mtl_c20_dp_uhbr10, + &mtl_c20_dp_uhbr13_5, + &mtl_c20_dp_uhbr20, +NULL , +}; +/* * HDMI link rates with 38.4 MHz reference clock. */
@@ -1243,7 +1454,281 @@ static const struct intel_c10pll_state * const mtl_c10_hdmi_tables[] = { NULL, }; -int intel_c10_phy_check_hdmi_link_rate (int clock) +static const struct intel_c20pll_state mtl_c20_hdmi_25_175 = { + .link_bit_rate =25175 , + .clock =25175 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0xa0d2 ,/* mpllb cfg0 */ +0x7d80 ,/* mpllb cfg1 */ +0x0906 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x0200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x0000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0001 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_27_0 = { + .link_bit_rate =27000 , + .clock =27000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0xa0e0 ,/* mpllb cfg0 */ +0x7d80 ,/* mpllb cfg1 */ +0x0906 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x8000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0001 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_74_25 = { + .link_bit_rate =74250 , + .clock =74250 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x609a ,/* mpllb cfg0 */ +0x7d40 ,/* mpllb cfg1 */ +0xca06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x5800 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0001 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_148_5 = { + .link_bit_rate =148500 , + .clock =148500 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x409a ,/* mpllb cfg0 */ +0x7d20 ,/* mpllb cfg1 */ +0xca06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x5800 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0001 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_594 = { + .link_bit_rate =594000 , + .clock =594000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x009a ,/* mpllb cfg0 */ +0x7d08 ,/* mpllb cfg1 */ +0xca06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x5800 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0001 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_300 = { + .link_bit_rate =3000000 , + .clock =166670 , + .tx = {0xbe98 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x209c ,/* mpllb cfg0 */ +0x7d10 ,/* mpllb cfg1 */ +0xca06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x2000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0004 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_600 = { + .link_bit_rate =6000000 , + .clock =333330 , + .tx = {0xbe98 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x009c ,/* mpllb cfg0 */ +0x7d08 ,/* mpllb cfg1 */ +0xca06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x2000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0004 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_800 = { + .link_bit_rate =8000000 , + .clock =444440 , + .tx = {0xbe98 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x00d0 ,/* mpllb cfg0 */ +0x7d08 ,/* mpllb cfg1 */ +0x4a06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0003 ,/* mpllb cfg7 */ +0x2aaa ,/* mpllb cfg8 */ +0x0002 ,/* mpllb cfg9 */ +0x0004 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_1000 = { + .link_bit_rate =10000000 , + .clock =555560 , + .tx = {0xbe98 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x1104 ,/* mpllb cfg0 */ +0x7d08 ,/* mpllb cfg1 */ +0x0a06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0003 ,/* mpllb cfg7 */ +0x3555 ,/* mpllb cfg8 */ +0x0001 ,/* mpllb cfg9 */ +0x0004 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_1200 = { + .link_bit_rate =12000000 , + .clock =666670 , + .tx = {0xbe98 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x0138 ,/* mpllb cfg0 */ +0x7d08 ,/* mpllb cfg1 */ +0x5486 ,/* mpllb cfg2 */ +0xfe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x4000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0004 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state *const mtl_c20_hdmi_tables[] = { + &mtl_c20_hdmi_25_175, + &mtl_c20_hdmi_27_0, + &mtl_c20_hdmi_74_25, + &mtl_c20_hdmi_148_5, + &mtl_c20_hdmi_594, + &mtl_c20_hdmi_300, + &mtl_c20_hdmi_600, + &mtl_c20_hdmi_800, + &mtl_c20_hdmi_1000, + &mtl_c20_hdmi_1200, +NULL , +}; + +static int intel_c10_phy_check_hdmi_link_rate (int clock) {const struct intel_c10pll_state *const *tables = mtl_c10_hdmi_tables;int i;
@@ -1319,17 +1804,6 @@ static int intel_c10pll_calc_state(struct intel_crtc_state *crtc_state,return -EINVAL ; } -int intel_cx0pll_calc_state (struct intel_crtc_state *crtc_state, -struct intel_encoder *encoder) -{ -struct drm_i915_private *i915 =to_i915 (encoder->base.dev); -enum phy phy =intel_port_to_phy (i915, encoder->port); - -drm_WARN_ON (&i915->drm, !intel_is_c10phy (i915, phy)); - -return intel_c10pll_calc_state (crtc_state, encoder); -} -void intel_c10pll_readout_hw_state (struct intel_encoder *encoder,struct intel_c10pll_state *pll_state) {
@@ -1427,6 +1901,74 @@ void intel_c10pll_dump_hw_state(struct drm_i915_private *i915, i + 2, hw_state->pll[i + 2], i + 3, hw_state->pll[i + 3]); } +static int intel_c20_phy_check_hdmi_link_rate (int clock) +{ +const struct intel_c20pll_state *const *tables = mtl_c20_hdmi_tables; +int i; + +for (i =0 ; tables[i]; i++) { +if (clock == tables[i]->link_bit_rate) +return MODE_OK ; + } + +return MODE_CLOCK_RANGE ; +} + +int intel_cx0_phy_check_hdmi_link_rate (struct intel_hdmi *hdmi,int clock) +{ +struct intel_digital_port *dig_port =hdmi_to_dig_port (hdmi); +struct drm_i915_private *i915 =intel_hdmi_to_i915 (hdmi); +enum phy phy =intel_port_to_phy (i915, dig_port->base.port); + +if (intel_is_c10phy (i915, phy)) +return intel_c10_phy_check_hdmi_link_rate (clock); +return intel_c20_phy_check_hdmi_link_rate (clock); +} + +static const struct intel_c20pll_state *const * +intel_c20_pll_tables_get (struct intel_crtc_state *crtc_state, +struct intel_encoder *encoder) +{ +if (intel_crtc_has_dp_encoder (crtc_state)) +return mtl_c20_dp_tables; +else if (intel_crtc_has_type (crtc_state,INTEL_OUTPUT_HDMI )) +return mtl_c20_hdmi_tables; + +MISSING_CASE (encoder->type); +return NULL ; +} + +static int intel_c20pll_calc_state (struct intel_crtc_state *crtc_state, +struct intel_encoder *encoder) +{ +const struct intel_c20pll_state *const *tables; +int i; + + tables =intel_c20_pll_tables_get (crtc_state, encoder); +if (!tables) +return -EINVAL ; + +for (i =0 ; tables[i]; i++) { +if (crtc_state->port_clock == tables[i]->link_bit_rate) { + crtc_state->cx0pll_state.c20 = *tables[i]; +return 0 ; + } + } + +return -EINVAL ; +} + +int intel_cx0pll_calc_state (struct intel_crtc_state *crtc_state, +struct intel_encoder *encoder) +{ +struct drm_i915_private *i915 =to_i915 (encoder->base.dev); +enum phy phy =intel_port_to_phy (i915, encoder->port); + +if (intel_is_c10phy (i915, phy)) +return intel_c10pll_calc_state (crtc_state, encoder); +return intel_c20pll_calc_state (crtc_state, encoder); +} +static bool intel_c20_use_mplla (u32 clock) {/* 10G and 20G rates use MPLLA */
@@ -1436,6 +1978,64 @@ static bool intel_c20_use_mplla(u32 clock)return false; } +void intel_c20pll_readout_hw_state (struct intel_encoder *encoder, +struct intel_c20pll_state *pll_state) +{ +struct drm_i915_private *i915 =to_i915 (encoder->base.dev); +bool cntx; +intel_wakeref_t wakeref; +int i; + + wakeref =intel_cx0_phy_transaction_begin (encoder); + +/* 1. Read current context selection */ + cntx =intel_cx0_read (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_VDR_CUSTOM_SERDES_RATE ) &PHY_C20_CONTEXT_TOGGLE ; + +/* Read Tx configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->tx); i++) { +if (cntx) + pll_state->tx[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_TX_CNTX_CFG (i)); +else + pll_state->tx[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_TX_CNTX_CFG (i)); + } + +/* Read common configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->cmn); i++) { +if (cntx) + pll_state->cmn[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_CMN_CNTX_CFG (i)); +else + pll_state->cmn[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_CMN_CNTX_CFG (i)); + } + +if (pll_state->tx[0 ] &C20_PHY_USE_MPLLB ) { +/* MPLLB configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->mpllb); i++) { +if (cntx) + pll_state->mpllb[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_MPLLB_CNTX_CFG (i)); +else + pll_state->mpllb[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_MPLLB_CNTX_CFG (i)); + } + }else { +/* MPLLA configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->mplla); i++) { +if (cntx) + pll_state->mplla[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_MPLLA_CNTX_CFG (i)); +else + pll_state->mplla[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_MPLLA_CNTX_CFG (i)); + } + } + +intel_cx0_phy_transaction_end (encoder, wakeref); +} +static u8 intel_c20_get_dp_rate (u32 clock) {switch (clock) {
drivers/gpu/drm/i915/display/intel_cx0_phy.h +6 -2
@@ -30,8 +30,12 @@ int intel_c10pll_calc_port_clock(struct intel_encoder *encoder, const struct intel_c10pll_state *pll_state);void intel_c10pll_state_verify (struct intel_atomic_state *state,struct intel_crtc_state *new_crtc_state); +void intel_c20pll_readout_hw_state (struct intel_encoder *encoder, +struct intel_c20pll_state *pll_state);void intel_cx0_phy_set_signal_levels (struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state); -int intel_c10_phy_check_hdmi_link_rate (int clock); - +int intel_cx0_phy_check_hdmi_link_rate (struct intel_hdmi *hdmi,int clock); +void intel_cx0_phy_ddi_vswing_sequence (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state, +u32 level);#endif /* __INTEL_CX0_PHY_H__ */
drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h +1 -0
@@ -207,6 +207,7 @@#define C20_MPLLB_TX_CLK_DIV_MASK REG_GENMASK(15, 13)#define C20_MPLLB_FRACEN REG_BIT(13)#define C20_MULTIPLIER_MASK REG_GENMASK(11, 0) +#define C20_PHY_USE_MPLLB REG_BIT(7)#define RAWLANEAONX_DIG_TX_MPLLB_CAL_DONE_BANK (idx) (0x303D + (idx))
drivers/gpu/drm/i915/display/intel_ddi.c +6 -3
@@ -3853,10 +3853,13 @@ static void mtl_ddi_get_config(struct intel_encoder *encoder,struct drm_i915_private *i915 =to_i915 (encoder->base.dev);enum phy phy =intel_port_to_phy (i915, encoder->port); -drm_WARN_ON (&i915->drm, !intel_is_c10phy (i915, phy)); +if (intel_is_c10phy (i915, phy)) { +intel_c10pll_readout_hw_state (encoder, &crtc_state->cx0pll_state.c10); +intel_c10pll_dump_hw_state (i915, &crtc_state->cx0pll_state.c10); + }else { +intel_c20pll_readout_hw_state (encoder, &crtc_state->cx0pll_state.c20); + } -intel_c10pll_readout_hw_state (encoder, &crtc_state->cx0pll_state.c10); -intel_c10pll_dump_hw_state (i915, &crtc_state->cx0pll_state.c10); crtc_state->port_clock =intel_c10pll_calc_port_clock (encoder, &crtc_state->cx0pll_state.c10);intel_ddi_get_config (encoder, crtc_state);
drivers/gpu/drm/i915/display/intel_display_types.h +1 -0
@@ -997,6 +997,7 @@ struct intel_c10pll_state { };struct intel_c20pll_state { +u32 link_bit_rate;u32 clock;/* in kHz */ u16 tx[3 ];u16 cmn[4 ];
drivers/gpu/drm/i915/display/intel_hdmi.c +3 -3
@@ -58,7 +58,7 @@#include "intel_panel.h" #include "intel_snps_phy.h" -static struct drm_i915_private *intel_hdmi_to_i915 (struct intel_hdmi *intel_hdmi) +inline struct drm_i915_private *intel_hdmi_to_i915 (struct intel_hdmi *intel_hdmi) {return to_i915 (hdmi_to_dig_port (intel_hdmi)->base.base.dev); }
@@ -1865,8 +1865,8 @@ hdmi_port_clock_valid(struct intel_hdmi *hdmi,* FIXME: We will hopefully get an algorithmic way of programming * the MPLLB for HDMI in the future. */ -if (IS_METEORLAKE (dev_priv)) -return intel_c10_phy_check_hdmi_link_rate (clock); +if (DISPLAY_VER (dev_priv) >=14 ) +return intel_cx0_phy_check_hdmi_link_rate (hdmi, clock);else if (IS_DG2 (dev_priv))return intel_snps_phy_check_hdmi_link_rate (clock);
drivers/gpu/drm/i915/display/intel_hdmi.h +1 -0
@@ -54,5 +54,6 @@ int intel_hdmi_dsc_get_num_slices(const struct intel_crtc_state *crtc_state, int src_max_slices, int src_max_slice_width, int hdmi_max_slices, int hdmi_throughput);int intel_hdmi_dsc_get_slice_height (int vactive); +struct drm_i915_private *intel_hdmi_to_i915 (struct intel_hdmi *intel_hdmi);#endif /* __INTEL_HDMI_H__ */
Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH v2 02/13] drm/i915/mtl: C20 HW readout
Quoted 11 lines · Mika Kahola
Create a table for C20 DP1.4, DP2.0 and HDMI2.1 rates.
The PLL settings are based on table, not for algorithmic alternative. For DP 1.4 only MPLLB is in use.Once register settings are done, we read back C20 HW state.
BSpec: 64568
v2: Updated pll tables (RK)
MPLLB selection fix (RK)
Quoted 792 lines
Signed-off-by Mika Kahola <[email protected]>Signed-off-by Arun R Murthy <[email protected]>Signed-off-by Ankit Nautiyal <[email protected]>--- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 624 +++++++++++++++++- drivers/gpu/drm/i915/display/intel_cx0_phy.h | 8 +- .../gpu/drm/i915/display/intel_cx0_phy_regs.h | 1 + drivers/gpu/drm/i915/display/intel_ddi.c | 9 +- .../drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_hdmi.c | 6 +- drivers/gpu/drm/i915/display/intel_hdmi.h | 1 + 7 files changed, 630 insertions(+), 20 deletions(-)drivers/gpu/drm/i915/display/intel_cx0_phy.c +612
-12@@ -11,6 +11,7 @@#include "intel_de.h" #include "intel_display_types.h" #include "intel_dp.h" +#include "intel_hdmi.h" #include "intel_panel.h" #include "intel_psr.h" #include "intel_tc.h" @@ -285,6 +286,23 @@ static void intel_c20_sram_write(struct drm_i915_private *i915, enum port port,intel_cx0_write (i915, port, lane,PHY_C20_WR_DATA_L , data &0xff ,1 ); } +static u16 intel_c20_sram_read (struct drm_i915_private *i915,enum port port, +int lane,u16 addr) +{ +u16 val; + +assert_dc_off (i915); + +intel_cx0_write (i915, port, lane,PHY_C20_RD_ADDRESS_H , addr >>8 ,0 ); +intel_cx0_write (i915, port, lane,PHY_C20_RD_ADDRESS_L , addr &0xff ,1 ); + + val =intel_cx0_read (i915, port, lane,PHY_C20_RD_DATA_H ); + val <<=8 ; + val |=intel_cx0_read (i915, port, lane,PHY_C20_RD_DATA_L ); + +return val; +} +static void __intel_cx0_rmw (struct drm_i915_private *i915,enum port port,int lane,u16 addr,u8 clear,u8 set,bool committed) {@@ -659,6 +677,199 @@ static const struct intel_c10pll_state * const mtl_c10_edp_tables[] = { NULL, }; +/* C20 basic DP 1.4 tables */ +static const struct intel_c20pll_state mtl_c20_dp_rbr = { + .link_bit_rate =162000 , + .clock =162000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x5800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x50a8 ,/* mpllb cfg0 */ +0x2120 ,/* mpllb cfg1 */ +0xcd9a ,/* mpllb cfg2 */ +0xbfc1 ,/* mpllb cfg3 */ +0x5ab8 ,/* mpllb cfg4 */ +0x4c34 ,/* mpllb cfg5 */ +0x2000 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x6000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0000 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_dp_hbr1 = { + .link_bit_rate =270000 , + .clock =270000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x308c ,/* mpllb cfg0 */ +0x2110 ,/* mpllb cfg1 */ +0xcc9c ,/* mpllb cfg2 */ +0xbfc1 ,/* mpllb cfg3 */ +0x4b9a ,/* mpllb cfg4 */ +0x3f81 ,/* mpllb cfg5 */ +0x2000 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x5000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0000 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_dp_hbr2 = { + .link_bit_rate =540000 , + .clock =540000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x108c ,/* mpllb cfg0 */ +0x2108 ,/* mpllb cfg1 */ +0xcc9c ,/* mpllb cfg2 */ +0xbfc1 ,/* mpllb cfg3 */ +0x4b9a ,/* mpllb cfg4 */ +0x3f81 ,/* mpllb cfg5 */ +0x2000 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x5000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0000 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_dp_hbr3 = { + .link_bit_rate =810000 , + .clock =810000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x10d2 ,/* mpllb cfg0 */ +0x2108 ,/* mpllb cfg1 */ +0x8d98 ,/* mpllb cfg2 */ +0xbfc1 ,/* mpllb cfg3 */ +0x7166 ,/* mpllb cfg4 */ +0x5f42 ,/* mpllb cfg5 */ +0x2000 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x7800 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0000 ,/* mpllb cfg10 */ + }, +}; + +/* C20 basic DP 2.0 tables */ +static const struct intel_c20pll_state mtl_c20_dp_uhbr10 = { + .link_bit_rate =1000000 ,/* 10 Gbps */ + .clock =312500 , + .tx = {0xbe21 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mplla = {0x3104 ,/* mplla cfg0 */ +0xd105 ,/* mplla cfg1 */ +0xc025 ,/* mplla cfg2 */ +0xc025 ,/* mplla cfg3 */ +0x8c00 ,/* mplla cfg4 */ +0x759a ,/* mplla cfg5 */ +0x4000 ,/* mplla cfg6 */ +0x0003 ,/* mplla cfg7 */ +0x3555 ,/* mplla cfg8 */ +0x0001 ,/* mplla cfg9 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_dp_uhbr13_5 = { + .link_bit_rate =1350000 ,/* 13.5 Gbps */ + .clock =421875 , + .tx = {0xbea0 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x015f ,/* mpllb cfg0 */ +0x2205 ,/* mpllb cfg1 */ +0x1b17 ,/* mpllb cfg2 */ +0xffc1 ,/* mpllb cfg3 */ +0xe100 ,/* mpllb cfg4 */ +0xbd00 ,/* mpllb cfg5 */ +0x2000 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x4800 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0000 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_dp_uhbr20 = { + .link_bit_rate =2000000 ,/* 20 Gbps */ + .clock =625000 , + .tx = {0xbe20 ,/* tx cfg0 */ +0x4800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mplla = {0x3104 ,/* mplla cfg0 */ +0xd105 ,/* mplla cfg1 */ +0xc025 ,/* mplla cfg2 */ +0xc025 ,/* mplla cfg3 */ +0xa6ab ,/* mplla cfg4 */ +0x8c00 ,/* mplla cfg5 */ +0x4000 ,/* mplla cfg6 */ +0x0003 ,/* mplla cfg7 */ +0x3555 ,/* mplla cfg8 */ +0x0001 ,/* mplla cfg9 */ + }, +}; + +static const struct intel_c20pll_state *const mtl_c20_dp_tables[] = { + &mtl_c20_dp_rbr, + &mtl_c20_dp_hbr1, + &mtl_c20_dp_hbr2, + &mtl_c20_dp_hbr3, + &mtl_c20_dp_uhbr10, + &mtl_c20_dp_uhbr13_5, + &mtl_c20_dp_uhbr20, +NULL , +}; +/* * HDMI link rates with 38.4 MHz reference clock. */ @@ -1243,7 +1454,281 @@ static const struct intel_c10pll_state * const mtl_c10_hdmi_tables[] = { NULL, }; -int intel_c10_phy_check_hdmi_link_rate (int clock) +static const struct intel_c20pll_state mtl_c20_hdmi_25_175 = { + .link_bit_rate =25175 , + .clock =25175 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0xa0d2 ,/* mpllb cfg0 */ +0x7d80 ,/* mpllb cfg1 */ +0x0906 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x0200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x0000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0001 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_27_0 = { + .link_bit_rate =27000 , + .clock =27000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0xa0e0 ,/* mpllb cfg0 */ +0x7d80 ,/* mpllb cfg1 */ +0x0906 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x8000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0001 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_74_25 = { + .link_bit_rate =74250 , + .clock =74250 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x609a ,/* mpllb cfg0 */ +0x7d40 ,/* mpllb cfg1 */ +0xca06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x5800 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0001 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_148_5 = { + .link_bit_rate =148500 , + .clock =148500 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x409a ,/* mpllb cfg0 */ +0x7d20 ,/* mpllb cfg1 */ +0xca06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x5800 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0001 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_594 = { + .link_bit_rate =594000 , + .clock =594000 , + .tx = {0xbe88 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x009a ,/* mpllb cfg0 */ +0x7d08 ,/* mpllb cfg1 */ +0xca06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x5800 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0001 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_300 = { + .link_bit_rate =3000000 , + .clock =166670 , + .tx = {0xbe98 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x209c ,/* mpllb cfg0 */ +0x7d10 ,/* mpllb cfg1 */ +0xca06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x2000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0004 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_600 = { + .link_bit_rate =6000000 , + .clock =333330 , + .tx = {0xbe98 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x009c ,/* mpllb cfg0 */ +0x7d08 ,/* mpllb cfg1 */ +0xca06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x2000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0004 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_800 = { + .link_bit_rate =8000000 , + .clock =444440 , + .tx = {0xbe98 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x00d0 ,/* mpllb cfg0 */ +0x7d08 ,/* mpllb cfg1 */ +0x4a06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0003 ,/* mpllb cfg7 */ +0x2aaa ,/* mpllb cfg8 */ +0x0002 ,/* mpllb cfg9 */ +0x0004 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_1000 = { + .link_bit_rate =10000000 , + .clock =555560 , + .tx = {0xbe98 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x1104 ,/* mpllb cfg0 */ +0x7d08 ,/* mpllb cfg1 */ +0x0a06 ,/* mpllb cfg2 */ +0xbe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0003 ,/* mpllb cfg7 */ +0x3555 ,/* mpllb cfg8 */ +0x0001 ,/* mpllb cfg9 */ +0x0004 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state mtl_c20_hdmi_1200 = { + .link_bit_rate =12000000 , + .clock =666670 , + .tx = {0xbe98 ,/* tx cfg0 */ +0x9800 ,/* tx cfg1 */ +0x0000 ,/* tx cfg2 */ + }, + .cmn = {0x0500 ,/* cmn cfg0*/ +0x0005 ,/* cmn cfg1 */ +0x0000 ,/* cmn cfg2 */ +0x0000 ,/* cmn cfg3 */ + }, + .mpllb = {0x0138 ,/* mpllb cfg0 */ +0x7d08 ,/* mpllb cfg1 */ +0x5486 ,/* mpllb cfg2 */ +0xfe40 ,/* mpllb cfg3 */ +0x0000 ,/* mpllb cfg4 */ +0x0000 ,/* mpllb cfg5 */ +0x2200 ,/* mpllb cfg6 */ +0x0001 ,/* mpllb cfg7 */ +0x4000 ,/* mpllb cfg8 */ +0x0000 ,/* mpllb cfg9 */ +0x0004 ,/* mpllb cfg10 */ + }, +}; + +static const struct intel_c20pll_state *const mtl_c20_hdmi_tables[] = { + &mtl_c20_hdmi_25_175, + &mtl_c20_hdmi_27_0, + &mtl_c20_hdmi_74_25, + &mtl_c20_hdmi_148_5, + &mtl_c20_hdmi_594, + &mtl_c20_hdmi_300, + &mtl_c20_hdmi_600, + &mtl_c20_hdmi_800, + &mtl_c20_hdmi_1000, + &mtl_c20_hdmi_1200, +NULL , +}; + +static int intel_c10_phy_check_hdmi_link_rate (int clock) {const struct intel_c10pll_state *const *tables = mtl_c10_hdmi_tables;int i;@@ -1319,17 +1804,6 @@ static int intel_c10pll_calc_state(struct intel_crtc_state *crtc_state,return -EINVAL ; } -int intel_cx0pll_calc_state (struct intel_crtc_state *crtc_state, -struct intel_encoder *encoder) -{ -struct drm_i915_private *i915 =to_i915 (encoder->base.dev); -enum phy phy =intel_port_to_phy (i915, encoder->port); - -drm_WARN_ON (&i915->drm, !intel_is_c10phy (i915, phy)); - -return intel_c10pll_calc_state (crtc_state, encoder); -} -void intel_c10pll_readout_hw_state (struct intel_encoder *encoder,struct intel_c10pll_state *pll_state) {@@ -1427,6 +1901,74 @@ void intel_c10pll_dump_hw_state(struct drm_i915_private *i915, i + 2, hw_state->pll[i + 2], i + 3, hw_state->pll[i + 3]); } +static int intel_c20_phy_check_hdmi_link_rate (int clock) +{ +const struct intel_c20pll_state *const *tables = mtl_c20_hdmi_tables; +int i; + +for (i =0 ; tables[i]; i++) { +if (clock == tables[i]->link_bit_rate) +return MODE_OK ; + } + +return MODE_CLOCK_RANGE ; +} + +int intel_cx0_phy_check_hdmi_link_rate (struct intel_hdmi *hdmi,int clock) +{ +struct intel_digital_port *dig_port =hdmi_to_dig_port (hdmi); +struct drm_i915_private *i915 =intel_hdmi_to_i915 (hdmi); +enum phy phy =intel_port_to_phy (i915, dig_port->base.port); + +if (intel_is_c10phy (i915, phy)) +return intel_c10_phy_check_hdmi_link_rate (clock); +return intel_c20_phy_check_hdmi_link_rate (clock); +} + +static const struct intel_c20pll_state *const * +intel_c20_pll_tables_get (struct intel_crtc_state *crtc_state, +struct intel_encoder *encoder) +{ +if (intel_crtc_has_dp_encoder (crtc_state)) +return mtl_c20_dp_tables; +else if (intel_crtc_has_type (crtc_state,INTEL_OUTPUT_HDMI )) +return mtl_c20_hdmi_tables; + +MISSING_CASE (encoder->type); +return NULL ; +} + +static int intel_c20pll_calc_state (struct intel_crtc_state *crtc_state, +struct intel_encoder *encoder) +{ +const struct intel_c20pll_state *const *tables; +int i; + + tables =intel_c20_pll_tables_get (crtc_state, encoder); +if (!tables) +return -EINVAL ; + +for (i =0 ; tables[i]; i++) { +if (crtc_state->port_clock == tables[i]->link_bit_rate) { + crtc_state->cx0pll_state.c20 = *tables[i]; +return 0 ; + } + } + +return -EINVAL ; +} + +int intel_cx0pll_calc_state (struct intel_crtc_state *crtc_state, +struct intel_encoder *encoder) +{ +struct drm_i915_private *i915 =to_i915 (encoder->base.dev); +enum phy phy =intel_port_to_phy (i915, encoder->port); + +if (intel_is_c10phy (i915, phy)) +return intel_c10pll_calc_state (crtc_state, encoder); +return intel_c20pll_calc_state (crtc_state, encoder); +} +static bool intel_c20_use_mplla (u32 clock) {/* 10G and 20G rates use MPLLA */ @@ -1436,6 +1978,64 @@ static bool intel_c20_use_mplla(u32 clock)return false; } +void intel_c20pll_readout_hw_state (struct intel_encoder *encoder, +struct intel_c20pll_state *pll_state) +{ +struct drm_i915_private *i915 =to_i915 (encoder->base.dev); +bool cntx; +intel_wakeref_t wakeref; +int i; + + wakeref =intel_cx0_phy_transaction_begin (encoder); + +/* 1. Read current context selection */ + cntx =intel_cx0_read (i915, encoder->port,INTEL_CX0_LANE0 ,PHY_C20_VDR_CUSTOM_SERDES_RATE ) &PHY_C20_CONTEXT_TOGGLE ; + +/* Read Tx configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->tx); i++) { +if (cntx) + pll_state->tx[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_TX_CNTX_CFG (i)); +else + pll_state->tx[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_TX_CNTX_CFG (i)); + } + +/* Read common configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->cmn); i++) { +if (cntx) + pll_state->cmn[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_CMN_CNTX_CFG (i)); +else + pll_state->cmn[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_CMN_CNTX_CFG (i)); + } + +if (pll_state->tx[0 ] &C20_PHY_USE_MPLLB ) { +/* MPLLB configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->mpllb); i++) { +if (cntx) + pll_state->mpllb[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_MPLLB_CNTX_CFG (i)); +else + pll_state->mpllb[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_MPLLB_CNTX_CFG (i)); + } + }else { +/* MPLLA configuration */ +for (i =0 ; i <ARRAY_SIZE (pll_state->mplla); i++) { +if (cntx) + pll_state->mplla[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_B_MPLLA_CNTX_CFG (i)); +else + pll_state->mplla[i] =intel_c20_sram_read (i915, encoder->port,INTEL_CX0_LANE0 , +PHY_C20_A_MPLLA_CNTX_CFG (i)); + } + } + +intel_cx0_phy_transaction_end (encoder, wakeref); +} +static u8 intel_c20_get_dp_rate (u32 clock) {switch (clock) {drivers/gpu/drm/i915/display/intel_cx0_phy.h +6
-2@@ -30,8 +30,12 @@ int intel_c10pll_calc_port_clock(struct intel_encoder *encoder, const struct intel_c10pll_state *pll_state);void intel_c10pll_state_verify (struct intel_atomic_state *state,struct intel_crtc_state *new_crtc_state); +void intel_c20pll_readout_hw_state (struct intel_encoder *encoder, +struct intel_c20pll_state *pll_state);void intel_cx0_phy_set_signal_levels (struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state); -int intel_c10_phy_check_hdmi_link_rate (int clock); - +int intel_cx0_phy_check_hdmi_link_rate (struct intel_hdmi *hdmi,int clock); +void intel_cx0_phy_ddi_vswing_sequence (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state, +u32 level);#endif /* __INTEL_CX0_PHY_H__ */ drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h +1
-0@@ -207,6 +207,7 @@#define C20_MPLLB_TX_CLK_DIV_MASK REG_GENMASK(15, 13)#define C20_MPLLB_FRACEN REG_BIT(13)#define C20_MULTIPLIER_MASK REG_GENMASK(11, 0) +#define C20_PHY_USE_MPLLB REG_BIT(7)#define RAWLANEAONX_DIG_TX_MPLLB_CAL_DONE_BANK (idx) (0x303D + (idx))drivers/gpu/drm/i915/display/intel_ddi.c +6
-3@@ -3853,10 +3853,13 @@ static void mtl_ddi_get_config(struct intel_encoder *encoder,struct drm_i915_private *i915 =to_i915 (encoder->base.dev);enum phy phy =intel_port_to_phy (i915, encoder->port); -drm_WARN_ON (&i915->drm, !intel_is_c10phy (i915, phy)); +if (intel_is_c10phy (i915, phy)) { +intel_c10pll_readout_hw_state (encoder, &crtc_state->cx0pll_state.c10); +intel_c10pll_dump_hw_state (i915, &crtc_state->cx0pll_state.c10); + }else { +intel_c20pll_readout_hw_state (encoder, &crtc_state->cx0pll_state.c20); + } -intel_c10pll_readout_hw_state (encoder, &crtc_state->cx0pll_state.c10); -intel_c10pll_dump_hw_state (i915, &crtc_state->cx0pll_state.c10); crtc_state->port_clock =intel_c10pll_calc_port_clock (encoder, &crtc_state->cx0pll_state.c10);intel_ddi_get_config (encoder, crtc_state);drivers/gpu/drm/i915/display/intel_display_types.h +1
-0@@ -997,6 +997,7 @@ struct intel_c10pll_state { };struct intel_c20pll_state { +u32 link_bit_rate;u32 clock;/* in kHz */ u16 tx[3 ];u16 cmn[4 ];drivers/gpu/drm/i915/display/intel_hdmi.c +3
-3@@ -58,7 +58,7 @@#include "intel_panel.h" #include "intel_snps_phy.h" -static struct drm_i915_private *intel_hdmi_to_i915 (struct intel_hdmi *intel_hdmi) +inline struct drm_i915_private *intel_hdmi_to_i915 (struct intel_hdmi *intel_hdmi) {return to_i915 (hdmi_to_dig_port (intel_hdmi)->base.base.dev); }@@ -1865,8 +1865,8 @@ hdmi_port_clock_valid(struct intel_hdmi *hdmi,* FIXME: We will hopefully get an algorithmic way of programming * the MPLLB for HDMI in the future. */ -if (IS_METEORLAKE (dev_priv)) -return intel_c10_phy_check_hdmi_link_rate (clock); +if (DISPLAY_VER (dev_priv) >=14 ) +return intel_cx0_phy_check_hdmi_link_rate (hdmi, clock);else if (IS_DG2 (dev_priv))return intel_snps_phy_check_hdmi_link_rate (clock);drivers/gpu/drm/i915/display/intel_hdmi.h +1
-0@@ -54,5 +54,6 @@ int intel_hdmi_dsc_get_num_slices(const struct intel_crtc_state *crtc_state, int src_max_slices, int src_max_slice_width, int hdmi_max_slices, int hdmi_throughput);int intel_hdmi_dsc_get_slice_height (int vactive); +struct drm_i915_private *intel_hdmi_to_i915 (struct intel_hdmi *intel_hdmi);#endif /* __INTEL_HDMI_H__ */ Signature · 1 line
2.34.1
PATCH v2 3/13 drm/i915/mtl: Dump C20 pll hw state
In reply to Mika KaholaAs we already do with C10 chip, let's dump the pll hw state for C20 as well.
--- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 20 ++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_cx0_phy.h | 2 ++ drivers/gpu/drm/i915/display/intel_ddi.c | 1 + 3 files changed, 23 insertions(+)
drivers/gpu/drm/i915/display/intel_cx0_phy.c +20 -0
@@ -2036,6 +2036,26 @@ void intel_c20pll_readout_hw_state(struct intel_encoder *encoder,intel_cx0_phy_transaction_end (encoder, wakeref); } +void intel_c20pll_dump_hw_state (struct drm_i915_private *i915, +const struct intel_c20pll_state *hw_state) +{ +int i; + +drm_dbg_kms (&i915->drm,"c20pll_hw_state:\n" ); +drm_dbg_kms (&i915->drm,"tx[0] = 0x%.4x, tx[1] = 0x%.4x, tx[2] = 0x%.4x\n" , + hw_state->tx[0 ], hw_state->tx[1 ], hw_state->tx[2 ]); +drm_dbg_kms (&i915->drm,"cmn[0] = 0x%.4x, cmn[1] = 0x%.4x, cmn[2] = 0x%.4x, cmn[3] = 0x%.4x\n" , + hw_state->cmn[0 ], hw_state->cmn[1 ], hw_state->cmn[2 ], hw_state->cmn[3 ]); + +if (intel_c20_use_mplla (hw_state->clock)) { +for (i =0 ; i <ARRAY_SIZE (hw_state->mplla); i++) +drm_dbg_kms (&i915->drm,"mplla[%d] = 0x%.4x\n" , i, hw_state->mplla[i]); + }else { +for (i =0 ; i <ARRAY_SIZE (hw_state->mpllb); i++) +drm_dbg_kms (&i915->drm,"mpllb[%d] = 0x%.4x\n" , i, hw_state->mpllb[i]); + } +} +static u8 intel_c20_get_dp_rate (u32 clock) {switch (clock) {
drivers/gpu/drm/i915/display/intel_cx0_phy.h +2 -0
@@ -32,6 +32,8 @@ void intel_c10pll_state_verify(struct intel_atomic_state *state, struct intel_crtc_state *new_crtc_state);void intel_c20pll_readout_hw_state (struct intel_encoder *encoder,struct intel_c20pll_state *pll_state); +void intel_c20pll_dump_hw_state (struct drm_i915_private *i915, +const struct intel_c20pll_state *hw_state);void intel_cx0_phy_set_signal_levels (struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state);int intel_cx0_phy_check_hdmi_link_rate (struct intel_hdmi *hdmi,int clock);
drivers/gpu/drm/i915/display/intel_ddi.c +1 -0
@@ -3858,6 +3858,7 @@ static void mtl_ddi_get_config(struct intel_encoder *encoder,intel_c10pll_dump_hw_state (i915, &crtc_state->cx0pll_state.c10); }else {intel_c20pll_readout_hw_state (encoder, &crtc_state->cx0pll_state.c20); +intel_c20pll_dump_hw_state (i915, &crtc_state->cx0pll_state.c20); } crtc_state->port_clock =intel_c10pll_calc_port_clock (encoder, &crtc_state->cx0pll_state.c10);
Signature · 1 line
2.34.1
PATCH v2 4/13 drm/i915/mtl: C20 port clock calculation
In reply to Mika KaholaCalculate port clock with C20 phy.
BSpec: 64568
--- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 45 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_cx0_phy.h | 2 + .../gpu/drm/i915/display/intel_cx0_phy_regs.h | 3 ++ drivers/gpu/drm/i915/display/intel_ddi.c | 4 +- drivers/gpu/drm/i915/display/intel_dpll.c | 2 + 5 files changed, 54 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_cx0_phy.c +45 -0
@@ -2283,6 +2283,51 @@ int intel_c10pll_calc_port_clock(struct intel_encoder *encoder,return tmpclk; } +int intel_c20pll_calc_port_clock (struct intel_encoder *encoder, +const struct intel_c20pll_state *pll_state) +{ +unsigned int frac, frac_en, frac_quot, frac_rem, frac_den; +unsigned int multiplier, refclk =38400 ; +unsigned int tx_clk_div; +unsigned int ref_clk_mpllb_div; +unsigned int fb_clk_div4_en; +unsigned int ref, vco; +unsigned int tx_rate_mult; +unsigned int tx_rate =REG_FIELD_GET (C20_PHY_TX_RATE , pll_state->tx[0 ]); + +if (pll_state->tx[0 ] &C20_PHY_USE_MPLLB ) { + tx_rate_mult =1 ; + frac_en =REG_FIELD_GET (C20_MPLLB_FRACEN , pll_state->mpllb[6 ]); + frac_quot = pll_state->mpllb[8 ]; + frac_rem = pll_state->mpllb[9 ]; + frac_den = pll_state->mpllb[7 ]; + multiplier =REG_FIELD_GET (C20_MULTIPLIER_MASK , pll_state->mpllb[0 ]); + tx_clk_div =REG_FIELD_GET (C20_MPLLB_TX_CLK_DIV_MASK , pll_state->mpllb[0 ]); + ref_clk_mpllb_div =REG_FIELD_GET (C20_REF_CLK_MPLLB_DIV_MASK , pll_state->mpllb[6 ]); + fb_clk_div4_en =0 ; + }else { + tx_rate_mult =2 ; + frac_en =REG_FIELD_GET (C20_MPLLA_FRACEN , pll_state->mplla[6 ]); + frac_quot = pll_state->mplla[8 ]; + frac_rem = pll_state->mplla[9 ]; + frac_den = pll_state->mplla[7 ]; + multiplier =REG_FIELD_GET (C20_MULTIPLIER_MASK , pll_state->mplla[0 ]); + tx_clk_div =REG_FIELD_GET (C20_MPLLA_TX_CLK_DIV_MASK , pll_state->mplla[1 ]); + ref_clk_mpllb_div =REG_FIELD_GET (C20_REF_CLK_MPLLB_DIV_MASK , pll_state->mplla[6 ]); + fb_clk_div4_en =REG_FIELD_GET (C20_FB_CLK_DIV4_EN , pll_state->mplla[0 ]); + } + +if (frac_en) + frac = frac_quot +DIV_ROUND_CLOSEST (frac_rem, frac_den); +else + frac =0 ; + + ref =DIV_ROUND_CLOSEST (refclk * (1 << (1 + fb_clk_div4_en)),1 << ref_clk_mpllb_div); + vco =DIV_ROUND_CLOSEST_ULL (mul_u32_u32 (ref, (multiplier << (17 -2 )) + frac) >>17 ,10 ); + +return vco << tx_rate_mult >> tx_clk_div >> tx_rate; +} +static void intel_program_port_clock_ctl (struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state,bool lane_reversal)
drivers/gpu/drm/i915/display/intel_cx0_phy.h +2 -0
@@ -34,6 +34,8 @@ void intel_c20pll_readout_hw_state(struct intel_encoder *encoder, struct intel_c20pll_state *pll_state);void intel_c20pll_dump_hw_state (struct drm_i915_private *i915,const struct intel_c20pll_state *hw_state); +int intel_c20pll_calc_port_clock (struct intel_encoder *encoder, +const struct intel_c20pll_state *pll_state);void intel_cx0_phy_set_signal_levels (struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state);int intel_cx0_phy_check_hdmi_link_rate (struct intel_hdmi *hdmi,int clock);
drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h +3 -0
@@ -196,16 +196,19 @@#define PHY_C20_CUSTOM_WIDTH (val) REG_FIELD_PREP8(PHY_C20_CUSTOM_WIDTH_MASK, val)#define PHY_C20_A_TX_CNTX_CFG (idx) (0xCF2E - (idx))#define PHY_C20_B_TX_CNTX_CFG (idx) (0xCF2A - (idx)) +#define C20_PHY_TX_RATE REG_GENMASK(2, 0)#define PHY_C20_A_CMN_CNTX_CFG (idx) (0xCDAA - (idx))#define PHY_C20_B_CMN_CNTX_CFG (idx) (0xCDA5 - (idx))#define PHY_C20_A_MPLLA_CNTX_CFG (idx) (0xCCF0 - (idx))#define PHY_C20_B_MPLLA_CNTX_CFG (idx) (0xCCE5 - (idx))#define C20_MPLLA_FRACEN REG_BIT(14) +#define C20_FB_CLK_DIV4_EN REG_BIT(13)#define C20_MPLLA_TX_CLK_DIV_MASK REG_GENMASK(10, 8)#define PHY_C20_A_MPLLB_CNTX_CFG (idx) (0xCB5A - (idx))#define PHY_C20_B_MPLLB_CNTX_CFG (idx) (0xCB4E - (idx))#define C20_MPLLB_TX_CLK_DIV_MASK REG_GENMASK(15, 13)#define C20_MPLLB_FRACEN REG_BIT(13) +#define C20_REF_CLK_MPLLB_DIV_MASK REG_GENMASK(12, 10)#define C20_MULTIPLIER_MASK REG_GENMASK(11, 0)#define C20_PHY_USE_MPLLB REG_BIT(7)
drivers/gpu/drm/i915/display/intel_ddi.c +2 -2
@@ -3856,13 +3856,13 @@ static void mtl_ddi_get_config(struct intel_encoder *encoder,if (intel_is_c10phy (i915, phy)) {intel_c10pll_readout_hw_state (encoder, &crtc_state->cx0pll_state.c10);intel_c10pll_dump_hw_state (i915, &crtc_state->cx0pll_state.c10); + crtc_state->port_clock =intel_c10pll_calc_port_clock (encoder, &crtc_state->cx0pll_state.c10); }else {intel_c20pll_readout_hw_state (encoder, &crtc_state->cx0pll_state.c20);intel_c20pll_dump_hw_state (i915, &crtc_state->cx0pll_state.c20); + crtc_state->port_clock =intel_c20pll_calc_port_clock (encoder, &crtc_state->cx0pll_state.c20); } - crtc_state->port_clock =intel_c10pll_calc_port_clock (encoder, &crtc_state->cx0pll_state.c10); -intel_ddi_get_config (encoder, crtc_state); }
drivers/gpu/drm/i915/display/intel_dpll.c +2 -0
@@ -1014,6 +1014,8 @@ static int mtl_crtc_compute_clock(struct intel_atomic_state *state,/* TODO: Do the readback via intel_compute_shared_dplls() */ if (intel_is_c10phy (i915, phy)) crtc_state->port_clock =intel_c10pll_calc_port_clock (encoder, &crtc_state->cx0pll_state.c10); +else + crtc_state->port_clock =intel_c20pll_calc_port_clock (encoder, &crtc_state->cx0pll_state.c20); crtc_state->hw.adjusted_mode.crtc_clock =intel_crtc_dotclock (crtc_state);
Signature · 1 line
2.34.1
PATCH v2 5/13 drm/i915/mtl: Add voltage swing sequence for C20
In reply to Mika KaholaDP1.4 and DP20 voltage swing sequence for C20 phy.
Bspec: 65449, 67636, 67610
--- .../gpu/drm/i915/display/intel_cx0_phy_regs.h | 4 ++ .../drm/i915/display/intel_ddi_buf_trans.c | 53 ++++++++++++++++++- 2 files changed, 55 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h +4 -0
@@ -212,6 +212,10 @@#define C20_MULTIPLIER_MASK REG_GENMASK(11, 0)#define C20_PHY_USE_MPLLB REG_BIT(7) +/* C20 Phy VSwing Masks */ +#define C20_PHY_VSWING_PREEMPH_MASK REG_GENMASK8(5, 0) +#define C20_PHY_VSWING_PREEMPH (val) REG_FIELD_PREP8(C20_PHY_VSWING_PREEMPH_MASK, val) +#define RAWLANEAONX_DIG_TX_MPLLB_CAL_DONE_BANK (idx) (0x303D + (idx))#endif /* __INTEL_CX0_REG_DEFS_H__ */
drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c +51 -2
76 lines not on this page · raw message
Signature · 1 line
2.34.1
PATCH v2 6/13 drm/i915/mtl: For DP2.0 10G and 20G rates use MPLLA
In reply to Mika KaholaUse MPLLA for DP2.0 rates 10G and 20G, when ssc is enabled.
v2: Fix typo in commit message (Animesh)
--- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_cx0_phy.c +5 -2
@@ -2349,8 +2349,11 @@ static void intel_program_port_clock_ctl(struct intel_encoder *encoder, val |=XELPDP_DDI_CLOCK_SELECT (XELPDP_DDI_CLOCK_SELECT_MAXPCLK );/* TODO: HDMI FRL */ -/* TODO: DP2.0 10G and 20G rates enable MPLLA*/ - val |= crtc_state->cx0pll_state.ssc_enabled ?XELPDP_SSC_ENABLE_PLLB :0 ; +/* DP2.0 10G and 20G rates enable MPLLA*/ +if (crtc_state->port_clock ==1000000 || crtc_state->port_clock ==2000000 ) + val |= crtc_state->cx0pll_state.ssc_enabled ?XELPDP_SSC_ENABLE_PLLA :0 ; +else + val |= crtc_state->cx0pll_state.ssc_enabled ?XELPDP_SSC_ENABLE_PLLB :0 ; intel_de_rmw(i915, XELPDP_PORT_CLOCK_CTL(encoder->port), XELPDP_LANE1_PHY_CLOCK_SELECT | XELPDP_FORWARD_CLOCK_UNGATE |
Signature · 1 line
2.34.1
PATCH v2 7/13 drm/i915/mtl: Enabling/disabling sequence Thunderbolt pll
In reply to Mika KaholaEnabling and disabling sequence for Thunderbolt PLL.
Bspec: 64568
v2: Use intel_de_wait_for_register() (RK)
--- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 135 ++++++++++++++++++- drivers/gpu/drm/i915/display/intel_cx0_phy.h | 7 +- drivers/gpu/drm/i915/display/intel_ddi.c | 4 +- 3 files changed, 138 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_cx0_phy.c +132 -3
@@ -2609,8 +2609,8 @@ static u32 intel_cx0_get_pclk_pll_ack(u8 lane_mask)return val; } -void intel_cx0pll_enable (struct intel_encoder *encoder, -const struct intel_crtc_state *crtc_state) +static void intel_cx0pll_enable (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state) {struct drm_i915_private *i915 =to_i915 (encoder->base.dev);enum phy phy =intel_port_to_phy (i915, encoder->port);
@@ -2685,7 +2685,86 @@ void intel_cx0pll_enable(struct intel_encoder *encoder,intel_cx0_phy_transaction_end (encoder, wakeref); } -void intel_cx0pll_disable (struct intel_encoder *encoder) +static int intel_mtl_tbt_clock_select (struct drm_i915_private *i915,int clock) +{ +switch (clock) { +case 162000 : +return XELPDP_DDI_CLOCK_SELECT_TBT_162 ; +case 270000 : +return XELPDP_DDI_CLOCK_SELECT_TBT_270 ; +case 540000 : +return XELPDP_DDI_CLOCK_SELECT_TBT_540 ; +case 810000 : +return XELPDP_DDI_CLOCK_SELECT_TBT_810 ; +default : +MISSING_CASE (clock); +return XELPDP_DDI_CLOCK_SELECT_TBT_162 ; + } +} + +static void intel_mtl_tbt_pll_enable (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state) +{ +struct drm_i915_private *i915 =to_i915 (encoder->base.dev); +enum phy phy =intel_port_to_phy (i915, encoder->port); +u32 val =0 ; + +/* +* 1. Program PORT_CLOCK_CTL REGISTER to configure +* clock muxes, gating and SSC +*/ + val |=XELPDP_DDI_CLOCK_SELECT (intel_mtl_tbt_clock_select (i915, crtc_state->port_clock)); + val |=XELPDP_FORWARD_CLOCK_UNGATE ; +intel_de_rmw (i915,XELPDP_PORT_CLOCK_CTL (encoder->port), +XELPDP_DDI_CLOCK_SELECT_MASK |XELPDP_FORWARD_CLOCK_UNGATE , val); + +/* 2. Read back PORT_CLOCK_CTL REGISTER */ + val =intel_de_read (i915,XELPDP_PORT_CLOCK_CTL (encoder->port)); + +/* +* 3. Follow the Display Voltage Frequency Switching - Sequence +* Before Frequency Change. We handle this step in bxt_set_cdclk(). +*/ + +/* +* 4. Set PORT_CLOCK_CTL register TBT CLOCK Request to "1" to enable PLL. +*/ + val |=XELPDP_TBT_CLOCK_REQUEST ; +intel_de_write (i915,XELPDP_PORT_CLOCK_CTL (encoder->port), val); + +/* 5. Poll on PORT_CLOCK_CTL TBT CLOCK Ack == "1". */ +if (__intel_de_wait_for_register (i915,XELPDP_PORT_CLOCK_CTL (encoder->port), +XELPDP_TBT_CLOCK_ACK , +XELPDP_TBT_CLOCK_ACK , +100 ,0 ,NULL )) +drm_warn (&i915->drm,"[ENCODER:%d:%s][%c] PHY PLL not locked after 100us.\n" , + encoder->base.base.id, encoder->base.name,phy_name (phy)); + +/* +* 6. Follow the Display Voltage Frequency Switching Sequence After +* Frequency Change. We handle this step in bxt_set_cdclk(). +*/ + +/* +* 7. Program DDI_CLK_VALFREQ to match intended DDI +* clock frequency. +*/ +intel_de_write (i915,DDI_CLK_VALFREQ (encoder->port), + crtc_state->port_clock); +} + +void intel_mtl_pll_enable (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state) +{ +struct intel_digital_port *dig_port =enc_to_dig_port (encoder); + +if (intel_tc_port_in_tbt_alt_mode (dig_port)) +intel_mtl_tbt_pll_enable (encoder, crtc_state); +else +intel_cx0pll_enable (encoder, crtc_state); +} + +static void intel_cx0pll_disable (struct intel_encoder *encoder) {struct drm_i915_private *i915 =to_i915 (encoder->base.dev);enum phy phy =intel_port_to_phy (i915, encoder->port);
@@ -2737,6 +2816,56 @@ void intel_cx0pll_disable(struct intel_encoder *encoder)intel_cx0_phy_transaction_end (encoder, wakeref); } +static void intel_mtl_tbt_pll_disable (struct intel_encoder *encoder) +{ +struct drm_i915_private *i915 =to_i915 (encoder->base.dev); +enum phy phy =intel_port_to_phy (i915, encoder->port); + +/* +* 1. Follow the Display Voltage Frequency Switching Sequence Before +* Frequency Change. We handle this step in bxt_set_cdclk(). +*/ + +/* +* 2. Set PORT_CLOCK_CTL register TBT CLOCK Request to "0" to disable PLL. +*/ +intel_de_rmw (i915,XELPDP_PORT_CLOCK_CTL (encoder->port), +XELPDP_TBT_CLOCK_REQUEST ,0 ); + +/* 3. Poll on PORT_CLOCK_CTL TBT CLOCK Ack == "0". */ +if (__intel_de_wait_for_register (i915,XELPDP_PORT_CLOCK_CTL (encoder->port), +XELPDP_TBT_CLOCK_ACK , + ~XELPDP_TBT_CLOCK_ACK , +10 ,0 ,NULL )) +drm_warn (&i915->drm,"[ENCODER:%d:%s][%c] PHY PLL not unlocked after 10us.\n" , + encoder->base.base.id, encoder->base.name,phy_name (phy)); + +/* +* 4. Follow the Display Voltage Frequency Switching Sequence After +* Frequency Change. We handle this step in bxt_set_cdclk(). +*/ + +/* +* 5. Program PORT CLOCK CTRL register to disable and gate clocks +*/ +intel_de_rmw (i915,XELPDP_PORT_CLOCK_CTL (encoder->port), +XELPDP_DDI_CLOCK_SELECT_MASK | +XELPDP_FORWARD_CLOCK_UNGATE ,0 ); + +/* 6. Program DDI_CLK_VALFREQ to 0. */ +intel_de_write (i915,DDI_CLK_VALFREQ (encoder->port),0 ); +} + +void intel_mtl_pll_disable (struct intel_encoder *encoder) +{ +struct intel_digital_port *dig_port =enc_to_dig_port (encoder); + +if (intel_tc_port_in_tbt_alt_mode (dig_port)) +intel_mtl_tbt_pll_disable (encoder); +else +intel_cx0pll_disable (encoder); +} +void intel_c10pll_state_verify (struct intel_atomic_state *state,struct intel_crtc_state *new_crtc_state) {
drivers/gpu/drm/i915/display/intel_cx0_phy.h +4 -3
@@ -19,9 +19,9 @@ struct intel_crtc_state;enum phy ;bool intel_is_c10phy (struct drm_i915_private *dev_priv,enum phy phy); -void intel_cx0pll_enable (struct intel_encoder *encoder, -const struct intel_crtc_state *crtc_state); -void intel_cx0pll_disable (struct intel_encoder *encoder); +void intel_mtl_pll_enable (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state); +void intel_mtl_pll_disable (struct intel_encoder *encoder);void intel_c10pll_readout_hw_state (struct intel_encoder *encoder,struct intel_c10pll_state *pll_state);int intel_cx0pll_calc_state (struct intel_crtc_state *crtc_state,struct intel_encoder *encoder); void intel_c10pll_dump_hw_state(struct drm_i915_private *dev_priv,
@@ -42,4 +42,5 @@ int intel_cx0_phy_check_hdmi_link_rate(struct intel_hdmi *hdmi, int clock);void intel_cx0_phy_ddi_vswing_sequence (struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state,u32 level); +int intel_mtl_tbt_readout_hw_state (struct intel_encoder *encoder);#endif /* __INTEL_CX0_PHY_H__ */
drivers/gpu/drm/i915/display/intel_ddi.c +2 -2
@@ -4779,8 +4779,8 @@ void intel_ddi_init(struct drm_i915_private *dev_priv, enum port port) encoder->pipe_mask = ~0 ;if (DISPLAY_VER (dev_priv) >=14 ) { - encoder->enable_clock = intel_cx0pll_enable; - encoder->disable_clock = intel_cx0pll_disable; + encoder->enable_clock = intel_mtl_pll_enable; + encoder->disable_clock = intel_mtl_pll_disable; encoder->get_config = mtl_ddi_get_config; }else if (IS_DG2 (dev_priv)) { encoder->enable_clock = intel_mpllb_enable;
Signature · 1 line
2.34.1
PATCH v2 8/13 drm/i915/mtl: Readout Thunderbolt HW state
In reply to Mika KaholaReadout hw state for Thunderbolt.
--- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 27 ++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_cx0_phy.h | 2 +- drivers/gpu/drm/i915/display/intel_ddi.c | 5 +++- 3 files changed, 32 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_cx0_phy.c +27 -0
@@ -2685,6 +2685,33 @@ static void intel_cx0pll_enable(struct intel_encoder *encoder,intel_cx0_phy_transaction_end (encoder, wakeref); } +int intel_mtl_tbt_calc_port_clock (struct intel_encoder *encoder) +{ +struct drm_i915_private *i915 =to_i915 (encoder->base.dev); +u32 clock; +u32 val =intel_de_read (i915,XELPDP_PORT_CLOCK_CTL (encoder->port)); + + clock =REG_FIELD_GET (XELPDP_DDI_CLOCK_SELECT_MASK , val); + +drm_WARN_ON (&i915->drm, !(val &XELPDP_FORWARD_CLOCK_UNGATE )); +drm_WARN_ON (&i915->drm, !(val &XELPDP_TBT_CLOCK_REQUEST )); +drm_WARN_ON (&i915->drm, !(val &XELPDP_TBT_CLOCK_ACK )); + +switch (clock) { +case XELPDP_DDI_CLOCK_SELECT_TBT_162 : +return 162000 ; +case XELPDP_DDI_CLOCK_SELECT_TBT_270 : +return 270000 ; +case XELPDP_DDI_CLOCK_SELECT_TBT_540 : +return 540000 ; +case XELPDP_DDI_CLOCK_SELECT_TBT_810 : +return 810000 ; +default : +MISSING_CASE (clock); +return 162000 ; + } +} +static int intel_mtl_tbt_clock_select (struct drm_i915_private *i915,int clock) {switch (clock) {
drivers/gpu/drm/i915/display/intel_cx0_phy.h +1 -1
@@ -42,5 +42,5 @@ int intel_cx0_phy_check_hdmi_link_rate(struct intel_hdmi *hdmi, int clock);void intel_cx0_phy_ddi_vswing_sequence (struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state,u32 level); -int intel_mtl_tbt_readout_hw_state (struct intel_encoder *encoder); +int intel_mtl_tbt_calc_port_clock (struct intel_encoder *encoder);#endif /* __INTEL_CX0_PHY_H__ */
drivers/gpu/drm/i915/display/intel_ddi.c +4 -1
@@ -3852,8 +3852,11 @@ static void mtl_ddi_get_config(struct intel_encoder *encoder, {struct drm_i915_private *i915 =to_i915 (encoder->base.dev);enum phy phy =intel_port_to_phy (i915, encoder->port); +struct intel_digital_port *dig_port =enc_to_dig_port (encoder); -if (intel_is_c10phy (i915, phy)) { +if (intel_tc_port_in_tbt_alt_mode (dig_port)) { + crtc_state->port_clock =intel_mtl_tbt_calc_port_clock (encoder); + }else if (intel_is_c10phy (i915, phy)) {intel_c10pll_readout_hw_state (encoder, &crtc_state->cx0pll_state.c10);intel_c10pll_dump_hw_state (i915, &crtc_state->cx0pll_state.c10); crtc_state->port_clock =intel_c10pll_calc_port_clock (encoder, &crtc_state->cx0pll_state.c10);
Signature · 1 line
2.34.1
PATCH v2 9/13 drm/i915/mtl: Define mask for DDI AUX interrupts
In reply to Mika KaholaFrom: Gustavo Sousa <[email protected]>
Xe_LPD+ defines interrupt bits for only DDI ports in the DE Port Interrupt registers. The bits for Type-C ports are defined in the PICA interrupt registers.
BSpec: 50064
--- drivers/gpu/drm/i915/i915_irq.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/i915_irq.c +4 -1
@@ -1938,7 +1938,10 @@ static u32 gen8_de_port_aux_mask(struct drm_i915_private *dev_priv) {u32 mask; -if (DISPLAY_VER (dev_priv) >=13 ) +if (DISPLAY_VER (dev_priv) >=14 ) +return TGL_DE_PORT_AUX_DDIA | +TGL_DE_PORT_AUX_DDIB ; +else if (DISPLAY_VER (dev_priv) >=13 )return TGL_DE_PORT_AUX_DDIA |TGL_DE_PORT_AUX_DDIB | TGL_DE_PORT_AUX_DDIC |
Signature · 1 line
2.34.1
PATCH v2 10/13 drm/i915/mtl: Power up TCSS
In reply to Mika KaholaAdd register writes to enable powering up Type-C subsystem i.e. TCSS. For MeteorLake we need to request TCSS to power up and check the TCSS power state after 500 us.
In addition, for PICA we need to set/clear the Type-C PHY ownnership bit when Type-C device is connected/disconnected.
--- drivers/gpu/drm/i915/display/intel_cx0_phy.c | 19 ++ drivers/gpu/drm/i915/display/intel_cx0_phy.h | 4 + drivers/gpu/drm/i915/display/intel_ddi.c | 1 + drivers/gpu/drm/i915/display/intel_display.c | 2 +- drivers/gpu/drm/i915/display/intel_tc.c | 199 ++++++++++++++++++- 5 files changed, 216 insertions(+), 9 deletions(-)
drivers/gpu/drm/i915/display/intel_cx0_phy.c +19 -0
@@ -2893,6 +2893,25 @@ void intel_mtl_pll_disable(struct intel_encoder *encoder)intel_cx0pll_disable (encoder); } +enum icl_port_dpll_id +intel_mtl_port_pll_type (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state) +{ +struct drm_i915_private *i915 =to_i915 (encoder->base.dev); +/* +* TODO: Determine the PLL type from the SW state, once MTL PLL +* handling is done via the standard shared DPLL framework. +*/ +u32 val =intel_de_read (i915,XELPDP_PORT_CLOCK_CTL (encoder->port)); +u32 clock =REG_FIELD_GET (XELPDP_DDI_CLOCK_SELECT_MASK , val); + +if (clock ==XELPDP_DDI_CLOCK_SELECT_MAXPCLK || + clock ==XELPDP_DDI_CLOCK_SELECT_DIV18CLK ) +return ICL_PORT_DPLL_MG_PHY ; +else +return ICL_PORT_DPLL_DEFAULT ; +} +void intel_c10pll_state_verify (struct intel_atomic_state *state,struct intel_crtc_state *new_crtc_state) {
drivers/gpu/drm/i915/display/intel_cx0_phy.h +4 -0
@@ -16,12 +16,16 @@struct drm_i915_private ;struct intel_encoder ;struct intel_crtc_state ; +enum icl_port_dpll_id ;enum phy ;bool intel_is_c10phy (struct drm_i915_private *dev_priv,enum phy phy);void intel_mtl_pll_enable (struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state);void intel_mtl_pll_disable (struct intel_encoder *encoder); +enum icl_port_dpll_id +intel_mtl_port_pll_type (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state);void intel_c10pll_readout_hw_state (struct intel_encoder *encoder,struct intel_c10pll_state *pll_state);int intel_cx0pll_calc_state (struct intel_crtc_state *crtc_state,struct intel_encoder *encoder); void intel_c10pll_dump_hw_state(struct drm_i915_private *dev_priv,
drivers/gpu/drm/i915/display/intel_ddi.c +1 -0
@@ -4784,6 +4784,7 @@ void intel_ddi_init(struct drm_i915_private *dev_priv, enum port port)if (DISPLAY_VER (dev_priv) >=14 ) { encoder->enable_clock = intel_mtl_pll_enable; encoder->disable_clock = intel_mtl_pll_disable; + encoder->port_pll_type = intel_mtl_port_pll_type; encoder->get_config = mtl_ddi_get_config; }else if (IS_DG2 (dev_priv)) { encoder->enable_clock = intel_mpllb_enable;
drivers/gpu/drm/i915/display/intel_display.c +1 -1
@@ -1756,7 +1756,7 @@ bool intel_phy_is_tc(struct drm_i915_private *dev_priv, enum phy phy)if (IS_DG2 (dev_priv))/* DG2's "TC1" output uses a SNPS PHY */ return false; -else if (IS_ALDERLAKE_P (dev_priv)) +else if (IS_ALDERLAKE_P (dev_priv) ||IS_METEORLAKE (dev_priv))return phy >=PHY_F && phy <=PHY_I ;else if (IS_TIGERLAKE (dev_priv))return phy >=PHY_D && phy <=PHY_I ;
drivers/gpu/drm/i915/display/intel_tc.c +191 -8
244 lines not on this page · raw message
Signature · 1 line
2.34.1
PATCH v2 11/13 drm/i915/mtl: TypeC HPD live status query
In reply to Mika KaholaFrom: Imre Deak <[email protected]>
The HPD live status for MTL has to be read from different set of registers. MTL deserves a new function for this purpose and cannot reuse the existing HPD live status detection
--- drivers/gpu/drm/i915/display/intel_tc.c | 30 ++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_tc.c +29 -1
@@ -886,6 +886,34 @@ static const struct intel_tc_phy_ops adlp_tc_phy_ops = {* XELPDP TC PHY handlers * ---------------------- */ +static u32 xelpdp_tc_phy_hpd_live_status (struct intel_tc_port *tc) +{ +struct drm_i915_private *i915 =tc_to_i915 (tc); +struct intel_digital_port *dig_port = tc->dig_port; +enum hpd_pin hpd_pin = dig_port->base.hpd_pin; +u32 pica_isr_bits = i915->display.hotplug.hpd[hpd_pin]; +u32 pch_isr_bit = i915->display.hotplug.pch_hpd[hpd_pin]; +intel_wakeref_t wakeref; +u32 pica_isr; +u32 pch_isr; +u32 mask =0 ; + + with_intel_display_power(i915, POWER_DOMAIN_DISPLAY_CORE, wakeref) { + pica_isr =intel_de_read (i915,PICAINTERRUPT_ISR ); + pch_isr =intel_de_read (i915,SDEISR ); + } + +if (pica_isr & (pica_isr_bits &XELPDP_DP_ALT_HOTPLUG_MASK )) + mask |=BIT (TC_PORT_DP_ALT ); +if (pica_isr & (pica_isr_bits &XELPDP_TBT_HOTPLUG_MASK )) + mask |=BIT (TC_PORT_TBT_ALT ); + +if (tc->legacy_port && (pch_isr & pch_isr_bit)) + mask |=BIT (TC_PORT_LEGACY ); + +return mask; +} +static bool xelpdp_tc_phy_tcss_power_is_enabled (struct intel_tc_port *tc) {
@@ -1039,7 +1067,7 @@ static void xelpdp_tc_phy_disconnect(struct intel_tc_port *tc)static const struct intel_tc_phy_ops xelpdp_tc_phy_ops = { .cold_off_domain = tgl_tc_phy_cold_off_domain, - .hpd_live_status = adlp_tc_phy_hpd_live_status, + .hpd_live_status = xelpdp_tc_phy_hpd_live_status, .is_ready = adlp_tc_phy_is_ready, .is_owned = xelpdp_tc_phy_is_owned, .get_hw_state = xelpdp_tc_phy_get_hw_state,
Signature · 1 line
2.34.1
PATCH v2 12/13 drm/i915/mtl: Pin assignment for TypeC
In reply to Mika KaholaFrom: Anusha Srivatsa <[email protected]>
Unlike previous platforms that used PORT_TX_DFLEXDPSP for max_lane calculation, MTL uses only PORT_TX_DFLEXPA1 from which the max_lanes has to be calculated.
Bspec: 50235, 65380
--- drivers/gpu/drm/i915/display/intel_tc.c | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+)
drivers/gpu/drm/i915/display/intel_tc.c +28 -0
@@ -16,6 +16,10 @@#include "intel_mg_phy_regs.h" #include "intel_tc.h" +#define DP_PIN_ASSIGNMENT_C 0x3 +#define DP_PIN_ASSIGNMENT_D 0x4 +#define DP_PIN_ASSIGNMENT_E 0x5 +enum tc_port_mode {TC_PORT_DISCONNECTED ,TC_PORT_TBT_ALT ,
@@ -281,6 +285,27 @@ u32 intel_tc_port_get_pin_assignment_mask(struct intel_digital_port *dig_port)DP_PIN_ASSIGNMENT_SHIFT (tc->phy_fia_idx); } +static int mtl_tc_port_get_pin_assignment_mask (struct intel_digital_port *dig_port) +{ +struct drm_i915_private *i915 =to_i915 (dig_port->base.base.dev); +intel_wakeref_t wakeref; +u32 pin_mask; + +with_intel_display_power (i915,POWER_DOMAIN_DISPLAY_CORE , wakeref) + pin_mask = intel_tc_port_get_pin_assignment_mask(dig_port); + +switch (pin_mask) { +default : +MISSING_CASE (pin_mask); + fallthrough; +case DP_PIN_ASSIGNMENT_D : +return 2 ; +case DP_PIN_ASSIGNMENT_C : +case DP_PIN_ASSIGNMENT_E : +return 4 ; + } +} +int intel_tc_port_fia_max_lane_count (struct intel_digital_port *dig_port) {struct drm_i915_private *i915 =to_i915 (dig_port->base.base.dev);
@@ -294,6 +319,9 @@ int intel_tc_port_fia_max_lane_count(struct intel_digital_port *dig_port)assert_tc_cold_blocked (tc); +if (DISPLAY_VER (i915) >=14 ) +return mtl_tc_port_get_pin_assignment_mask (dig_port); + lane_mask =0 ;with_intel_display_power (i915,POWER_DOMAIN_DISPLAY_CORE , wakeref) lane_mask = intel_tc_port_get_lane_mask(dig_port);
Signature · 1 line
2.34.1
PATCH v2 13/13 drm/i915/mtl: Enable TC ports
In reply to Mika KaholaFinally, we can enable TC ports for Meteorlake.
--- drivers/gpu/drm/i915/display/intel_display.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_display.c +4 -1
@@ -7336,9 +7336,12 @@ void intel_setup_outputs(struct drm_i915_private *dev_priv)return ;if (IS_METEORLAKE (dev_priv)) { -/* TODO: initialize TC ports as well */ intel_ddi_init (dev_priv,PORT_A );intel_ddi_init (dev_priv,PORT_B ); +intel_ddi_init (dev_priv,PORT_TC1 ); +intel_ddi_init (dev_priv,PORT_TC2 ); +intel_ddi_init (dev_priv,PORT_TC3 ); +intel_ddi_init (dev_priv,PORT_TC4 ); }else if (IS_DG2 (dev_priv)) {intel_ddi_init (dev_priv,PORT_A );intel_ddi_init (dev_priv,PORT_B );
Signature · 1 line
2.34.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/mtl: Add support for C20 phy (rev2)
In reply to Mika Kahola== Series Details ==
== Series Details ==
Series: drm/i915/mtl: Add support for C20 phy (rev2)
URL : https://patchwork.freedesktop.org/series/116755/
State : warning
== Summary ==
Error: dim checkpatch failed7bd367a64eec drm/i915/mtl: C20 PLL programming
-:175: WARNING:LONG_LINE: line length of 109 exceeds 100 columns #175: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:1553:
+ cntx = intel_cx0_read(i915, encoder->port, INTEL_CX0_LANE0, PHY_C20_VDR_CUSTOM_SERDES_RATE) & BIT(0);
-:184: WARNING:LONG_LINE: line length of 129 exceeds 100 columns #184: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:1562:
+ intel_c20_sram_write(i915, encoder->port, INTEL_CX0_LANE0, RAWLANEAONX_DIG_TX_MPLLB_CAL_DONE_BANK(i), 0);
-:192: WARNING:LONG_LINE: line length of 127 exceeds 100 columns #192: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:1570:
+ intel_c20_sram_write(i915, encoder->port, INTEL_CX0_LANE0, PHY_C20_A_TX_CNTX_CFG(i), pll_state->tx[i]);
-:194: WARNING:LONG_LINE: line length of 127 exceeds 100 columns #194: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:1572:
+ intel_c20_sram_write(i915, encoder->port, INTEL_CX0_LANE0, PHY_C20_B_TX_CNTX_CFG(i), pll_state->tx[i]);
-:200: WARNING:LONG_LINE: line length of 129 exceeds 100 columns #200: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:1578:
+ intel_c20_sram_write(i915, encoder->port, INTEL_CX0_LANE0, PHY_C20_A_CMN_CNTX_CFG(i), pll_state->cmn[i]);
-:202: WARNING:LONG_LINE: line length of 129 exceeds 100 columns #202: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:1580:
+ intel_c20_sram_write(i915, encoder->port, INTEL_CX0_LANE0, PHY_C20_B_CMN_CNTX_CFG(i), pll_state->cmn[i]);
-:240: WARNING:LONG_LINE: line length of 102 exceeds 100 columns #240: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:1618:
+ BIT(6) | PHY_C20_CUSTOM_SERDES(intel_c20_get_dp_rate(pll_state->clock)),
total: 0 errors, 7 warnings, 0 checks, 469 lines checked 09766635af47 drm/i915/mtl: C20 HW readout
-:620: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #620: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:1962:
+int intel_cx0pll_calc_state(struct intel_crtc_state *crtc_state,
+ struct intel_encoder *encoder)
-:648: WARNING:LONG_LINE: line length of 125 exceeds 100 columns #648: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:1992:
+ cntx = intel_cx0_read(i915, encoder->port, INTEL_CX0_LANE0, PHY_C20_VDR_CUSTOM_SERDES_RATE) & PHY_C20_CONTEXT_TOGGLE;
-:663: WARNING:LONG_LINE: line length of 101 exceeds 100 columns #663: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:2007:
+ pll_state->cmn[i] = intel_c20_sram_read(i915, encoder->port, INTEL_CX0_LANE0,
-:666: WARNING:LONG_LINE: line length of 101 exceeds 100 columns #666: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:2010:
+ pll_state->cmn[i] = intel_c20_sram_read(i915, encoder->port, INTEL_CX0_LANE0,
-:674: WARNING:LONG_LINE: line length of 111 exceeds 100 columns #674: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:2018:
+ pll_state->mpllb[i] = intel_c20_sram_read(i915, encoder->port, INTEL_CX0_LANE0,
-:675: WARNING:LONG_LINE: line length of 103 exceeds 100 columns #675: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:2019:
+ PHY_C20_B_MPLLB_CNTX_CFG(i));
-:677: WARNING:LONG_LINE: line length of 111 exceeds 100 columns #677: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:2021:
+ pll_state->mpllb[i] = intel_c20_sram_read(i915, encoder->port, INTEL_CX0_LANE0,
-:678: WARNING:LONG_LINE: line length of 103 exceeds 100 columns #678: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:2022:
+ PHY_C20_A_MPLLB_CNTX_CFG(i));
-:684: WARNING:LONG_LINE: line length of 111 exceeds 100 columns #684: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:2028:
+ pll_state->mplla[i] = intel_c20_sram_read(i915, encoder->port, INTEL_CX0_LANE0,
-:685: WARNING:LONG_LINE: line length of 103 exceeds 100 columns #685: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:2029:
+ PHY_C20_B_MPLLA_CNTX_CFG(i));
-:687: WARNING:LONG_LINE: line length of 111 exceeds 100 columns #687: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:2031:
+ pll_state->mplla[i] = intel_c20_sram_read(i915, encoder->port, INTEL_CX0_LANE0,
-:688: WARNING:LONG_LINE: line length of 103 exceeds 100 columns #688: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy.c:2032:
+ PHY_C20_A_MPLLA_CNTX_CFG(i));
total: 0 errors, 11 warnings, 1 checks, 734 lines checked 804f129cc4e5 drm/i915/mtl: Dump C20 pll hw state 8a73ed4024d4 drm/i915/mtl: C20 port clock calculation -:115: WARNING:LONG_LINE: line length of 110 exceeds 100 columns #115: FILE: drivers/gpu/drm/i915/display/intel_ddi.c:3859:
+ crtc_state->port_clock = intel_c10pll_calc_port_clock(encoder, &crtc_state->cx0pll_state.c10);
-:119: WARNING:LONG_LINE: line length of 110 exceeds 100 columns #119: FILE: drivers/gpu/drm/i915/display/intel_ddi.c:3863:
+ crtc_state->port_clock = intel_c20pll_calc_port_clock(encoder, &crtc_state->cx0pll_state.c20);
-:136: WARNING:LONG_LINE: line length of 110 exceeds 100 columns #136: FILE: drivers/gpu/drm/i915/display/intel_dpll.c:1018:
+ crtc_state->port_clock = intel_c20pll_calc_port_clock(encoder, &crtc_state->cx0pll_state.c20);
total: 0 errors, 3 warnings, 0 checks, 101 lines checked b6fec8d2756f drm/i915/mtl: Add voltage swing sequence for C20 -:106: WARNING:LONG_LINE: line length of 101 exceeds 100 columns #106: FILE: drivers/gpu/drm/i915/display/intel_ddi_buf_trans.c:1679:
+ else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI) && !(intel_is_c10phy(i915, phy)))
total: 0 errors, 1 warnings, 0 checks, 86 lines checked 4d6d3e9de395 drm/i915/mtl: For DP2.0 10G and 20G rates use MPLLA cfcdaac89fbc drm/i915/mtl: Enabling/disabling sequence Thunderbolt pll 81eb7f056ce8 drm/i915/mtl: Readout Thunderbolt HW state 4ecb28fc119c drm/i915/mtl: Define mask for DDI AUX interrupts ea8d69a93f43 drm/i915/mtl: Power up TCSS4fbbdf9d8018 drm/i915/mtl: TypeC HPD live status query 8a7f68fa9334 drm/i915/mtl: Pin assignment for TypeC 6b51a404bbcb drm/i915/mtl: Enable TC ports
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/mtl: Add support for C20 phy (rev2)
In reply to Mika Kahola== Series Details ==
== Series Details ==
Series: drm/i915/mtl: Add support for C20 phy (rev2)
URL : https://patchwork.freedesktop.org/series/116755/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately. +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:117:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:148:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:150:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:154:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:156:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:174:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:176:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:180:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:182:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:186:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:188:9: warning: unreplaced symbol 'oldbit' +./arch
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/mtl: Add support for C20 phy (rev2)
In reply to Mika Kahola== Series Details ==
== Series Details ==
Series: drm/i915/mtl: Add support for C20 phy (rev2)
URL : https://patchwork.freedesktop.org/series/116755/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13073 -> Patchwork_116755v2
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/index.html
Participating hosts (39 -> 37)
------------------------------
Missing (2): fi-kbl-soraka fi-snb-2520m
Known issues
------------
Here are the changes found in Patchwork_116755v2 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][1] -> [ABORT][2] ([i915#4983] / [i915#7461] / [i915#8384])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/bat-rpls-1/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/bat-rpls-1/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@slpc:
- bat-adln-1: NOTRUN -> [DMESG-FAIL][3] ([i915#6997])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/bat-adln-1/igt@i915_selftest@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-adln-1: NOTRUN -> [SKIP][4] ([i915#7828])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/bat-adln-1/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1:
- bat-dg2-8: [PASS][5] -> [FAIL][6] ([i915#7932])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_lrc:
- bat-adln-1: [INCOMPLETE][7] ([i915#4983] / [i915#7609]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/bat-adln-1/igt@i915_selftest@live@gt_lrc.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/bat-adln-1/igt@i915_selftest@live@gt_lrc.html
* igt@kms_pipe_crc_basic@nonblocking-crc@pipe-d-dp-1:
- bat-dg2-8: [FAIL][9] ([i915#7932]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
[i915#7609]: https://gitlab.freedesktop.org/drm/intel/issues/7609
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7920]: https://gitlab.freedesktop.org/drm/intel/issues/7920
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#8384]: https://gitlab.freedesktop.org/drm/intel/issues/8384
Build changes
-------------
* Linux: CI_DRM_13073 -> Patchwork_116755v2
CI-20190529: 20190529
CI_DRM_13073: d4602c57ac02d66526e4785b80c2e01dea122f33 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7275: c284bd66d7b416b4eaca456d6085b9180ad58058 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_116755v2: d4602c57ac02d66526e4785b80c2e01dea122f33 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
cfe10aa9f670 drm/i915/mtl: Enable TC portsa76a271e840c drm/i915/mtl: Pin assignment for TypeC af5b94a2f2cb drm/i915/mtl: TypeC HPD live status query 73e409d6e8e9 drm/i915/mtl: Power up TCSS89031c1f2c58 drm/i915/mtl: Define mask for DDI AUX interrupts 01f19c8138fa drm/i915/mtl: Readout Thunderbolt HW state 6a8a44923092 drm/i915/mtl: Enabling/disabling sequence Thunderbolt pll ed0bd3453efe drm/i915/mtl: For DP2.0 10G and 20G rates use MPLLA ecd48801a943 drm/i915/mtl: Add voltage swing sequence for C20 5777f9bceb6a drm/i915/mtl: C20 port clock calculation 357247eb8025 drm/i915/mtl: Dump C20 pll hw state dc0e2e2381d3 drm/i915/mtl: C20 HW readout39ba77b93b8f drm/i915/mtl: C20 PLL programming
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/index.html
Fixed the parenthesis alignment in patch 02 and pushed the series.
Thank you for the patches.
-Radhakrishna(RK) Sripada
Quoted 52 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Mika Kahola
Sent: Friday, April 28, 2023 2:54 AM
To: [email protected]
Subject: [Intel-gfx] [PATCH v2 00/13] drm/i915/mtl: Add support for C20 phyAdd support for C20 phy for Type-C connections. C20 phy differs from C10 and hence we need to separately handle this case.
v2: Fixes for C20 pll programming and hw readout
Signed-off-by Mika Kahola <[email protected]>Anusha Srivatsa (1):
drm/i915/mtl: Pin assignment for TypeCGustavo Sousa (1):
drm/i915/mtl: Define mask for DDI AUX interruptsImre Deak (1):
drm/i915/mtl: TypeC HPD live status queryMika Kahola (10):
drm/i915/mtl: C20 PLL programming
drm/i915/mtl: C20 HW readout
drm/i915/mtl: Dump C20 pll hw state drm/i915/mtl: C20 port clock calculation drm/i915/mtl: Add voltage swing sequence for C20 drm/i915/mtl: For DP2.0 10G and 20G rates use MPLLA drm/i915/mtl: Enabling/disabling sequence Thunderbolt pll drm/i915/mtl: Readout Thunderbolt HW state drm/i915/mtl: Power up TCSS
drm/i915/mtl: Enable TC portsdrivers/gpu/drm/i915/display/intel_cx0_phy.c | 1137 ++++++++++++++++- drivers/gpu/drm/i915/display/intel_cx0_phy.h | 23 +- .../gpu/drm/i915/display/intel_cx0_phy_regs.h | 41 + drivers/gpu/drm/i915/display/intel_ddi.c | 25 +- .../drm/i915/display/intel_ddi_buf_trans.c | 53 +- drivers/gpu/drm/i915/display/intel_display.c | 7 +- .../drm/i915/display/intel_display_types.h | 16 +- drivers/gpu/drm/i915/display/intel_dp.c | 12 +- drivers/gpu/drm/i915/display/intel_dpll.c | 2 + drivers/gpu/drm/i915/display/intel_hdmi.c | 6 +- drivers/gpu/drm/i915/display/intel_hdmi.h | 1 + drivers/gpu/drm/i915/display/intel_tc.c | 255 +++- drivers/gpu/drm/i915/i915_irq.c | 5 +- 13 files changed, 1510 insertions(+), 73 deletions(-)--
2.34.1
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/mtl: Add support for C20 phy (rev2)
In reply to Mika Kahola== Series Details ==
== Series Details ==
Series: drm/i915/mtl: Add support for C20 phy (rev2)
URL : https://patchwork.freedesktop.org/series/116755/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13073_full -> Patchwork_116755v2_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (8 -> 7)
------------------------------
Missing (1): shard-tglu0
Known issues
------------
Here are the changes found in Patchwork_116755v2_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-deadline:
- shard-apl: [PASS][1] -> [FAIL][2] ([i915#2846])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-apl3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-apl1/igt@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][3] -> [FAIL][4] ([i915#2842])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-glk5/igt@gem_exec_fair@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-glk2/igt@gem_exec_fair@[email protected]
* igt@kms_plane_scaling@plane-upscale-with-modifiers-factor-0-25@pipe-a-vga-1:
- shard-snb: NOTRUN -> [SKIP][5] ([fdo#109271]) +36 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-snb5/igt@kms_plane_scaling@[email protected]
* igt@kms_setmode@basic@pipe-a-hdmi-a-1:
- shard-snb: NOTRUN -> [FAIL][6] ([i915#5465]) +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-snb1/igt@kms_setmode@[email protected]
#### Possible fixes ####
* igt@drm_fdinfo@most-busy-check-all@rcs0:
- {shard-rkl}: [FAIL][7] ([i915#7742]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-rkl-4/igt@drm_fdinfo@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-rkl-3/igt@drm_fdinfo@[email protected]
* igt@gem_eio@hibernate:
- {shard-dg1}: [ABORT][9] ([i915#7975] / [i915#8213]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-dg1-14/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-dg1-13/igt@[email protected]
* igt@gem_eio@reset-stress:
- {shard-dg1}: [FAIL][11] ([i915#5784]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-dg1-17/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-dg1-18/igt@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- {shard-rkl}: [FAIL][13] ([i915#2842]) -> [PASS][14] +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-rkl-4/igt@gem_exec_fair@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-rkl-4/igt@gem_exec_fair@[email protected]
* igt@gem_sync@basic-all:
- shard-glk: [DMESG-WARN][15] ([i915#118]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-glk3/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-glk1/igt@[email protected]
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a:
- {shard-rkl}: [SKIP][17] ([i915#1937]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-rkl-3/igt@i915_pm_lpsp@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-rkl-7/igt@i915_pm_lpsp@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle@vcs0:
- {shard-dg1}: [FAIL][19] ([i915#3591]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-dg1-17/igt@i915_pm_rc6_residency@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-dg1-18/igt@i915_pm_rc6_residency@[email protected]
* igt@i915_pm_rpm@dpms-non-lpsp:
- {shard-rkl}: [SKIP][21] ([i915#1397]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-rkl-7/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-rkl-2/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [FAIL][23] ([i915#2346]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-glk2/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-glk1/igt@[email protected]
- shard-apl: [FAIL][25] ([i915#2346]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-apl2/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-apl2/igt@[email protected]
* igt@kms_cursor_legacy@forked-bo@pipe-b:
- {shard-rkl}: [INCOMPLETE][27] ([i915#8011]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-rkl-7/igt@kms_cursor_legacy@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-rkl-2/igt@kms_cursor_legacy@[email protected]
* igt@kms_plane_scaling@i915-max-src-size@pipe-a-hdmi-a-2:
- {shard-rkl}: [FAIL][29] ([i915#8292]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-rkl-1/igt@kms_plane_scaling@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-rkl-4/igt@kms_plane_scaling@[email protected]
* igt@perf_pmu@idle@rcs0:
- {shard-dg1}: [FAIL][31] ([i915#4349]) -> [PASS][32] +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13073/shard-dg1-18/igt@perf_pmu@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/shard-dg1-17/igt@perf_pmu@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5465]: https://gitlab.freedesktop.org/drm/intel/issues/5465
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#7443]: https://gitlab.freedesktop.org/drm/intel/issues/7443
[i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8102]: https://gitlab.freedesktop.org/drm/intel/issues/8102
[i915#8211]: https://gitlab.freedesktop.org/drm/intel/issues/8211
[i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
[i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
[i915#8304]: https://gitlab.freedesktop.org/drm/intel/issues/8304
Build changes
-------------
* Linux: CI_DRM_13073 -> Patchwork_116755v2
CI-20190529: 20190529
CI_DRM_13073: d4602c57ac02d66526e4785b80c2e01dea122f33 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7275: c284bd66d7b416b4eaca456d6085b9180ad58058 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_116755v2: d4602c57ac02d66526e4785b80c2e01dea122f33 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116755v2/index.html