drm/i915: Use enum pipe instead of crtc index to track active pipes
Subsystems (3)
PATCH 1/5 drm/i915: Use enum pipe instead of crtc index to track active pipes
From: Ville Syrjälä <[email protected]>
We may need to eliminate the crtc->index == pipe assumptions from the code to support arbitrary pipes being fused off. Start that by switching some bitmasks over to using pipe instead of the crtc index.
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 12 +++++------ drivers/gpu/drm/i915/display/intel_display.c | 20 +++++++++---------- .../drm/i915/display/intel_display_types.h | 4 ++-- drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/intel_pm.c | 20 +++++++++---------- 5 files changed, 29 insertions(+), 29 deletions(-)
drivers/gpu/drm/i915/display/intel_cdclk.c +6 -6
@@ -2369,7 +2369,7 @@ static int vlv_modeset_calc_cdclk(struct intel_atomic_state *state) state->cdclk.logical.voltage_level =vlv_calc_voltage_level (dev_priv, cdclk); -if (!state->active_crtcs) { +if (!state->active_pipes) { cdclk =vlv_calc_cdclk (dev_priv, state->cdclk.force_min_cdclk); state->cdclk.actual.cdclk = cdclk;
@@ -2400,7 +2400,7 @@ static int bdw_modeset_calc_cdclk(struct intel_atomic_state *state) state->cdclk.logical.voltage_level =bdw_calc_voltage_level (cdclk); -if (!state->active_crtcs) { +if (!state->active_pipes) { cdclk =bdw_calc_cdclk (state->cdclk.force_min_cdclk); state->cdclk.actual.cdclk = cdclk;
@@ -2470,7 +2470,7 @@ static int skl_modeset_calc_cdclk(struct intel_atomic_state *state) state->cdclk.logical.voltage_level =skl_calc_voltage_level (cdclk); -if (!state->active_crtcs) { +if (!state->active_pipes) { cdclk =skl_calc_cdclk (state->cdclk.force_min_cdclk, vco); state->cdclk.actual.vco = vco;
@@ -2506,7 +2506,7 @@ static int bxt_modeset_calc_cdclk(struct intel_atomic_state *state) state->cdclk.logical.voltage_level =bxt_calc_voltage_level (cdclk); -if (!state->active_crtcs) { +if (!state->active_pipes) {if (IS_GEMINILAKE (dev_priv)) { cdclk =glk_calc_cdclk (state->cdclk.force_min_cdclk); vco =glk_de_pll_vco (dev_priv, cdclk);
@@ -2544,7 +2544,7 @@ static int cnl_modeset_calc_cdclk(struct intel_atomic_state *state)max (cnl_calc_voltage_level (cdclk),cnl_compute_min_voltage_level (state)); -if (!state->active_crtcs) { +if (!state->active_pipes) { cdclk =cnl_calc_cdclk (state->cdclk.force_min_cdclk); vco =cnl_cdclk_pll_vco (dev_priv, cdclk);
@@ -2578,7 +2578,7 @@ static int icl_modeset_calc_cdclk(struct intel_atomic_state *state)max (icl_calc_voltage_level (dev_priv, cdclk),cnl_compute_min_voltage_level (state)); -if (!state->active_crtcs) { +if (!state->active_pipes) { cdclk =icl_calc_cdclk (state->cdclk.force_min_cdclk, ref); vco =icl_calc_cdclk_pll_vco (dev_priv, cdclk);
drivers/gpu/drm/i915/display/intel_display.c +10 -10
@@ -7080,7 +7080,7 @@ static void intel_crtc_disable_noatomic(struct drm_crtc *crtc,intel_display_power_put_unchecked (dev_priv, domain); intel_crtc->enabled_power_domains =0 ; - dev_priv->active_crtcs &= ~(1 << intel_crtc->pipe); + dev_priv->active_pipes &= ~BIT (intel_crtc->pipe); dev_priv->min_cdclk[intel_crtc->pipe] =0 ; dev_priv->min_voltage_level[intel_crtc->pipe] =0 ;
@@ -13452,7 +13452,7 @@ static int intel_modeset_checks(struct intel_atomic_state *state) state->cdclk.force_min_cdclk = dev_priv->cdclk.force_min_cdclk; state->modeset = true; - state->active_crtcs = dev_priv->active_crtcs; + state->active_pipes = dev_priv->active_pipes; state->cdclk.logical = dev_priv->cdclk.logical; state->cdclk.actual = dev_priv->cdclk.actual; state->cdclk.pipe =INVALID_PIPE ;
@@ -13460,12 +13460,12 @@ static int intel_modeset_checks(struct intel_atomic_state *state)for_each_oldnew_intel_crtc_in_state (state, crtc, old_crtc_state, new_crtc_state, i) {if (new_crtc_state->base.active) - state->active_crtcs |=1 << i; + state->active_pipes |=BIT (crtc->pipe);else - state->active_crtcs &= ~(1 << i); + state->active_pipes &= ~BIT (crtc->pipe);if (old_crtc_state->base.active != new_crtc_state->base.active) - state->active_pipe_changes |=drm_crtc_mask (&crtc->base); + state->active_pipe_changes |=BIT (crtc->pipe); }/*
@@ -13494,11 +13494,11 @@ static int intel_modeset_checks(struct intel_atomic_state *state)return ret; } -if (is_power_of_2 (state->active_crtcs)) { +if (is_power_of_2 (state->active_pipes)) {struct intel_crtc *crtc;struct intel_crtc_state *crtc_state; - pipe =ilog2 (state->active_crtcs); + pipe =ilog2 (state->active_pipes); crtc =intel_get_crtc_for_pipe (dev_priv, pipe); crtc_state =intel_atomic_get_new_crtc_state (state, crtc);if (crtc_state &&needs_modeset (crtc_state))
@@ -14191,7 +14191,7 @@ static int intel_atomic_commit(struct drm_device *dev, sizeof(state->min_cdclk));memcpy (dev_priv->min_voltage_level, state->min_voltage_level,sizeof (state->min_voltage_level)); - dev_priv->active_crtcs = state->active_crtcs; + dev_priv->active_pipes = state->active_pipes; dev_priv->cdclk.force_min_cdclk = state->cdclk.force_min_cdclk;intel_cdclk_swap_state (state);
@@ -16640,7 +16640,7 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)struct drm_connector_list_iter conn_iter;int i; - dev_priv->active_crtcs =0 ; + dev_priv->active_pipes =0 ;for_each_intel_crtc (dev, crtc) { struct intel_crtc_state *crtc_state =
@@ -16657,7 +16657,7 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev) crtc->active = crtc_state->base.active;if (crtc_state->base.active) - dev_priv->active_crtcs |=1 << crtc->pipe; + dev_priv->active_pipes |=BIT (crtc->pipe); DRM_DEBUG_KMS("[CRTC:%d:%s] hw state readout: %s\n", crtc->base.base.id, crtc->base.name,
drivers/gpu/drm/i915/display/intel_display_types.h +2 -2
@@ -481,9 +481,9 @@ struct intel_atomic_state {* but the converse is not necessarily true; simply changing a mode may * not flip the final active status of any CRTC's */ -unsigned int active_pipe_changes; +u8 active_pipe_changes; -unsigned int active_crtcs; +u8 active_pipes;/* minimum acceptable cdclk for each pipe */ int min_cdclk[I915_MAX_PIPES ];/* minimum acceptable voltage level for each pipe */
drivers/gpu/drm/i915/i915_drv.h +1 -1
@@ -1467,7 +1467,7 @@ struct drm_i915_private {*/ struct mutex dpll_lock; -unsigned int active_crtcs; +u8 active_pipes;/* minimum acceptable cdclk for each pipe */ int min_cdclk[I915_MAX_PIPES ];/* minimum acceptable voltage level for each pipe */
drivers/gpu/drm/i915/intel_pm.c +10 -10
@@ -3761,18 +3761,18 @@ bool intel_can_enable_sagv(struct intel_atomic_state *state)/* * If there are no active CRTCs, no additional checks need be performed */ -if (hweight32 (state->active_crtcs) ==0 ) +if (hweight32 (state->active_pipes) ==0 )return true;/* * SKL+ workaround: bspec recommends we disable SAGV when we have * more then one pipe enabled */ -if (hweight32 (state->active_crtcs) >1 ) +if (hweight32 (state->active_pipes) >1 )return false;/* Since we're now guaranteed to only have one active CRTC... */ - pipe =ffs (state->active_crtcs) -1 ; + pipe =ffs (state->active_pipes) -1 ; crtc =intel_get_crtc_for_pipe (dev_priv, pipe); crtc_state =to_intel_crtc_state (crtc->base.state);
@@ -3867,14 +3867,14 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,if (WARN_ON (!state) || !crtc_state->base.active) { alloc->start =0 ; alloc->end =0 ; - *num_active =hweight32 (dev_priv->active_crtcs); + *num_active =hweight32 (dev_priv->active_pipes);return ; }if (intel_state->active_pipe_changes) - *num_active =hweight32 (intel_state->active_crtcs); + *num_active =hweight32 (intel_state->active_pipes);else - *num_active =hweight32 (dev_priv->active_crtcs); + *num_active =hweight32 (dev_priv->active_pipes); ddb_size =intel_get_ddb_size (dev_priv, crtc_state, total_data_rate, *num_active, ddb);
@@ -5464,7 +5464,7 @@ skl_ddb_add_affected_pipes(struct intel_atomic_state *state, bool *changed)* If this transaction isn't actually touching any CRTC's, don't * bother with watermark calculation. Note that if we pass this * test, we're guaranteed to hold at least one CRTC state mutex, -* which means we can safely use values like dev_priv->active_crtcs +* which means we can safely use values like dev_priv->active_pipes * since any racing commits that want to update them would need to * hold _all_ CRTC state mutexes. */
@@ -5489,13 +5489,13 @@ skl_ddb_add_affected_pipes(struct intel_atomic_state *state, bool *changed) state->active_pipe_changes = ~0 ;/* -* We usually only initialize state->active_crtcs if we +* We usually only initialize state->active_pipes if we * we're doing a modeset; make sure this field is always * initialized during the sanitization process that happens * on the first commit too. */ if (!state->modeset) - state->active_crtcs = dev_priv->active_crtcs; + state->active_pipes = dev_priv->active_pipes; }/*
@@ -5811,7 +5811,7 @@ void skl_wm_get_hw_state(struct drm_i915_private *dev_priv) hw->dirty_pipes |=drm_crtc_mask (&crtc->base); } -if (dev_priv->active_crtcs) { +if (dev_priv->active_pipes) {/* Fully recompute DDB on first atomic commit */ dev_priv->wm.distrust_bios_wm = true; }
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/5 drm/i915: Unconfuse pipe vs. crtc->index in i915_get_crtc_scanoutpos()
From: Ville Syrjälä <[email protected]>
The "pipe" argument passed in by the vblank code is in fact the crtc index. Don't assume that is the same as the pipe.
--- drivers/gpu/drm/i915/i915_irq.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/i915_irq.c +4 -4
@@ -942,14 +942,14 @@ static int __intel_get_crtc_scanline(struct intel_crtc *crtc)return (position + crtc->scanline_offset) % vtotal; } -bool i915_get_crtc_scanoutpos (struct drm_device *dev,unsigned int pipe, +bool i915_get_crtc_scanoutpos (struct drm_device *dev,unsigned int index,bool in_vblank_irq,int *vpos,int *hpos,ktime_t *stime,ktime_t *etime,const struct drm_display_mode *mode) {struct drm_i915_private *dev_priv =to_i915 (dev); -struct intel_crtc *intel_crtc =intel_get_crtc_for_pipe (dev_priv, - pipe); +struct intel_crtc *crtc =to_intel_crtc (drm_crtc_from_index (dev, index)); +enum pipe pipe = crtc->pipe;int position;int vbl_start, vbl_end, hsync_start, htotal, vtotal;unsigned long irqflags;
@@ -992,7 +992,7 @@ bool i915_get_crtc_scanoutpos(struct drm_device *dev, unsigned int pipe,/* No obvious pixelcount register. Only query vertical * scanout position from Display scan line register. */ - position =__intel_get_crtc_scanline (intel_crtc); + position =__intel_get_crtc_scanline (crtc); }else {/* Have access to pixelcount since start of frame. * We can split this into vertical and horizontal
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 3/5 drm/i915: Use enum pipe consistently
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Replace all "int pipe"s with "enum pipe pipe"s to make it clear what we're dealing with.
--- drivers/gpu/drm/i915/display/intel_display.c | 42 +++++++++---------- .../drm/i915/display/intel_display_types.h | 2 +- drivers/gpu/drm/i915/display/intel_dvo.c | 2 +- drivers/gpu/drm/i915/display/intel_lvds.c | 2 +- drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- drivers/gpu/drm/i915/i915_debugfs.c | 2 +- drivers/gpu/drm/i915/i915_irq.c | 11 ++--- drivers/gpu/drm/i915/intel_pm.c | 2 +- 8 files changed, 33 insertions(+), 32 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +21 -21
@@ -490,7 +490,7 @@ static const struct intel_limit intel_limits_bxt = {/* WA Display #0827: Gen9:all */ static void -skl_wa_827 (struct drm_i915_private *dev_priv,int pipe,bool enable) +skl_wa_827 (struct drm_i915_private *dev_priv,enum pipe pipe,bool enable) {if (enable) I915_WRITE(CLKGATE_DIS_PSL(pipe),
@@ -4421,7 +4421,7 @@ static void intel_fdi_normal_train(struct intel_crtc *crtc) {struct drm_device *dev = crtc->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev); -int pipe = crtc->pipe; +enum pipe pipe = crtc->pipe;i915_reg_t reg;u32 temp;
@@ -4464,7 +4464,7 @@ static void ironlake_fdi_link_train(struct intel_crtc *crtc, {struct drm_device *dev = crtc->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev); -int pipe = crtc->pipe; +enum pipe pipe = crtc->pipe;i915_reg_t reg;u32 temp, tries;
@@ -4565,7 +4565,7 @@ static void gen6_fdi_link_train(struct intel_crtc *crtc, {struct drm_device *dev = crtc->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev); -int pipe = crtc->pipe; +enum pipe pipe = crtc->pipe;i915_reg_t reg;u32 temp, i, retry;
@@ -4698,7 +4698,7 @@ static void ivb_manual_fdi_link_train(struct intel_crtc *crtc, {struct drm_device *dev = crtc->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev); -int pipe = crtc->pipe; +enum pipe pipe = crtc->pipe;i915_reg_t reg;u32 temp, i, j;
@@ -4816,7 +4816,7 @@ static void ironlake_fdi_pll_enable(const struct intel_crtc_state *crtc_state) {struct intel_crtc *intel_crtc =to_intel_crtc (crtc_state->base.crtc);struct drm_i915_private *dev_priv =to_i915 (intel_crtc->base.dev); -int pipe = intel_crtc->pipe; +enum pipe pipe = intel_crtc->pipe;i915_reg_t reg;u32 temp;
@@ -4853,7 +4853,7 @@ static void ironlake_fdi_pll_disable(struct intel_crtc *intel_crtc) {struct drm_device *dev = intel_crtc->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev); -int pipe = intel_crtc->pipe; +enum pipe pipe = intel_crtc->pipe;i915_reg_t reg;u32 temp;
@@ -4884,7 +4884,7 @@ static void ironlake_fdi_disable(struct drm_crtc *crtc)struct drm_device *dev = crtc->dev;struct drm_i915_private *dev_priv =to_i915 (dev);struct intel_crtc *intel_crtc =to_intel_crtc (crtc); -int pipe = intel_crtc->pipe; +enum pipe pipe = intel_crtc->pipe;i915_reg_t reg;u32 temp;
@@ -5199,7 +5199,7 @@ static void ironlake_pch_enable(const struct intel_atomic_state *state,struct intel_crtc *crtc =to_intel_crtc (crtc_state->base.crtc);struct drm_device *dev = crtc->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev); -int pipe = crtc->pipe; +enum pipe pipe = crtc->pipe;u32 temp;assert_pch_transcoder_disabled (dev_priv, pipe);
@@ -5294,7 +5294,7 @@ static void lpt_pch_enable(const struct intel_atomic_state *state,lpt_enable_pch_transcoder (dev_priv, cpu_transcoder); } -static void cpt_verify_modeset (struct drm_device *dev,int pipe) +static void cpt_verify_modeset (struct drm_device *dev,enum pipe pipe) {struct drm_i915_private *dev_priv =to_i915 (dev);i915_reg_t dslreg =PIPEDSL (pipe);
@@ -5633,7 +5633,7 @@ static void ironlake_pfit_enable(const struct intel_crtc_state *crtc_state) {struct intel_crtc *crtc =to_intel_crtc (crtc_state->base.crtc);struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); -int pipe = crtc->pipe; +enum pipe pipe = crtc->pipe;if (crtc_state->pch_pfit.enabled) {/* Force use of hard-coded filter coefficients
@@ -5746,7 +5746,7 @@ intel_post_enable_primary(struct drm_crtc *crtc,struct drm_device *dev = crtc->dev;struct drm_i915_private *dev_priv =to_i915 (dev);struct intel_crtc *intel_crtc =to_intel_crtc (crtc); -int pipe = intel_crtc->pipe; +enum pipe pipe = intel_crtc->pipe;/* * Gen2 reports pipe underruns whenever all planes are disabled.
@@ -5770,7 +5770,7 @@ intel_pre_disable_primary_noatomic(struct drm_crtc *crtc)struct drm_device *dev = crtc->dev;struct drm_i915_private *dev_priv =to_i915 (dev);struct intel_crtc *intel_crtc =to_intel_crtc (crtc); -int pipe = intel_crtc->pipe; +enum pipe pipe = intel_crtc->pipe;/* * Gen2 reports pipe underruns whenever all planes are disabled.
@@ -6293,7 +6293,7 @@ static void ironlake_crtc_enable(struct intel_crtc_state *pipe_config,struct drm_device *dev = crtc->dev;struct drm_i915_private *dev_priv =to_i915 (dev);struct intel_crtc *intel_crtc =to_intel_crtc (crtc); -int pipe = intel_crtc->pipe; +enum pipe pipe = intel_crtc->pipe;if (WARN_ON (intel_crtc->active))return ;
@@ -6426,7 +6426,7 @@ static void haswell_crtc_enable(struct intel_crtc_state *pipe_config,struct drm_crtc *crtc = pipe_config->base.crtc;struct drm_i915_private *dev_priv =to_i915 (crtc->dev);struct intel_crtc *intel_crtc =to_intel_crtc (crtc); -int pipe = intel_crtc->pipe, hsw_workaround_pipe; +enum pipe pipe = intel_crtc->pipe, hsw_workaround_pipe;enum transcoder cpu_transcoder = pipe_config->cpu_transcoder;bool psl_clkgate_wa;
@@ -6552,7 +6552,7 @@ static void ironlake_crtc_disable(struct intel_crtc_state *old_crtc_state,struct drm_device *dev = crtc->dev;struct drm_i915_private *dev_priv =to_i915 (dev);struct intel_crtc *intel_crtc =to_intel_crtc (crtc); -int pipe = intel_crtc->pipe; +enum pipe pipe = intel_crtc->pipe;/* * Sometimes spurious CPU pipe underruns happen when the
@@ -6839,7 +6839,7 @@ static void valleyview_crtc_enable(struct intel_crtc_state *pipe_config,struct drm_device *dev = crtc->dev;struct drm_i915_private *dev_priv =to_i915 (dev);struct intel_crtc *intel_crtc =to_intel_crtc (crtc); -int pipe = intel_crtc->pipe; +enum pipe pipe = intel_crtc->pipe;if (WARN_ON (intel_crtc->active))return ;
@@ -6971,7 +6971,7 @@ static void i9xx_crtc_disable(struct intel_crtc_state *old_crtc_state,struct drm_device *dev = crtc->dev;struct drm_i915_private *dev_priv =to_i915 (dev);struct intel_crtc *intel_crtc =to_intel_crtc (crtc); -int pipe = intel_crtc->pipe; +enum pipe pipe = intel_crtc->pipe;/* * On gen2 planes are double buffered but the pipe isn't, so we must
@@ -8543,7 +8543,7 @@ static void vlv_crtc_clock_get(struct intel_crtc *crtc, {struct drm_device *dev = crtc->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev); -int pipe = pipe_config->cpu_transcoder; +enum pipe pipe = crtc->pipe;struct dpll clock;u32 mdiv;int refclk =100000 ;
@@ -8653,7 +8653,7 @@ static void chv_crtc_clock_get(struct intel_crtc *crtc, {struct drm_device *dev = crtc->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev); -int pipe = pipe_config->cpu_transcoder; +enum pipe pipe = crtc->pipe;enum dpio_channel port =vlv_pipe_to_channel (pipe);struct dpll clock;u32 cmn_dw13, pll_dw0, pll_dw1, pll_dw2, pll_dw3;
@@ -11265,7 +11265,7 @@ static void i9xx_crtc_clock_get(struct intel_crtc *crtc, {struct drm_device *dev = crtc->base.dev;struct drm_i915_private *dev_priv =to_i915 (dev); -int pipe = pipe_config->cpu_transcoder; +enum pipe pipe = crtc->pipe;u32 dpll = pipe_config->dpll_hw_state.dpll;u32 fp;struct dpll clock;
drivers/gpu/drm/i915/display/intel_display_types.h +1 -1
@@ -1509,7 +1509,7 @@ intel_wait_for_vblank(struct drm_i915_private *dev_priv, enum pipe pipe)drm_wait_one_vblank (&dev_priv->drm, pipe); }static inline void -intel_wait_for_vblank_if_active (struct drm_i915_private *dev_priv,int pipe) +intel_wait_for_vblank_if_active (struct drm_i915_private *dev_priv,enum pipe pipe) {const struct intel_crtc *crtc =intel_get_crtc_for_pipe (dev_priv, pipe);
drivers/gpu/drm/i915/display/intel_dvo.c +1 -1
@@ -280,7 +280,7 @@ static void intel_dvo_pre_enable(struct intel_encoder *encoder,struct intel_crtc *crtc =to_intel_crtc (pipe_config->base.crtc);const struct drm_display_mode *adjusted_mode = &pipe_config->base.adjusted_mode;struct intel_dvo *intel_dvo =enc_to_dvo (encoder); -int pipe = crtc->pipe; +enum pipe pipe = crtc->pipe;u32 dvo_val;i915_reg_t dvo_reg = intel_dvo->dev.dvo_reg;i915_reg_t dvo_srcdim_reg = intel_dvo->dev.dvo_srcdim_reg;
drivers/gpu/drm/i915/display/intel_lvds.c +1 -1
@@ -232,7 +232,7 @@ static void intel_pre_enable_lvds(struct intel_encoder *encoder,struct drm_i915_private *dev_priv =to_i915 (encoder->base.dev);struct intel_crtc *crtc =to_intel_crtc (pipe_config->base.crtc);const struct drm_display_mode *adjusted_mode = &pipe_config->base.adjusted_mode; -int pipe = crtc->pipe; +enum pipe pipe = crtc->pipe;u32 temp;if (HAS_PCH_SPLIT (dev_priv)) {
drivers/gpu/drm/i915/display/vlv_dsi.c +1 -1
@@ -749,7 +749,7 @@ static void intel_dsi_pre_enable(struct intel_encoder *encoder,struct drm_crtc *crtc = pipe_config->base.crtc;struct drm_i915_private *dev_priv =to_i915 (crtc->dev);struct intel_crtc *intel_crtc =to_intel_crtc (crtc); -int pipe = intel_crtc->pipe; +enum pipe pipe = intel_crtc->pipe;enum port port;u32 val;bool glk_cold_boot = false;
drivers/gpu/drm/i915/i915_debugfs.c +1 -1
@@ -376,7 +376,7 @@ static int i915_gem_object_info(struct seq_file *m, void *data)static void gen8_display_interrupt_info (struct seq_file *m) {struct drm_i915_private *dev_priv =node_to_i915 (m->private); -int pipe; +enum pipe pipe;for_each_pipe (dev_priv, pipe) {enum intel_display_power_domain power_domain;
drivers/gpu/drm/i915/i915_irq.c +6 -5
@@ -1716,7 +1716,7 @@ static void i9xx_pipestat_irq_reset(struct drm_i915_private *dev_priv)static void i9xx_pipestat_irq_ack (struct drm_i915_private *dev_priv,u32 iir,u32 pipe_stats[I915_MAX_PIPES ]) { -int pipe; +enum pipe pipe;spin_lock (&dev_priv->irq_lock);
@@ -1741,6 +1741,7 @@ static void i9xx_pipestat_irq_ack(struct drm_i915_private *dev_priv, status_mask =PIPE_FIFO_UNDERRUN_STATUS ;switch (pipe) { +default :case PIPE_A : iir_bit =I915_DISPLAY_PIPE_A_EVENT_INTERRUPT ;break ;
@@ -2136,7 +2137,7 @@ static void ibx_hpd_irq_handler(struct drm_i915_private *dev_priv,static void ibx_irq_handler (struct drm_i915_private *dev_priv,u32 pch_iir) { -int pipe; +enum pipe pipe;u32 hotplug_trigger = pch_iir &SDE_HOTPLUG_MASK ;ibx_hpd_irq_handler (dev_priv, hotplug_trigger, hpd_ibx);
@@ -2222,7 +2223,7 @@ static void cpt_serr_int_handler(struct drm_i915_private *dev_priv)static void cpt_irq_handler (struct drm_i915_private *dev_priv,u32 pch_iir) { -int pipe; +enum pipe pipe;u32 hotplug_trigger = pch_iir &SDE_HOTPLUG_MASK_CPT ;ibx_hpd_irq_handler (dev_priv, hotplug_trigger, hpd_cpt);
@@ -3246,7 +3247,7 @@ static void valleyview_irq_reset(struct drm_i915_private *dev_priv)static void gen8_irq_reset (struct drm_i915_private *dev_priv) {struct intel_uncore *uncore = &dev_priv->uncore; -int pipe; +enum pipe pipe;gen8_master_intr_disable (dev_priv->uncore.regs);
@@ -3271,7 +3272,7 @@ static void gen8_irq_reset(struct drm_i915_private *dev_priv)static void gen11_irq_reset (struct drm_i915_private *dev_priv) {struct intel_uncore *uncore = &dev_priv->uncore; -int pipe; +enum pipe pipe;gen11_master_intr_disable (dev_priv->uncore.regs);
drivers/gpu/drm/i915/intel_pm.c +1 -1
@@ -8858,7 +8858,7 @@ static void ilk_init_clock_gating(struct drm_i915_private *dev_priv)static void cpt_init_clock_gating (struct drm_i915_private *dev_priv) { -int pipe; +enum pipe pipe;u32 val;/*
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 4/5 drm/i915: s/num_active_crtcs/num_active_pipes/
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Set a good example and talk about pipes rather than crtcs.
--- drivers/gpu/drm/i915/intel_pm.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +7 -7
@@ -1490,7 +1490,7 @@ static void g4x_merge_wm(struct drm_i915_private *dev_priv, struct g4x_wm_values *wm) {struct intel_crtc *crtc; -int num_active_crtcs =0 ; +int num_active_pipes =0 ; wm->cxsr = true; wm->hpll_en = true;
@@ -1509,10 +1509,10 @@ static void g4x_merge_wm(struct drm_i915_private *dev_priv,if (!wm_state->fbc_en) wm->fbc_en = false; - num_active_crtcs++; + num_active_pipes++; } -if (num_active_crtcs !=1 ) { +if (num_active_pipes !=1 ) { wm->cxsr = false; wm->hpll_en = false; wm->fbc_en = false;
@@ -2098,7 +2098,7 @@ static void vlv_merge_wm(struct drm_i915_private *dev_priv, struct vlv_wm_values *wm) {struct intel_crtc *crtc; -int num_active_crtcs =0 ; +int num_active_pipes =0 ; wm->level = dev_priv->wm.max_level; wm->cxsr = true;
@@ -2112,14 +2112,14 @@ static void vlv_merge_wm(struct drm_i915_private *dev_priv,if (!wm_state->cxsr) wm->cxsr = false; - num_active_crtcs++; + num_active_pipes++; wm->level =min_t (int, wm->level, wm_state->num_levels -1 ); } -if (num_active_crtcs !=1 ) +if (num_active_pipes !=1 ) wm->cxsr = false; -if (num_active_crtcs >1 ) +if (num_active_pipes >1 ) wm->level =VLV_WM_LEVEL_PM2 ;for_each_intel_crtc (&dev_priv->drm, crtc) {
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 5/5 drm/i915: Use hweight8() for 8bit masks
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Use hweight8() instead of hweight32() for 8bit masks. Doesn't actually matter for us since the arch code will go for hweight32() anyway, but maybe we stil want to do this for documentation purposes?
--- drivers/gpu/drm/i915/intel_pm.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +10 -10
@@ -1327,8 +1327,8 @@ static int g4x_compute_pipe_wm(struct intel_crtc_state *crtc_state)struct intel_atomic_state *state =to_intel_atomic_state (crtc_state->base.state);struct g4x_wm_state *wm_state = &crtc_state->wm.g4x.optimal; -int num_active_planes =hweight32 (crtc_state->active_planes & - ~BIT (PLANE_CURSOR )); +int num_active_planes =hweight8 (crtc_state->active_planes & + ~BIT (PLANE_CURSOR ));const struct g4x_pipe_wm *raw;const struct intel_plane_state *old_plane_state;const struct intel_plane_state *new_plane_state;
@@ -1659,7 +1659,7 @@ static int vlv_compute_fifo(struct intel_crtc_state *crtc_state) &crtc_state->wm.vlv.raw[VLV_WM_LEVEL_PM2 ];struct vlv_fifo_state *fifo_state = &crtc_state->wm.vlv.fifo_state;unsigned int active_planes = crtc_state->active_planes & ~BIT (PLANE_CURSOR ); -int num_active_planes =hweight32 (active_planes); +int num_active_planes =hweight8 (active_planes);const int fifo_size =511 ;int fifo_extra, fifo_left = fifo_size;int sprite0_fifo_extra =0 ;
@@ -1848,8 +1848,8 @@ static int vlv_compute_pipe_wm(struct intel_crtc_state *crtc_state)struct vlv_wm_state *wm_state = &crtc_state->wm.vlv.optimal;const struct vlv_fifo_state *fifo_state = &crtc_state->wm.vlv.fifo_state; -int num_active_planes =hweight32 (crtc_state->active_planes & - ~BIT (PLANE_CURSOR )); +int num_active_planes =hweight8 (crtc_state->active_planes & + ~BIT (PLANE_CURSOR ));bool needs_modeset =drm_atomic_crtc_needs_modeset (&crtc_state->base);const struct intel_plane_state *old_plane_state;const struct intel_plane_state *new_plane_state;
@@ -3761,14 +3761,14 @@ bool intel_can_enable_sagv(struct intel_atomic_state *state)/* * If there are no active CRTCs, no additional checks need be performed */ -if (hweight32 (state->active_pipes) ==0 ) +if (hweight8 (state->active_pipes) ==0 )return true;/* * SKL+ workaround: bspec recommends we disable SAGV when we have * more then one pipe enabled */ -if (hweight32 (state->active_pipes) >1 ) +if (hweight8 (state->active_pipes) >1 )return false;/* Since we're now guaranteed to only have one active CRTC... */
@@ -3867,14 +3867,14 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,if (WARN_ON (!state) || !crtc_state->base.active) { alloc->start =0 ; alloc->end =0 ; - *num_active =hweight32 (dev_priv->active_pipes); + *num_active =hweight8 (dev_priv->active_pipes);return ; }if (intel_state->active_pipe_changes) - *num_active =hweight32 (intel_state->active_pipes); + *num_active =hweight8 (intel_state->active_pipes);else - *num_active =hweight32 (dev_priv->active_pipes); + *num_active =hweight8 (dev_priv->active_pipes); ddb_size =intel_get_ddb_size (dev_priv, crtc_state, total_data_rate, *num_active, ddb);
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 5/5] drm/i915: Use hweight8() for 8bit masks
Quoted 5 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Use
hweight8()instead ofhweight32()for 8bit masks. Doesn't actually matter for us since the arch code will go forhweight32()anyway, but maybe we stil want to do this for documentation purposes?
hweight32 is preparing for the distant future? ;)
I don't mind either way on this one, up to you.
The series is
Quoted 76 lines
Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)drivers/gpu/drm/i915/intel_pm.c +10
-10@@ -1327,8 +1327,8 @@ static int g4x_compute_pipe_wm(struct intel_crtc_state *crtc_state)struct intel_atomic_state *state =to_intel_atomic_state (crtc_state->base.state);struct g4x_wm_state *wm_state = &crtc_state->wm.g4x.optimal; -int num_active_planes =hweight32 (crtc_state->active_planes & - ~BIT (PLANE_CURSOR )); +int num_active_planes =hweight8 (crtc_state->active_planes & + ~BIT (PLANE_CURSOR ));const struct g4x_pipe_wm *raw;const struct intel_plane_state *old_plane_state;const struct intel_plane_state *new_plane_state;@@ -1659,7 +1659,7 @@ static int vlv_compute_fifo(struct intel_crtc_state *crtc_state) &crtc_state->wm.vlv.raw[VLV_WM_LEVEL_PM2 ];struct vlv_fifo_state *fifo_state = &crtc_state->wm.vlv.fifo_state;unsigned int active_planes = crtc_state->active_planes & ~BIT (PLANE_CURSOR ); -int num_active_planes =hweight32 (active_planes); +int num_active_planes =hweight8 (active_planes);const int fifo_size =511 ;int fifo_extra, fifo_left = fifo_size;int sprite0_fifo_extra =0 ;@@ -1848,8 +1848,8 @@ static int vlv_compute_pipe_wm(struct intel_crtc_state *crtc_state)struct vlv_wm_state *wm_state = &crtc_state->wm.vlv.optimal;const struct vlv_fifo_state *fifo_state = &crtc_state->wm.vlv.fifo_state; -int num_active_planes =hweight32 (crtc_state->active_planes & - ~BIT (PLANE_CURSOR )); +int num_active_planes =hweight8 (crtc_state->active_planes & + ~BIT (PLANE_CURSOR ));bool needs_modeset =drm_atomic_crtc_needs_modeset (&crtc_state->base);const struct intel_plane_state *old_plane_state;const struct intel_plane_state *new_plane_state;@@ -3761,14 +3761,14 @@ bool intel_can_enable_sagv(struct intel_atomic_state *state)/* * If there are no active CRTCs, no additional checks need be performed */ -if (hweight32 (state->active_pipes) ==0 ) +if (hweight8 (state->active_pipes) ==0 )return true;/* * SKL+ workaround: bspec recommends we disable SAGV when we have * more then one pipe enabled */ -if (hweight32 (state->active_pipes) >1 ) +if (hweight8 (state->active_pipes) >1 )return false;/* Since we're now guaranteed to only have one active CRTC... */ @@ -3867,14 +3867,14 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,if (WARN_ON (!state) || !crtc_state->base.active) { alloc->start =0 ; alloc->end =0 ; - *num_active =hweight32 (dev_priv->active_pipes); + *num_active =hweight8 (dev_priv->active_pipes);return ; }if (intel_state->active_pipe_changes) - *num_active =hweight32 (intel_state->active_pipes); + *num_active =hweight8 (intel_state->active_pipes);else - *num_active =hweight32 (dev_priv->active_pipes); + *num_active =hweight8 (dev_priv->active_pipes); ddb_size =intel_get_ddb_size (dev_priv, crtc_state, total_data_rate, *num_active, ddb);
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with [1/5] drm/i915: Use enum pipe instead of crtc index to track active pipes
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: series starting with [1/5] drm/i915: Use enum pipe instead of crtc index to track active pipes
URL : https://patchwork.freedesktop.org/series/65556/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6757 -> Patchwork_14126
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/
Known issues
------------
Here are the changes found in Patchwork_14126 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_basic@bad-close:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([fdo#107724])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/fi-icl-u3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/fi-icl-u3/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: [PASS][3] -> [DMESG-WARN][4] ([fdo#102614])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/fi-hsw-peppy/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/fi-hsw-peppy/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_create@basic-files:
- fi-bxt-dsi: [INCOMPLETE][5] ([fdo#103927]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/fi-bxt-dsi/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/fi-bxt-dsi/igt@[email protected]
* igt@gem_ctx_switch@legacy-render:
- fi-apl-guc: [INCOMPLETE][7] ([fdo#103927]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/fi-apl-guc/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/fi-apl-guc/igt@[email protected]
* igt@gem_exec_suspend@basic-s4-devices:
- fi-kbl-7500u: [DMESG-WARN][9] ([fdo#105128] / [fdo#107139]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/fi-kbl-7500u/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/fi-kbl-7500u/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#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105128]: https://bugs.freedesktop.org/show_bug.cgi?id=105128
[fdo#107139]: https://bugs.freedesktop.org/show_bug.cgi?id=107139
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
Participating hosts (56 -> 48)
------------------------------
Missing (8): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_6757 -> Patchwork_14126
CI-20190529: 20190529
CI_DRM_6757: be31a083b02b1b37be1a8c67bab6d0b57422d3b7 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5146: 357dbe1869d88a2f08bcee4eebceff4ee9014424 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14126: 61a1bc3b4808a0680c256628ad288d9abfaff0f3 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
61a1bc3b4808 drm/i915: Use hweight8() for 8bit masks0e5d0c869435 drm/i915: s/num_active_crtcs/num_active_pipes/ 9bae7f8ebdc7 drm/i915: Use enum pipe consistently57df7190328f drm/i915: Unconfuse pipe vs. crtc->index in i915_get_crtc_scanoutpos() 2840d6affcc9 drm/i915: Use enum pipe instead of crtc index to track active pipes
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for series starting with [1/5] drm/i915: Use enum pipe instead of crtc index to track active pipes
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: series starting with [1/5] drm/i915: Use enum pipe instead of crtc index to track active pipes
URL : https://patchwork.freedesktop.org/series/65556/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6757_full -> Patchwork_14126_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_14126_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_schedule@preempt-hang-blt:
- shard-apl: [PASS][1] -> [INCOMPLETE][2] ([fdo#103927]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-apl1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-apl3/igt@[email protected]
* igt@gem_exec_schedule@preempt-other-chain-bsd:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#111325]) +4 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb4/igt@[email protected]
* igt@gem_softpin@noreloc-s3:
- shard-snb: [PASS][5] -> [DMESG-FAIL][6] ([fdo#111115])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-snb1/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-snb1/igt@[email protected]
* igt@gem_tiled_swapping@non-threaded:
- shard-glk: [PASS][7] -> [DMESG-WARN][8] ([fdo#108686])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-glk3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-glk8/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [PASS][9] -> [DMESG-WARN][10] ([fdo#108566]) +7 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-apl6/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-apl7/igt@[email protected]
* igt@i915_pm_rpm@basic-pci-d3-state:
- shard-iclb: [PASS][11] -> [INCOMPLETE][12] ([fdo#107713] / [fdo#108840])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb6/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb7/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank:
- shard-glk: [PASS][13] -> [FAIL][14] ([fdo#105363])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-glk2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-glk2/igt@[email protected]
* igt@kms_flip@plain-flip-ts-check:
- shard-skl: [PASS][15] -> [FAIL][16] ([fdo#100368])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-skl5/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-skl5/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt:
- shard-iclb: [PASS][17] -> [FAIL][18] ([fdo#103167]) +2 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html
* igt@kms_lease@lease_invalid_crtc:
- shard-snb: [PASS][19] -> [SKIP][20] ([fdo#109271])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-snb7/igt@kms_lease@lease_invalid_crtc.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-snb4/igt@kms_lease@lease_invalid_crtc.html
* igt@kms_psr@psr2_basic:
- shard-iclb: [PASS][21] -> [SKIP][22] ([fdo#109441]) +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb2/igt@kms_psr@psr2_basic.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb7/igt@kms_psr@psr2_basic.html
* igt@perf@polling:
- shard-skl: [PASS][23] -> [FAIL][24] ([fdo#110728])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-skl7/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-skl9/igt@[email protected]
* igt@perf_pmu@rc6:
- shard-kbl: [PASS][25] -> [SKIP][26] ([fdo#109271])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-kbl6/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-kbl2/igt@[email protected]
* igt@prime_busy@hang-bsd2:
- shard-iclb: [PASS][27] -> [SKIP][28] ([fdo#109276]) +18 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb4/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb7/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [SKIP][29] ([fdo#110841]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb2/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb3/igt@[email protected]
* igt@gem_exec_schedule@pi-ringfull-bsd:
- shard-iclb: [SKIP][31] ([fdo#111325]) -> [PASS][32] +4 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb1/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb8/igt@[email protected]
* igt@gem_exec_schedule@preempt-contexts-bsd2:
- shard-iclb: [SKIP][33] ([fdo#109276]) -> [PASS][34] +17 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb6/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb4/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-hsw: [FAIL][35] ([fdo#105767]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-hsw8/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-hsw5/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-skl: [FAIL][37] ([fdo#105363]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-skl4/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-skl4/igt@[email protected]
* igt@kms_flip@modeset-vs-vblank-race-interruptible:
- shard-glk: [FAIL][39] ([fdo#103060]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-glk5/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-glk9/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-blt:
- shard-skl: [FAIL][41] ([fdo#103167]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-skl6/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-skl1/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw:
- shard-iclb: [FAIL][43] ([fdo#103167]) -> [PASS][44] +3 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb3/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb3/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-apl: [DMESG-WARN][45] ([fdo#108566]) -> [PASS][46] +4 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-apl4/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-apl8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [FAIL][47] ([fdo#108145]) -> [PASS][48] +1 similar issue
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-skl6/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-skl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [FAIL][49] ([fdo#108145] / [fdo#110403]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-skl4/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-skl4/igt@[email protected]
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-iclb: [FAIL][51] ([fdo#103166]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb8/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb6/igt@[email protected]
* igt@kms_rmfb@close-fd:
- shard-iclb: [INCOMPLETE][53] ([fdo#107713]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb7/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb4/igt@[email protected]
#### Warnings ####
* igt@gem_mocs_settings@mocs-reset-bsd2:
- shard-iclb: [SKIP][55] ([fdo#109276]) -> [FAIL][56] ([fdo#111330]) +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6757/shard-iclb6/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14126/shard-iclb4/igt@[email protected]
[fdo#100368]: https://bugs.freedesktop.org/show_bug.cgi?id=100368
[fdo#103060]: https://bugs.freedesktop.org/show_bug.cgi?id=103060
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105767]: https://bugs.freedesktop.org/show_bug.cgi?id=105767
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#108840]: https://bugs.freedesktop.org/show_bug.cgi?id=108840
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
[fdo#110728]: https://bugs.freedesktop.org/show_bug.cgi?id=110728
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#111115]: https://bugs.freedesktop.org/show_bug.cgi?id=111115
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_6757 -> Patchwork_14126
CI-20190529: 20190529
CI_DRM_6757: be31a083b02b1b37be1a8c67bab6d0b57422d3b7 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5146: 357dbe1869d88a2f08bcee4eebceff4ee9014424 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14126: 61a1bc3b4808a0680c256628ad288d9abfaff0f3 @ 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_14126/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx