drm/i915/display: move modeset asserts out of intel_display.c
Subsystems (3)
cover drm/i915/display: move modeset asserts out of intel_display.c
This is a bit of an RFC. I think there are two basic approaches:
1) Move asserts out of intel_display.c next to the functionality they assert. This patch series starts on this path.
2) Move basic status/state queries out of intel_display.c and have separate assert functions that use the query functions and then do the asserts. For example, add intel_fdi_tx_enabled() in intel_fdi.c, and have a separate assert_fdi_tx_enabled() in intel_display.c or, say, intel_assert.c.
There are currently examples of both approaches in code, see for example assert_pch_dp_disabled() and assert_shared_dpll(). With approach 1, I'd imagine moving assert_pch_dp_disabled() to g4x_dp.c too. With approach 2, I'd imagine moving assert_shared_dpll out of intel_dpll_mgr.c.
Arguably 2) is a cleaner approach, with the state queries and asserts separated instead of bundled into one. However, there does not always seem to be an actual need for this separation, and often the only users for the query functions are or would be the asserts, leading to extra code and calls. So I opted for 1) instead. If there's a need for a separate query function, great, but if not, just bundle them together.
In any case, I think *all* the assert functions need to be moved out of intel_display.c.
BR,
Jani.
Jani Nikula (4):
drm/i915/fdi: move fdi modeset asserts to intel_fdi.c drm/i915/pps: move pps (panel) modeset asserts to intel_pps.c drm/i915/dpll: move dpll modeset asserts to intel_dpll.c drm/i915/dsi: move dsi pll modeset asserts to vlv_dsi_pll.c
drivers/gpu/drm/i915/display/intel_color.c | 2 + drivers/gpu/drm/i915/display/intel_display.c | 162 +----------------- drivers/gpu/drm/i915/display/intel_display.h | 13 -- .../drm/i915/display/intel_display_power.c | 3 +- drivers/gpu/drm/i915/display/intel_dpll.c | 35 +++- drivers/gpu/drm/i915/display/intel_dpll.h | 3 + drivers/gpu/drm/i915/display/intel_dsi.h | 3 + drivers/gpu/drm/i915/display/intel_fdi.c | 91 ++++++++++ drivers/gpu/drm/i915/display/intel_fdi.h | 10 ++ drivers/gpu/drm/i915/display/intel_lvds.c | 2 + drivers/gpu/drm/i915/display/intel_pps.c | 59 +++++++ drivers/gpu/drm/i915/display/intel_pps.h | 3 + drivers/gpu/drm/i915/display/vlv_dsi_pll.c | 23 +++ 13 files changed, 229 insertions(+), 180 deletions(-)
Signature · 1 line
2.30.2
PATCH 1/4 drm/i915/fdi: move fdi modeset asserts to intel_fdi.c
Keep the functionality and the assert code together.
--- drivers/gpu/drm/i915/display/intel_display.c | 72 ---------------- drivers/gpu/drm/i915/display/intel_display.h | 4 - drivers/gpu/drm/i915/display/intel_fdi.c | 91 ++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_fdi.h | 10 +++ drivers/gpu/drm/i915/display/intel_lvds.c | 1 + 5 files changed, 102 insertions(+), 76 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +0 -72
@@ -428,78 +428,6 @@ void assert_dsi_pll(struct drm_i915_private *dev_priv, bool state) onoff(state), onoff(cur_state)); } -static void assert_fdi_tx (struct drm_i915_private *dev_priv, -enum pipe pipe,bool state) -{ -bool cur_state; - -if (HAS_DDI (dev_priv)) { -/* -* DDI does not have a specific FDI_TX register. -* -* FDI is never fed from EDP transcoder -* so pipe->transcoder cast is fine here. -*/ -enum transcoder cpu_transcoder = (enum transcoder )pipe; -u32 val =intel_de_read (dev_priv, -TRANS_DDI_FUNC_CTL (cpu_transcoder)); - cur_state = !!(val &TRANS_DDI_FUNC_ENABLE ); - }else { -u32 val =intel_de_read (dev_priv,FDI_TX_CTL (pipe)); - cur_state = !!(val &FDI_TX_ENABLE ); - } -I915_STATE_WARN (cur_state != state, -"FDI TX state assertion failure (expected %s, current %s)\n" , -onoff (state),onoff (cur_state)); -} -#define assert_fdi_tx_enabled (d, p) assert_fdi_tx(d, p, true) -#define assert_fdi_tx_disabled (d, p) assert_fdi_tx(d, p, false) - -static void assert_fdi_rx (struct drm_i915_private *dev_priv, -enum pipe pipe,bool state) -{ -u32 val; -bool cur_state; - - val =intel_de_read (dev_priv,FDI_RX_CTL (pipe)); - cur_state = !!(val &FDI_RX_ENABLE ); -I915_STATE_WARN (cur_state != state, -"FDI RX state assertion failure (expected %s, current %s)\n" , -onoff (state),onoff (cur_state)); -} -#define assert_fdi_rx_enabled (d, p) assert_fdi_rx(d, p, true) -#define assert_fdi_rx_disabled (d, p) assert_fdi_rx(d, p, false) - -static void assert_fdi_tx_pll_enabled (struct drm_i915_private *dev_priv, -enum pipe pipe) -{ -u32 val; - -/* ILK FDI PLL is always enabled */ -if (IS_IRONLAKE (dev_priv)) -return ; - -/* On Haswell, DDI ports are responsible for the FDI PLL setup */ -if (HAS_DDI (dev_priv)) -return ; - - val =intel_de_read (dev_priv,FDI_TX_CTL (pipe)); -I915_STATE_WARN (!(val &FDI_TX_PLL_ENABLE ),"FDI TX PLL assertion failure, should be active but is disabled\n" ); -} - -void assert_fdi_rx_pll (struct drm_i915_private *dev_priv, -enum pipe pipe,bool state) -{ -u32 val; -bool cur_state; - - val =intel_de_read (dev_priv,FDI_RX_CTL (pipe)); - cur_state = !!(val &FDI_RX_PLL_ENABLE ); -I915_STATE_WARN (cur_state != state, -"FDI RX PLL assertion failure (expected %s, current %s)\n" , -onoff (state),onoff (cur_state)); -} -void assert_panel_unlocked (struct drm_i915_private *dev_priv,enum pipe pipe) {i915_reg_t pp_reg;
drivers/gpu/drm/i915/display/intel_display.h +0 -4
@@ -654,10 +654,6 @@ void assert_pll(struct drm_i915_private *dev_priv,void assert_dsi_pll (struct drm_i915_private *dev_priv,bool state);#define assert_dsi_pll_enabled (d) assert_dsi_pll(d, true)#define assert_dsi_pll_disabled (d) assert_dsi_pll(d, false) -void assert_fdi_rx_pll (struct drm_i915_private *dev_priv, -enum pipe pipe,bool state); -#define assert_fdi_rx_pll_enabled (d, p) assert_fdi_rx_pll(d, p, true) -#define assert_fdi_rx_pll_disabled (d, p) assert_fdi_rx_pll(d, p, false)void assert_transcoder (struct drm_i915_private *dev_priv,enum transcoder cpu_transcoder,bool state);#define assert_transcoder_enabled (d, t) assert_transcoder(d, t, true)
drivers/gpu/drm/i915/display/intel_fdi.c +91 -0
97 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_fdi.h +10 -0
@@ -6,6 +6,7 @@#ifndef _INTEL_FDI_H_#define _INTEL_FDI_H_ +enum pipe ;struct drm_i915_private ;struct intel_crtc ;struct intel_crtc_state ;
@@ -28,4 +29,13 @@ void lpt_fdi_program_mphy(struct drm_i915_private *i915);void intel_fdi_link_train (struct intel_crtc *crtc,const struct intel_crtc_state *crtc_state); + +void assert_fdi_tx_enabled (struct drm_i915_private *i915,enum pipe pipe); +void assert_fdi_tx_disabled (struct drm_i915_private *i915,enum pipe pipe); +void assert_fdi_rx_enabled (struct drm_i915_private *i915,enum pipe pipe); +void assert_fdi_rx_disabled (struct drm_i915_private *i915,enum pipe pipe); +void assert_fdi_tx_pll_enabled (struct drm_i915_private *i915,enum pipe pipe); +void assert_fdi_rx_pll_enabled (struct drm_i915_private *i915,enum pipe pipe); +void assert_fdi_rx_pll_disabled (struct drm_i915_private *i915,enum pipe pipe); +#endif
drivers/gpu/drm/i915/display/intel_lvds.c +1 -0
@@ -44,6 +44,7 @@#include "intel_connector.h" #include "intel_de.h" #include "intel_display_types.h" +#include "intel_fdi.h" #include "intel_gmbus.h" #include "intel_lvds.h" #include "intel_panel.h"
Signature · 1 line
2.30.2
PATCH 2/4 drm/i915/pps: move pps (panel) modeset asserts to intel_pps.c
In reply to Jani NikulaMove assert_panel_unlocked() to intel_pps.c and rename assert_pps_unlocked(). Keep the functionality and the assert code together.
There's still a bit of a split between the eDP PPS usage in intel_pps.c and all the other PPS usage, and assert_pps_unlocked() is arguably more related to the latter. However, intel_pps.c is the best fit for anything touching the PPS registers.
--- drivers/gpu/drm/i915/display/intel_display.c | 60 +------------------- drivers/gpu/drm/i915/display/intel_display.h | 2 - drivers/gpu/drm/i915/display/intel_dpll.c | 13 +++-- drivers/gpu/drm/i915/display/intel_pps.c | 59 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_pps.h | 3 + 5 files changed, 71 insertions(+), 66 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +1 -59
@@ -428,64 +428,6 @@ void assert_dsi_pll(struct drm_i915_private *dev_priv, bool state) onoff(state), onoff(cur_state)); } -void assert_panel_unlocked (struct drm_i915_private *dev_priv,enum pipe pipe) -{ -i915_reg_t pp_reg; -u32 val; -enum pipe panel_pipe =INVALID_PIPE ; -bool locked = true; - -if (drm_WARN_ON (&dev_priv->drm,HAS_DDI (dev_priv))) -return ; - -if (HAS_PCH_SPLIT (dev_priv)) { -u32 port_sel; - - pp_reg =PP_CONTROL (0 ); - port_sel =intel_de_read (dev_priv,PP_ON_DELAYS (0 )) &PANEL_PORT_SELECT_MASK ; - -switch (port_sel) { -case PANEL_PORT_SELECT_LVDS : -intel_lvds_port_enabled (dev_priv,PCH_LVDS , &panel_pipe); -break ; -case PANEL_PORT_SELECT_DPA : -g4x_dp_port_enabled (dev_priv,DP_A ,PORT_A , &panel_pipe); -break ; -case PANEL_PORT_SELECT_DPC : -g4x_dp_port_enabled (dev_priv,PCH_DP_C ,PORT_C , &panel_pipe); -break ; -case PANEL_PORT_SELECT_DPD : -g4x_dp_port_enabled (dev_priv,PCH_DP_D ,PORT_D , &panel_pipe); -break ; -default : -MISSING_CASE (port_sel); -break ; - } - }else if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) { -/* presumably write lock depends on pipe, not port select */ - pp_reg =PP_CONTROL (pipe); - panel_pipe = pipe; - }else { -u32 port_sel; - - pp_reg =PP_CONTROL (0 ); - port_sel =intel_de_read (dev_priv,PP_ON_DELAYS (0 )) &PANEL_PORT_SELECT_MASK ; - -drm_WARN_ON (&dev_priv->drm, - port_sel !=PANEL_PORT_SELECT_LVDS ); -intel_lvds_port_enabled (dev_priv,LVDS , &panel_pipe); - } - - val =intel_de_read (dev_priv, pp_reg); -if (!(val &PANEL_POWER_ON ) || - ((val &PANEL_UNLOCK_MASK ) ==PANEL_UNLOCK_REGS )) - locked = false; - -I915_STATE_WARN (panel_pipe == pipe && locked, -"panel assertion failure, pipe %c regs locked\n" , -pipe_name (pipe)); -} -void assert_transcoder (struct drm_i915_private *dev_priv,enum transcoder cpu_transcoder,bool state) {
@@ -2130,7 +2072,7 @@ static void ilk_pch_enable(const struct intel_atomic_state *state,intel_enable_shared_dpll (crtc_state);/* set transcoder timing, panel must allow it */ -assert_panel_unlocked (dev_priv, pipe); +assert_pps_unlocked (dev_priv, pipe);ilk_pch_transcoder_set_timings (crtc_state, pipe);intel_fdi_normal_train (crtc);
drivers/gpu/drm/i915/display/intel_display.h +0 -2
@@ -645,8 +645,6 @@ void intel_init_pch_refclk(struct drm_i915_private *dev_priv);int intel_modeset_all_pipes (struct intel_atomic_state *state);/* modesetting asserts */ -void assert_panel_unlocked (struct drm_i915_private *dev_priv, -enum pipe pipe);void assert_pll (struct drm_i915_private *dev_priv,enum pipe pipe,bool state);#define assert_pll_enabled (d, p) assert_pll(d, p, true)
drivers/gpu/drm/i915/display/intel_dpll.c +8 -5
@@ -2,16 +2,19 @@/* * Copyright © 2020 Intel Corporation */ +#include <linux/kernel.h> +#include "intel_crtc.h" #include "intel_de.h" -#include "intel_display_types.h" #include "intel_display.h" +#include "intel_display_types.h" #include "intel_dpll.h" #include "intel_lvds.h" #include "intel_panel.h" +#include "intel_pps.h" #include "intel_sideband.h" -#include "display/intel_snps_phy.h" +#include "intel_snps_phy.h" struct intel_limit { struct {
@@ -1438,7 +1441,7 @@ void i9xx_enable_pll(const struct intel_crtc_state *crtc_state)/* PLL is protected by panel, make sure we can write it */ if (i9xx_has_pps (dev_priv)) -assert_panel_unlocked (dev_priv, pipe); +assert_pps_unlocked (dev_priv, pipe);intel_de_write (dev_priv,FP0 (pipe), crtc_state->dpll_hw_state.fp0);intel_de_write (dev_priv,FP1 (pipe), crtc_state->dpll_hw_state.fp1);
@@ -1617,7 +1620,7 @@ void vlv_enable_pll(const struct intel_crtc_state *crtc_state)assert_transcoder_disabled (dev_priv, crtc_state->cpu_transcoder);/* PLL is protected by panel, make sure we can write it */ -assert_panel_unlocked (dev_priv, pipe); +assert_pps_unlocked (dev_priv, pipe);/* Enable Refclk */ intel_de_write(dev_priv, DPLL(pipe),
@@ -1769,7 +1772,7 @@ void chv_enable_pll(const struct intel_crtc_state *crtc_state)assert_transcoder_disabled (dev_priv, crtc_state->cpu_transcoder);/* PLL is protected by panel, make sure we can write it */ -assert_panel_unlocked (dev_priv, pipe); +assert_pps_unlocked (dev_priv, pipe);/* Enable Refclk and SSC */ intel_de_write(dev_priv, DPLL(pipe),
drivers/gpu/drm/i915/display/intel_pps.c +59 -0
68 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_pps.h +3 -0
@@ -10,6 +10,7 @@#include "intel_wakeref.h" +enum pipe ;struct drm_i915_private ;struct intel_connector ;struct intel_crtc_state ;
@@ -49,4 +50,6 @@ void vlv_pps_init(struct intel_encoder *encoder,void intel_pps_unlock_regs_wa (struct drm_i915_private *i915);void intel_pps_setup (struct drm_i915_private *i915); +void assert_pps_unlocked (struct drm_i915_private *i915,enum pipe pipe); +#endif /* __INTEL_PPS_H__ */
Signature · 1 line
2.30.2
PATCH 4/4 drm/i915/dsi: move dsi pll modeset asserts to vlv_dsi_pll.c
In reply to Jani NikulaKeep the functionality and the assert code together.
--- drivers/gpu/drm/i915/display/intel_color.c | 1 + drivers/gpu/drm/i915/display/intel_display.c | 16 -------------- drivers/gpu/drm/i915/display/intel_display.h | 3 --- drivers/gpu/drm/i915/display/intel_dsi.h | 3 +++ drivers/gpu/drm/i915/display/vlv_dsi_pll.c | 23 ++++++++++++++++++++ 5 files changed, 27 insertions(+), 19 deletions(-)
drivers/gpu/drm/i915/display/intel_color.c +1 -0
@@ -26,6 +26,7 @@#include "intel_de.h" #include "intel_display_types.h" #include "intel_dpll.h" +#include "intel_dsi.h" #define CTM_COEFF_SIGN (1ULL << 63)
drivers/gpu/drm/i915/display/intel_display.c +0 -16
@@ -398,22 +398,6 @@ intel_wait_for_pipe_off(const struct intel_crtc_state *old_crtc_state) } } -/* XXX: the dsi pll is shared between MIPI DSI ports */ -void assert_dsi_pll (struct drm_i915_private *dev_priv,bool state) -{ -u32 val; -bool cur_state; - -vlv_cck_get (dev_priv); - val =vlv_cck_read (dev_priv,CCK_REG_DSI_PLL_CONTROL ); -vlv_cck_put (dev_priv); - - cur_state = val &DSI_PLL_VCO_EN ; -I915_STATE_WARN (cur_state != state, -"DSI PLL state assertion failure (expected %s, current %s)\n" , -onoff (state),onoff (cur_state)); -} -void assert_transcoder (struct drm_i915_private *dev_priv,enum transcoder cpu_transcoder,bool state) {
drivers/gpu/drm/i915/display/intel_display.h +0 -3
@@ -645,9 +645,6 @@ void intel_init_pch_refclk(struct drm_i915_private *dev_priv);int intel_modeset_all_pipes (struct intel_atomic_state *state);/* modesetting asserts */ -void assert_dsi_pll (struct drm_i915_private *dev_priv,bool state); -#define assert_dsi_pll_enabled (d) assert_dsi_pll(d, true) -#define assert_dsi_pll_disabled (d) assert_dsi_pll(d, false)void assert_transcoder (struct drm_i915_private *dev_priv,enum transcoder cpu_transcoder,bool state);#define assert_transcoder_enabled (d, t) assert_transcoder(d, t, true)
drivers/gpu/drm/i915/display/intel_dsi.h +3 -0
@@ -207,6 +207,9 @@ u32 bxt_dsi_get_pclk(struct intel_encoder *encoder, struct intel_crtc_state *config);void bxt_dsi_reset_clocks (struct intel_encoder *encoder,enum port port); +void assert_dsi_pll_enabled (struct drm_i915_private *i915); +void assert_dsi_pll_disabled (struct drm_i915_private *i915); +/* intel_dsi_vbt.c */ bool intel_dsi_vbt_init (struct intel_dsi *intel_dsi,u16 panel_id);void intel_dsi_vbt_gpio_init (struct intel_dsi *intel_dsi,bool panel_is_on);
drivers/gpu/drm/i915/display/vlv_dsi_pll.c +23 -0
@@ -568,3 +568,26 @@ void bxt_dsi_reset_clocks(struct intel_encoder *encoder, enum port port) }intel_de_write (dev_priv,MIPI_EOT_DISABLE (port),CLOCKSTOP ); } + +static void assert_dsi_pll (struct drm_i915_private *i915,bool state) +{ +bool cur_state; + +vlv_cck_get (i915); + cur_state =vlv_cck_read (i915,CCK_REG_DSI_PLL_CONTROL ) &DSI_PLL_VCO_EN ; +vlv_cck_put (i915); + +I915_STATE_WARN (cur_state != state, +"DSI PLL state assertion failure (expected %s, current %s)\n" , +onoff (state),onoff (cur_state)); +} + +void assert_dsi_pll_enabled (struct drm_i915_private *i915) +{ +assert_dsi_pll (i915, true); +} + +void assert_dsi_pll_disabled (struct drm_i915_private *i915) +{ +assert_dsi_pll (i915, false); +}
Signature · 1 line
2.30.2
PATCH 3/4 drm/i915/dpll: move dpll modeset asserts to intel_dpll.c
In reply to Jani NikulaKeep the functionality and the assert code together.
--- drivers/gpu/drm/i915/display/intel_color.c | 1 + drivers/gpu/drm/i915/display/intel_display.c | 14 ------------ drivers/gpu/drm/i915/display/intel_display.h | 4 ---- .../drm/i915/display/intel_display_power.c | 3 ++- drivers/gpu/drm/i915/display/intel_dpll.c | 22 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dpll.h | 3 +++ drivers/gpu/drm/i915/display/intel_lvds.c | 1 + 7 files changed, 29 insertions(+), 19 deletions(-)
drivers/gpu/drm/i915/display/intel_color.c +1 -0
@@ -25,6 +25,7 @@#include "intel_color.h" #include "intel_de.h" #include "intel_display_types.h" +#include "intel_dpll.h" #define CTM_COEFF_SIGN (1ULL << 63)
drivers/gpu/drm/i915/display/intel_display.c +0 -14
@@ -398,20 +398,6 @@ intel_wait_for_pipe_off(const struct intel_crtc_state *old_crtc_state) } } -/* Only for pre-ILK configs */ -void assert_pll (struct drm_i915_private *dev_priv, -enum pipe pipe,bool state) -{ -u32 val; -bool cur_state; - - val =intel_de_read (dev_priv,DPLL (pipe)); - cur_state = !!(val &DPLL_VCO_ENABLE ); -I915_STATE_WARN (cur_state != state, -"PLL state assertion failure (expected %s, current %s)\n" , -onoff (state),onoff (cur_state)); -} -/* XXX: the dsi pll is shared between MIPI DSI ports */ void assert_dsi_pll (struct drm_i915_private *dev_priv,bool state) {
drivers/gpu/drm/i915/display/intel_display.h +0 -4
@@ -645,10 +645,6 @@ void intel_init_pch_refclk(struct drm_i915_private *dev_priv);int intel_modeset_all_pipes (struct intel_atomic_state *state);/* modesetting asserts */ -void assert_pll (struct drm_i915_private *dev_priv, -enum pipe pipe,bool state); -#define assert_pll_enabled (d, p) assert_pll(d, p, true) -#define assert_pll_disabled (d, p) assert_pll(d, p, false)void assert_dsi_pll (struct drm_i915_private *dev_priv,bool state);#define assert_dsi_pll_enabled (d) assert_dsi_pll(d, true)#define assert_dsi_pll_disabled (d) assert_dsi_pll(d, false)
drivers/gpu/drm/i915/display/intel_display_power.c +2 -1
@@ -9,11 +9,12 @@#include "i915_irq.h" #include "intel_cdclk.h" #include "intel_combo_phy.h" -#include "intel_display_power.h" #include "intel_de.h" +#include "intel_display_power.h" #include "intel_display_types.h" #include "intel_dmc.h" #include "intel_dpio_phy.h" +#include "intel_dpll.h" #include "intel_hotplug.h" #include "intel_pm.h" #include "intel_pps.h"
drivers/gpu/drm/i915/display/intel_dpll.c +22 -0
@@ -1923,3 +1923,25 @@ void vlv_force_pll_off(struct drm_i915_private *dev_priv, enum pipe pipe)else vlv_disable_pll (dev_priv, pipe); } + +/* Only for pre-ILK configs */ +static void assert_pll (struct drm_i915_private *dev_priv, +enum pipe pipe,bool state) +{ +bool cur_state; + + cur_state =intel_de_read (dev_priv,DPLL (pipe)) &DPLL_VCO_ENABLE ; +I915_STATE_WARN (cur_state != state, +"PLL state assertion failure (expected %s, current %s)\n" , +onoff (state),onoff (cur_state)); +} + +void assert_pll_enabled (struct drm_i915_private *i915,enum pipe pipe) +{ +assert_pll (i915, pipe, true); +} + +void assert_pll_disabled (struct drm_i915_private *i915,enum pipe pipe) +{ +assert_pll (i915, pipe, false); +}
drivers/gpu/drm/i915/display/intel_dpll.h +3 -0
@@ -36,4 +36,7 @@ bool bxt_find_best_dpll(struct intel_crtc_state *crtc_state, struct dpll *best_clock);int chv_calc_dpll_params (int refclk,struct dpll *pll_clock); +void assert_pll_enabled (struct drm_i915_private *i915,enum pipe pipe); +void assert_pll_disabled (struct drm_i915_private *i915,enum pipe pipe); +#endif
drivers/gpu/drm/i915/display/intel_lvds.c +1 -0
@@ -44,6 +44,7 @@#include "intel_connector.h" #include "intel_de.h" #include "intel_display_types.h" +#include "intel_dpll.h" #include "intel_fdi.h" #include "intel_gmbus.h" #include "intel_lvds.h"
Signature · 1 line
2.30.2
Re: [Intel-gfx] [PATCH 1/4] drm/i915/fdi: move fdi modeset asserts to intel_fdi.c
In reply to Jani NikulaOn Thu, Sep 30, 2021 at 12:22:58PM +0300, Jani Nikula wrote:
<snip>
Quoted 29 lines
drivers/gpu/drm/i915/display/intel_fdi.c +21
-0@@ -10,6 +10,97 @@#include "intel_fdi.h" #include "intel_sideband.h" +static void assert_fdi_tx (struct drm_i915_private *dev_priv, +enum pipe pipe,bool state) +{ +bool cur_state; + +if (HAS_DDI (dev_priv)) { +/* +* DDI does not have a specific FDI_TX register. +* +* FDI is never fed from EDP transcoder +* so pipe->transcoder cast is fine here. +*/ +enum transcoder cpu_transcoder = (enum transcoder )pipe; + cur_state =intel_de_read (dev_priv,TRANS_DDI_FUNC_CTL (cpu_transcoder)) &TRANS_DDI_FUNC_ENABLE ; + }else { + cur_state =intel_de_read (dev_priv,FDI_TX_CTL (pipe)) &FDI_TX_ENABLE ; + } +I915_STATE_WARN (cur_state != state, +"FDI TX state assertion failure (expected %s, current %s)\n" , +onoff (state),onoff (cur_state)); +}
drivers/gpu/drm/i915/display/intel_fdi.c line 43
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_fdi.c +10
-0+ +void assert_fdi_tx_enabled (struct drm_i915_private *i915,enum pipe pipe) +{ +assert_fdi_tx (i915, pipe, true); +} + +void assert_fdi_tx_disabled (struct drm_i915_private *i915,enum pipe pipe) +{ +assert_fdi_tx (i915, pipe, false); +}
For these wrappers I could argue that static inlines would be less loc overall, while still wouldn't need any extra struct definitions/etc. in the header. But not performance sensitive so from that pov static inline is pointless.
Anyways, this approach seems fine to me. For the series
Signature · 2 lines
Ville Syrjälä Intel
Re: [Intel-gfx] [PATCH 1/4] drm/i915/fdi: move fdi modeset asserts to intel_fdi.c
Quoted 38 lines · Ville Syrjälä
On Thu, Sep 30, 2021 at 12:22:58PM +0300, Jani Nikula wrote:
<snip>Quoted 36 lines
drivers/gpu/drm/i915/display/intel_fdi.c +28
-0@@ -10,6 +10,97 @@#include "intel_fdi.h" #include "intel_sideband.h" +static void assert_fdi_tx (struct drm_i915_private *dev_priv, +enum pipe pipe,bool state) +{ +bool cur_state; + +if (HAS_DDI (dev_priv)) { +/* +* DDI does not have a specific FDI_TX register. +* +* FDI is never fed from EDP transcoder +* so pipe->transcoder cast is fine here. +*/ +enum transcoder cpu_transcoder = (enum transcoder )pipe; + cur_state =intel_de_read (dev_priv,TRANS_DDI_FUNC_CTL (cpu_transcoder)) &TRANS_DDI_FUNC_ENABLE ; + }else { + cur_state =intel_de_read (dev_priv,FDI_TX_CTL (pipe)) &FDI_TX_ENABLE ; + } +I915_STATE_WARN (cur_state != state, +"FDI TX state assertion failure (expected %s, current %s)\n" , +onoff (state),onoff (cur_state)); +} + +void assert_fdi_tx_enabled (struct drm_i915_private *i915,enum pipe pipe) +{ +assert_fdi_tx (i915, pipe, true); +} + +void assert_fdi_tx_disabled (struct drm_i915_private *i915,enum pipe pipe)
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_fdi.c line 43
Quoted 3 lines
drivers/gpu/drm/i915/display/intel_fdi.c +3
-0+{ +assert_fdi_tx (i915, pipe, false); +}For these wrappers I could argue that static inlines would be less loc overall, while still wouldn't need any extra struct definitions/etc. in the header. But not performance sensitive so from that pov static inline is pointless.
I didn't actually check the compiler output, but I think even performance wise it'll probably end up being just one function call either way. It's just a question which side of the call the logic is. But agreed, doesn't really matter.
Anyway, the main argument I have for avoiding static inlines is to not set an example to cargo cult from. They should be the exception, not the rule. I think both the driver and the team have grown big enough to require a style that promotes better structure. Because let's face it, people look at what's there, copy the style, and not think of all the subtleties.
Quoted 2 lines
Anyways, this approach seems fine to me. For the series
Reviewed-by Ville Syrjälä <[email protected]>
Thanks,
Jani.
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/display: move modeset asserts out of intel_display.c
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915/display: move modeset asserts out of intel_display.c
URL : https://patchwork.freedesktop.org/series/95258/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 25961813c19b drm/i915/fdi: move fdi modeset asserts to intel_fdi.c -:133: WARNING:LONG_LINE: line length of 112 exceeds 100 columns #133: FILE: drivers/gpu/drm/i915/display/intel_fdi.c:26: + cur_state = intel_de_read(dev_priv, TRANS_DDI_FUNC_CTL(cpu_transcoder)) & TRANS_DDI_FUNC_ENABLE;
-:133: WARNING:LINE_SPACING: Missing a blank line after declarations #133: FILE: drivers/gpu/drm/i915/display/intel_fdi.c:26:
+ enum transcoder cpu_transcoder = (enum transcoder)pipe;
+ cur_state = intel_de_read(dev_priv, TRANS_DDI_FUNC_CTL(cpu_transcoder)) & TRANS_DDI_FUNC_ENABLE;
total: 0 errors, 2 warnings, 0 checks, 212 lines checked 863eb87e7767 drm/i915/pps: move pps (panel) modeset asserts to intel_pps.c eb1f620aa3b1 drm/i915/dpll: move dpll modeset asserts to intel_dpll.c 23c986a8b295 drm/i915/dsi: move dsi pll modeset asserts to vlv_dsi_pll.c
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/display: move modeset asserts out of intel_display.c
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915/display: move modeset asserts out of intel_display.c
URL : https://patchwork.freedesktop.org/series/95258/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10664 -> Patchwork_21199
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/index.html
Known issues
------------
Here are the changes found in Patchwork_21199 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@query-info:
- fi-tgl-1115g4: NOTRUN -> [SKIP][1] ([fdo#109315])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-tgl-1115g4/igt@amdgpu/[email protected]
* igt@amdgpu/amd_cs_nop@nop-gfx0:
- fi-tgl-1115g4: NOTRUN -> [SKIP][2] ([fdo#109315] / [i915#2575]) +16 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-tgl-1115g4/igt@amdgpu/[email protected]
* igt@gem_exec_suspend@basic-s0:
- fi-tgl-1115g4: NOTRUN -> [FAIL][3] ([i915#1888])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-tgl-1115g4/igt@[email protected]
* igt@gem_exec_suspend@basic-s3:
- fi-skl-6600u: [PASS][4] -> [INCOMPLETE][5] ([i915#198] / [i915#4173])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/fi-skl-6600u/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-skl-6600u/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-tgl-1115g4: NOTRUN -> [SKIP][6] ([i915#2190])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-tgl-1115g4/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- fi-tgl-1115g4: NOTRUN -> [SKIP][7] ([i915#1155])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-tgl-1115g4/igt@[email protected]
* igt@i915_selftest@live@execlists:
- fi-bsw-kefka: [PASS][8] -> [INCOMPLETE][9] ([i915#2940])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/fi-bsw-kefka/igt@i915_selftest@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-bsw-kefka/igt@i915_selftest@[email protected]
- fi-bsw-n3050: [PASS][10] -> [INCOMPLETE][11] ([i915#2940])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/fi-bsw-n3050/igt@i915_selftest@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-bsw-n3050/igt@i915_selftest@[email protected]
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-tgl-1115g4: NOTRUN -> [SKIP][12] ([fdo#111827]) +8 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-tgl-1115g4/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-1115g4: NOTRUN -> [SKIP][13] ([i915#4103]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-tgl-1115g4/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-1115g4: NOTRUN -> [SKIP][14] ([fdo#109285])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-tgl-1115g4/igt@[email protected]
* igt@kms_psr@primary_mmap_gtt:
- fi-tgl-1115g4: NOTRUN -> [SKIP][15] ([i915#1072]) +3 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-tgl-1115g4/igt@kms_psr@primary_mmap_gtt.html
* igt@prime_vgem@basic-userptr:
- fi-tgl-1115g4: NOTRUN -> [SKIP][16] ([i915#3301])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-tgl-1115g4/igt@[email protected]
* igt@runner@aborted:
- fi-bsw-kefka: NOTRUN -> [FAIL][17] ([fdo#109271] / [i915#1436] / [i915#2722] / [i915#3428])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-bsw-kefka/igt@[email protected]
- fi-bsw-n3050: NOTRUN -> [FAIL][18] ([fdo#109271] / [i915#1436] / [i915#3428])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/fi-bsw-n3050/igt@[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#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#198]: https://gitlab.freedesktop.org/drm/intel/issues/198
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#2940]: https://gitlab.freedesktop.org/drm/intel/issues/2940
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3428]: https://gitlab.freedesktop.org/drm/intel/issues/3428
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4173]: https://gitlab.freedesktop.org/drm/intel/issues/4173
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
Participating hosts (32 -> 28)
------------------------------
Additional (2): fi-jsl-1 fi-tgl-1115g4
Missing (6): bat-dg1-6 fi-tgl-u2 fi-bsw-cyan bat-adlp-4 bat-jsl-2 bat-jsl-1
Build changes
-------------
* Linux: CI_DRM_10664 -> Patchwork_21199
CI-20190529: 20190529
CI_DRM_10664: 2c1d97b964837826759c1b9f93235cfda14ea9a0 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6228: 22643ce4014a0b2dc52ce7916b2f657e2a7757c3 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21199: 23c986a8b29538be860cfb4eb660982c4fc18e99 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
23c986a8b295 drm/i915/dsi: move dsi pll modeset asserts to vlv_dsi_pll.c eb1f620aa3b1 drm/i915/dpll: move dpll modeset asserts to intel_dpll.c 863eb87e7767 drm/i915/pps: move pps (panel) modeset asserts to intel_pps.c 25961813c19b drm/i915/fdi: move fdi modeset asserts to intel_fdi.c
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/display: move modeset asserts out of intel_display.c
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915/display: move modeset asserts out of intel_display.c
URL : https://patchwork.freedesktop.org/series/95258/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10664_full -> Patchwork_21199_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_21199_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_isolation@preservation-s3@bcs0:
- shard-kbl: [PASS][1] -> [DMESG-WARN][2] ([i915#180]) +5 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-kbl2/igt@gem_ctx_isolation@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl7/igt@gem_ctx_isolation@[email protected]
* igt@gem_eio@in-flight-1us:
- shard-skl: [PASS][3] -> [TIMEOUT][4] ([i915#3063])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl8/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl3/igt@[email protected]
* igt@gem_eio@in-flight-suspend:
- shard-tglb: [PASS][5] -> [INCOMPLETE][6] ([i915#456]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-tglb5/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb7/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-iclb: NOTRUN -> [TIMEOUT][7] ([i915#2369] / [i915#2481] / [i915#3070])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb3/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [PASS][8] -> [FAIL][9] ([i915#2846])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-glk9/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-glk7/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [PASS][10] -> [FAIL][11] ([i915#2842]) +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-iclb4/igt@gem_exec_fair@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-kbl: [PASS][12] -> [FAIL][13] ([i915#2842]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-kbl6/igt@gem_exec_fair@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-glk: [PASS][14] -> [FAIL][15] ([i915#2842])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-glk5/igt@gem_exec_fair@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-glk8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-iclb: NOTRUN -> [FAIL][16] ([i915#2842])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb4/igt@gem_exec_fair@[email protected]
* igt@gem_exec_params@no-bsd:
- shard-tglb: NOTRUN -> [SKIP][17] ([fdo#109283])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][18] ([fdo#109283])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb3/igt@[email protected]
* igt@gem_exec_whisper@basic-queues-forked-all:
- shard-glk: [PASS][19] -> [DMESG-WARN][20] ([i915#118] / [i915#95]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-glk1/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-glk5/igt@[email protected]
* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-glk: [PASS][21] -> [FAIL][22] ([i915#644])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-glk2/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-glk4/igt@[email protected]
* igt@gem_pwrite@basic-exhaustion:
- shard-apl: NOTRUN -> [WARN][23] ([i915#2658])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl1/igt@[email protected]
* igt@gem_userptr_blits@input-checking:
- shard-apl: NOTRUN -> [DMESG-WARN][24] ([i915#3002])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl3/igt@[email protected]
* igt@gen7_exec_parse@load-register-reg:
- shard-iclb: NOTRUN -> [SKIP][25] ([fdo#109289])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][26] ([fdo#109289])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb1/igt@[email protected]
* igt@gen9_exec_parse@bb-large:
- shard-iclb: NOTRUN -> [SKIP][27] ([i915#2856])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb8/igt@[email protected]
* igt@gen9_exec_parse@bb-start-out:
- shard-tglb: NOTRUN -> [SKIP][28] ([i915#2856])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb8/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-kbl: NOTRUN -> [FAIL][29] ([i915#454])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl4/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-tglb: NOTRUN -> [WARN][30] ([i915#2681])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [WARN][31] ([i915#1804] / [i915#2684])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb3/igt@[email protected]
* igt@i915_pm_rpm@modeset-pc8-residency-stress:
- shard-apl: NOTRUN -> [SKIP][32] ([fdo#109271]) +264 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl2/igt@[email protected]
* igt@i915_suspend@debugfs-reader:
- shard-apl: [PASS][33] -> [DMESG-WARN][34] ([i915#180]) +2 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-apl1/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl3/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][35] ([fdo#110725] / [fdo#111614]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][36] ([fdo#111614])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb1/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-kbl: NOTRUN -> [SKIP][37] ([fdo#109271] / [i915#3777])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl4/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-apl: NOTRUN -> [SKIP][38] ([fdo#109271] / [i915#3777]) +2 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl6/igt@[email protected]
* igt@kms_big_fb@yf-tiled-16bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][39] ([fdo#111615])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb8/igt@[email protected]
* igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-iclb: NOTRUN -> [SKIP][40] ([fdo#109278] / [i915#3886])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb8/igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][41] ([fdo#109271] / [i915#3886]) +15 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl7/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs.html
- shard-kbl: NOTRUN -> [SKIP][42] ([fdo#109271] / [i915#3886]) +2 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl3/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-random-ccs-data-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][43] ([i915#3689])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb1/igt@kms_ccs@pipe-c-random-ccs-data-yf_tiled_ccs.html
* igt@kms_chamelium@hdmi-mode-timings:
- shard-kbl: NOTRUN -> [SKIP][44] ([fdo#109271] / [fdo#111827]) +9 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl7/igt@[email protected]
* igt@kms_chamelium@vga-hpd:
- shard-apl: NOTRUN -> [SKIP][45] ([fdo#109271] / [fdo#111827]) +19 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl1/igt@[email protected]
* igt@kms_color@pipe-a-ctm-0-75:
- shard-skl: [PASS][46] -> [DMESG-WARN][47] ([i915#1982])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl1/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl4/igt@[email protected]
* igt@kms_color@pipe-d-gamma:
- shard-iclb: NOTRUN -> [SKIP][48] ([fdo#109278] / [i915#1149])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb8/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-0-25:
- shard-iclb: NOTRUN -> [SKIP][49] ([fdo#109284] / [fdo#111827])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][50] ([fdo#109284] / [fdo#111827])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb1/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-kbl: NOTRUN -> [TIMEOUT][51] ([i915#1319])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl7/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-apl: NOTRUN -> [FAIL][52] ([i915#2105])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl2/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-512x512-sliding:
- shard-iclb: NOTRUN -> [SKIP][53] ([fdo#109278] / [fdo#109279])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb3/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][54] ([fdo#109279] / [i915#3359])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb1/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-alpha-opaque:
- shard-apl: NOTRUN -> [FAIL][55] ([i915#3444])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl2/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-tglb: [PASS][56] -> [INCOMPLETE][57] ([i915#2411] / [i915#456])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-tglb8/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb7/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-dpms:
- shard-iclb: NOTRUN -> [SKIP][58] ([fdo#109278]) +4 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-max-size-offscreen:
- shard-tglb: NOTRUN -> [SKIP][59] ([i915#3359])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb8/igt@[email protected]
* igt@kms_flip@2x-flip-vs-panning:
- shard-iclb: NOTRUN -> [SKIP][60] ([fdo#109274])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb3/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-skl: [PASS][61] -> [FAIL][62] ([i915#79]) +1 similar issue
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl6/igt@kms_flip@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl7/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@b-edp1:
- shard-skl: [PASS][63] -> [INCOMPLETE][64] ([i915#146] / [i915#198])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl5/igt@kms_flip@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl8/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate@b-edp1:
- shard-skl: [PASS][65] -> [FAIL][66] ([i915#2122]) +2 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl8/igt@kms_flip@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl2/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs:
- shard-tglb: NOTRUN -> [SKIP][67] ([i915#2587])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb8/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs:
- shard-apl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#2672])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl6/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile:
- shard-iclb: [PASS][69] -> [SKIP][70] ([i915#3701])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-iclb8/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-render:
- shard-tglb: NOTRUN -> [SKIP][71] ([fdo#111825]) +4 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb8/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-onoff:
- shard-iclb: NOTRUN -> [SKIP][72] ([fdo#109280]) +1 similar issue
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-mmap-wc:
- shard-skl: NOTRUN -> [SKIP][73] ([fdo#109271]) +3 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl5/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:
- shard-kbl: NOTRUN -> [SKIP][74] ([fdo#109271]) +78 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl4/igt@[email protected]
* igt@kms_hdr@bpc-switch-suspend:
- shard-skl: [PASS][75] -> [FAIL][76] ([i915#1188])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl4/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl7/igt@[email protected]
* igt@kms_pipe_crc_basic@hang-read-crc-pipe-d:
- shard-kbl: NOTRUN -> [SKIP][77] ([fdo#109271] / [i915#533])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl4/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-d:
- shard-apl: NOTRUN -> [SKIP][78] ([fdo#109271] / [i915#533]) +2 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl1/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-b-planes:
- shard-apl: NOTRUN -> [DMESG-WARN][79] ([i915#180])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl6/igt@kms_plane@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-basic:
- shard-kbl: NOTRUN -> [FAIL][80] ([fdo#108145] / [i915#265])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-alpha-basic:
- shard-apl: NOTRUN -> [FAIL][81] ([fdo#108145] / [i915#265]) +4 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl2/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
- shard-skl: [PASS][82] -> [FAIL][83] ([fdo#108145] / [i915#265]) +2 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl10/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl2/igt@[email protected]
* igt@kms_plane_lowres@pipe-a-tiling-none:
- shard-tglb: NOTRUN -> [SKIP][84] ([i915#3536])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb8/igt@[email protected]
* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-apl: NOTRUN -> [SKIP][85] ([fdo#109271] / [i915#2733])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl6/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-apl: NOTRUN -> [SKIP][86] ([fdo#109271] / [i915#658]) +7 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl2/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-4:
- shard-tglb: NOTRUN -> [SKIP][87] ([i915#2920])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb8/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-2:
- shard-kbl: NOTRUN -> [SKIP][88] ([fdo#109271] / [i915#658])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl4/igt@[email protected]
* igt@kms_psr@psr2_dpms:
- shard-tglb: NOTRUN -> [FAIL][89] ([i915#132] / [i915#3467]) +1 similar issue
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb1/igt@kms_psr@psr2_dpms.html
- shard-iclb: NOTRUN -> [SKIP][90] ([fdo#109441])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb3/igt@kms_psr@psr2_dpms.html
* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [PASS][91] -> [SKIP][92] ([fdo#109441])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb8/igt@kms_psr@psr2_primary_page_flip.html
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-apl: [PASS][93] -> [DMESG-WARN][94] ([i915#180] / [i915#295])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-apl7/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl3/igt@[email protected]
* igt@kms_writeback@writeback-fb-id:
- shard-apl: NOTRUN -> [SKIP][95] ([fdo#109271] / [i915#2437]) +1 similar issue
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl7/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][96] ([fdo#109271] / [i915#2437])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl3/igt@[email protected]
* igt@prime_nv_api@i915_nv_import_vs_close:
- shard-tglb: NOTRUN -> [SKIP][97] ([fdo#109291])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb1/igt@prime_nv_api@i915_nv_import_vs_close.html
- shard-iclb: NOTRUN -> [SKIP][98] ([fdo#109291])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb3/igt@prime_nv_api@i915_nv_import_vs_close.html
* igt@sysfs_clients@recycle-many:
- shard-apl: NOTRUN -> [SKIP][99] ([fdo#109271] / [i915#2994]) +4 similar issues
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl2/igt@[email protected]
* igt@sysfs_clients@sema-25:
- shard-kbl: NOTRUN -> [SKIP][100] ([fdo#109271] / [i915#2994]) +1 similar issue
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl4/igt@[email protected]
#### Possible fixes ####
* igt@gem_eio@in-flight-contexts-10ms:
- shard-tglb: [TIMEOUT][101] ([i915#3063]) -> [PASS][102]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-tglb3/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb5/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-apl: [SKIP][103] ([fdo#109271]) -> [PASS][104]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-apl2/igt@gem_exec_fair@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-kbl: [FAIL][105] ([i915#2842]) -> [PASS][106]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-kbl4/igt@gem_exec_fair@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl4/igt@gem_exec_fair@[email protected]
* igt@gem_exec_nop@basic-series:
- shard-glk: [DMESG-WARN][107] ([i915#118] / [i915#95]) -> [PASS][108]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-glk8/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-glk8/igt@[email protected]
* igt@i915_suspend@forcewake:
- shard-tglb: [INCOMPLETE][109] ([i915#2411] / [i915#456]) -> [PASS][110]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-tglb7/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-tglb8/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-skl: [FAIL][111] ([i915#2346]) -> [PASS][112]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl2/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl1/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [DMESG-WARN][113] ([i915#180]) -> [PASS][114]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-kbl7/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl3/igt@[email protected]
* igt@kms_hdr@bpc-switch:
- shard-skl: [FAIL][115] ([i915#1188]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl8/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl3/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-kbl: [INCOMPLETE][117] ([i915#794]) -> [PASS][118]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-kbl3/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl7/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
- shard-apl: [DMESG-WARN][119] ([i915#180]) -> [PASS][120]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-apl6/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-apl2/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [FAIL][121] ([fdo#108145] / [i915#265]) -> [PASS][122]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl9/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl6/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [SKIP][123] ([fdo#109441]) -> [PASS][124] +2 similar issues
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-iclb8/igt@kms_psr@psr2_sprite_plane_move.html
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-kbl: [DMESG-WARN][125] ([i915#180] / [i915#295]) -> [PASS][126]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-kbl7/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl4/igt@[email protected]
* igt@perf@polling-small-buf:
- shard-skl: [FAIL][127] ([i915#1722]) -> [PASS][128]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl2/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl1/igt@[email protected]
* igt@sysfs_heartbeat_interval@precise@vecs0:
- shard-kbl: [FAIL][129] ([i915#1755]) -> [PASS][130]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-kbl3/igt@sysfs_heartbeat_interval@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-kbl6/igt@sysfs_heartbeat_interval@[email protected]
#### Warnings ####
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [WARN][131] ([i915#1804] / [i915#2684]) -> [WARN][132] ([i915#2684])
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-iclb4/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb8/igt@[email protected]
* igt@kms_big_fb@linear-32bpp-rotate-0:
- shard-glk: [DMESG-WARN][133] ([i915#118] / [i915#95]) -> [DMESG-WARN][134] ([i915#118] / [i915#1982] / [i915#95])
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-glk6/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-glk5/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-skl: [FAIL][135] ([i915#3722]) -> [FAIL][136] ([i915#3743])
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-skl7/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-skl9/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-iclb: [SKIP][137] ([i915#658]) -> [SKIP][138] ([i915#2920])
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-iclb8/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-3:
- shard-iclb: [SKIP][139] ([i915#2920]) -> [SKIP][140] ([i915#658]) +4 similar issues
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-iclb2/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb8/igt@[email protected]
* igt@kms_psr2_su@page_flip:
- shard-iclb: [SKIP][141] ([fdo#109642] / [fdo#111068] / [i915#658]) -> [FAIL][142] ([i915#4148])
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10664/shard-iclb8/igt@kms_psr2_su@page_flip.html
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/shard-iclb2/igt@kms_psr2_su@page_flip.html
* igt@runner@aborted:
- shard-kbl: ([FAIL][143], [FAIL][144], [FAIL][145], [FAIL][146], [FAIL][147]
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21199/index.html
Re: [Intel-gfx] [PATCH 1/4] drm/i915/fdi: move fdi modeset asserts to intel_fdi.c
In reply to Jani NikulaQuoted 60 lines · Jani Nikula
Quoted 38 lines · Ville Syrjälä
On Thu, Sep 30, 2021 at 12:22:58PM +0300, Jani Nikula wrote:
<snip>Quoted 36 lines
drivers/gpu/drm/i915/display/intel_fdi.c +28
-0@@ -10,6 +10,97 @@#include "intel_fdi.h" #include "intel_sideband.h" +static void assert_fdi_tx (struct drm_i915_private *dev_priv, +enum pipe pipe,bool state) +{ +bool cur_state; + +if (HAS_DDI (dev_priv)) { +/* +* DDI does not have a specific FDI_TX register. +* +* FDI is never fed from EDP transcoder +* so pipe->transcoder cast is fine here. +*/ +enum transcoder cpu_transcoder = (enum transcoder )pipe; + cur_state =intel_de_read (dev_priv,TRANS_DDI_FUNC_CTL (cpu_transcoder)) &TRANS_DDI_FUNC_ENABLE ; + }else { + cur_state =intel_de_read (dev_priv,FDI_TX_CTL (pipe)) &FDI_TX_ENABLE ; + } +I915_STATE_WARN (cur_state != state, +"FDI TX state assertion failure (expected %s, current %s)\n" , +onoff (state),onoff (cur_state)); +} + +void assert_fdi_tx_enabled (struct drm_i915_private *i915,enum pipe pipe) +{ +assert_fdi_tx (i915, pipe, true); +} + +void assert_fdi_tx_disabled (struct drm_i915_private *i915,enum pipe pipe)Quoted 8 lines
drivers/gpu/drm/i915/display/intel_fdi.c line 43
Quoted 3 lines
drivers/gpu/drm/i915/display/intel_fdi.c +3
-0+{ +assert_fdi_tx (i915, pipe, false); +}For these wrappers I could argue that static inlines would be less loc overall, while still wouldn't need any extra struct definitions/etc. in the header. But not performance sensitive so from that pov static inline is pointless.
I didn't actually check the compiler output, but I think even performance wise it'll probably end up being just one function call either way. It's just a question which side of the call the logic is. But agreed, doesn't really matter.
Anyway, the main argument I have for avoiding static inlines is to not set an example to cargo cult from. They should be the exception, not the rule. I think both the driver and the team have grown big enough to require a style that promotes better structure. Because let's face it, people look at what's there, copy the style, and not think of all the subtleties.
Quoted 5 lines
Quoted 2 lines
Anyways, this approach seems fine to me. For the series
Reviewed-by Ville Syrjälä <[email protected]>Thanks,
Jani.
And pushed.
BR,
Jani.
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center