drm/i915: Move bigjoiner refactoring
Subsystems (3)
v2 cover drm/i915: Move bigjoiner refactoring
From: Ville Syrjälä <[email protected]>
Rebased version of the latest bigjoiner stuff. Also shuffled the hweight() stuff around a bit, and added patch to fix an UBSAN issue.
Ville Syrjälä (13):
drm/i915: Avoid negative shift due to bigjoiner_pipes==0 drm/i915: Fix cursor coordinates on bigjoiner slave drm/i915: Remove nop bigjoiner state copy
drm/i915: Rename variables in intel_crtc_compute_config() drm/i915: Extract intel_splitter_adjust_timings() drm/i915: Extract intel_bigjoiner_adjust_timings() drm/i915: Extract intel_crtc_compute_pipe_src()
drm/i915: Extract intel_crtc_compute_pipe_mode() drm/i915: Fix MSO vs. bigjoiner timings confusion drm/i915: Start tracking PIPESRC as a drm_rect
drm/i915: Eliminate bigjoiner boolean
drm/i915: Use bigjoiner_pipes more
drm/i915: Make the PIPESC rect relative to the entire bigjoiner area
.../gpu/drm/i915/display/intel_atomic_plane.c | 20 +- drivers/gpu/drm/i915/display/intel_cursor.c | 7 +- drivers/gpu/drm/i915/display/intel_display.c | 360 +++++++++++------- .../drm/i915/display/intel_display_debugfs.c | 6 +- .../drm/i915/display/intel_display_types.h | 5 +- drivers/gpu/drm/i915/display/intel_dp.c | 13 +- drivers/gpu/drm/i915/display/intel_overlay.c | 22 +- drivers/gpu/drm/i915/display/intel_panel.c | 70 ++-- drivers/gpu/drm/i915/display/intel_vdsc.c | 8 +- drivers/gpu/drm/i915/display/skl_scaler.c | 12 +- .../drm/i915/display/skl_universal_plane.c | 4 +- 11 files changed, 303 insertions(+), 224 deletions(-)
Signature · 1 line
2.34.1
PATCH v2 1/13 drm/i915: Avoid negative shift due to bigjoiner_pipes==0
From: Ville Syrjälä <[email protected]>
bigjoiner_pipes==0 leads bigjoiner_master_pipe() to do BIT(ffs(0)-1) which is undefined behaviour. The code should actually still work fine since the only place we provoke that is intel_crtc_bigjoiner_slave_pipes() and it'll bitwise AND the result with 0, so doesn't really matter what we get out of bigjoiner_master_pipe(). But best not provoke undefined behaviour anyway.
--- drivers/gpu/drm/i915/display/intel_display.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_display.c +4 -1
@@ -346,7 +346,10 @@ static enum pipe bigjoiner_master_pipe(const struct intel_crtc_state *crtc_stateu8 intel_crtc_bigjoiner_slave_pipes (const struct intel_crtc_state *crtc_state) { -return crtc_state->bigjoiner_pipes & ~BIT (bigjoiner_master_pipe (crtc_state)); +if (crtc_state->bigjoiner_pipes) +return crtc_state->bigjoiner_pipes & ~BIT (bigjoiner_master_pipe (crtc_state)); +else +return 0 ; }bool intel_crtc_is_bigjoiner_slave (const struct intel_crtc_state *crtc_state)
Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH v2 01/13] drm/i915: Avoid negative shift due to bigjoiner_pipes==0
Quoted 10 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
bigjoiner_pipes==0 leads
bigjoiner_master_pipe()to do BIT(ffs(0)-1) which is undefined behaviour. The code should actually still work fine since the only place we provoke that isintel_crtc_bigjoiner_slave_pipes()and it'll bitwise AND the result with 0, so doesn't really matter what we get out ofbigjoiner_master_pipe(). But best not provoke undefined behaviour anyway.
Quoted 3 lines
Reported-by kernel test robot <[email protected]>Fixes a6e7a006f5d5 ("drm/i915: Change bigjoiner state tracking to use the pipe bitmask")Signed-off-by Ville Syrjälä <[email protected]>
Manasi
Quoted 23 lines
--- drivers/gpu/drm/i915/display/intel_display.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/display/intel_display.c +4
-1@@ -346,7 +346,10 @@ static enum pipe bigjoiner_master_pipe(const struct intel_crtc_state *crtc_stateu8 intel_crtc_bigjoiner_slave_pipes (const struct intel_crtc_state *crtc_state) { -return crtc_state->bigjoiner_pipes & ~BIT (bigjoiner_master_pipe (crtc_state)); +if (crtc_state->bigjoiner_pipes) +return crtc_state->bigjoiner_pipes & ~BIT (bigjoiner_master_pipe (crtc_state)); +else +return 0 ; }bool intel_crtc_is_bigjoiner_slave (const struct intel_crtc_state *crtc_state)Signature · 1 line
2.34.1
PATCH v2 2/13 drm/i915: Fix cursor coordinates on bigjoiner slave
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Adjust the cursor dst coordinates appripriately when it's on the bigjoiner slave pipe. intel_atomic_plane_check_clipping() already did this but with the cursor we discard those results (apart from uapi.visible and error checks) since the hardware will be doing the clipping for us.
v2: Rebase due to bigjoiner bitmask usage
--- drivers/gpu/drm/i915/display/intel_cursor.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/i915/display/intel_cursor.c +3 -0
@@ -152,6 +152,9 @@ static int intel_check_cursor(struct intel_crtc_state *crtc_state,/* Use the unclipped src/dst rectangles, which we program to hw */ plane_state->uapi.src = src; plane_state->uapi.dst = dst; +if (intel_crtc_is_bigjoiner_slave (crtc_state)) +drm_rect_translate (&plane_state->uapi.dst, + -crtc_state->pipe_src_w,0 ); ret =intel_cursor_check_surface (plane_state);if (ret)
Signature · 1 line
2.34.1
PATCH v2 3/13 drm/i915: Remove nop bigjoiner state copy
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
We just copied over the whole master crtc state, including cpu_transcoder+has_audio. No need to copy those again.
Also get rid of the unhelpful comment.
--- drivers/gpu/drm/i915/display/intel_display.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +0 -3
@@ -5593,12 +5593,9 @@ copy_bigjoiner_crtc_state_modeset(struct intel_atomic_state *state,copy_bigjoiner_crtc_state_nomodeset (state, slave_crtc); -/* Some fixups */ slave_crtc_state->uapi.mode_changed = master_crtc_state->uapi.mode_changed; slave_crtc_state->uapi.connectors_changed = master_crtc_state->uapi.connectors_changed; slave_crtc_state->uapi.active_changed = master_crtc_state->uapi.active_changed; - slave_crtc_state->cpu_transcoder = master_crtc_state->cpu_transcoder; - slave_crtc_state->has_audio = master_crtc_state->has_audio;return 0 ; }
Signature · 1 line
2.34.1
PATCH v2 4/13 drm/i915: Rename variables in intel_crtc_compute_config()
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Do the s/dev_priv/i915/ and s/pipe_config/crtc_state/ renames to intel_crtc_compute_config(). I want to start splitting this up a bit and doing the renames now avoids spreading these old nameing conventions elsewhere. No functional changes.
--- drivers/gpu/drm/i915/display/intel_display.c | 50 ++++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +25 -25
@@ -2791,16 +2791,16 @@ static void intel_encoder_get_config(struct intel_encoder *encoder, }static int intel_crtc_compute_config (struct intel_crtc *crtc, -struct intel_crtc_state *pipe_config) +struct intel_crtc_state *crtc_state) { -struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); -struct drm_display_mode *pipe_mode = &pipe_config->hw.pipe_mode; -int clock_limit = dev_priv->max_dotclk_freq; +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +struct drm_display_mode *pipe_mode = &crtc_state->hw.pipe_mode; +int clock_limit = i915->max_dotclk_freq; -drm_mode_copy (pipe_mode, &pipe_config->hw.adjusted_mode); +drm_mode_copy (pipe_mode, &crtc_state->hw.adjusted_mode);/* Adjust pipe_mode for bigjoiner, with half the horizontal mode */ -if (pipe_config->bigjoiner) { +if (crtc_state->bigjoiner) { pipe_mode->crtc_clock /=2 ; pipe_mode->crtc_hdisplay /=2 ; pipe_mode->crtc_hblank_start /=2 ;
@@ -2808,12 +2808,12 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc, pipe_mode->crtc_hsync_start /=2 ; pipe_mode->crtc_hsync_end /=2 ; pipe_mode->crtc_htotal /=2 ; - pipe_config->pipe_src_w /=2 ; + crtc_state->pipe_src_w /=2 ; } -if (pipe_config->splitter.enable) { -int n = pipe_config->splitter.link_count; -int overlap = pipe_config->splitter.pixel_overlap; +if (crtc_state->splitter.enable) { +int n = crtc_state->splitter.link_count; +int overlap = crtc_state->splitter.pixel_overlap; pipe_mode->crtc_hdisplay = (pipe_mode->crtc_hdisplay - overlap) * n; pipe_mode->crtc_hblank_start = (pipe_mode->crtc_hblank_start - overlap) * n;
@@ -2826,8 +2826,8 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc,intel_mode_from_crtc_timings (pipe_mode, pipe_mode); -if (DISPLAY_VER (dev_priv) <4 ) { - clock_limit = dev_priv->max_cdclk_freq *9 /10 ; +if (DISPLAY_VER (i915) <4 ) { + clock_limit = i915->max_cdclk_freq *9 /10 ;/* * Enable double wide mode when the dot clock
@@ -2835,16 +2835,16 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc,*/ if (intel_crtc_supports_double_wide (crtc) && pipe_mode->crtc_clock > clock_limit) { - clock_limit = dev_priv->max_dotclk_freq; - pipe_config->double_wide = true; + clock_limit = i915->max_dotclk_freq; + crtc_state->double_wide = true; } }if (pipe_mode->crtc_clock > clock_limit) { -drm_dbg_kms (&dev_priv->drm, +drm_dbg_kms (&i915->drm,"requested pixel clock (%d kHz) too high (max: %d kHz, double wide: %s)\n" , pipe_mode->crtc_clock, clock_limit, -yesno (pipe_config->double_wide)); +yesno (crtc_state->double_wide));return -EINVAL ; }
@@ -2854,25 +2854,25 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc,* - LVDS dual channel mode * - Double wide pipe */ -if (pipe_config->pipe_src_w &1 ) { -if (pipe_config->double_wide) { -drm_dbg_kms (&dev_priv->drm, +if (crtc_state->pipe_src_w &1 ) { +if (crtc_state->double_wide) { +drm_dbg_kms (&i915->drm,"Odd pipe source width not supported with double wide pipe\n" );return -EINVAL ; } -if (intel_crtc_has_type (pipe_config,INTEL_OUTPUT_LVDS ) && -intel_is_dual_link_lvds (dev_priv)) { -drm_dbg_kms (&dev_priv->drm, +if (intel_crtc_has_type (crtc_state,INTEL_OUTPUT_LVDS ) && +intel_is_dual_link_lvds (i915)) { +drm_dbg_kms (&i915->drm,"Odd pipe source width not supported with dual link LVDS\n" );return -EINVAL ; } } -intel_crtc_compute_pixel_rate (pipe_config); +intel_crtc_compute_pixel_rate (crtc_state); -if (pipe_config->has_pch_encoder) -return ilk_fdi_compute_config (crtc, pipe_config); +if (crtc_state->has_pch_encoder) +return ilk_fdi_compute_config (crtc, crtc_state);return 0 ; }
Signature · 1 line
2.34.1
PATCH v2 5/13 drm/i915: Extract intel_splitter_adjust_timings()
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Let's not replicate the same piece of code to expand the MSO segment timings to full width in many places. Pull it into a helper
--- drivers/gpu/drm/i915/display/intel_display.c | 54 ++++++++++---------- 1 file changed, 26 insertions(+), 28 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +26 -28
@@ -2728,6 +2728,30 @@ static void intel_crtc_compute_pixel_rate(struct intel_crtc_state *crtc_state)ilk_pipe_pixel_rate (crtc_state); } +static void intel_splitter_adjust_timings (const struct intel_crtc_state *crtc_state, +struct drm_display_mode *mode) +{ +int overlap = crtc_state->splitter.pixel_overlap; +int n = crtc_state->splitter.link_count; + +if (!crtc_state->splitter.enable) +return ; + +/* +* eDP MSO uses segment timings from EDID for transcoder +* timings, but full mode for everything else. +* +* h_full = (h_segment - pixel_overlap) * link_count +*/ + mode->crtc_hdisplay = (mode->crtc_hdisplay - overlap) * n; + mode->crtc_hblank_start = (mode->crtc_hblank_start - overlap) * n; + mode->crtc_hblank_end = (mode->crtc_hblank_end - overlap) * n; + mode->crtc_hsync_start = (mode->crtc_hsync_start - overlap) * n; + mode->crtc_hsync_end = (mode->crtc_hsync_end - overlap) * n; + mode->crtc_htotal = (mode->crtc_htotal - overlap) * n; + mode->crtc_clock *= n; +} +static void intel_crtc_readout_derived_state (struct intel_crtc_state *crtc_state) {struct drm_display_mode *mode = &crtc_state->hw.mode;
@@ -2751,22 +2775,7 @@ static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_state }if (crtc_state->splitter.enable) { -int n = crtc_state->splitter.link_count; -int overlap = crtc_state->splitter.pixel_overlap; - -/* -* eDP MSO uses segment timings from EDID for transcoder -* timings, but full mode for everything else. -* -* h_full = (h_segment - pixel_overlap) * link_count -*/ - pipe_mode->crtc_hdisplay = (pipe_mode->crtc_hdisplay - overlap) * n; - pipe_mode->crtc_hblank_start = (pipe_mode->crtc_hblank_start - overlap) * n; - pipe_mode->crtc_hblank_end = (pipe_mode->crtc_hblank_end - overlap) * n; - pipe_mode->crtc_hsync_start = (pipe_mode->crtc_hsync_start - overlap) * n; - pipe_mode->crtc_hsync_end = (pipe_mode->crtc_hsync_end - overlap) * n; - pipe_mode->crtc_htotal = (pipe_mode->crtc_htotal - overlap) * n; - pipe_mode->crtc_clock *= n; +intel_splitter_adjust_timings (crtc_state, pipe_mode);intel_mode_from_crtc_timings (pipe_mode, pipe_mode);intel_mode_from_crtc_timings (adjusted_mode, pipe_mode);
@@ -2811,18 +2820,7 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc, crtc_state->pipe_src_w /=2 ; } -if (crtc_state->splitter.enable) { -int n = crtc_state->splitter.link_count; -int overlap = crtc_state->splitter.pixel_overlap; - - pipe_mode->crtc_hdisplay = (pipe_mode->crtc_hdisplay - overlap) * n; - pipe_mode->crtc_hblank_start = (pipe_mode->crtc_hblank_start - overlap) * n; - pipe_mode->crtc_hblank_end = (pipe_mode->crtc_hblank_end - overlap) * n; - pipe_mode->crtc_hsync_start = (pipe_mode->crtc_hsync_start - overlap) * n; - pipe_mode->crtc_hsync_end = (pipe_mode->crtc_hsync_end - overlap) * n; - pipe_mode->crtc_htotal = (pipe_mode->crtc_htotal - overlap) * n; - pipe_mode->crtc_clock *= n; - } +intel_splitter_adjust_timings (crtc_state, pipe_mode);intel_mode_from_crtc_timings (pipe_mode, pipe_mode);
Signature · 1 line
2.34.1
PATCH v2 6/13 drm/i915: Extract intel_bigjoiner_adjust_timings()
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Deduplicate the code to convert the full timings to per-pipe timings for bigjoiner usage.
--- drivers/gpu/drm/i915/display/intel_display.c | 41 +++++++++----------- 1 file changed, 18 insertions(+), 23 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +18 -23
@@ -2728,6 +2728,21 @@ static void intel_crtc_compute_pixel_rate(struct intel_crtc_state *crtc_state)ilk_pipe_pixel_rate (crtc_state); } +static void intel_bigjoiner_adjust_timings (const struct intel_crtc_state *crtc_state, +struct drm_display_mode *mode) +{ +if (!crtc_state->bigjoiner) +return ; + + mode->crtc_clock /=2 ; + mode->crtc_hdisplay /=2 ; + mode->crtc_hblank_start /=2 ; + mode->crtc_hblank_end /=2 ; + mode->crtc_hsync_start /=2 ; + mode->crtc_hsync_end /=2 ; + mode->crtc_htotal /=2 ; +} +static void intel_splitter_adjust_timings (const struct intel_crtc_state *crtc_state,struct drm_display_mode *mode) {
@@ -2760,19 +2775,7 @@ static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_statedrm_mode_copy (pipe_mode, adjusted_mode); -if (crtc_state->bigjoiner) { -/* -* transcoder is programmed to the full mode, -* but pipe timings are half of the transcoder mode -*/ - pipe_mode->crtc_hdisplay /=2 ; - pipe_mode->crtc_hblank_start /=2 ; - pipe_mode->crtc_hblank_end /=2 ; - pipe_mode->crtc_hsync_start /=2 ; - pipe_mode->crtc_hsync_end /=2 ; - pipe_mode->crtc_htotal /=2 ; - pipe_mode->crtc_clock /=2 ; - } +intel_bigjoiner_adjust_timings (crtc_state, pipe_mode);if (crtc_state->splitter.enable) {intel_splitter_adjust_timings (crtc_state, pipe_mode);
@@ -2808,17 +2811,9 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc,drm_mode_copy (pipe_mode, &crtc_state->hw.adjusted_mode); -/* Adjust pipe_mode for bigjoiner, with half the horizontal mode */ -if (crtc_state->bigjoiner) { - pipe_mode->crtc_clock /=2 ; - pipe_mode->crtc_hdisplay /=2 ; - pipe_mode->crtc_hblank_start /=2 ; - pipe_mode->crtc_hblank_end /=2 ; - pipe_mode->crtc_hsync_start /=2 ; - pipe_mode->crtc_hsync_end /=2 ; - pipe_mode->crtc_htotal /=2 ; +intel_bigjoiner_adjust_timings (crtc_state, pipe_mode); +if (crtc_state->bigjoiner) crtc_state->pipe_src_w /=2 ; - }intel_splitter_adjust_timings (crtc_state, pipe_mode);
Signature · 1 line
2.34.1
PATCH v2 7/13 drm/i915: Extract intel_crtc_compute_pipe_src()
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
intel_crtc_compute_config() doesn't really tell a unified story. Let's chunk it up into pieces. We'll start with intel_crtc_compute_pipe_src().
--- drivers/gpu/drm/i915/display/intel_display.c | 62 ++++++++++++-------- 1 file changed, 39 insertions(+), 23 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +39 -23
@@ -2802,18 +2802,55 @@ static void intel_encoder_get_config(struct intel_encoder *encoder,intel_crtc_readout_derived_state (crtc_state); } +static int intel_crtc_compute_pipe_src (struct intel_crtc_state *crtc_state) +{ +struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc); +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); + +if (crtc_state->bigjoiner) + crtc_state->pipe_src_w /=2 ; + +/* +* Pipe horizontal size must be even in: +* - DVO ganged mode +* - LVDS dual channel mode +* - Double wide pipe +*/ +if (crtc_state->pipe_src_w &1 ) { +if (crtc_state->double_wide) { +drm_dbg_kms (&i915->drm, +"[CRTC:%d:%s] Odd pipe source width not supported with double wide pipe\n" , + crtc->base.base.id, crtc->base.name); +return -EINVAL ; + } + +if (intel_crtc_has_type (crtc_state,INTEL_OUTPUT_LVDS ) && +intel_is_dual_link_lvds (i915)) { +drm_dbg_kms (&i915->drm, +"[CRTC:%d:%s] Odd pipe source width not supported with dual link LVDS\n" , + crtc->base.base.id, crtc->base.name); +return -EINVAL ; + } + } + +return 0 ; +} +static int intel_crtc_compute_config (struct intel_crtc *crtc,struct intel_crtc_state *crtc_state) {struct drm_i915_private *i915 =to_i915 (crtc->base.dev);struct drm_display_mode *pipe_mode = &crtc_state->hw.pipe_mode;int clock_limit = i915->max_dotclk_freq; +int ret; + + ret =intel_crtc_compute_pipe_src (crtc_state); +if (ret) +return ret;drm_mode_copy (pipe_mode, &crtc_state->hw.adjusted_mode);intel_bigjoiner_adjust_timings (crtc_state, pipe_mode); -if (crtc_state->bigjoiner) - crtc_state->pipe_src_w /=2 ;intel_splitter_adjust_timings (crtc_state, pipe_mode);
@@ -2841,27 +2878,6 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc,return -EINVAL ; } -/* -* Pipe horizontal size must be even in: -* - DVO ganged mode -* - LVDS dual channel mode -* - Double wide pipe -*/ -if (crtc_state->pipe_src_w &1 ) { -if (crtc_state->double_wide) { -drm_dbg_kms (&i915->drm, -"Odd pipe source width not supported with double wide pipe\n" ); -return -EINVAL ; - } - -if (intel_crtc_has_type (crtc_state,INTEL_OUTPUT_LVDS ) && -intel_is_dual_link_lvds (i915)) { -drm_dbg_kms (&i915->drm, -"Odd pipe source width not supported with dual link LVDS\n" ); -return -EINVAL ; - } - } -intel_crtc_compute_pixel_rate (crtc_state);if (crtc_state->has_pch_encoder)
Signature · 1 line
2.34.1
PATCH v2 8/13 drm/i915: Extract intel_crtc_compute_pipe_mode()
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Pull intel_crtc_compute_pipe_mode() out from intel_crtc_compute_config(). Since it's semi related we'll suck in the max dotclock/double wide checks in as well.
And we'll pimp the debugs while at it.
--- drivers/gpu/drm/i915/display/intel_display.c | 28 ++++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +20 -8
@@ -2836,17 +2836,12 @@ static int intel_crtc_compute_pipe_src(struct intel_crtc_state *crtc_state)return 0 ; } -static int intel_crtc_compute_config (struct intel_crtc *crtc, -struct intel_crtc_state *crtc_state) +static int intel_crtc_compute_pipe_mode (struct intel_crtc_state *crtc_state) { +struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc);struct drm_i915_private *i915 =to_i915 (crtc->base.dev);struct drm_display_mode *pipe_mode = &crtc_state->hw.pipe_mode;int clock_limit = i915->max_dotclk_freq; -int ret; - - ret =intel_crtc_compute_pipe_src (crtc_state); -if (ret) -return ret;drm_mode_copy (pipe_mode, &crtc_state->hw.adjusted_mode);
@@ -2872,12 +2867,29 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc,if (pipe_mode->crtc_clock > clock_limit) {drm_dbg_kms (&i915->drm, -"requested pixel clock (%d kHz) too high (max: %d kHz, double wide: %s)\n" , +"[CRTC:%d:%s] requested pixel clock (%d kHz) too high (max: %d kHz, double wide: %s)\n" , + crtc->base.base.id, crtc->base.name, pipe_mode->crtc_clock, clock_limit,yesno (crtc_state->double_wide));return -EINVAL ; } +return 0 ; +} + +static int intel_crtc_compute_config (struct intel_crtc *crtc, +struct intel_crtc_state *crtc_state) +{ +int ret; + + ret =intel_crtc_compute_pipe_src (crtc_state); +if (ret) +return ret; + + ret =intel_crtc_compute_pipe_mode (crtc_state); +if (ret) +return ret; +intel_crtc_compute_pixel_rate (crtc_state);if (crtc_state->has_pch_encoder)
Signature · 1 line
2.34.1
PATCH v2 9/13 drm/i915: Fix MSO vs. bigjoiner timings confusion
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
When calculating pipe_mode and when doing readout we need to order our steps correctly.
1. We start with adjusted_mode crtc timings being populated with the transcoder timings (either via readout or compute_config(). These will be per-segment for MSO.
2. For all other uses we want the full crtc timings so we ask intel_splitter_adjust_timings() to expand
the per-segment numbers to their full glory
3. If bigjoiner is used we the divide the full numbers down to per-pipe numbers using intel_bigjoiner_adjust_timings()
During readout we also have to reconstruct the adjusted_mode normal timings (ie. not the crtc_ stuff). These are supposed to reflect the full timings of the display. So we grab these between steps 2 and 3.
The "user" mode readout (mainly done for fastboot purposes) should be whatever mode the user would have used had they asked us to do a modeset. We want the full timings for this as the per-segment timings are not suppoesed to be user visible. Also the user mode normal timings hdisplay/vdisplay need to match PIPESRC (that is where we get our PIPESRC size we doing a modeset with a user supplied mode).
And we end up with
- adjusted_mode normal timigns == full timings
- adjusted_mode crtc timings == transcoder timings (per-segment timings for MSO, full timings otherwise)
- pipe_mode normal/crtc timings == pipe timings
(full timings divided by the number of bigjoiner pipes, if any)
- user mode normal timings == full timings with hdisplay/vdisplay replaced with PIPESRC size
- user mode crtc timings == full timings
Yes, that is a lot of timings. One day we'll try to remove some of the ones we don't actually need to keep around...
--- drivers/gpu/drm/i915/display/intel_display.c | 50 +++++++++++++------- 1 file changed, 32 insertions(+), 18 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +32 -18
@@ -2773,25 +2773,33 @@ static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_statestruct drm_display_mode *pipe_mode = &crtc_state->hw.pipe_mode;struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; +/* +* Start with the adjusted_mode crtc timings, which +* have been filled with the transcoder timings. +*/ drm_mode_copy (pipe_mode, adjusted_mode); -intel_bigjoiner_adjust_timings (crtc_state, pipe_mode); - -if (crtc_state->splitter.enable) { -intel_splitter_adjust_timings (crtc_state, pipe_mode); - -intel_mode_from_crtc_timings (pipe_mode, pipe_mode); -intel_mode_from_crtc_timings (adjusted_mode, pipe_mode); - }else { -intel_mode_from_crtc_timings (pipe_mode, pipe_mode); -intel_mode_from_crtc_timings (adjusted_mode, adjusted_mode); - } - -intel_crtc_compute_pixel_rate (crtc_state); - -drm_mode_copy (mode, adjusted_mode); +/* Expand MSO per-segment transcoder timings to full */ +intel_splitter_adjust_timings (crtc_state, pipe_mode); + +/* +* We want the full numbers in adjusted_mode normal timings, +* adjusted_mode crtc timings are left with the raw transcoder +* timings. +*/ +intel_mode_from_crtc_timings (adjusted_mode, pipe_mode); + +/* Populate the "user" mode with full numbers */ +drm_mode_copy (mode, pipe_mode); +intel_mode_from_crtc_timings (mode, mode); mode->hdisplay = crtc_state->pipe_src_w << crtc_state->bigjoiner; mode->vdisplay = crtc_state->pipe_src_h; + +/* Derive per-pipe timings in case bigjoiner is used */ +intel_bigjoiner_adjust_timings (crtc_state, pipe_mode); +intel_mode_from_crtc_timings (pipe_mode, pipe_mode); + +intel_crtc_compute_pixel_rate (crtc_state); } static void intel_encoder_get_config(struct intel_encoder *encoder,
@@ -2840,15 +2848,21 @@ static int intel_crtc_compute_pipe_mode(struct intel_crtc_state *crtc_state) {struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc);struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode;struct drm_display_mode *pipe_mode = &crtc_state->hw.pipe_mode;int clock_limit = i915->max_dotclk_freq; -drm_mode_copy (pipe_mode, &crtc_state->hw.adjusted_mode); - -intel_bigjoiner_adjust_timings (crtc_state, pipe_mode); +/* +* Start with the adjusted_mode crtc timings, which +* have been filled with the transcoder timings. +*/ +drm_mode_copy (pipe_mode, adjusted_mode); +/* Expand MSO per-segment transcoder timings to full */ intel_splitter_adjust_timings (crtc_state, pipe_mode); +/* Derive per-pipe timings in case bigjoiner is used */ +intel_bigjoiner_adjust_timings (crtc_state, pipe_mode);intel_mode_from_crtc_timings (pipe_mode, pipe_mode);if (DISPLAY_VER (i915) <4 ) {
Signature · 1 line
2.34.1
PATCH v2 10/13 drm/i915: Start tracking PIPESRC as a drm_rect
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Instead of just having the pipe_src_{w,h} let's use a full drm_rect for it. This will be particularly useful to astract away some bigjoiner details.
v2: No hweight() stuff yet
--- .../gpu/drm/i915/display/intel_atomic_plane.c | 15 ++-- drivers/gpu/drm/i915/display/intel_cursor.c | 2 +- drivers/gpu/drm/i915/display/intel_display.c | 55 ++++++++++----- .../drm/i915/display/intel_display_debugfs.c | 4 +- .../drm/i915/display/intel_display_types.h | 2 +- drivers/gpu/drm/i915/display/intel_overlay.c | 12 ++-- drivers/gpu/drm/i915/display/intel_panel.c | 70 +++++++++---------- drivers/gpu/drm/i915/display/skl_scaler.c | 12 ++-- .../drm/i915/display/skl_universal_plane.c | 2 +- 9 files changed, 96 insertions(+), 78 deletions(-)
drivers/gpu/drm/i915/display/intel_atomic_plane.c +5 -10
@@ -803,8 +803,8 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,struct drm_framebuffer *fb = plane_state->hw.fb;struct drm_rect *src = &plane_state->uapi.src;struct drm_rect *dst = &plane_state->uapi.dst; +const struct drm_rect *clip = &crtc_state->pipe_src;unsigned int rotation = plane_state->hw.rotation; -struct drm_rect clip = {};int hscale, vscale;if (!fb) {
@@ -824,28 +824,23 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,return -ERANGE ; } -if (crtc_state->hw.enable) { - clip.x2 = crtc_state->pipe_src_w; - clip.y2 = crtc_state->pipe_src_h; - } -/* right side of the image is on the slave crtc, adjust dst to match */ if (intel_crtc_is_bigjoiner_slave (crtc_state)) -drm_rect_translate (dst, -crtc_state->pipe_src_w,0 ); +drm_rect_translate (dst, -drm_rect_width (&crtc_state->pipe_src),0 );/* * FIXME: This might need further adjustment for seamless scaling * with phase information, for the 2p2 and 2p1 scenarios. */ - plane_state->uapi.visible =drm_rect_clip_scaled (src, dst, &clip); + plane_state->uapi.visible =drm_rect_clip_scaled (src, dst, clip);drm_rect_rotate_inv (src, fb->width <<16 , fb->height <<16 , rotation);if (!can_position && plane_state->uapi.visible && - !drm_rect_equals (dst, &clip)) { + !drm_rect_equals (dst, clip)) {drm_dbg_kms (&i915->drm,"Plane must cover entire CRTC\n" );drm_rect_debug_print ("dst: " , dst, false); -drm_rect_debug_print ("clip: " , &clip, false); +drm_rect_debug_print ("clip: " , clip, false);return -EINVAL ; }
drivers/gpu/drm/i915/display/intel_cursor.c +1 -1
@@ -154,7 +154,7 @@ static int intel_check_cursor(struct intel_crtc_state *crtc_state, plane_state->uapi.dst = dst;if (intel_crtc_is_bigjoiner_slave (crtc_state))drm_rect_translate (&plane_state->uapi.dst, - -crtc_state->pipe_src_w,0 ); + -drm_rect_width (&crtc_state->pipe_src),0 ); ret =intel_cursor_check_surface (plane_state);if (ret)
drivers/gpu/drm/i915/display/intel_display.c +37 -18
126 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_display_debugfs.c +2 -2
@@ -930,8 +930,8 @@ static void intel_crtc_info(struct seq_file *m, struct intel_crtc *crtc)seq_printf (m,"\tpipe__mode=" DRM_MODE_FMT "\n" ,DRM_MODE_ARG (&crtc_state->hw.pipe_mode)); -seq_printf (m,"\tpipe src size=%dx%d, dither=%s, bpp=%d\n" , - crtc_state->pipe_src_w, crtc_state->pipe_src_h, +seq_printf (m,"\tpipe src=" DRM_RECT_FMT ", dither=%s, bpp=%d\n" , +DRM_RECT_ARG (&crtc_state->pipe_src),yesno (crtc_state->dither), crtc_state->pipe_bpp);intel_scaler_info (m, crtc);
drivers/gpu/drm/i915/display/intel_display_types.h +1 -1
@@ -954,7 +954,7 @@ struct intel_crtc_state {/* Pipe source size (ie. panel fitter input size) * All planes will be positioned inside this space, * and get clipped at the edges. */ -int pipe_src_w, pipe_src_h; +struct drm_rect pipe_src;/* * Pipe pixel rate, adjusted for
drivers/gpu/drm/i915/display/intel_overlay.c +7 -5
@@ -960,14 +960,16 @@ static int check_overlay_dst(struct intel_overlay *overlay, {const struct intel_crtc_state *pipe_config = overlay->crtc->config; +int pipe_src_w =drm_rect_width (&pipe_config->pipe_src); +int pipe_src_h =drm_rect_height (&pipe_config->pipe_src);if (rec->dst_height ==0 || rec->dst_width ==0 )return -EINVAL ; -if (rec->dst_x < pipe_config->pipe_src_w && - rec->dst_x + rec->dst_width <= pipe_config->pipe_src_w && - rec->dst_y < pipe_config->pipe_src_h && - rec->dst_y + rec->dst_height <= pipe_config->pipe_src_h) +if (rec->dst_x < pipe_src_w && + rec->dst_x + rec->dst_width <= pipe_src_w && + rec->dst_y < pipe_src_h && + rec->dst_y + rec->dst_height <= pipe_src_h)return 0 ;else return -EINVAL ;
@@ -1160,7 +1162,7 @@ int intel_overlay_put_image_ioctl(struct drm_device *dev, void *data, crtc->overlay = overlay;/* line too wide, i.e. one-line-mode */ -if (crtc->config->pipe_src_w >1024 && +if (drm_rect_width (&crtc->config->pipe_src) >1024 && crtc->config->gmch_pfit.control &PFIT_ENABLE ) { overlay->pfit_active = true;update_pfit_vscale_ratio (overlay);
drivers/gpu/drm/i915/display/intel_panel.c +35 -35
157 lines not on this page · raw message
drivers/gpu/drm/i915/display/skl_scaler.c +7 -5
@@ -197,7 +197,8 @@ int skl_update_scaler_crtc(struct intel_crtc_state *crtc_state)return skl_update_scaler (crtc_state, !crtc_state->hw.active,SKL_CRTC_INDEX , &crtc_state->scaler_state.scaler_id, - crtc_state->pipe_src_w, crtc_state->pipe_src_h, +drm_rect_width (&crtc_state->pipe_src), +drm_rect_height (&crtc_state->pipe_src), width, height,NULL ,0 , crtc_state->pch_pfit.enabled); }
@@ -400,10 +401,6 @@ void skl_pfit_enable(const struct intel_crtc_state *crtc_state)struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev);const struct intel_crtc_scaler_state *scaler_state = &crtc_state->scaler_state; -struct drm_rect src = { - .x2 = crtc_state->pipe_src_w <<16 , - .y2 = crtc_state->pipe_src_h <<16 , - };const struct drm_rect *dst = &crtc_state->pch_pfit.dst;u16 uv_rgb_hphase, uv_rgb_vphase;enum pipe pipe = crtc->pipe;
@@ -413,6 +410,7 @@ void skl_pfit_enable(const struct intel_crtc_state *crtc_state)int y = dst->y1;int hscale, vscale;unsigned long irqflags; +struct drm_rect src;int id;u32 ps_ctrl;
@@ -423,6 +421,10 @@ void skl_pfit_enable(const struct intel_crtc_state *crtc_state) crtc_state->scaler_state.scaler_id < 0))return ; +drm_rect_init (&src,0 ,0 , +drm_rect_width (&crtc_state->pipe_src) <<16 , +drm_rect_height (&crtc_state->pipe_src) <<16 ); + hscale =drm_rect_calc_hscale (&src, dst,0 ,INT_MAX ); vscale =drm_rect_calc_vscale (&src, dst,0 ,INT_MAX );
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -1
@@ -1325,7 +1325,7 @@ static int skl_plane_check_dst_coordinates(const struct intel_crtc_state *crtc_sto_i915 (plane_state->uapi.plane->dev);int crtc_x = plane_state->uapi.dst.x1;int crtc_w =drm_rect_width (&plane_state->uapi.dst); -int pipe_src_w = crtc_state->pipe_src_w; +int pipe_src_w =drm_rect_width (&crtc_state->pipe_src);/* * Display WA #1175: glk
Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH v2 10/13] drm/i915: Start tracking PIPESRC as a drm_rect
Quoted 9 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Instead of just having the pipe_src_{w,h} let's use a full
drm_rectfor it. This will be particularly useful to astract away some bigjoiner details.v2: No
hweight()stuff yetSigned-off-by Ville Syrjälä <[email protected]>
Manasi
Quoted 506 lines
--- .../gpu/drm/i915/display/intel_atomic_plane.c | 15 ++-- drivers/gpu/drm/i915/display/intel_cursor.c | 2 +- drivers/gpu/drm/i915/display/intel_display.c | 55 ++++++++++----- .../drm/i915/display/intel_display_debugfs.c | 4 +- .../drm/i915/display/intel_display_types.h | 2 +- drivers/gpu/drm/i915/display/intel_overlay.c | 12 ++-- drivers/gpu/drm/i915/display/intel_panel.c | 70 +++++++++---------- drivers/gpu/drm/i915/display/skl_scaler.c | 12 ++-- .../drm/i915/display/skl_universal_plane.c | 2 +- 9 files changed, 96 insertions(+), 78 deletions(-)drivers/gpu/drm/i915/display/intel_atomic_plane.c +5
-10@@ -803,8 +803,8 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,struct drm_framebuffer *fb = plane_state->hw.fb;struct drm_rect *src = &plane_state->uapi.src;struct drm_rect *dst = &plane_state->uapi.dst; +const struct drm_rect *clip = &crtc_state->pipe_src;unsigned int rotation = plane_state->hw.rotation; -struct drm_rect clip = {};int hscale, vscale;if (!fb) {@@ -824,28 +824,23 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,return -ERANGE ; } -if (crtc_state->hw.enable) { - clip.x2 = crtc_state->pipe_src_w; - clip.y2 = crtc_state->pipe_src_h; - } -/* right side of the image is on the slave crtc, adjust dst to match */ if (intel_crtc_is_bigjoiner_slave (crtc_state)) -drm_rect_translate (dst, -crtc_state->pipe_src_w,0 ); +drm_rect_translate (dst, -drm_rect_width (&crtc_state->pipe_src),0 );/* * FIXME: This might need further adjustment for seamless scaling * with phase information, for the 2p2 and 2p1 scenarios. */ - plane_state->uapi.visible =drm_rect_clip_scaled (src, dst, &clip); + plane_state->uapi.visible =drm_rect_clip_scaled (src, dst, clip);drm_rect_rotate_inv (src, fb->width <<16 , fb->height <<16 , rotation);if (!can_position && plane_state->uapi.visible && - !drm_rect_equals (dst, &clip)) { + !drm_rect_equals (dst, clip)) {drm_dbg_kms (&i915->drm,"Plane must cover entire CRTC\n" );drm_rect_debug_print ("dst: " , dst, false); -drm_rect_debug_print ("clip: " , &clip, false); +drm_rect_debug_print ("clip: " , clip, false);return -EINVAL ; }drivers/gpu/drm/i915/display/intel_cursor.c +1
-1@@ -154,7 +154,7 @@ static int intel_check_cursor(struct intel_crtc_state *crtc_state, plane_state->uapi.dst = dst;if (intel_crtc_is_bigjoiner_slave (crtc_state))drm_rect_translate (&plane_state->uapi.dst, - -crtc_state->pipe_src_w,0 ); + -drm_rect_width (&crtc_state->pipe_src),0 ); ret =intel_cursor_check_surface (plane_state);if (ret)drivers/gpu/drm/i915/display/intel_display.c +37
-18@@ -2687,8 +2687,8 @@ static u32 ilk_pipe_pixel_rate(const struct intel_crtc_state *crtc_state)return pixel_rate;drm_rect_init (&src,0 ,0 , - crtc_state->pipe_src_w <<16 , - crtc_state->pipe_src_h <<16 ); +drm_rect_width (&crtc_state->pipe_src) <<16 , +drm_rect_height (&crtc_state->pipe_src) <<16 );return intel_adjusted_rate (&src, &crtc_state->pch_pfit.dst, pixel_rate);@@ -2792,8 +2792,8 @@ static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_state/* Populate the "user" mode with full numbers */ drm_mode_copy (mode, pipe_mode);intel_mode_from_crtc_timings (mode, mode); - mode->hdisplay = crtc_state->pipe_src_w << crtc_state->bigjoiner; - mode->vdisplay = crtc_state->pipe_src_h; + mode->hdisplay =drm_rect_width (&crtc_state->pipe_src) << crtc_state->bigjoiner; + mode->vdisplay =drm_rect_height (&crtc_state->pipe_src);/* Derive per-pipe timings in case bigjoiner is used */ intel_bigjoiner_adjust_timings (crtc_state, pipe_mode);@@ -2810,13 +2810,26 @@ static void intel_encoder_get_config(struct intel_encoder *encoder,intel_crtc_readout_derived_state (crtc_state); } +static void intel_bigjoiner_compute_pipe_src (struct intel_crtc_state *crtc_state) +{ +int width, height; + +if (!crtc_state->bigjoiner) +return ; + + width =drm_rect_width (&crtc_state->pipe_src); + height =drm_rect_height (&crtc_state->pipe_src); + +drm_rect_init (&crtc_state->pipe_src,0 ,0 , + width /2 , height); +} +static int intel_crtc_compute_pipe_src (struct intel_crtc_state *crtc_state) {struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc);struct drm_i915_private *i915 =to_i915 (crtc->base.dev); -if (crtc_state->bigjoiner) - crtc_state->pipe_src_w /=2 ; +intel_bigjoiner_compute_pipe_src (crtc_state);/* * Pipe horizontal size must be even in: @@ -2824,7 +2837,7 @@ static int intel_crtc_compute_pipe_src(struct intel_crtc_state *crtc_state)* - LVDS dual channel mode * - Double wide pipe */ -if (crtc_state->pipe_src_w &1 ) { +if (drm_rect_width (&crtc_state->pipe_src) &1 ) {if (crtc_state->double_wide) { drm_dbg_kms(&i915->drm, "[CRTC:%d:%s] Odd pipe source width not supported with double wide pipe\n",@@ -3111,14 +3124,15 @@ static void intel_set_pipe_src_size(const struct intel_crtc_state *crtc_state) {struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc);struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); +int width =drm_rect_width (&crtc_state->pipe_src); +int height =drm_rect_height (&crtc_state->pipe_src);enum pipe pipe = crtc->pipe;/* pipesrc controls the size that is scaled from, which should * always be the user's requested size. */ intel_de_write (dev_priv,PIPESRC (pipe), -PIPESRC_WIDTH (crtc_state->pipe_src_w -1 ) | -PIPESRC_HEIGHT (crtc_state->pipe_src_h -1 )); +PIPESRC_WIDTH (width -1 ) |PIPESRC_HEIGHT (height -1 )); }static bool intel_pipe_is_interlaced (const struct intel_crtc_state *crtc_state)@@ -3189,8 +3203,10 @@ static void intel_get_pipe_src_size(struct intel_crtc *crtc,u32 tmp; tmp =intel_de_read (dev_priv,PIPESRC (crtc->pipe)); - pipe_config->pipe_src_w =REG_FIELD_GET (PIPESRC_WIDTH_MASK , tmp) +1 ; - pipe_config->pipe_src_h =REG_FIELD_GET (PIPESRC_HEIGHT_MASK , tmp) +1 ; + +drm_rect_init (&pipe_config->pipe_src,0 ,0 , +REG_FIELD_GET (PIPESRC_WIDTH_MASK , tmp) +1 , +REG_FIELD_GET (PIPESRC_HEIGHT_MASK , tmp) +1 ); }static void i9xx_set_pipeconf (const struct intel_crtc_state *crtc_state)@@ -5386,9 +5402,8 @@ static void intel_dump_pipe_config(const struct intel_crtc_state *pipe_config,drm_mode_debug_printmodeline (&pipe_config->hw.pipe_mode);intel_dump_crtc_timings (dev_priv, &pipe_config->hw.pipe_mode);drm_dbg_kms (&dev_priv->drm, -"port clock: %d, pipe src size: %dx%d, pixel rate %d\n" , - pipe_config->port_clock, - pipe_config->pipe_src_w, pipe_config->pipe_src_h, +"port clock: %d, pipe src: " DRM_RECT_FMT ", pixel rate %d\n" , + pipe_config->port_clock,DRM_RECT_ARG (&pipe_config->pipe_src), pipe_config->pixel_rate); drm_dbg_kms(&dev_priv->drm, "linetime: %d, ips linetime: %d\n",@@ -5683,6 +5698,7 @@ intel_modeset_pipe_config(struct intel_atomic_state *state,struct drm_i915_private *i915 =to_i915 (pipe_config->uapi.crtc->dev);struct drm_connector *connector;struct drm_connector_state *connector_state; +int pipe_src_w, pipe_src_h;int base_bpp, ret, i;bool retry = true;@@ -5718,8 +5734,9 @@ intel_modeset_pipe_config(struct intel_atomic_state *state,* can be changed by the connectors in the below retry loop. */ drm_mode_get_hv_timing (&pipe_config->hw.mode, - &pipe_config->pipe_src_w, - &pipe_config->pipe_src_h); + &pipe_src_w, &pipe_src_h); +drm_rect_init (&pipe_config->pipe_src,0 ,0 , + pipe_src_w, pipe_src_h);for_each_new_connector_in_state (&state->base, connector, connector_state, i) { struct intel_encoder *encoder =@@ -6296,8 +6313,10 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,PIPE_CONF_CHECK_BOOL (pch_pfit.force_thru);if (!fastset) { -PIPE_CONF_CHECK_I (pipe_src_w); -PIPE_CONF_CHECK_I (pipe_src_h); +PIPE_CONF_CHECK_I (pipe_src.x1); +PIPE_CONF_CHECK_I (pipe_src.y1); +PIPE_CONF_CHECK_I (pipe_src.x2); +PIPE_CONF_CHECK_I (pipe_src.y2);PIPE_CONF_CHECK_BOOL (pch_pfit.enabled);if (current_config->pch_pfit.enabled) {drivers/gpu/drm/i915/display/intel_display_debugfs.c +2
-2@@ -930,8 +930,8 @@ static void intel_crtc_info(struct seq_file *m, struct intel_crtc *crtc)seq_printf (m,"\tpipe__mode=" DRM_MODE_FMT "\n" ,DRM_MODE_ARG (&crtc_state->hw.pipe_mode)); -seq_printf (m,"\tpipe src size=%dx%d, dither=%s, bpp=%d\n" , - crtc_state->pipe_src_w, crtc_state->pipe_src_h, +seq_printf (m,"\tpipe src=" DRM_RECT_FMT ", dither=%s, bpp=%d\n" , +DRM_RECT_ARG (&crtc_state->pipe_src),yesno (crtc_state->dither), crtc_state->pipe_bpp);intel_scaler_info (m, crtc);drivers/gpu/drm/i915/display/intel_display_types.h +1
-1@@ -954,7 +954,7 @@ struct intel_crtc_state {/* Pipe source size (ie. panel fitter input size) * All planes will be positioned inside this space, * and get clipped at the edges. */ -int pipe_src_w, pipe_src_h; +struct drm_rect pipe_src;/* * Pipe pixel rate, adjusted for drivers/gpu/drm/i915/display/intel_overlay.c +7
-5@@ -960,14 +960,16 @@ static int check_overlay_dst(struct intel_overlay *overlay, {const struct intel_crtc_state *pipe_config = overlay->crtc->config; +int pipe_src_w =drm_rect_width (&pipe_config->pipe_src); +int pipe_src_h =drm_rect_height (&pipe_config->pipe_src);if (rec->dst_height ==0 || rec->dst_width ==0 )return -EINVAL ; -if (rec->dst_x < pipe_config->pipe_src_w && - rec->dst_x + rec->dst_width <= pipe_config->pipe_src_w && - rec->dst_y < pipe_config->pipe_src_h && - rec->dst_y + rec->dst_height <= pipe_config->pipe_src_h) +if (rec->dst_x < pipe_src_w && + rec->dst_x + rec->dst_width <= pipe_src_w && + rec->dst_y < pipe_src_h && + rec->dst_y + rec->dst_height <= pipe_src_h)return 0 ;else return -EINVAL ;@@ -1160,7 +1162,7 @@ int intel_overlay_put_image_ioctl(struct drm_device *dev, void *data, crtc->overlay = overlay;/* line too wide, i.e. one-line-mode */ -if (crtc->config->pipe_src_w >1024 && +if (drm_rect_width (&crtc->config->pipe_src) >1024 && crtc->config->gmch_pfit.control &PFIT_ENABLE ) { overlay->pfit_active = true;update_pfit_vscale_ratio (overlay);drivers/gpu/drm/i915/display/intel_panel.c +35
-35@@ -205,18 +205,20 @@ static int pch_panel_fitting(struct intel_crtc_state *crtc_state, {const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; +int pipe_src_w =drm_rect_width (&crtc_state->pipe_src); +int pipe_src_h =drm_rect_height (&crtc_state->pipe_src);int x, y, width, height;/* Native modes don't need fitting */ -if (adjusted_mode->crtc_hdisplay == crtc_state->pipe_src_w && - adjusted_mode->crtc_vdisplay == crtc_state->pipe_src_h && +if (adjusted_mode->crtc_hdisplay == pipe_src_w && + adjusted_mode->crtc_vdisplay == pipe_src_h && crtc_state->output_format !=INTEL_OUTPUT_FORMAT_YCBCR420 )return 0 ;switch (conn_state->scaling_mode) {case DRM_MODE_SCALE_CENTER : - width = crtc_state->pipe_src_w; - height = crtc_state->pipe_src_h; + width = pipe_src_w; + height = pipe_src_h; x = (adjusted_mode->crtc_hdisplay - width +1 )/2 ; y = (adjusted_mode->crtc_vdisplay - height +1 )/2 ;break ;@@ -224,19 +226,17 @@ static int pch_panel_fitting(struct intel_crtc_state *crtc_state,case DRM_MODE_SCALE_ASPECT :/* Scale but preserve the aspect ratio */ { -u32 scaled_width = adjusted_mode->crtc_hdisplay - * crtc_state->pipe_src_h; -u32 scaled_height = crtc_state->pipe_src_w - * adjusted_mode->crtc_vdisplay; +u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; +u32 scaled_height = pipe_src_w * adjusted_mode->crtc_vdisplay;if (scaled_width > scaled_height) {/* pillar */ - width = scaled_height / crtc_state->pipe_src_h; + width = scaled_height / pipe_src_h;if (width &1 ) width++; x = (adjusted_mode->crtc_hdisplay - width +1 ) /2 ; y =0 ; height = adjusted_mode->crtc_vdisplay; }else if (scaled_width < scaled_height) {/* letter */ - height = scaled_width / crtc_state->pipe_src_w; + height = scaled_width / pipe_src_w;if (height &1 ) height++; y = (adjusted_mode->crtc_vdisplay - height +1 ) /2 ;@@ -251,8 +251,8 @@ static int pch_panel_fitting(struct intel_crtc_state *crtc_state,break ;case DRM_MODE_SCALE_NONE : -WARN_ON (adjusted_mode->crtc_hdisplay != crtc_state->pipe_src_w); -WARN_ON (adjusted_mode->crtc_vdisplay != crtc_state->pipe_src_h); +WARN_ON (adjusted_mode->crtc_hdisplay != pipe_src_w); +WARN_ON (adjusted_mode->crtc_vdisplay != pipe_src_h); fallthrough;case DRM_MODE_SCALE_FULLSCREEN : x = y =0 ;@@ -333,10 +333,10 @@ static void i965_scale_aspect(struct intel_crtc_state *crtc_state, {const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; -u32 scaled_width = adjusted_mode->crtc_hdisplay * - crtc_state->pipe_src_h; -u32 scaled_height = crtc_state->pipe_src_w * - adjusted_mode->crtc_vdisplay; +int pipe_src_w =drm_rect_width (&crtc_state->pipe_src); +int pipe_src_h =drm_rect_height (&crtc_state->pipe_src); +u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; +u32 scaled_height = pipe_src_w * adjusted_mode->crtc_vdisplay;/* 965+ is easy, it does everything in hw */ if (scaled_width > scaled_height)@@ -345,7 +345,7 @@ static void i965_scale_aspect(struct intel_crtc_state *crtc_state,else if (scaled_width < scaled_height) *pfit_control |=PFIT_ENABLE |PFIT_SCALING_LETTER ; -else if (adjusted_mode->crtc_hdisplay != crtc_state->pipe_src_w) +else if (adjusted_mode->crtc_hdisplay != pipe_src_w) *pfit_control |=PFIT_ENABLE |PFIT_SCALING_AUTO ; }@@ -354,10 +354,10 @@ static void i9xx_scale_aspect(struct intel_crtc_state *crtc_state, u32 *border) {struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; -u32 scaled_width = adjusted_mode->crtc_hdisplay * - crtc_state->pipe_src_h; -u32 scaled_height = crtc_state->pipe_src_w * - adjusted_mode->crtc_vdisplay; +int pipe_src_w =drm_rect_width (&crtc_state->pipe_src); +int pipe_src_h =drm_rect_height (&crtc_state->pipe_src); +u32 scaled_width = adjusted_mode->crtc_hdisplay * pipe_src_h; +u32 scaled_height = pipe_src_w * adjusted_mode->crtc_vdisplay;u32 bits;/* @@ -367,12 +367,11 @@ static void i9xx_scale_aspect(struct intel_crtc_state *crtc_state,*/ if (scaled_width > scaled_height) {/* pillar */ centre_horizontally (adjusted_mode, - scaled_height / - crtc_state->pipe_src_h); + scaled_height / pipe_src_h); *border =LVDS_BORDER_ENABLE ; -if (crtc_state->pipe_src_h != adjusted_mode->crtc_vdisplay) { - bits =panel_fitter_scaling (crtc_state->pipe_src_h, +if (pipe_src_h != adjusted_mode->crtc_vdisplay) { + bits =panel_fitter_scaling (pipe_src_h, adjusted_mode->crtc_vdisplay); *pfit_pgm_ratios |= (bits << PFIT_HORIZ_SCALE_SHIFT |@@ -383,12 +382,11 @@ static void i9xx_scale_aspect(struct intel_crtc_state *crtc_state, } }else if (scaled_width < scaled_height) {/* letter */ centre_vertically (adjusted_mode, - scaled_width / - crtc_state->pipe_src_w); + scaled_width / pipe_src_w); *border =LVDS_BORDER_ENABLE ; -if (crtc_state->pipe_src_w != adjusted_mode->crtc_hdisplay) { - bits =panel_fitter_scaling (crtc_state->pipe_src_w, +if (pipe_src_w != adjusted_mode->crtc_hdisplay) { + bits =panel_fitter_scaling (pipe_src_w, adjusted_mode->crtc_hdisplay); *pfit_pgm_ratios |= (bits << PFIT_HORIZ_SCALE_SHIFT |@@ -413,10 +411,12 @@ static int gmch_panel_fitting(struct intel_crtc_state *crtc_state,struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev);u32 pfit_control =0 , pfit_pgm_ratios =0 , border =0 ;struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode; +int pipe_src_w =drm_rect_width (&crtc_state->pipe_src); +int pipe_src_h =drm_rect_height (&crtc_state->pipe_src);/* Native modes don't need fitting */ -if (adjusted_mode->crtc_hdisplay == crtc_state->pipe_src_w && - adjusted_mode->crtc_vdisplay == crtc_state->pipe_src_h) +if (adjusted_mode->crtc_hdisplay == pipe_src_w && + adjusted_mode->crtc_vdisplay == pipe_src_h) goto out;switch (conn_state->scaling_mode) {@@ -425,8 +425,8 @@ static int gmch_panel_fitting(struct intel_crtc_state *crtc_state,* For centered modes, we have to calculate border widths & * heights and modify the values programmed into the CRTC. */ -centre_horizontally (adjusted_mode, crtc_state->pipe_src_w); -centre_vertically (adjusted_mode, crtc_state->pipe_src_h); +centre_horizontally (adjusted_mode, pipe_src_w); +centre_vertically (adjusted_mode, pipe_src_h); border =LVDS_BORDER_ENABLE ;break ;case DRM_MODE_SCALE_ASPECT :@@ -442,8 +442,8 @@ static int gmch_panel_fitting(struct intel_crtc_state *crtc_state,* Full scaling, even if it changes the aspect ratio. * Fortunately this is all done for us in hw. */ -if (crtc_state->pipe_src_h != adjusted_mode->crtc_vdisplay || - crtc_state->pipe_src_w != adjusted_mode->crtc_hdisplay) { +if (pipe_src_h != adjusted_mode->crtc_vdisplay || + pipe_src_w != adjusted_mode->crtc_hdisplay) { pfit_control |=PFIT_ENABLE ;if (DISPLAY_VER (dev_priv) >=4 ) pfit_control |=PFIT_SCALING_AUTO ;drivers/gpu/drm/i915/display/skl_scaler.c +7
-5@@ -197,7 +197,8 @@ int skl_update_scaler_crtc(struct intel_crtc_state *crtc_state)return skl_update_scaler (crtc_state, !crtc_state->hw.active,SKL_CRTC_INDEX , &crtc_state->scaler_state.scaler_id, - crtc_state->pipe_src_w, crtc_state->pipe_src_h, +drm_rect_width (&crtc_state->pipe_src), +drm_rect_height (&crtc_state->pipe_src), width, height,NULL ,0 , crtc_state->pch_pfit.enabled); }@@ -400,10 +401,6 @@ void skl_pfit_enable(const struct intel_crtc_state *crtc_state)struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev);const struct intel_crtc_scaler_state *scaler_state = &crtc_state->scaler_state; -struct drm_rect src = { - .x2 = crtc_state->pipe_src_w <<16 , - .y2 = crtc_state->pipe_src_h <<16 , - };const struct drm_rect *dst = &crtc_state->pch_pfit.dst;u16 uv_rgb_hphase, uv_rgb_vphase;enum pipe pipe = crtc->pipe;@@ -413,6 +410,7 @@ void skl_pfit_enable(const struct intel_crtc_state *crtc_state)int y = dst->y1;int hscale, vscale;unsigned long irqflags; +struct drm_rect src;int id;u32 ps_ctrl;@@ -423,6 +421,10 @@ void skl_pfit_enable(const struct intel_crtc_state *crtc_state) crtc_state->scaler_state.scaler_id < 0))return ; +drm_rect_init (&src,0 ,0 , +drm_rect_width (&crtc_state->pipe_src) <<16 , +drm_rect_height (&crtc_state->pipe_src) <<16 ); + hscale =drm_rect_calc_hscale (&src, dst,0 ,INT_MAX ); vscale =drm_rect_calc_vscale (&src, dst,0 ,INT_MAX );drivers/gpu/drm/i915/display/skl_universal_plane.c +1
-1@@ -1325,7 +1325,7 @@ static int skl_plane_check_dst_coordinates(const struct intel_crtc_state *crtc_sto_i915 (plane_state->uapi.plane->dev);int crtc_x = plane_state->uapi.dst.x1;int crtc_w =drm_rect_width (&plane_state->uapi.dst); -int pipe_src_w = crtc_state->pipe_src_w; +int pipe_src_w =drm_rect_width (&crtc_state->pipe_src);/* * Display WA #1175: glk Signature · 1 line
2.34.1
PATCH v2 11/13 drm/i915: Eliminate bigjoiner boolean
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Since we now have the bigjoiner_pipes bitmask the boolean is redundant. Get rid of it.
Also, populating bigjoiner_pipes already during encoder->compute_config() allows us to use it much earlier during the state calculation as well. The initial aim is to use it in intel_crtc_compute_config().
v2: Move the hweight(bigjoiner_pipes) stuff to a later patch
--- drivers/gpu/drm/i915/display/intel_cursor.c | 2 +- drivers/gpu/drm/i915/display/intel_display.c | 52 ++++++++----------- .../drm/i915/display/intel_display_debugfs.c | 2 +- .../drm/i915/display/intel_display_types.h | 3 -- drivers/gpu/drm/i915/display/intel_dp.c | 13 ++--- drivers/gpu/drm/i915/display/intel_vdsc.c | 8 +-- .../drm/i915/display/skl_universal_plane.c | 2 +- 7 files changed, 37 insertions(+), 45 deletions(-)
drivers/gpu/drm/i915/display/intel_cursor.c +1 -1
@@ -640,7 +640,7 @@ intel_legacy_cursor_update(struct drm_plane *_plane,* FIXME bigjoiner fastpath would be good */ if (!crtc_state->hw.active ||intel_crtc_needs_modeset (crtc_state) || - crtc_state->update_pipe || crtc_state->bigjoiner) + crtc_state->update_pipe || crtc_state->bigjoiner_pipes) goto slow;/*
drivers/gpu/drm/i915/display/intel_display.c +23 -29
146 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_display_debugfs.c +1 -1
@@ -936,7 +936,7 @@ static void intel_crtc_info(struct seq_file *m, struct intel_crtc *crtc)intel_scaler_info (m, crtc); -if (crtc_state->bigjoiner) +if (crtc_state->bigjoiner_pipes)seq_printf (m,"\tLinked to 0x%x pipes as a %s\n" , crtc_state->bigjoiner_pipes,intel_crtc_is_bigjoiner_slave (crtc_state) ?"slave" :"master" );
drivers/gpu/drm/i915/display/intel_display_types.h +0 -3
@@ -1179,9 +1179,6 @@ struct intel_crtc_state {/* enable pipe csc? */ bool csc_enable; -/* enable pipe big joiner? */ -bool bigjoiner; -/* big joiner pipe bitmask */ u8 bigjoiner_pipes;
drivers/gpu/drm/i915/display/intel_dp.c +7 -6
@@ -1424,13 +1424,13 @@ static int intel_dp_dsc_compute_config(struct intel_dp *intel_dp, pipe_config->lane_count, adjusted_mode->crtc_clock, adjusted_mode->crtc_hdisplay, - pipe_config->bigjoiner, + pipe_config->bigjoiner_pipes, pipe_bpp); dsc_dp_slice_count =intel_dp_dsc_get_slice_count (intel_dp, adjusted_mode->crtc_clock, adjusted_mode->crtc_hdisplay, - pipe_config->bigjoiner); + pipe_config->bigjoiner_pipes);if (!dsc_max_output_bpp || !dsc_dp_slice_count) {drm_dbg_kms (&dev_priv->drm,"Compressed BPP/Slice Count not supported\n" );
@@ -1464,7 +1464,7 @@ static int intel_dp_dsc_compute_config(struct intel_dp *intel_dp,* then we need to use 2 VDSC instances. */ if (adjusted_mode->crtc_clock > dev_priv->max_cdclk_freq || - pipe_config->bigjoiner) { + pipe_config->bigjoiner_pipes) {if (pipe_config->dsc.slice_count <2 ) {drm_dbg_kms (&dev_priv->drm,"Cannot split stream to use 2 VDSC instances\n" );
@@ -1500,6 +1500,7 @@ intel_dp_compute_link_config(struct intel_encoder *encoder, struct drm_connector_state *conn_state) {struct drm_i915_private *i915 =to_i915 (encoder->base.dev); +struct intel_crtc *crtc =to_intel_crtc (pipe_config->uapi.crtc);const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode;struct intel_dp *intel_dp =enc_to_intel_dp (encoder);
@@ -1537,7 +1538,7 @@ intel_dp_compute_link_config(struct intel_encoder *encoder,if (intel_dp_need_bigjoiner (intel_dp, adjusted_mode->crtc_hdisplay, adjusted_mode->crtc_clock)) - pipe_config->bigjoiner = true; + pipe_config->bigjoiner_pipes =GENMASK (crtc->pipe +1 , crtc->pipe);/* * Optimize for slow and wide for everything, because there are some
@@ -1550,8 +1551,8 @@ intel_dp_compute_link_config(struct intel_encoder *encoder,* onwards pipe joiner can be enabled without compression. */ drm_dbg_kms (&i915->drm,"Force DSC en = %d\n" , intel_dp->force_dsc_en); -if (ret || intel_dp->force_dsc_en || (DISPLAY_VER (i915) <13 && - pipe_config->bigjoiner)) { +if (ret || intel_dp->force_dsc_en || + (DISPLAY_VER (i915) <13 && pipe_config->bigjoiner_pipes)) { ret =intel_dp_dsc_compute_config (intel_dp, pipe_config, conn_state, &limits);if (ret <0 )
drivers/gpu/drm/i915/display/intel_vdsc.c +4 -4
@@ -579,7 +579,7 @@ static void intel_dsc_pps_configure(const struct intel_crtc_state *crtc_state)u8 num_vdsc_instances = (crtc_state->dsc.dsc_split) ?2 :1 ;int i =0 ; -if (crtc_state->bigjoiner) +if (crtc_state->bigjoiner_pipes) num_vdsc_instances *=2 ;/* Populate PICTURE_PARAMETER_SET_0 registers */
@@ -1113,7 +1113,7 @@ void intel_uncompressed_joiner_enable(const struct intel_crtc_state *crtc_state)struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev);u32 dss_ctl1_val =0 ; -if (crtc_state->bigjoiner && !crtc_state->dsc.compression_enable) { +if (crtc_state->bigjoiner_pipes && !crtc_state->dsc.compression_enable) {if (intel_crtc_is_bigjoiner_slave (crtc_state)) dss_ctl1_val |=UNCOMPRESSED_JOINER_SLAVE ;else
@@ -1140,7 +1140,7 @@ void intel_dsc_enable(const struct intel_crtc_state *crtc_state) dss_ctl2_val |=RIGHT_BRANCH_VDSC_ENABLE ; dss_ctl1_val |=JOINER_ENABLE ; } -if (crtc_state->bigjoiner) { +if (crtc_state->bigjoiner_pipes) { dss_ctl1_val |=BIG_JOINER_ENABLE ;if (!intel_crtc_is_bigjoiner_slave (crtc_state)) dss_ctl1_val |=MASTER_BIG_JOINER_ENABLE ;
@@ -1156,7 +1156,7 @@ void intel_dsc_disable(const struct intel_crtc_state *old_crtc_state)/* Disable only if either of them is enabled */ if (old_crtc_state->dsc.compression_enable || - old_crtc_state->bigjoiner) { + old_crtc_state->bigjoiner_pipes) {intel_de_write (dev_priv,dss_ctl1_reg (crtc, old_crtc_state->cpu_transcoder),0 );intel_de_write (dev_priv,dss_ctl2_reg (crtc, old_crtc_state->cpu_transcoder),0 ); }
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -1
@@ -2284,7 +2284,7 @@ skl_get_initial_plane_config(struct intel_crtc *crtc,drm_WARN_ON (dev, pipe != crtc->pipe); -if (crtc_state->bigjoiner) { +if (crtc_state->bigjoiner_pipes) {drm_dbg_kms (&dev_priv->drm,"Unsupported bigjoiner configuration for initial FB\n" );return ;
Signature · 1 line
2.34.1
PATCH v2 12/13 drm/i915: Use bigjoiner_pipes more
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Replace the hardcoded 2 pipe assumptions when we're massaging pipe_mode and the pipe_src rect to be suitable for bigjoiner. Instead we can just count the number of pipes in the bitmask.
v2: Introduce intel_bigjoiner_num_pipes()
--- drivers/gpu/drm/i915/display/intel_display.c | 31 +++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +20 -11
@@ -368,6 +368,11 @@ bool intel_crtc_is_bigjoiner_master(const struct intel_crtc_state *crtc_state) crtc->pipe ==bigjoiner_master_pipe (crtc_state); } +static int intel_bigjoiner_num_pipes (const struct intel_crtc_state *crtc_state) +{ +return hweight8 (crtc_state->bigjoiner_pipes); +} +struct intel_crtc *intel_master_crtc (const struct intel_crtc_state *crtc_state) {struct drm_i915_private *i915 =to_i915 (crtc_state->uapi.crtc->dev);
@@ -2731,16 +2736,18 @@ static void intel_crtc_compute_pixel_rate(struct intel_crtc_state *crtc_state)static void intel_bigjoiner_adjust_timings (const struct intel_crtc_state *crtc_state,struct drm_display_mode *mode) { -if (!crtc_state->bigjoiner_pipes) +int num_pipes =intel_bigjoiner_num_pipes (crtc_state); + +if (num_pipes <2 )return ; - mode->crtc_clock /=2 ; - mode->crtc_hdisplay /=2 ; - mode->crtc_hblank_start /=2 ; - mode->crtc_hblank_end /=2 ; - mode->crtc_hsync_start /=2 ; - mode->crtc_hsync_end /=2 ; - mode->crtc_htotal /=2 ; + mode->crtc_clock /= num_pipes; + mode->crtc_hdisplay /= num_pipes; + mode->crtc_hblank_start /= num_pipes; + mode->crtc_hblank_end /= num_pipes; + mode->crtc_hsync_start /= num_pipes; + mode->crtc_hsync_end /= num_pipes; + mode->crtc_htotal /= num_pipes; } static void intel_splitter_adjust_timings(const struct intel_crtc_state *crtc_state,
@@ -2792,7 +2799,8 @@ static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_state/* Populate the "user" mode with full numbers */ drm_mode_copy (mode, pipe_mode);intel_mode_from_crtc_timings (mode, mode); - mode->hdisplay =drm_rect_width (&crtc_state->pipe_src) << !!crtc_state->bigjoiner_pipes; + mode->hdisplay =drm_rect_width (&crtc_state->pipe_src) * + (intel_bigjoiner_num_pipes (crtc_state) ?:1 ); mode->vdisplay =drm_rect_height (&crtc_state->pipe_src);/* Derive per-pipe timings in case bigjoiner is used */
@@ -2812,16 +2820,17 @@ static void intel_encoder_get_config(struct intel_encoder *encoder,static void intel_bigjoiner_compute_pipe_src (struct intel_crtc_state *crtc_state) { +int num_pipes =intel_bigjoiner_num_pipes (crtc_state);int width, height; -if (!crtc_state->bigjoiner_pipes) +if (num_pipes <2 )return ; width =drm_rect_width (&crtc_state->pipe_src); height =drm_rect_height (&crtc_state->pipe_src);drm_rect_init (&crtc_state->pipe_src,0 ,0 , - width /2 , height); + width / num_pipes, height); }static int intel_crtc_compute_pipe_src (struct intel_crtc_state *crtc_state)
Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH v2 12/13] drm/i915: Use bigjoiner_pipes more
Quoted 18 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Replace the hardcoded 2 pipe assumptions when we're massaging
pipe_modeand thepipe_srcrect to be suitable for bigjoiner. Instead we can just count the number of pipes in the bitmask.v2: Introduce
intel_bigjoiner_num_pipes()Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_display.c | 31 +++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +0
-0
drivers/gpu/drm/i915/display/intel_display.c bool intel_crtc_is_bigjoiner_master(const struct intel_crtc_state *crtc_state) · line 374
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_display.c +4
-0@@ -368,6 +368,11 @@ bool intel_crtc_is_bigjoiner_master(const struct intel_crtc_state *crtc_state) crtc->pipe ==bigjoiner_master_pipe (crtc_state); } +static int intel_bigjoiner_num_pipes (const struct intel_crtc_state *crtc_state) +{ +return hweight8 (crtc_state->bigjoiner_pipes); +}
Okay yes makes sense. Although bigjoiner will always be between just 2 pipes so why not hardcode to 2 and use the if (!crtc_state->bigjoiner_pipes) as the check instead of num_pipes < 2.
When we have a joiner for 4 pipes, in that case also bigjoiner will still be only between 2 pipes. So in bigjoiner_pipe mask, it will always only have 2 pipes.
Manasi
Quoted 64 lines
drivers/gpu/drm/i915/display/intel_display.c +16
-11+struct intel_crtc *intel_master_crtc (const struct intel_crtc_state *crtc_state) {struct drm_i915_private *i915 =to_i915 (crtc_state->uapi.crtc->dev);@@ -2731,16 +2736,18 @@ static void intel_crtc_compute_pixel_rate(struct intel_crtc_state *crtc_state)static void intel_bigjoiner_adjust_timings (const struct intel_crtc_state *crtc_state,struct drm_display_mode *mode) { -if (!crtc_state->bigjoiner_pipes) +int num_pipes =intel_bigjoiner_num_pipes (crtc_state); + +if (num_pipes <2 )return ; - mode->crtc_clock /=2 ; - mode->crtc_hdisplay /=2 ; - mode->crtc_hblank_start /=2 ; - mode->crtc_hblank_end /=2 ; - mode->crtc_hsync_start /=2 ; - mode->crtc_hsync_end /=2 ; - mode->crtc_htotal /=2 ; + mode->crtc_clock /= num_pipes; + mode->crtc_hdisplay /= num_pipes; + mode->crtc_hblank_start /= num_pipes; + mode->crtc_hblank_end /= num_pipes; + mode->crtc_hsync_start /= num_pipes; + mode->crtc_hsync_end /= num_pipes; + mode->crtc_htotal /= num_pipes; } static void intel_splitter_adjust_timings(const struct intel_crtc_state *crtc_state,@@ -2792,7 +2799,8 @@ static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_state/* Populate the "user" mode with full numbers */ drm_mode_copy (mode, pipe_mode);intel_mode_from_crtc_timings (mode, mode); - mode->hdisplay =drm_rect_width (&crtc_state->pipe_src) << !!crtc_state->bigjoiner_pipes; + mode->hdisplay =drm_rect_width (&crtc_state->pipe_src) * + (intel_bigjoiner_num_pipes (crtc_state) ?:1 ); mode->vdisplay =drm_rect_height (&crtc_state->pipe_src);/* Derive per-pipe timings in case bigjoiner is used */ @@ -2812,16 +2820,17 @@ static void intel_encoder_get_config(struct intel_encoder *encoder,static void intel_bigjoiner_compute_pipe_src (struct intel_crtc_state *crtc_state) { +int num_pipes =intel_bigjoiner_num_pipes (crtc_state);int width, height; -if (!crtc_state->bigjoiner_pipes) +if (num_pipes <2 )return ; width =drm_rect_width (&crtc_state->pipe_src); height =drm_rect_height (&crtc_state->pipe_src);drm_rect_init (&crtc_state->pipe_src,0 ,0 , - width /2 , height); + width / num_pipes, height); }static int intel_crtc_compute_pipe_src (struct intel_crtc_state *crtc_state)Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH v2 12/13] drm/i915: Use bigjoiner_pipes more
Quoted 22 lines · Manasi
Quoted 21 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Replace the hardcoded 2 pipe assumptions when we're massaging
pipe_modeand thepipe_srcrect to be suitable for bigjoiner. Instead we can just count the number of pipes in the bitmask.v2: Introduce
intel_bigjoiner_num_pipes()Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_display.c | 31 +++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +0
-0@@ -368,6 +368,11 @@ bool intel_crtc_is_bigjoiner_master(const struct intel_crtc_state *crtc_state) crtc->pipe ==bigjoiner_master_pipe (crtc_state); }
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_display.c bool intel_crtc_is_bigjoiner_master(const struct intel_crtc_state *crtc_state) · line 374
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_display.c +4
-0+static int intel_bigjoiner_num_pipes (const struct intel_crtc_state *crtc_state) +{ +return hweight8 (crtc_state->bigjoiner_pipes); +}Okay yes makes sense. Although bigjoiner will always be between just 2 pipes so why not hardcode to 2 and use the if (!crtc_state->bigjoiner_pipes) as the check instead of
num_pipes< 2.
When we have a joiner for 4 pipes, in that case also bigjoiner will still be only between 2 pipes. So inbigjoiner_pipemask, it will always only have 2 pipes.
It'll be whatever pipes we have when we have more pipes.
Signature · 2 lines
Ville Syrjälä Intel
Navare, Manasi
Reviewed-byRe: [Intel-gfx] [PATCH v2 12/13] drm/i915: Use bigjoiner_pipes more
Quoted 33 lines · Ville Syrjälä
Quoted 22 lines · Manasi
Quoted 21 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Replace the hardcoded 2 pipe assumptions when we're massaging
pipe_modeand thepipe_srcrect to be suitable for bigjoiner. Instead we can just count the number of pipes in the bitmask.v2: Introduce
intel_bigjoiner_num_pipes()Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_display.c | 31 +++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +0
-0@@ -368,6 +368,11 @@ bool intel_crtc_is_bigjoiner_master(const struct intel_crtc_state *crtc_state) crtc->pipe ==bigjoiner_master_pipe (crtc_state); }Quoted 9 lines
drivers/gpu/drm/i915/display/intel_display.c bool intel_crtc_is_bigjoiner_master(const struct intel_crtc_state *crtc_state) · line 374
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_display.c +4
-0+static int intel_bigjoiner_num_pipes (const struct intel_crtc_state *crtc_state) +{ +return hweight8 (crtc_state->bigjoiner_pipes); +}Okay yes makes sense. Although bigjoiner will always be between just 2 pipes so why not hardcode to 2 and use the if (!crtc_state->bigjoiner_pipes) as the check instead of
num_pipes< 2.
When we have a joiner for 4 pipes, in that case also bigjoiner will still be only between 2 pipes. So inbigjoiner_pipemask, it will always only have 2 pipes.
Quoted 1 line
It'll be whatever pipes we have when we have more pipes.
Okay agreed might be good from scalability pov
Manasi
Quoted 4 lines
Signature · 3 lines
-- Ville Syrjälä Intel
PATCH v2 13/13 drm/i915: Make the PIPESC rect relative to the entire bigjoiner area
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
When using bigjoiner it's useful to know the offset of each individual pipe in the whole set of joined pipes. Let's include that information in our PIPESRC rectangle. With this we can make the plane clipping code blissfully unaware of bigjoiner usage, as all we have to do is remove the pipe's offset from the final plane destination coordinates.
v2: Use intel_bigjoiner_num_pipes()
--- .../gpu/drm/i915/display/intel_atomic_plane.c | 7 +++--- drivers/gpu/drm/i915/display/intel_cursor.c | 8 ++++--- drivers/gpu/drm/i915/display/intel_display.c | 21 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_overlay.c | 22 +++++++++---------- 4 files changed, 40 insertions(+), 18 deletions(-)
drivers/gpu/drm/i915/display/intel_atomic_plane.c +3 -4
@@ -824,10 +824,6 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,return -ERANGE ; } -/* right side of the image is on the slave crtc, adjust dst to match */ -if (intel_crtc_is_bigjoiner_slave (crtc_state)) -drm_rect_translate (dst, -drm_rect_width (&crtc_state->pipe_src),0 ); -/* * FIXME: This might need further adjustment for seamless scaling * with phase information, for the 2p2 and 2p1 scenarios.
@@ -844,6 +840,9 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,return -EINVAL ; } +/* final plane coordinates will be relative to the plane's pipe */ +drm_rect_translate (dst, -clip->x1, -clip->y1); +return 0 ; }
drivers/gpu/drm/i915/display/intel_cursor.c +5 -3
@@ -152,9 +152,11 @@ static int intel_check_cursor(struct intel_crtc_state *crtc_state,/* Use the unclipped src/dst rectangles, which we program to hw */ plane_state->uapi.src = src; plane_state->uapi.dst = dst; -if (intel_crtc_is_bigjoiner_slave (crtc_state)) -drm_rect_translate (&plane_state->uapi.dst, - -drm_rect_width (&crtc_state->pipe_src),0 ); + +/* final plane coordinates will be relative to the plane's pipe */ +drm_rect_translate (&plane_state->uapi.dst, + -crtc_state->pipe_src.x1, + -crtc_state->pipe_src.y1); ret =intel_cursor_check_surface (plane_state);if (ret)
drivers/gpu/drm/i915/display/intel_display.c +21 -0
@@ -3204,6 +3204,23 @@ static void intel_get_transcoder_timings(struct intel_crtc *crtc, } } +static void intel_bigjoiner_adjust_pipe_src (struct intel_crtc_state *crtc_state) +{ +struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc); +int num_pipes =intel_bigjoiner_num_pipes (crtc_state); +enum pipe master_pipe, pipe = crtc->pipe; +int width; + +if (num_pipes <2 ) +return ; + + master_pipe =bigjoiner_master_pipe (crtc_state); + width =drm_rect_width (&crtc_state->pipe_src); + +drm_rect_translate_to (&crtc_state->pipe_src, + (pipe - master_pipe) * width,0 ); +} +static void intel_get_pipe_src_size (struct intel_crtc *crtc,struct intel_crtc_state *pipe_config) {
@@ -3216,6 +3233,8 @@ static void intel_get_pipe_src_size(struct intel_crtc *crtc,drm_rect_init (&pipe_config->pipe_src,0 ,0 ,REG_FIELD_GET (PIPESRC_WIDTH_MASK , tmp) +1 ,REG_FIELD_GET (PIPESRC_HEIGHT_MASK , tmp) +1 ); + +intel_bigjoiner_adjust_pipe_src (pipe_config); }static void i9xx_set_pipeconf (const struct intel_crtc_state *crtc_state)
@@ -5853,6 +5872,8 @@ intel_modeset_pipe_config_late(struct intel_crtc_state *crtc_state)struct drm_connector *connector;int i; +intel_bigjoiner_adjust_pipe_src (crtc_state); +for_each_new_connector_in_state (&state->base, connector, conn_state, i) { struct intel_encoder *encoder =
drivers/gpu/drm/i915/display/intel_overlay.c +11 -11
@@ -958,21 +958,21 @@ static void update_pfit_vscale_ratio(struct intel_overlay *overlay)static int check_overlay_dst (struct intel_overlay *overlay,struct drm_intel_overlay_put_image *rec) { -const struct intel_crtc_state *pipe_config = +const struct intel_crtc_state *crtc_state = overlay->crtc->config; -int pipe_src_w =drm_rect_width (&pipe_config->pipe_src); -int pipe_src_h =drm_rect_height (&pipe_config->pipe_src); +struct drm_rect req, clipped; -if (rec->dst_height ==0 || rec->dst_width ==0 ) -return -EINVAL ; +drm_rect_init (&req, rec->dst_x, rec->dst_y, + rec->dst_width, rec->dst_height); + + clipped = req; +drm_rect_intersect (&clipped, &crtc_state->pipe_src); -if (rec->dst_x < pipe_src_w && - rec->dst_x + rec->dst_width <= pipe_src_w && - rec->dst_y < pipe_src_h && - rec->dst_y + rec->dst_height <= pipe_src_h) -return 0 ; -else +if (!drm_rect_visible (&clipped) || + !drm_rect_equals (&clipped, &req))return -EINVAL ; + +return 0 ; }static int check_overlay_scaling (struct drm_intel_overlay_put_image *rec)
Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH v2 13/13] drm/i915: Make the PIPESC rect relative to the entire bigjoiner area
Quoted 133 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
When using bigjoiner it's useful to know the offset of each individual pipe in the whole set of joined pipes. Let's include that information in our PIPESRC rectangle. With this we can make the plane clipping code blissfully unaware of bigjoiner usage, as all we have to do is remove the pipe's offset from the final plane destination coordinates.
v2: Use
intel_bigjoiner_num_pipes()Signed-off-by Ville Syrjälä <[email protected]>--- .../gpu/drm/i915/display/intel_atomic_plane.c | 7 +++--- drivers/gpu/drm/i915/display/intel_cursor.c | 8 ++++--- drivers/gpu/drm/i915/display/intel_display.c | 21 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_overlay.c | 22 +++++++++---------- 4 files changed, 40 insertions(+), 18 deletions(-)drivers/gpu/drm/i915/display/intel_atomic_plane.c +3
-4@@ -824,10 +824,6 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,return -ERANGE ; } -/* right side of the image is on the slave crtc, adjust dst to match */ -if (intel_crtc_is_bigjoiner_slave (crtc_state)) -drm_rect_translate (dst, -drm_rect_width (&crtc_state->pipe_src),0 ); -/* * FIXME: This might need further adjustment for seamless scaling * with phase information, for the 2p2 and 2p1 scenarios. @@ -844,6 +840,9 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,return -EINVAL ; } +/* final plane coordinates will be relative to the plane's pipe */ +drm_rect_translate (dst, -clip->x1, -clip->y1); +return 0 ; }drivers/gpu/drm/i915/display/intel_cursor.c +5
-3@@ -152,9 +152,11 @@ static int intel_check_cursor(struct intel_crtc_state *crtc_state,/* Use the unclipped src/dst rectangles, which we program to hw */ plane_state->uapi.src = src; plane_state->uapi.dst = dst; -if (intel_crtc_is_bigjoiner_slave (crtc_state)) -drm_rect_translate (&plane_state->uapi.dst, - -drm_rect_width (&crtc_state->pipe_src),0 ); + +/* final plane coordinates will be relative to the plane's pipe */ +drm_rect_translate (&plane_state->uapi.dst, + -crtc_state->pipe_src.x1, + -crtc_state->pipe_src.y1); ret =intel_cursor_check_surface (plane_state);if (ret)drivers/gpu/drm/i915/display/intel_display.c +21
-0@@ -3204,6 +3204,23 @@ static void intel_get_transcoder_timings(struct intel_crtc *crtc, } } +static void intel_bigjoiner_adjust_pipe_src (struct intel_crtc_state *crtc_state) +{ +struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc); +int num_pipes =intel_bigjoiner_num_pipes (crtc_state); +enum pipe master_pipe, pipe = crtc->pipe; +int width; + +if (num_pipes <2 ) +return ; + + master_pipe =bigjoiner_master_pipe (crtc_state); + width =drm_rect_width (&crtc_state->pipe_src); + +drm_rect_translate_to (&crtc_state->pipe_src, + (pipe - master_pipe) * width,0 ); +} +static void intel_get_pipe_src_size (struct intel_crtc *crtc,struct intel_crtc_state *pipe_config) {@@ -3216,6 +3233,8 @@ static void intel_get_pipe_src_size(struct intel_crtc *crtc,drm_rect_init (&pipe_config->pipe_src,0 ,0 ,REG_FIELD_GET (PIPESRC_WIDTH_MASK , tmp) +1 ,REG_FIELD_GET (PIPESRC_HEIGHT_MASK , tmp) +1 ); + +intel_bigjoiner_adjust_pipe_src (pipe_config); }static void i9xx_set_pipeconf (const struct intel_crtc_state *crtc_state)@@ -5853,6 +5872,8 @@ intel_modeset_pipe_config_late(struct intel_crtc_state *crtc_state)struct drm_connector *connector;int i; +intel_bigjoiner_adjust_pipe_src (crtc_state); +for_each_new_connector_in_state (&state->base, connector, conn_state, i) { struct intel_encoder *encoder =drivers/gpu/drm/i915/display/intel_overlay.c +7
-6@@ -958,21 +958,21 @@ static void update_pfit_vscale_ratio(struct intel_overlay *overlay)static int check_overlay_dst (struct intel_overlay *overlay,struct drm_intel_overlay_put_image *rec) { -const struct intel_crtc_state *pipe_config = +const struct intel_crtc_state *crtc_state = overlay->crtc->config; -int pipe_src_w =drm_rect_width (&pipe_config->pipe_src); -int pipe_src_h =drm_rect_height (&pipe_config->pipe_src); +struct drm_rect req, clipped; -if (rec->dst_height ==0 || rec->dst_width ==0 ) -return -EINVAL ; +drm_rect_init (&req, rec->dst_x, rec->dst_y, + rec->dst_width, rec->dst_height); + + clipped = req; +drm_rect_intersect (&clipped, &crtc_state->pipe_src); - if (rec->dst_x < pipe_src_w &&
drivers/gpu/drm/i915/display/intel_overlay.c static void update_pfit_vscale_ratio(struct intel_overlay *overlay) · line 975
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_overlay.c +4
-5- rec->dst_x + rec->dst_width <= pipe_src_w && - rec->dst_y < pipe_src_h && - rec->dst_y + rec->dst_height <= pipe_src_h) - return 0; - else +if (!drm_rect_visible (&clipped) || + !drm_rect_equals (&clipped, &req))return -EINVAL ; + +return 0 ;
I dont quite understand what we are trying to do here with the clipped ? Can you elaborate a bit what this function does?
Manasi
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_overlay.c +0
-0}static int check_overlay_scaling (struct drm_intel_overlay_put_image *rec)Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH v2 13/13] drm/i915: Make the PIPESC rect relative to the entire bigjoiner area
Quoted 133 lines · Manasi
Quoted 132 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
When using bigjoiner it's useful to know the offset of each individual pipe in the whole set of joined pipes. Let's include that information in our PIPESRC rectangle. With this we can make the plane clipping code blissfully unaware of bigjoiner usage, as all we have to do is remove the pipe's offset from the final plane destination coordinates.
v2: Use
intel_bigjoiner_num_pipes()Signed-off-by Ville Syrjälä <[email protected]>--- .../gpu/drm/i915/display/intel_atomic_plane.c | 7 +++--- drivers/gpu/drm/i915/display/intel_cursor.c | 8 ++++--- drivers/gpu/drm/i915/display/intel_display.c | 21 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_overlay.c | 22 +++++++++---------- 4 files changed, 40 insertions(+), 18 deletions(-)drivers/gpu/drm/i915/display/intel_atomic_plane.c +3
-4@@ -824,10 +824,6 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,return -ERANGE ; } -/* right side of the image is on the slave crtc, adjust dst to match */ -if (intel_crtc_is_bigjoiner_slave (crtc_state)) -drm_rect_translate (dst, -drm_rect_width (&crtc_state->pipe_src),0 ); -/* * FIXME: This might need further adjustment for seamless scaling * with phase information, for the 2p2 and 2p1 scenarios. @@ -844,6 +840,9 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,return -EINVAL ; } +/* final plane coordinates will be relative to the plane's pipe */ +drm_rect_translate (dst, -clip->x1, -clip->y1); +return 0 ; }drivers/gpu/drm/i915/display/intel_cursor.c +5
-3@@ -152,9 +152,11 @@ static int intel_check_cursor(struct intel_crtc_state *crtc_state,/* Use the unclipped src/dst rectangles, which we program to hw */ plane_state->uapi.src = src; plane_state->uapi.dst = dst; -if (intel_crtc_is_bigjoiner_slave (crtc_state)) -drm_rect_translate (&plane_state->uapi.dst, - -drm_rect_width (&crtc_state->pipe_src),0 ); + +/* final plane coordinates will be relative to the plane's pipe */ +drm_rect_translate (&plane_state->uapi.dst, + -crtc_state->pipe_src.x1, + -crtc_state->pipe_src.y1); ret =intel_cursor_check_surface (plane_state);if (ret)drivers/gpu/drm/i915/display/intel_display.c +21
-0@@ -3204,6 +3204,23 @@ static void intel_get_transcoder_timings(struct intel_crtc *crtc, } } +static void intel_bigjoiner_adjust_pipe_src (struct intel_crtc_state *crtc_state) +{ +struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc); +int num_pipes =intel_bigjoiner_num_pipes (crtc_state); +enum pipe master_pipe, pipe = crtc->pipe; +int width; + +if (num_pipes <2 ) +return ; + + master_pipe =bigjoiner_master_pipe (crtc_state); + width =drm_rect_width (&crtc_state->pipe_src); + +drm_rect_translate_to (&crtc_state->pipe_src, + (pipe - master_pipe) * width,0 ); +} +static void intel_get_pipe_src_size (struct intel_crtc *crtc,struct intel_crtc_state *pipe_config) {@@ -3216,6 +3233,8 @@ static void intel_get_pipe_src_size(struct intel_crtc *crtc,drm_rect_init (&pipe_config->pipe_src,0 ,0 ,REG_FIELD_GET (PIPESRC_WIDTH_MASK , tmp) +1 ,REG_FIELD_GET (PIPESRC_HEIGHT_MASK , tmp) +1 ); + +intel_bigjoiner_adjust_pipe_src (pipe_config); }static void i9xx_set_pipeconf (const struct intel_crtc_state *crtc_state)@@ -5853,6 +5872,8 @@ intel_modeset_pipe_config_late(struct intel_crtc_state *crtc_state)struct drm_connector *connector;int i; +intel_bigjoiner_adjust_pipe_src (crtc_state); +for_each_new_connector_in_state (&state->base, connector, conn_state, i) { struct intel_encoder *encoder =drivers/gpu/drm/i915/display/intel_overlay.c +7
-5@@ -958,21 +958,21 @@ static void update_pfit_vscale_ratio(struct intel_overlay *overlay)static int check_overlay_dst (struct intel_overlay *overlay,struct drm_intel_overlay_put_image *rec) { -const struct intel_crtc_state *pipe_config = +const struct intel_crtc_state *crtc_state = overlay->crtc->config; -int pipe_src_w =drm_rect_width (&pipe_config->pipe_src); -int pipe_src_h =drm_rect_height (&pipe_config->pipe_src); +struct drm_rect req, clipped; -if (rec->dst_height ==0 || rec->dst_width ==0 ) -return -EINVAL ; +drm_rect_init (&req, rec->dst_x, rec->dst_y, + rec->dst_width, rec->dst_height); + + clipped = req; +drm_rect_intersect (&clipped, &crtc_state->pipe_src);
Quoted 14 lines
drivers/gpu/drm/i915/display/intel_overlay.c static void update_pfit_vscale_ratio(struct intel_overlay *overlay) · line 975
Quoted 11 lines
drivers/gpu/drm/i915/display/intel_overlay.c +4
-6-if (rec->dst_x < pipe_src_w && - rec->dst_x + rec->dst_width <= pipe_src_w && - rec->dst_y < pipe_src_h && - rec->dst_y + rec->dst_height <= pipe_src_h) -return 0 ; -else +if (!drm_rect_visible (&clipped) || + !drm_rect_equals (&clipped, &req))return -EINVAL ; + +return 0 ;I dont quite understand what we are trying to do here with the clipped ? Can you elaborate a bit what this function does?
It checks whether the userspace provided coordinates were fully within the pipe source rectangle. If not we return an error.
I suppose technically we should be checking against the uapi hdisplay/vdisplay since this is uapi stuff, but no bigjoiner on these old platforms so this will effectively do the same thing.
Signature · 2 lines
Ville Syrjälä Intel
Navare, Manasi
Reviewed-byRe: [Intel-gfx] [PATCH v2 13/13] drm/i915: Make the PIPESC rect relative to the entire bigjoiner area
Quoted 149 lines · Ville Syrjälä
Quoted 133 lines · Manasi
Quoted 132 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
When using bigjoiner it's useful to know the offset of each individual pipe in the whole set of joined pipes. Let's include that information in our PIPESRC rectangle. With this we can make the plane clipping code blissfully unaware of bigjoiner usage, as all we have to do is remove the pipe's offset from the final plane destination coordinates.
v2: Use
intel_bigjoiner_num_pipes()Signed-off-by Ville Syrjälä <[email protected]>--- .../gpu/drm/i915/display/intel_atomic_plane.c | 7 +++--- drivers/gpu/drm/i915/display/intel_cursor.c | 8 ++++--- drivers/gpu/drm/i915/display/intel_display.c | 21 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_overlay.c | 22 +++++++++---------- 4 files changed, 40 insertions(+), 18 deletions(-)drivers/gpu/drm/i915/display/intel_atomic_plane.c +3
-4@@ -824,10 +824,6 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,return -ERANGE ; } -/* right side of the image is on the slave crtc, adjust dst to match */ -if (intel_crtc_is_bigjoiner_slave (crtc_state)) -drm_rect_translate (dst, -drm_rect_width (&crtc_state->pipe_src),0 ); -/* * FIXME: This might need further adjustment for seamless scaling * with phase information, for the 2p2 and 2p1 scenarios. @@ -844,6 +840,9 @@ int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state,return -EINVAL ; } +/* final plane coordinates will be relative to the plane's pipe */ +drm_rect_translate (dst, -clip->x1, -clip->y1); +return 0 ; }drivers/gpu/drm/i915/display/intel_cursor.c +5
-3@@ -152,9 +152,11 @@ static int intel_check_cursor(struct intel_crtc_state *crtc_state,/* Use the unclipped src/dst rectangles, which we program to hw */ plane_state->uapi.src = src; plane_state->uapi.dst = dst; -if (intel_crtc_is_bigjoiner_slave (crtc_state)) -drm_rect_translate (&plane_state->uapi.dst, - -drm_rect_width (&crtc_state->pipe_src),0 ); + +/* final plane coordinates will be relative to the plane's pipe */ +drm_rect_translate (&plane_state->uapi.dst, + -crtc_state->pipe_src.x1, + -crtc_state->pipe_src.y1); ret =intel_cursor_check_surface (plane_state);if (ret)drivers/gpu/drm/i915/display/intel_display.c +21
-0@@ -3204,6 +3204,23 @@ static void intel_get_transcoder_timings(struct intel_crtc *crtc, } } +static void intel_bigjoiner_adjust_pipe_src (struct intel_crtc_state *crtc_state) +{ +struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc); +int num_pipes =intel_bigjoiner_num_pipes (crtc_state); +enum pipe master_pipe, pipe = crtc->pipe; +int width; + +if (num_pipes <2 ) +return ; + + master_pipe =bigjoiner_master_pipe (crtc_state); + width =drm_rect_width (&crtc_state->pipe_src); + +drm_rect_translate_to (&crtc_state->pipe_src, + (pipe - master_pipe) * width,0 ); +} +static void intel_get_pipe_src_size (struct intel_crtc *crtc,struct intel_crtc_state *pipe_config) {@@ -3216,6 +3233,8 @@ static void intel_get_pipe_src_size(struct intel_crtc *crtc,drm_rect_init (&pipe_config->pipe_src,0 ,0 ,REG_FIELD_GET (PIPESRC_WIDTH_MASK , tmp) +1 ,REG_FIELD_GET (PIPESRC_HEIGHT_MASK , tmp) +1 ); + +intel_bigjoiner_adjust_pipe_src (pipe_config); }static void i9xx_set_pipeconf (const struct intel_crtc_state *crtc_state)@@ -5853,6 +5872,8 @@ intel_modeset_pipe_config_late(struct intel_crtc_state *crtc_state)struct drm_connector *connector;int i; +intel_bigjoiner_adjust_pipe_src (crtc_state); +for_each_new_connector_in_state (&state->base, connector, conn_state, i) { struct intel_encoder *encoder =drivers/gpu/drm/i915/display/intel_overlay.c +7
-5@@ -958,21 +958,21 @@ static void update_pfit_vscale_ratio(struct intel_overlay *overlay)static int check_overlay_dst (struct intel_overlay *overlay,struct drm_intel_overlay_put_image *rec) { -const struct intel_crtc_state *pipe_config = +const struct intel_crtc_state *crtc_state = overlay->crtc->config; -int pipe_src_w =drm_rect_width (&pipe_config->pipe_src); -int pipe_src_h =drm_rect_height (&pipe_config->pipe_src); +struct drm_rect req, clipped; -if (rec->dst_height ==0 || rec->dst_width ==0 ) -return -EINVAL ; +drm_rect_init (&req, rec->dst_x, rec->dst_y, + rec->dst_width, rec->dst_height); + + clipped = req; +drm_rect_intersect (&clipped, &crtc_state->pipe_src);Quoted 14 lines
drivers/gpu/drm/i915/display/intel_overlay.c static void update_pfit_vscale_ratio(struct intel_overlay *overlay) · line 975
Quoted 11 lines
drivers/gpu/drm/i915/display/intel_overlay.c +4
-6-if (rec->dst_x < pipe_src_w && - rec->dst_x + rec->dst_width <= pipe_src_w && - rec->dst_y < pipe_src_h && - rec->dst_y + rec->dst_height <= pipe_src_h) -return 0 ; -else +if (!drm_rect_visible (&clipped) || + !drm_rect_equals (&clipped, &req))return -EINVAL ; + +return 0 ;I dont quite understand what we are trying to do here with the clipped ? Can you elaborate a bit what this function does?
Quoted 8 lines
It checks whether the userspace provided coordinates were fully within the pipe source rectangle. If not we return an error.
I suppose technically we should be checking against the uapi hdisplay/vdisplay since this is uapi stuff, but no bigjoiner on these old platforms so this will effectively do the same thing.
Okay sounds good then
Manasi
Quoted 3 lines
Signature · 2 lines
Ville Syrjälä Intel
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Move bigjoiner refactoring (rev2)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: Move bigjoiner refactoring (rev2)
URL : https://patchwork.freedesktop.org/series/100195/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11276 -> Patchwork_22383
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/index.html
Participating hosts (48 -> 40)
------------------------------
Additional (1): fi-kbl-soraka
Missing (9): fi-bdw-5557u shard-tglu fi-hsw-4200u bat-adlp-4 fi-ctg-p8600 fi-hsw-4770 bat-rpls-2 shard-dg1 fi-bdw-samus
Known issues
------------
Here are the changes found in Patchwork_22383 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_cs_nop@fork-compute0:
- fi-blb-e6850: NOTRUN -> [SKIP][1] ([fdo#109271]) +17 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-blb-e6850/igt@amdgpu/[email protected]
* igt@gem_exec_fence@basic-busy@bcs0:
- fi-kbl-soraka: NOTRUN -> [SKIP][2] ([fdo#109271]) +8 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-kbl-soraka/igt@gem_exec_fence@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-skl-6600u: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-skl-6600u/igt@[email protected]
- fi-kbl-soraka: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#2190])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-kbl-soraka/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-engines:
- fi-kbl-soraka: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#4613]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-kbl-soraka/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- fi-skl-6600u: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#4613]) +3 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-skl-6600u/igt@[email protected]
* igt@i915_selftest@live:
- fi-skl-6600u: NOTRUN -> [FAIL][7] ([i915#4547])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-skl-6600u/igt@[email protected]
* igt@i915_selftest@live@gt_pm:
- fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][8] ([i915#1886] / [i915#2291])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html
* igt@kms_chamelium@dp-edid-read:
- fi-kbl-soraka: NOTRUN -> [SKIP][9] ([fdo#109271] / [fdo#111827]) +8 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-kbl-soraka/igt@[email protected]
* igt@kms_chamelium@vga-edid-read:
- fi-skl-6600u: NOTRUN -> [SKIP][10] ([fdo#109271] / [fdo#111827]) +8 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-skl-6600u/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-skl-6600u: NOTRUN -> [SKIP][11] ([fdo#109271]) +3 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-skl-6600u/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-cml-u2: [PASS][12] -> [DMESG-WARN][13] ([i915#4269])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/fi-cml-u2/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-cml-u2/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-skl-6600u: NOTRUN -> [SKIP][14] ([fdo#109271] / [i915#533])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-skl-6600u/igt@[email protected]
- fi-kbl-soraka: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#533])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-kbl-soraka/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@requests:
- fi-blb-e6850: [DMESG-FAIL][16] ([i915#5026]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/fi-blb-e6850/igt@i915_selftest@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-blb-e6850/igt@i915_selftest@[email protected]
* igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size:
- fi-bsw-n3050: [FAIL][18] ([i915#2346]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/fi-bsw-n3050/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-bsw-n3050/igt@[email protected]
#### Warnings ####
* igt@runner@aborted:
- fi-skl-6600u: [FAIL][20] ([i915#4312]) -> [FAIL][21] ([i915#1436] / [i915#4312])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/fi-skl-6600u/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/fi-skl-6600u/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#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2291]: https://gitlab.freedesktop.org/drm/intel/issues/2291
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#4269]: https://gitlab.freedesktop.org/drm/intel/issues/4269
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4547]: https://gitlab.freedesktop.org/drm/intel/issues/4547
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5026]: https://gitlab.freedesktop.org/drm/intel/issues/5026
[i915#5068]: https://gitlab.freedesktop.org/drm/intel/issues/5068
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
Build changes
-------------
* Linux: CI_DRM_11276 -> Patchwork_22383
CI-20190529: 20190529
CI_DRM_11276: 9f1f2bb5b108286547a5bb3e7b89d41b6c1300e4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6355: 83ec34916bd8268bc331105cf77c4d3d3cd352be @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_22383: dae8258c452343bf216ac967dc1ed3099d5559a8 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
dae8258c4523 drm/i915: Make the PIPESC rect relative to the entire bigjoiner area 8f02c98ebf73 drm/i915: Use bigjoiner_pipes more9c44e18390b2 drm/i915: Eliminate bigjoiner boolean495327346b7a drm/i915: Start tracking PIPESRC as a drm_rect 957ceac368fa drm/i915: Fix MSO vs. bigjoiner timings confusion 95f33739d073 drm/i915: Extract intel_crtc_compute_pipe_mode() 51015de94ec0 drm/i915: Extract intel_crtc_compute_pipe_src() 966df8843661 drm/i915: Extract intel_bigjoiner_adjust_timings() d09dbb8a420f drm/i915: Extract intel_splitter_adjust_timings() aebf1bfd15e4 drm/i915: Rename variables in intel_crtc_compute_config() 44eb78814270 drm/i915: Remove nop bigjoiner state copy7e876923106a drm/i915: Fix cursor coordinates on bigjoiner slave 139e64411bae drm/i915: Avoid negative shift due to bigjoiner_pipes==0
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Move bigjoiner refactoring (rev2)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: Move bigjoiner refactoring (rev2)
URL : https://patchwork.freedesktop.org/series/100195/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11276_full -> Patchwork_22383_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (12 -> 11)
------------------------------
Missing (1): shard-dg1
Known issues
------------
Here are the changes found in Patchwork_22383_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_capture@pi@vcs0:
- shard-skl: NOTRUN -> [INCOMPLETE][1] ([i915#4547])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl6/igt@gem_exec_capture@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: [PASS][2] -> [FAIL][3] ([i915#2842])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-glk5/igt@gem_exec_fair@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-glk6/igt@gem_exec_fair@[email protected]
* igt@gem_lmem_swapping@parallel-random:
- shard-skl: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#4613]) +2 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl2/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-verify:
- shard-glk: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#4613])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-glk2/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#4613])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl6/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-skl: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#3323])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl7/igt@[email protected]
* igt@gem_userptr_blits@input-checking:
- shard-apl: NOTRUN -> [DMESG-WARN][8] ([i915#4991])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl7/igt@[email protected]
* igt@gem_userptr_blits@map-fixed-invalidate-busy@uc:
- shard-skl: NOTRUN -> [DMESG-WARN][9] ([i915#1982])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl7/igt@gem_userptr_blits@[email protected]
* igt@gem_workarounds@suspend-resume-fd:
- shard-kbl: [PASS][10] -> [DMESG-WARN][11] ([i915#180]) +5 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-kbl4/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-kbl4/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-180:
- shard-glk: [PASS][12] -> [DMESG-WARN][13] ([i915#118])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-glk5/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-glk6/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
- shard-skl: NOTRUN -> [FAIL][14] ([i915#3763])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl10/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip:
- shard-apl: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#3777]) +4 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl7/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip.html
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
- shard-skl: NOTRUN -> [SKIP][16] ([fdo#109271] / [i915#3777]) +2 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl8/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
* igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][17] ([fdo#109271] / [i915#3886]) +4 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl6/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-a-crc-primary-basic-y_tiled_gen12_mc_ccs:
- shard-iclb: NOTRUN -> [SKIP][18] ([fdo#109278] / [i915#3886])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb6/igt@kms_ccs@pipe-a-crc-primary-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][19] ([fdo#109271] / [i915#3886]) +4 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-kbl3/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-bad-aux-stride-y_tiled_gen12_rc_ccs:
- shard-glk: NOTRUN -> [SKIP][20] ([fdo#109271]) +4 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-glk2/igt@kms_ccs@pipe-c-bad-aux-stride-y_tiled_gen12_rc_ccs.html
* igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_rc_ccs_cc:
- shard-skl: NOTRUN -> [SKIP][21] ([fdo#109271] / [i915#3886]) +9 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl7/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-c-random-ccs-data-y_tiled_gen12_rc_ccs:
- shard-iclb: NOTRUN -> [SKIP][22] ([fdo#109278]) +4 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb6/igt@kms_ccs@pipe-c-random-ccs-data-y_tiled_gen12_rc_ccs.html
* igt@kms_cdclk@mode-transition:
- shard-apl: NOTRUN -> [SKIP][23] ([fdo#109271]) +86 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl6/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-for-each-pipe:
- shard-kbl: NOTRUN -> [SKIP][24] ([fdo#109271] / [fdo#111827]) +3 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-kbl4/igt@[email protected]
* igt@kms_chamelium@vga-frame-dump:
- shard-apl: NOTRUN -> [SKIP][25] ([fdo#109271] / [fdo#111827]) +6 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl7/igt@[email protected]
* igt@kms_color@pipe-d-gamma:
- shard-iclb: NOTRUN -> [SKIP][26] ([fdo#109278] / [i915#1149])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb6/igt@[email protected]
* igt@kms_color_chamelium@pipe-a-ctm-red-to-blue:
- shard-iclb: NOTRUN -> [SKIP][27] ([fdo#109284] / [fdo#111827])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb6/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-blue-to-red:
- shard-iclb: NOTRUN -> [SKIP][28] ([fdo#109278] / [fdo#109284] / [fdo#111827])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb6/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-degamma:
- shard-skl: NOTRUN -> [SKIP][29] ([fdo#109271] / [fdo#111827]) +21 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl7/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-512x512-sliding:
- shard-iclb: NOTRUN -> [SKIP][30] ([fdo#109278] / [fdo#109279])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-32x32-onscreen:
- shard-skl: NOTRUN -> [SKIP][31] ([fdo#109271]) +227 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl2/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-256x256-onscreen:
- shard-kbl: NOTRUN -> [SKIP][32] ([fdo#109271]) +55 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-kbl3/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-iclb: [PASS][33] -> [FAIL][34] ([i915#2346])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb7/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb7/igt@[email protected]
* igt@kms_cursor_legacy@pipe-d-torture-bo:
- shard-skl: NOTRUN -> [SKIP][35] ([fdo#109271] / [i915#533]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl2/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [PASS][36] -> [INCOMPLETE][37] ([i915#180] / [i915#1982])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-apl2/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl2/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-tglb: [PASS][38] -> [FAIL][39] ([i915#79])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-tglb6/igt@kms_flip@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-tglb5/igt@kms_flip@[email protected]
- shard-skl: [PASS][40] -> [FAIL][41] ([i915#79])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl9/igt@kms_flip@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl8/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: NOTRUN -> [DMESG-WARN][42] ([i915#180]) +2 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-kbl4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@c-dp1:
- shard-apl: [PASS][43] -> [DMESG-WARN][44] ([i915#180])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-apl7/igt@kms_flip@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl4/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-ts-check-interruptible@c-edp1:
- shard-skl: [PASS][45] -> [FAIL][46] ([i915#2122]) +2 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl7/igt@kms_flip@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl2/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-cpu:
- shard-glk: [PASS][47] -> [FAIL][48] ([i915#2546])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-glk7/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-cpu.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-glk8/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@fbc-farfromfence-mmap-gtt:
- shard-glk: [PASS][49] -> [FAIL][50] ([i915#1888] / [i915#2546])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-glk7/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-glk8/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-iclb: NOTRUN -> [SKIP][51] ([fdo#109280]) +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb6/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-mmap-cpu.html
* igt@kms_pipe_b_c_ivb@enable-pipe-c-while-b-has-3-lanes:
- shard-iclb: NOTRUN -> [SKIP][52] ([fdo#109289])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb6/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
- shard-glk: [PASS][53] -> [FAIL][54] ([i915#1888])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-glk7/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-glk8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-basic:
- shard-apl: NOTRUN -> [FAIL][55] ([fdo#108145] / [i915#265]) +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-max:
- shard-skl: NOTRUN -> [FAIL][56] ([fdo#108145] / [i915#265]) +3 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl10/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-transparent-fb:
- shard-kbl: NOTRUN -> [FAIL][57] ([i915#265])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-kbl4/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [PASS][58] -> [FAIL][59] ([fdo#108145] / [i915#265]) +1 similar issue
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl9/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl8/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:
- shard-skl: NOTRUN -> [SKIP][60] ([fdo#109271] / [i915#658]) +1 similar issue
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl10/igt@[email protected]
* igt@kms_psr2_su@page_flip-nv12:
- shard-apl: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#658]) +1 similar issue
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl6/igt@kms_psr2_su@page_flip-nv12.html
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][62] -> [SKIP][63] ([fdo#109441]) +3 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb4/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_sysfs_edid_timing:
- shard-skl: NOTRUN -> [FAIL][64] ([IGT#2])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl7/igt@kms_sysfs_edid_timing.html
* igt@perf@polling-small-buf:
- shard-skl: [PASS][65] -> [FAIL][66] ([i915#1722])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl10/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl9/igt@[email protected]
* igt@prime_nv_test@nv_i915_sharing:
- shard-iclb: NOTRUN -> [SKIP][67] ([fdo#109291]) +1 similar issue
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb6/igt@prime_nv_test@nv_i915_sharing.html
* igt@syncobj_timeline@invalid-transfer-non-existent-point:
- shard-iclb: NOTRUN -> [DMESG-WARN][68] ([i915#5098])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb8/igt@[email protected]
* igt@syncobj_timeline@transfer-timeline-point:
- shard-kbl: NOTRUN -> [DMESG-FAIL][69] ([i915#5098])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-kbl3/igt@[email protected]
* igt@sysfs_clients@busy:
- shard-skl: NOTRUN -> [SKIP][70] ([fdo#109271] / [i915#2994]) +3 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl2/igt@[email protected]
* igt@sysfs_clients@split-25:
- shard-apl: NOTRUN -> [SKIP][71] ([fdo#109271] / [i915#2994])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl6/igt@[email protected]
#### Possible fixes ####
* igt@gem_eio@in-flight-1us:
- shard-tglb: [TIMEOUT][72] ([i915#3063]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-tglb1/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-tglb1/igt@[email protected]
* igt@gem_eio@kms:
- shard-tglb: [FAIL][74] ([i915#232]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-tglb5/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-tglb7/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-iclb: [TIMEOUT][76] ([i915#2481] / [i915#3070]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb8/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb2/igt@[email protected]
* igt@gem_exec_capture@pi@rcs0:
- shard-skl: [INCOMPLETE][78] ([i915#4547]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl4/igt@gem_exec_capture@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl6/igt@gem_exec_capture@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [FAIL][80] ([i915#2846]) -> [PASS][81]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-glk8/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-glk2/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [FAIL][82] ([i915#2842]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb3/igt@gem_exec_fair@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb3/igt@gem_exec_fair@[email protected]
- {shard-tglu}: [FAIL][84] ([i915#2842]) -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-tglu-5/igt@gem_exec_fair@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-tglu-4/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-kbl: [FAIL][86] ([i915#2842]) -> [PASS][87] +2 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-kbl4/igt@gem_exec_fair@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-kbl7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [FAIL][88] ([i915#2842]) -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-tglb3/igt@gem_exec_fair@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-tglb5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [FAIL][90] ([i915#2849]) -> [PASS][91]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb2/igt@gem_exec_fair@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb4/igt@gem_exec_fair@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [DMESG-WARN][92] ([i915#180]) -> [PASS][93] +3 similar issues
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-apl8/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl6/igt@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-skl: [INCOMPLETE][94] ([i915#4939]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl7/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl7/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-edp1:
- shard-skl: [INCOMPLETE][96] ([i915#4839]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl1/igt@kms_flip@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl10/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling:
- shard-glk: [FAIL][98] ([i915#4911]) -> [PASS][99]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-glk8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-glk1/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling:
- shard-iclb: [SKIP][100] ([i915#3701]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb4/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling.html
* igt@kms_hdr@bpc-switch:
- shard-skl: [FAIL][102] ([i915#1188]) -> [PASS][103]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl2/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl9/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-b-planes:
- shard-kbl: [DMESG-WARN][104] ([i915#180]) -> [PASS][105] +2 similar issues
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-kbl7/igt@kms_plane@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-kbl4/igt@kms_plane@[email protected]
* {igt@kms_plane_scaling@upscale-with-rotation-factor-4@pipe-a-upscale-with-rotation}:
- shard-iclb: [SKIP][106] ([i915#5176]) -> [PASS][107] +2 similar issues
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb5/igt@kms_plane_scaling@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb2/igt@kms_plane_scaling@[email protected]
* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [SKIP][108] ([fdo#109441]) -> [PASS][109]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb4/igt@kms_psr@psr2_primary_page_flip.html
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
* igt@kms_setmode@basic:
- shard-glk: [FAIL][110] ([i915#31]) -> [PASS][111]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-glk8/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-glk1/igt@[email protected]
* igt@kms_vblank@pipe-c-accuracy-idle:
- shard-glk: [FAIL][112] ([i915#43]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-glk1/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-glk1/igt@[email protected]
#### Warnings ####
* igt@gem_exec_balancer@parallel-out-fence:
- shard-iclb: [SKIP][114] ([i915#4525]) -> [DMESG-WARN][115] ([i915#5076]) +1 similar issue
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb6/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb4/igt@[email protected]
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-iclb: [SKIP][116] ([i915#588]) -> [SKIP][117] ([i915#658])
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb2/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb4/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][118] ([i915#1804] / [i915#2684]) -> [WARN][119] ([i915#2684])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb7/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-64x21-sliding:
- shard-skl: [SKIP][120] ([fdo#109271]) -> [SKIP][121] ([fdo#109271] / [i915#1888]) +1 similar issue
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl2/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-skl5/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-continuous-sf:
- shard-iclb: [SKIP][122] ([fdo#111068] / [i915#658]) -> [SKIP][123] ([i915#2920])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb8/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area:
- shard-iclb: [SKIP][124] ([i915#2920]) -> [SKIP][125] ([fdo#111068] / [i915#658])
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb2/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb4/igt@[email protected]
* igt@kms_psr2_su@page_flip-nv12:
- shard-iclb: [SKIP][126] ([fdo#109642] / [fdo#111068] / [i915#658]) -> [FAIL][127] ([i915#4148])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-iclb4/igt@kms_psr2_su@page_flip-nv12.html
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-iclb2/igt@kms_psr2_su@page_flip-nv12.html
* igt@runner@aborted:
- shard-apl: ([FAIL][128], [FAIL][129], [FAIL][130], [FAIL][131], [FAIL][132], [FAIL][133], [FAIL][134], [FAIL][135]) ([fdo#109271] / [i915#180] / [i915#1814] / [i915#2426] / [i915#3002] / [i915#4312]) -> ([FAIL][136], [FAIL][137], [FAIL][138], [FAIL][139], [FAIL][140], [FAIL][141], [FAIL][142]) ([i915#180] / [i915#2426] / [i915#3002] / [i915#4312])
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-apl3/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-apl4/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-apl1/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-apl8/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-apl1/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-apl6/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-apl6/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-apl6/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl6/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl7/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl7/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl4/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl8/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl2/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/shard-apl3/igt@[email protected]
- shard-skl: ([FAIL][143], [FAIL][144], [FAIL][145], [FAIL][146], [FAIL][147], [FAIL][148]) ([i915#1436] / [i915#2426] / [i915#3002] / [i915#4312]) -> ([FAIL][149], [FAIL][150], [FAIL][151], [FAIL][152], [FAIL][153], [FAIL][154], [FAIL][155], [FAIL][156]) ([i915#1436] / [i915#2029] / [i915#2426] / [i915#3002] / [i915#4312])
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl4/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl8/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl9/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl2/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl1/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11276/shard-skl4/igt@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22383/index.html