Skip to contentSkip to conversation

drm/i915/casf: Integrate the sharpness filter properly into the scaler code

PATCH Superseded Ville Syrjala 5 participants 42 messages Mar 26 – Apr 27

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover drm/i915/casf: Integrate the sharpness filter properly into the scaler code

From: Ville Syrjälä <[email protected]>

The sharpness filter isn't anything special. It's just another mode of the pipe scaler, so treat is as such.

This gets rid of tons of special casing all over the place, and will allow me to finally land the pending pipe prefill
series: https://patchwork.freedesktop.org/series/156137/

Note that this will fail some kms_sharpness_filter tests, because those tests are basically incorrect. But I couldn't decide yet how much of that entire test should be nuked. It seems to be doing a *lot* of things, most of which have nothing to do with the sharpness filter...

Cc Nemesa Garg <[email protected]>

Ville Syrjälä (9):
drm/i915/casf: s/casf_enable/enable/
drm/i915/casf: Make a proper hw state copy of the sharpness_strength drm/i915/casf: Move the casf state to better place drm/i915/casf: Extract scaler_has_casf()
drm/i915/casf: Handle CASF in skl_scaler_get_filter_select() drm/i915/casf: Constify crtc_state
drn/i915/casf: Remove redundant argument from
intel_casf_filter_lut_load()
drm/i915/pfit: Call intel_pfit_compute_config() unconditionally on

    (e)DP/HDMI

drm/i915/casf: Integrate the sharpness filter properly into the scaler
code

 drivers/gpu/drm/i915/display/intel_casf.c     | 102 +++++-----------
 drivers/gpu/drm/i915/display/intel_casf.h     |   6 +-
 .../drm/i915/display/intel_crtc_state_dump.c  |  11 +-
 drivers/gpu/drm/i915/display/intel_display.c  |  46 ++------
 .../drm/i915/display/intel_display_debugfs.c  |   5 +-
 .../drm/i915/display/intel_display_types.h    |   5 +-
 drivers/gpu/drm/i915/display/intel_dp.c       |   9 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c     |   8 +-
 .../drm/i915/display/intel_modeset_setup.c    |   1 +
 drivers/gpu/drm/i915/display/intel_pfit.c     |  13 ++-
 drivers/gpu/drm/i915/display/skl_scaler.c     | 110 +++++++-----------
 drivers/gpu/drm/i915/display/skl_scaler.h     |   2 -
 12 files changed, 112 insertions(+), 206 deletions(-)
Signature · 1 line
2.52.0
#1 lore raw

PATCH 1/9 drm/i915/casf: s/casf_enable/enable/

From: Ville Syrjälä <[email protected]>

The 'casf_enable' boolean is already inside a casf specific structure, so drop the extra 'casf_' namespace from the bool.

---
 drivers/gpu/drm/i915/display/intel_casf.c            | 8 ++++----
 drivers/gpu/drm/i915/display/intel_crtc_state_dump.c | 2 +-
 drivers/gpu/drm/i915/display/intel_display.c         | 6 +++---
 drivers/gpu/drm/i915/display/intel_display_types.h   | 2 +-
 drivers/gpu/drm/i915/display/skl_scaler.c            | 4 ++--
 5 files changed, 11 insertions(+), 11 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +4 -4
index b167af31de5b..32e6f7c8acdd 100644
@@ -110,7 +110,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 		return 0;
 
 	if (crtc_state->uapi.sharpness_strength == 0) {
-		crtc_state->hw.casf_params.casf_enable = false;
+		crtc_state->hw.casf_params.enable = false;
 		crtc_state->hw.casf_params.strength = 0;
 		return 0;
 	}
@@ -121,7 +121,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 		return -EINVAL;
 	}
 
-	crtc_state->hw.casf_params.casf_enable = true;
+	crtc_state->hw.casf_params.enable = true;
 
 	/*
 	 * HW takes a value in form (1.0 + strength) in 4.4 fixed format.
@@ -155,7 +155,7 @@ void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state)
 		else
 			crtc_state->hw.casf_params.strength =
 				REG_FIELD_GET(FILTER_STRENGTH_MASK, sharp);
-		crtc_state->hw.casf_params.casf_enable = true;
+		crtc_state->hw.casf_params.enable = true;
 		crtc_state->hw.casf_params.win_size =
 			REG_FIELD_GET(FILTER_SIZE_MASK, sharp);
 	}
@@ -163,7 +163,7 @@ void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state)
 
 bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state)
 {
-	if (crtc_state->hw.casf_params.casf_enable)
+	if (crtc_state->hw.casf_params.enable)
 		return true;
 
 	return false;
drivers/gpu/drm/i915/display/intel_crtc_state_dump.c +1 -1
index 234843b8f83a..a42153a465fe 100644
@@ -383,7 +383,7 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
 	drm_printf(&p, "sharpness strength: %d, sharpness tap size: %d, sharpness enable: %d\n",
 		   pipe_config->hw.casf_params.strength,
 		   pipe_config->hw.casf_params.win_size,
-		   pipe_config->hw.casf_params.casf_enable);
+		   pipe_config->hw.casf_params.enable);
 
 dump_planes:
 	if (!state)
drivers/gpu/drm/i915/display/intel_display.c +3 -3
index 10b6c6fcb03f..78d97441f682 100644
@@ -994,7 +994,7 @@ static bool intel_casf_enabling(const struct intel_crtc_state *new_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_enabling(hw.casf_params.casf_enable, old_crtc_state, new_crtc_state);
+	return is_enabling(hw.casf_params.enable, old_crtc_state, new_crtc_state);
 }
 
 static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
@@ -1003,7 +1003,7 @@ static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_disabling(hw.casf_params.casf_enable, old_crtc_state, new_crtc_state);
+	return is_disabling(hw.casf_params.enable, old_crtc_state, new_crtc_state);
 }
 
 static bool intel_crtc_lobf_enabling(const struct intel_crtc_state *old_crtc_state,
@@ -5371,7 +5371,7 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,
 
 		PIPE_CONF_CHECK_I(scaler_state.scaler_id);
 		PIPE_CONF_CHECK_I(pixel_rate);
-		PIPE_CONF_CHECK_BOOL(hw.casf_params.casf_enable);
+		PIPE_CONF_CHECK_BOOL(hw.casf_params.enable);
 		PIPE_CONF_CHECK_I(hw.casf_params.win_size);
 		PIPE_CONF_CHECK_I(hw.casf_params.strength);
 
drivers/gpu/drm/i915/display/intel_display_types.h +1 -1
index e2496db1642a..83bb5d19b6f6 100644
@@ -997,7 +997,7 @@ struct intel_casf {
 	struct scaler_filter_coeff coeff[SCALER_FILTER_NUM_TAPS];
 	u8 strength;
 	u8 win_size;
-	bool casf_enable;
+	bool enable;
 };
 
 struct intel_crtc_state {
drivers/gpu/drm/i915/display/skl_scaler.c +2 -2
index 7c5cb188ebf0..cfa17ddb4018 100644
@@ -986,13 +986,13 @@ void skl_scaler_get_config(struct intel_crtc_state *crtc_state)
 		if (HAS_CASF(display) && id == 1)
 			intel_casf_sharpness_get_config(crtc_state);
 
-		if (!crtc_state->hw.casf_params.casf_enable)
+		if (!crtc_state->hw.casf_params.enable)
 			crtc_state->pch_pfit.enabled = true;
 
 		pos = intel_de_read(display, SKL_PS_WIN_POS(crtc->pipe, i));
 		size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, i));
 
-		if (!crtc_state->hw.casf_params.casf_enable)
+		if (!crtc_state->hw.casf_params.enable)
 			drm_rect_init(&crtc_state->pch_pfit.dst,
 				      REG_FIELD_GET(PS_WIN_XPOS_MASK, pos),
 				      REG_FIELD_GET(PS_WIN_YPOS_MASK, pos),
Signature · 1 line
2.52.0
#3 lore raw

PATCH 2/9 drm/i915/casf: Make a proper hw state copy of the sharpness_strength

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

Make a copy of the uapi.sharpness_strength property value in our hw state. This is how we deal with having proper state for joined pipes.

---
 drivers/gpu/drm/i915/display/intel_casf.c            | 4 ++--
 drivers/gpu/drm/i915/display/intel_crtc_state_dump.c | 5 +++--
 drivers/gpu/drm/i915/display/intel_display.c         | 6 ++++++
 drivers/gpu/drm/i915/display/intel_display_debugfs.c | 5 +++--
 drivers/gpu/drm/i915/display/intel_display_types.h   | 1 +
 drivers/gpu/drm/i915/display/intel_modeset_setup.c   | 1 +
 6 files changed, 16 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +2 -2
index 32e6f7c8acdd..4316d8214e80 100644
@@ -109,7 +109,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 	if (!HAS_CASF(display))
 		return 0;
 
-	if (crtc_state->uapi.sharpness_strength == 0) {
+	if (crtc_state->hw.sharpness_strength == 0) {
 		crtc_state->hw.casf_params.enable = false;
 		crtc_state->hw.casf_params.strength = 0;
 		return 0;
@@ -132,7 +132,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 	 * Also 85 + 16 = 101.
 	 */
 	crtc_state->hw.casf_params.strength =
-		min(crtc_state->uapi.sharpness_strength, 0xEF) + 0x10;
+		min(crtc_state->hw.sharpness_strength, 0xEF) + 0x10;
 
 	intel_casf_compute_win_size(crtc_state);
 
drivers/gpu/drm/i915/display/intel_crtc_state_dump.c +3 -2
index a42153a465fe..10a9b51337fa 100644
@@ -328,11 +328,12 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
 		   pipe_config->linetime, pipe_config->ips_linetime);
 
 	if (DISPLAY_VER(display) >= 9)
-		drm_printf(&p, "num_scalers: %d, scaler_users: 0x%x, scaler_id: %d, scaling_filter: %d\n",
+		drm_printf(&p, "num_scalers: %d, scaler_users: 0x%x, scaler_id: %d, scaling_filter: %d, sharpness_strength: %d\n",
 			   crtc->num_scalers,
 			   pipe_config->scaler_state.scaler_users,
 			   pipe_config->scaler_state.scaler_id,
-			   pipe_config->hw.scaling_filter);
+			   pipe_config->hw.scaling_filter,
+			   pipe_config->hw.sharpness_strength);
 
 	if (HAS_GMCH(display))
 		drm_printf(&p, "gmch pfit: control: 0x%08x, ratios: 0x%08x, lvds border: 0x%08x\n",
drivers/gpu/drm/i915/display/intel_display.c +6 -0
index 78d97441f682..a02c58b5a34d 100644
@@ -4550,6 +4550,7 @@ intel_crtc_copy_uapi_to_hw_state_modeset(struct intel_atomic_state *state,
 	drm_mode_copy(&crtc_state->hw.adjusted_mode,
 		      &crtc_state->uapi.adjusted_mode);
 	crtc_state->hw.scaling_filter = crtc_state->uapi.scaling_filter;
+	crtc_state->hw.sharpness_strength = crtc_state->uapi.sharpness_strength;
 
 	intel_crtc_copy_uapi_to_hw_state_nomodeset(state, crtc);
 }
@@ -4615,6 +4616,7 @@ copy_joiner_crtc_state_modeset(struct intel_atomic_state *state,
 	drm_mode_copy(&secondary_crtc_state->hw.adjusted_mode,
 		      &primary_crtc_state->hw.adjusted_mode);
 	secondary_crtc_state->hw.scaling_filter = primary_crtc_state->hw.scaling_filter;
+	secondary_crtc_state->hw.sharpness_strength = primary_crtc_state->hw.sharpness_strength;
 
 	if (primary_crtc_state->dp_tunnel_ref.tunnel)
 		drm_dp_tunnel_ref_get(primary_crtc_state->dp_tunnel_ref.tunnel,
@@ -6441,6 +6443,10 @@ int intel_atomic_check(struct drm_device *dev,
 		if (new_crtc_state->uapi.scaling_filter !=
 		    old_crtc_state->uapi.scaling_filter)
 			new_crtc_state->uapi.mode_changed = true;
+
+		if (new_crtc_state->uapi.sharpness_strength !=
+		    old_crtc_state->uapi.sharpness_strength)
+			new_crtc_state->uapi.mode_changed = true;
 	}
 
 	intel_vrr_check_modeset(state);
drivers/gpu/drm/i915/display/intel_display_debugfs.c +3 -2
index 2614c4863c87..f244a2b5d139 100644
@@ -416,11 +416,12 @@ static void intel_scaler_info(struct seq_file *m, struct intel_crtc *crtc)
 
 	/* Not all platforms have a scaler */
 	if (num_scalers) {
-		seq_printf(m, "\tnum_scalers=%d, scaler_users=%x scaler_id=%d scaling_filter=%d",
+		seq_printf(m, "\tnum_scalers=%d, scaler_users=%x scaler_id=%d scaling_filter=%d sharpness_strength=%d",
 			   num_scalers,
 			   crtc_state->scaler_state.scaler_users,
 			   crtc_state->scaler_state.scaler_id,
-			   crtc_state->hw.scaling_filter);
+			   crtc_state->hw.scaling_filter,
+			   crtc_state->hw.sharpness_strength);
 
 		for (i = 0; i < num_scalers; i++) {
 			const struct intel_scaler *sc =
drivers/gpu/drm/i915/display/intel_display_types.h +1 -0
index 83bb5d19b6f6..af0d870de342 100644
@@ -1036,6 +1036,7 @@ struct intel_crtc_state {
 		struct drm_property_blob *degamma_lut, *gamma_lut, *ctm;
 		struct drm_display_mode mode, pipe_mode, adjusted_mode;
 		enum drm_scaling_filter scaling_filter;
+		u8 sharpness_strength;
 		struct intel_casf casf_params;
 	} hw;
 
drivers/gpu/drm/i915/display/intel_modeset_setup.c +1 -0
index 4086f16a12bf..40a65a0d7ec7 100644
@@ -333,6 +333,7 @@ static void intel_crtc_copy_hw_to_uapi_state(struct intel_crtc_state *crtc_state
 
 	crtc_state->uapi.adjusted_mode = crtc_state->hw.adjusted_mode;
 	crtc_state->uapi.scaling_filter = crtc_state->hw.scaling_filter;
+	crtc_state->uapi.sharpness_strength = crtc_state->hw.sharpness_strength;
 
 	if (DISPLAY_INFO(display)->color.degamma_lut_size) {
 		/* assume 1:1 mapping */
Signature · 1 line
2.52.0
Reviewed-by on v1 2/9
#4 lore raw

Re: [PATCH 2/9] drm/i915/casf: Make a proper hw state copy of the sharpness_strength

Quoted 7 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Make a copy of the uapi.sharpness_strength property value in our hw state. This is how we deal with having proper state for joined pipes.

BR,
Michał

#5 lore raw

PATCH 3/9 drm/i915/casf: Move the casf state to better place

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

The casf state is placed inside the 'hw' state for some reason. That is only really meant for things we have to duplicate from the uapi state. The rest can live on its own in our actual state.

And since casf is just one aspect of the pfit/pipe scaler the proper place for it seems to be under pch_pfit.

---
 drivers/gpu/drm/i915/display/intel_casf.c     | 40 +++++++++----------
 .../drm/i915/display/intel_crtc_state_dump.c  |  6 +--
 drivers/gpu/drm/i915/display/intel_display.c  | 12 +++---
 .../drm/i915/display/intel_display_types.h    |  2 +-
 drivers/gpu/drm/i915/display/skl_scaler.c     |  4 +-
 5 files changed, 32 insertions(+), 32 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +20 -20
index 4316d8214e80..5a8ffb40d30d 100644
@@ -82,7 +82,7 @@ void intel_casf_update_strength(struct intel_crtc_state *crtc_state)
 	int win_size;
 
 	intel_de_rmw(display, SHARPNESS_CTL(crtc->pipe), FILTER_STRENGTH_MASK,
-		     FILTER_STRENGTH(crtc_state->hw.casf_params.strength));
+		     FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength));
 
 	win_size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, 1));
 
@@ -95,11 +95,11 @@ static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)
 	u32 total_pixels = mode->hdisplay * mode->vdisplay;
 
 	if (total_pixels <= MAX_PIXELS_FOR_3_TAP_FILTER)
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_3X3;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_3X3;
 	else if (total_pixels <= MAX_PIXELS_FOR_5_TAP_FILTER)
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_5X5;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_5X5;
 	else
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_7X7;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_7X7;
 }
 
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
@@ -110,8 +110,8 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 		return 0;
 
 	if (crtc_state->hw.sharpness_strength == 0) {
-		crtc_state->hw.casf_params.enable = false;
-		crtc_state->hw.casf_params.strength = 0;
+		crtc_state->pch_pfit.casf.enable = false;
+		crtc_state->pch_pfit.casf.strength = 0;
 		return 0;
 	}
 
@@ -121,7 +121,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 		return -EINVAL;
 	}
 
-	crtc_state->hw.casf_params.enable = true;
+	crtc_state->pch_pfit.casf.enable = true;
 
 	/*
 	 * HW takes a value in form (1.0 + strength) in 4.4 fixed format.
@@ -131,7 +131,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 	 * 6.3125 in 4.4 format is b01100101 which is equal to 101.
 	 * Also 85 + 16 = 101.
 	 */
-	crtc_state->hw.casf_params.strength =
+	crtc_state->pch_pfit.casf.strength =
 		min(crtc_state->hw.sharpness_strength, 0xEF) + 0x10;
 
 	intel_casf_compute_win_size(crtc_state);
@@ -151,19 +151,19 @@ void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state)
 	if (sharp & FILTER_EN) {
 		if (drm_WARN_ON(display->drm,
 				REG_FIELD_GET(FILTER_STRENGTH_MASK, sharp) < 16))
-			crtc_state->hw.casf_params.strength = 0;
+			crtc_state->pch_pfit.casf.strength = 0;
 		else
-			crtc_state->hw.casf_params.strength =
+			crtc_state->pch_pfit.casf.strength =
 				REG_FIELD_GET(FILTER_STRENGTH_MASK, sharp);
-		crtc_state->hw.casf_params.enable = true;
-		crtc_state->hw.casf_params.win_size =
+		crtc_state->pch_pfit.casf.enable = true;
+		crtc_state->pch_pfit.casf.win_size =
 			REG_FIELD_GET(FILTER_SIZE_MASK, sharp);
 	}
 }
 
 bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state)
 {
-	if (crtc_state->hw.casf_params.enable)
+	if (crtc_state->pch_pfit.casf.enable)
 		return true;
 
 	return false;
@@ -179,7 +179,7 @@ static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t)
 	struct scaler_filter_coeff value;
 	u32 coeff;
 
-	value = crtc_state->hw.casf_params.coeff[t];
+	value = crtc_state->pch_pfit.casf.coeff[t];
 	value.sign = 0;
 
 	coeff = value.sign << 15 | value.exp << 12 | value.mantissa << 3;
@@ -189,7 +189,7 @@ static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t)
 /*
  * 17 phase of 7 taps requires 119 coefficients in 60 dwords per set.
  * To enable casf:  program scaler coefficients with the coeffients
- * that are calculated and stored in hw.casf_params.coeff as per
+ * that are calculated and stored in pch_pfit.casf.coeff as per
  * SCALER_COEFFICIENT_FORMAT
  */
 static void intel_casf_write_coeff(struct intel_crtc_state *crtc_state)
@@ -247,9 +247,9 @@ void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
 	u16 sumcoeff = 0;
 	int i;
 
-	if (crtc_state->hw.casf_params.win_size == 0)
+	if (crtc_state->pch_pfit.casf.win_size == 0)
 		filtercoeff = filtercoeff_1;
-	else if (crtc_state->hw.casf_params.win_size == 1)
+	else if (crtc_state->pch_pfit.casf.win_size == 1)
 		filtercoeff = filtercoeff_2;
 	else
 		filtercoeff = filtercoeff_3;
@@ -259,7 +259,7 @@ void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
 
 	for (i = 0; i < SCALER_FILTER_NUM_TAPS; i++) {
 		filter_coeff[i] = (*(filtercoeff + i) * 100 / sumcoeff);
-		convert_sharpness_coef_binary(&crtc_state->hw.casf_params.coeff[i],
+		convert_sharpness_coef_binary(&crtc_state->pch_pfit.casf.coeff[i],
 					      filter_coeff[i]);
 	}
 }
@@ -274,9 +274,9 @@ void intel_casf_enable(struct intel_crtc_state *crtc_state)
 
 	intel_casf_write_coeff(crtc_state);
 
-	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state->hw.casf_params.strength);
+	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength);
 
-	sharpness_ctl |= crtc_state->hw.casf_params.win_size;
+	sharpness_ctl |= crtc_state->pch_pfit.casf.win_size;
 
 	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), sharpness_ctl);
 
drivers/gpu/drm/i915/display/intel_crtc_state_dump.c +3 -3
index 10a9b51337fa..95993f8e5d0d 100644
@@ -382,9 +382,9 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
 	intel_vdsc_state_dump(&p, 0, pipe_config);
 
 	drm_printf(&p, "sharpness strength: %d, sharpness tap size: %d, sharpness enable: %d\n",
-		   pipe_config->hw.casf_params.strength,
-		   pipe_config->hw.casf_params.win_size,
-		   pipe_config->hw.casf_params.enable);
+		   pipe_config->pch_pfit.casf.strength,
+		   pipe_config->pch_pfit.casf.win_size,
+		   pipe_config->pch_pfit.casf.enable);
 
 dump_planes:
 	if (!state)
drivers/gpu/drm/i915/display/intel_display.c +6 -6
index a02c58b5a34d..e02e69467871 100644
@@ -994,7 +994,7 @@ static bool intel_casf_enabling(const struct intel_crtc_state *new_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_enabling(hw.casf_params.enable, old_crtc_state, new_crtc_state);
+	return is_enabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
 }
 
 static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
@@ -1003,7 +1003,7 @@ static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_disabling(hw.casf_params.enable, old_crtc_state, new_crtc_state);
+	return is_disabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
 }
 
 static bool intel_crtc_lobf_enabling(const struct intel_crtc_state *old_crtc_state,
@@ -5370,12 +5370,12 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,
 
 		PIPE_CONF_CHECK_BOOL(pch_pfit.enabled);
 		PIPE_CONF_CHECK_RECT(pch_pfit.dst);
+		PIPE_CONF_CHECK_BOOL(pch_pfit.casf.enable);
+		PIPE_CONF_CHECK_I(pch_pfit.casf.win_size);
+		PIPE_CONF_CHECK_I(pch_pfit.casf.strength);
 
 		PIPE_CONF_CHECK_I(scaler_state.scaler_id);
 		PIPE_CONF_CHECK_I(pixel_rate);
-		PIPE_CONF_CHECK_BOOL(hw.casf_params.enable);
-		PIPE_CONF_CHECK_I(hw.casf_params.win_size);
-		PIPE_CONF_CHECK_I(hw.casf_params.strength);
 
 		PIPE_CONF_CHECK_X(gamma_mode);
 		if (display->platform.cherryview)
@@ -6819,7 +6819,7 @@ static void intel_pre_update_crtc(struct intel_atomic_state *state,
 
 	if (intel_casf_enabling(new_crtc_state, old_crtc_state))
 		intel_casf_enable(new_crtc_state);
-	else if (new_crtc_state->hw.casf_params.strength != old_crtc_state->hw.casf_params.strength)
+	else if (new_crtc_state->pch_pfit.casf.strength != old_crtc_state->pch_pfit.casf.strength)
 		intel_casf_update_strength(new_crtc_state);
 
 	intel_fbc_update(state, crtc);
drivers/gpu/drm/i915/display/intel_display_types.h +1 -1
index af0d870de342..ca2581fb7bbd 100644
@@ -1037,7 +1037,6 @@ struct intel_crtc_state {
 		struct drm_display_mode mode, pipe_mode, adjusted_mode;
 		enum drm_scaling_filter scaling_filter;
 		u8 sharpness_strength;
-		struct intel_casf casf_params;
 	} hw;
 
 	/* actual state of LUTs */
@@ -1224,6 +1223,7 @@ struct intel_crtc_state {
 
 	/* Panel fitter placement and size for Ironlake+ */
 	struct {
+		struct intel_casf casf;
 		struct drm_rect dst;
 		bool enabled;
 		bool force_thru;
drivers/gpu/drm/i915/display/skl_scaler.c +2 -2
index cfa17ddb4018..e9fe5c0bf6ff 100644
@@ -986,13 +986,13 @@ void skl_scaler_get_config(struct intel_crtc_state *crtc_state)
 		if (HAS_CASF(display) && id == 1)
 			intel_casf_sharpness_get_config(crtc_state);
 
-		if (!crtc_state->hw.casf_params.enable)
+		if (!crtc_state->pch_pfit.casf.enable)
 			crtc_state->pch_pfit.enabled = true;
 
 		pos = intel_de_read(display, SKL_PS_WIN_POS(crtc->pipe, i));
 		size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, i));
 
-		if (!crtc_state->hw.casf_params.enable)
+		if (!crtc_state->pch_pfit.casf.enable)
 			drm_rect_init(&crtc_state->pch_pfit.dst,
 				      REG_FIELD_GET(PS_WIN_XPOS_MASK, pos),
 				      REG_FIELD_GET(PS_WIN_YPOS_MASK, pos),
Signature · 1 line
2.52.0
Reviewed-by on v1 3/9
#6 lore raw

Re: [PATCH 3/9] drm/i915/casf: Move the casf state to better place

Quoted 102 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The casf state is placed inside the 'hw' state for some reason. That is only really meant for things we have to duplicate from the uapi state. The rest can live on its own in our actual state.

And since casf is just one aspect of the pfit/pipe scaler the proper place for it seems to be under pch_pfit.

---

drivers/gpu/drm/i915/display/intel_casf.c     | 40 +++++++++----------
.../drm/i915/display/intel_crtc_state_dump.c  |  6 +--
drivers/gpu/drm/i915/display/intel_display.c  | 12 +++---
.../drm/i915/display/intel_display_types.h    |  2 +-
drivers/gpu/drm/i915/display/skl_scaler.c     |  4 +-
5 files changed, 32 insertions(+), 32 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +13 -13
index 4316d8214e80..5a8ffb40d30d 100644
@@ -82,7 +82,7 @@ void intel_casf_update_strength(struct intel_crtc_state *crtc_state)
 	int win_size;
 
 	intel_de_rmw(display, SHARPNESS_CTL(crtc->pipe), FILTER_STRENGTH_MASK,
-		     FILTER_STRENGTH(crtc_state->hw.casf_params.strength));
+		     FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength));
 
 	win_size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, 1));
 
@@ -95,11 +95,11 @@ static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)
 	u32 total_pixels = mode->hdisplay * mode->vdisplay;
 
 	if (total_pixels <= MAX_PIXELS_FOR_3_TAP_FILTER)
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_3X3;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_3X3;
 	else if (total_pixels <= MAX_PIXELS_FOR_5_TAP_FILTER)
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_5X5;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_5X5;
 	else
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_7X7;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_7X7;
 }
 
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
@@ -110,8 +110,8 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 		return 0;
 
 	if (crtc_state->hw.sharpness_strength == 0) {
-		crtc_state->hw.casf_params.enable = false;
-		crtc_state->hw.casf_params.strength = 0;
+		crtc_state->pch_pfit.casf.enable = false;
+		crtc_state->pch_pfit.casf.strength = 0;
 		return 0;
 	}
 
@@ -121,7 +121,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 		return -EINVAL;
 	}
 
-	crtc_state->hw.casf_params.enable = true;
+	crtc_state->pch_pfit.casf.enable = true;
 
 	/*
 	 * HW takes a value in form (1.0 + strength) in 4.4 fixed format.
@@ -131,7 +131,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 	 * 6.3125 in 4.4 format is b01100101 which is equal to 101.
 	 * Also 85 + 16 = 101.
 	 */
-	crtc_state->hw.casf_params.strength =
+	crtc_state->pch_pfit.casf.strength =
 		min(crtc_state->hw.sharpness_strength, 0xEF) + 0x10;
 
 	intel_casf_compute_win_size(crtc_state);
@@ -151,19 +151,19 @@ void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state)
 	if (sharp & FILTER_EN) {
 		if (drm_WARN_ON(display->drm,
 				REG_FIELD_GET(FILTER_STRENGTH_MASK, sharp) < 16))
-			crtc_state->hw.casf_params.strength = 0;
+			crtc_state->pch_pfit.casf.strength = 0;
 		else
-			crtc_state->hw.casf_params.strength =
+			crtc_state->pch_pfit.casf.strength =
 				REG_FIELD_GET(FILTER_STRENGTH_MASK, sharp);
-		crtc_state->hw.casf_params.enable = true;
-		crtc_state->hw.casf_params.win_size =
+		crtc_state->pch_pfit.casf.enable = true;
+		crtc_state->pch_pfit.casf.win_size =
 			REG_FIELD_GET(FILTER_SIZE_MASK, sharp);
 	}
 }
 
 bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state)
 {
-	if (crtc_state->hw.casf_params.enable)
+	if (crtc_state->pch_pfit.casf.enable)
 		return true;
 
 	return false;

drivers/gpu/drm/i915/display/intel_casf.c static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t) · line 182

Quoted 5 lines
drivers/gpu/drm/i915/display/intel_casf.c +1 -1
@@ -179,7 +179,7 @@ static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t)
 	struct scaler_filter_coeff value;
 	u32 coeff;
 
-	value = crtc_state->hw.casf_params.coeff[t];
+	value = crtc_state->pch_pfit.casf.coeff[t];

Unrelated topic: how you see such renaming?:

int t -> int tap

Quoted 13 lines
drivers/gpu/drm/i915/display/intel_casf.c +1 -1
 	value.sign = 0;
 
 	coeff = value.sign << 15 | value.exp << 12 | value.mantissa << 3;
@@ -189,7 +189,7 @@ static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t)
 /*
 * 17 phase of 7 taps requires 119 coefficients in 60 dwords per set.
 * To enable casf:  program scaler coefficients with the coeffients
- * that are calculated and stored in hw.casf_params.coeff as per
+ * that are calculated and stored in pch_pfit.casf.coeff as per
 * SCALER_COEFFICIENT_FORMAT
 */
 static void intel_casf_write_coeff(struct intel_crtc_state *crtc_state)

drivers/gpu/drm/i915/display/intel_casf.c void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state) · line 247

Quoted 1 line
drivers/gpu/drm/i915/display/intel_casf.c +0 -0
@@ -247,9 +247,9 @@ void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
 	u16 sumcoeff = 0;

Unrelated to the change: some variables have been named as sumcoeff and others as filter_*coeff{_1,_2,_3}*. How you see renaming:

u16 sumcoeff -> u16 sum_coeff

But I might be again missing common codestyle.

BR,
Michał

Quoted 139 lines
drivers/gpu/drm/i915/display/intel_casf.c +5 -5
 	int i;
 
-	if (crtc_state->hw.casf_params.win_size == 0)
+	if (crtc_state->pch_pfit.casf.win_size == 0)
 		filtercoeff = filtercoeff_1;
-	else if (crtc_state->hw.casf_params.win_size == 1)
+	else if (crtc_state->pch_pfit.casf.win_size == 1)
 		filtercoeff = filtercoeff_2;
 	else
 		filtercoeff = filtercoeff_3;
@@ -259,7 +259,7 @@ void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
 
 	for (i = 0; i < SCALER_FILTER_NUM_TAPS; i++) {
 		filter_coeff[i] = (*(filtercoeff + i) * 100 / sumcoeff);
-		convert_sharpness_coef_binary(&crtc_state->hw.casf_params.coeff[i],
+		convert_sharpness_coef_binary(&crtc_state->pch_pfit.casf.coeff[i],
 					      filter_coeff[i]);
 	}
 }
@@ -274,9 +274,9 @@ void intel_casf_enable(struct intel_crtc_state *crtc_state)
 
 	intel_casf_write_coeff(crtc_state);
 
-	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state->hw.casf_params.strength);
+	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength);
 
-	sharpness_ctl |= crtc_state->hw.casf_params.win_size;
+	sharpness_ctl |= crtc_state->pch_pfit.casf.win_size;
 
 	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), sharpness_ctl);
 
drivers/gpu/drm/i915/display/intel_crtc_state_dump.c +3 -3
index 10a9b51337fa..95993f8e5d0d 100644
@@ -382,9 +382,9 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
 	intel_vdsc_state_dump(&p, 0, pipe_config);
 
 	drm_printf(&p, "sharpness strength: %d, sharpness tap size: %d, sharpness enable: %d\n",
-		   pipe_config->hw.casf_params.strength,
-		   pipe_config->hw.casf_params.win_size,
-		   pipe_config->hw.casf_params.enable);
+		   pipe_config->pch_pfit.casf.strength,
+		   pipe_config->pch_pfit.casf.win_size,
+		   pipe_config->pch_pfit.casf.enable);
 

dump_planes:

	if (!state)
drivers/gpu/drm/i915/display/intel_display.c +6 -6
index a02c58b5a34d..e02e69467871 100644
@@ -994,7 +994,7 @@ static bool intel_casf_enabling(const struct intel_crtc_state *new_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_enabling(hw.casf_params.enable, old_crtc_state, new_crtc_state);
+	return is_enabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
 }
 
 static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
@@ -1003,7 +1003,7 @@ static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_disabling(hw.casf_params.enable, old_crtc_state, new_crtc_state);
+	return is_disabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
 }
 
 static bool intel_crtc_lobf_enabling(const struct intel_crtc_state *old_crtc_state,
@@ -5370,12 +5370,12 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,
 
 		PIPE_CONF_CHECK_BOOL(pch_pfit.enabled);
 		PIPE_CONF_CHECK_RECT(pch_pfit.dst);
+		PIPE_CONF_CHECK_BOOL(pch_pfit.casf.enable);
+		PIPE_CONF_CHECK_I(pch_pfit.casf.win_size);
+		PIPE_CONF_CHECK_I(pch_pfit.casf.strength);
 
 		PIPE_CONF_CHECK_I(scaler_state.scaler_id);
 		PIPE_CONF_CHECK_I(pixel_rate);
-		PIPE_CONF_CHECK_BOOL(hw.casf_params.enable);
-		PIPE_CONF_CHECK_I(hw.casf_params.win_size);
-		PIPE_CONF_CHECK_I(hw.casf_params.strength);
 
 		PIPE_CONF_CHECK_X(gamma_mode);
 		if (display->platform.cherryview)
@@ -6819,7 +6819,7 @@ static void intel_pre_update_crtc(struct intel_atomic_state *state,
 
 	if (intel_casf_enabling(new_crtc_state, old_crtc_state))
 		intel_casf_enable(new_crtc_state);
-	else if (new_crtc_state->hw.casf_params.strength != old_crtc_state->hw.casf_params.strength)
+	else if (new_crtc_state->pch_pfit.casf.strength != old_crtc_state->pch_pfit.casf.strength)
 		intel_casf_update_strength(new_crtc_state);
 
 	intel_fbc_update(state, crtc);
drivers/gpu/drm/i915/display/intel_display_types.h +1 -1
index af0d870de342..ca2581fb7bbd 100644
@@ -1037,7 +1037,6 @@ struct intel_crtc_state {
 		struct drm_display_mode mode, pipe_mode, adjusted_mode;
 		enum drm_scaling_filter scaling_filter;
 		u8 sharpness_strength;
-		struct intel_casf casf_params;
 	} hw;
 
 	/* actual state of LUTs */
@@ -1224,6 +1223,7 @@ struct intel_crtc_state {
 
 	/* Panel fitter placement and size for Ironlake+ */
 	struct {
+		struct intel_casf casf;
 		struct drm_rect dst;
 		bool enabled;
 		bool force_thru;
drivers/gpu/drm/i915/display/skl_scaler.c +2 -2
index cfa17ddb4018..e9fe5c0bf6ff 100644
@@ -986,13 +986,13 @@ void skl_scaler_get_config(struct intel_crtc_state *crtc_state)
 		if (HAS_CASF(display) && id == 1)
 			intel_casf_sharpness_get_config(crtc_state);
 
-		if (!crtc_state->hw.casf_params.enable)
+		if (!crtc_state->pch_pfit.casf.enable)
 			crtc_state->pch_pfit.enabled = true;
 
 		pos = intel_de_read(display, SKL_PS_WIN_POS(crtc->pipe, i));
 		size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, i));
 
-		if (!crtc_state->hw.casf_params.enable)
+		if (!crtc_state->pch_pfit.casf.enable)
 			drm_rect_init(&crtc_state->pch_pfit.dst,
 				      REG_FIELD_GET(PS_WIN_XPOS_MASK, pos),
 				      REG_FIELD_GET(PS_WIN_YPOS_MASK, pos),
Signature · 1 line
2.52.0
#7 lore raw

Re: [PATCH 3/9] drm/i915/casf: Move the casf state to better place

Quoted 106 lines · Michał Grzelak
Quoted 105 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The casf state is placed inside the 'hw' state for some reason. That is only really meant for things we have to duplicate from the uapi state. The rest can live on its own in our actual state.

And since casf is just one aspect of the pfit/pipe scaler the proper place for it seems to be under pch_pfit.

---

drivers/gpu/drm/i915/display/intel_casf.c     | 40 +++++++++----------
.../drm/i915/display/intel_crtc_state_dump.c  |  6 +--
drivers/gpu/drm/i915/display/intel_display.c  | 12 +++---
.../drm/i915/display/intel_display_types.h    |  2 +-
drivers/gpu/drm/i915/display/skl_scaler.c     |  4 +-
5 files changed, 32 insertions(+), 32 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +13 -13
index 4316d8214e80..5a8ffb40d30d 100644
@@ -82,7 +82,7 @@ void intel_casf_update_strength(struct intel_crtc_state *crtc_state)
 	int win_size;
 
 	intel_de_rmw(display, SHARPNESS_CTL(crtc->pipe), FILTER_STRENGTH_MASK,
-		     FILTER_STRENGTH(crtc_state->hw.casf_params.strength));
+		     FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength));
 
 	win_size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, 1));
 
@@ -95,11 +95,11 @@ static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)
 	u32 total_pixels = mode->hdisplay * mode->vdisplay;
 
 	if (total_pixels <= MAX_PIXELS_FOR_3_TAP_FILTER)
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_3X3;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_3X3;
 	else if (total_pixels <= MAX_PIXELS_FOR_5_TAP_FILTER)
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_5X5;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_5X5;
 	else
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_7X7;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_7X7;
 }
 
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
@@ -110,8 +110,8 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 		return 0;
 
 	if (crtc_state->hw.sharpness_strength == 0) {
-		crtc_state->hw.casf_params.enable = false;
-		crtc_state->hw.casf_params.strength = 0;
+		crtc_state->pch_pfit.casf.enable = false;
+		crtc_state->pch_pfit.casf.strength = 0;
 		return 0;
 	}
 
@@ -121,7 +121,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 		return -EINVAL;
 	}
 
-	crtc_state->hw.casf_params.enable = true;
+	crtc_state->pch_pfit.casf.enable = true;
 
 	/*
 	 * HW takes a value in form (1.0 + strength) in 4.4 fixed format.
@@ -131,7 +131,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 	 * 6.3125 in 4.4 format is b01100101 which is equal to 101.
 	 * Also 85 + 16 = 101.
 	 */
-	crtc_state->hw.casf_params.strength =
+	crtc_state->pch_pfit.casf.strength =
 		min(crtc_state->hw.sharpness_strength, 0xEF) + 0x10;
 
 	intel_casf_compute_win_size(crtc_state);
@@ -151,19 +151,19 @@ void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state)
 	if (sharp & FILTER_EN) {
 		if (drm_WARN_ON(display->drm,
 				REG_FIELD_GET(FILTER_STRENGTH_MASK, sharp) < 16))
-			crtc_state->hw.casf_params.strength = 0;
+			crtc_state->pch_pfit.casf.strength = 0;
 		else
-			crtc_state->hw.casf_params.strength =
+			crtc_state->pch_pfit.casf.strength =
 				REG_FIELD_GET(FILTER_STRENGTH_MASK, sharp);
-		crtc_state->hw.casf_params.enable = true;
-		crtc_state->hw.casf_params.win_size =
+		crtc_state->pch_pfit.casf.enable = true;
+		crtc_state->pch_pfit.casf.win_size =
 			REG_FIELD_GET(FILTER_SIZE_MASK, sharp);
 	}
 }
 
 bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state)
 {
-	if (crtc_state->hw.casf_params.enable)
+	if (crtc_state->pch_pfit.casf.enable)
 		return true;
 
 	return false;
@@ -179,7 +179,7 @@ static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t)
 	struct scaler_filter_coeff value;
 	u32 coeff;
 
Quoted 6 lines

drivers/gpu/drm/i915/display/intel_casf.c static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t) · line 182

Quoted 2 lines
drivers/gpu/drm/i915/display/intel_casf.c +1 -1
-	value = crtc_state->hw.casf_params.coeff[t];
+	value = crtc_state->pch_pfit.casf.coeff[t];

Unrelated topic: how you see such renaming?:

int t -> int tap

Probably a good idea. One character variable names aren't what you'd call descriptive. This probably got copied from the nearest neighbor filter code, so a rename should happen there too.

Or even better if someone gets rid of the duplicated code entirely and consolidates all the filter coefficient code to one place.

Quoted 19 lines
Quoted 14 lines
drivers/gpu/drm/i915/display/intel_casf.c +1 -1
 	value.sign = 0;
 
 	coeff = value.sign << 15 | value.exp << 12 | value.mantissa << 3;
@@ -189,7 +189,7 @@ static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t)
 /*
 * 17 phase of 7 taps requires 119 coefficients in 60 dwords per set.
 * To enable casf:  program scaler coefficients with the coeffients
- * that are calculated and stored in hw.casf_params.coeff as per
+ * that are calculated and stored in pch_pfit.casf.coeff as per
 * SCALER_COEFFICIENT_FORMAT
 */
 static void intel_casf_write_coeff(struct intel_crtc_state *crtc_state)

drivers/gpu/drm/i915/display/intel_casf.c void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state) · line 247

Quoted 1 line
drivers/gpu/drm/i915/display/intel_casf.c +0 -0
@@ -247,9 +247,9 @@ void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
 	u16 sumcoeff = 0;

Unrelated to the change: some variables have been named as sumcoeff and others as filter_*coeff{_1,_2,_3}*. How you see renaming:

Quoted 3 lines

u16 sumcoeff -> u16 sum_coeff

But I might be again missing common codestyle.

We generally use the underscore_style for things. So I wouldn't mind the rename.

Quoted 2 lines

Ta.

Quoted 143 lines

BR,
Michał

Quoted 139 lines
drivers/gpu/drm/i915/display/intel_casf.c +5 -5
 	int i;
 
-	if (crtc_state->hw.casf_params.win_size == 0)
+	if (crtc_state->pch_pfit.casf.win_size == 0)
 		filtercoeff = filtercoeff_1;
-	else if (crtc_state->hw.casf_params.win_size == 1)
+	else if (crtc_state->pch_pfit.casf.win_size == 1)
 		filtercoeff = filtercoeff_2;
 	else
 		filtercoeff = filtercoeff_3;
@@ -259,7 +259,7 @@ void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
 
 	for (i = 0; i < SCALER_FILTER_NUM_TAPS; i++) {
 		filter_coeff[i] = (*(filtercoeff + i) * 100 / sumcoeff);
-		convert_sharpness_coef_binary(&crtc_state->hw.casf_params.coeff[i],
+		convert_sharpness_coef_binary(&crtc_state->pch_pfit.casf.coeff[i],
 					      filter_coeff[i]);
 	}
 }
@@ -274,9 +274,9 @@ void intel_casf_enable(struct intel_crtc_state *crtc_state)
 
 	intel_casf_write_coeff(crtc_state);
 
-	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state->hw.casf_params.strength);
+	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength);
 
-	sharpness_ctl |= crtc_state->hw.casf_params.win_size;
+	sharpness_ctl |= crtc_state->pch_pfit.casf.win_size;
 
 	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), sharpness_ctl);
 
drivers/gpu/drm/i915/display/intel_crtc_state_dump.c +3 -3
index 10a9b51337fa..95993f8e5d0d 100644
@@ -382,9 +382,9 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
 	intel_vdsc_state_dump(&p, 0, pipe_config);
 
 	drm_printf(&p, "sharpness strength: %d, sharpness tap size: %d, sharpness enable: %d\n",
-		   pipe_config->hw.casf_params.strength,
-		   pipe_config->hw.casf_params.win_size,
-		   pipe_config->hw.casf_params.enable);
+		   pipe_config->pch_pfit.casf.strength,
+		   pipe_config->pch_pfit.casf.win_size,
+		   pipe_config->pch_pfit.casf.enable);
 

dump_planes:

	if (!state)
drivers/gpu/drm/i915/display/intel_display.c +6 -6
index a02c58b5a34d..e02e69467871 100644
@@ -994,7 +994,7 @@ static bool intel_casf_enabling(const struct intel_crtc_state *new_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_enabling(hw.casf_params.enable, old_crtc_state, new_crtc_state);
+	return is_enabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
 }
 
 static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
@@ -1003,7 +1003,7 @@ static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_disabling(hw.casf_params.enable, old_crtc_state, new_crtc_state);
+	return is_disabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
 }
 
 static bool intel_crtc_lobf_enabling(const struct intel_crtc_state *old_crtc_state,
@@ -5370,12 +5370,12 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,
 
 		PIPE_CONF_CHECK_BOOL(pch_pfit.enabled);
 		PIPE_CONF_CHECK_RECT(pch_pfit.dst);
+		PIPE_CONF_CHECK_BOOL(pch_pfit.casf.enable);
+		PIPE_CONF_CHECK_I(pch_pfit.casf.win_size);
+		PIPE_CONF_CHECK_I(pch_pfit.casf.strength);
 
 		PIPE_CONF_CHECK_I(scaler_state.scaler_id);
 		PIPE_CONF_CHECK_I(pixel_rate);
-		PIPE_CONF_CHECK_BOOL(hw.casf_params.enable);
-		PIPE_CONF_CHECK_I(hw.casf_params.win_size);
-		PIPE_CONF_CHECK_I(hw.casf_params.strength);
 
 		PIPE_CONF_CHECK_X(gamma_mode);
 		if (display->platform.cherryview)
@@ -6819,7 +6819,7 @@ static void intel_pre_update_crtc(struct intel_atomic_state *state,
 
 	if (intel_casf_enabling(new_crtc_state, old_crtc_state))
 		intel_casf_enable(new_crtc_state);
-	else if (new_crtc_state->hw.casf_params.strength != old_crtc_state->hw.casf_params.strength)
+	else if (new_crtc_state->pch_pfit.casf.strength != old_crtc_state->pch_pfit.casf.strength)
 		intel_casf_update_strength(new_crtc_state);
 
 	intel_fbc_update(state, crtc);
drivers/gpu/drm/i915/display/intel_display_types.h +1 -1
index af0d870de342..ca2581fb7bbd 100644
@@ -1037,7 +1037,6 @@ struct intel_crtc_state {
 		struct drm_display_mode mode, pipe_mode, adjusted_mode;
 		enum drm_scaling_filter scaling_filter;
 		u8 sharpness_strength;
-		struct intel_casf casf_params;
 	} hw;
 
 	/* actual state of LUTs */
@@ -1224,6 +1223,7 @@ struct intel_crtc_state {
 
 	/* Panel fitter placement and size for Ironlake+ */
 	struct {
+		struct intel_casf casf;
 		struct drm_rect dst;
 		bool enabled;
 		bool force_thru;
drivers/gpu/drm/i915/display/skl_scaler.c +2 -2
index cfa17ddb4018..e9fe5c0bf6ff 100644
@@ -986,13 +986,13 @@ void skl_scaler_get_config(struct intel_crtc_state *crtc_state)
 		if (HAS_CASF(display) && id == 1)
 			intel_casf_sharpness_get_config(crtc_state);
 
-		if (!crtc_state->hw.casf_params.enable)
+		if (!crtc_state->pch_pfit.casf.enable)
 			crtc_state->pch_pfit.enabled = true;
 
 		pos = intel_de_read(display, SKL_PS_WIN_POS(crtc->pipe, i));
 		size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, i));
 
-		if (!crtc_state->hw.casf_params.enable)
+		if (!crtc_state->pch_pfit.casf.enable)
 			drm_rect_init(&crtc_state->pch_pfit.dst,
 				      REG_FIELD_GET(PS_WIN_XPOS_MASK, pos),
 				      REG_FIELD_GET(PS_WIN_YPOS_MASK, pos),
Signature · 1 line
2.52.0
Signature · 2 lines
Ville Syrjälä
Intel
#8 lore raw

Re: [PATCH 3/9] drm/i915/casf: Move the casf state to better place

Quoted 112 lines · Ville Syrjälä
Quoted 111 lines · Michał Grzelak
Quoted 102 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The casf state is placed inside the 'hw' state for some reason. That is only really meant for things we have to duplicate from the uapi state. The rest can live on its own in our actual state.

And since casf is just one aspect of the pfit/pipe scaler the proper place for it seems to be under pch_pfit.

---

drivers/gpu/drm/i915/display/intel_casf.c     | 40 +++++++++----------
.../drm/i915/display/intel_crtc_state_dump.c  |  6 +--
drivers/gpu/drm/i915/display/intel_display.c  | 12 +++---
.../drm/i915/display/intel_display_types.h    |  2 +-
drivers/gpu/drm/i915/display/skl_scaler.c     |  4 +-
5 files changed, 32 insertions(+), 32 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +13 -13
index 4316d8214e80..5a8ffb40d30d 100644
@@ -82,7 +82,7 @@ void intel_casf_update_strength(struct intel_crtc_state *crtc_state)
 	int win_size;
 
 	intel_de_rmw(display, SHARPNESS_CTL(crtc->pipe), FILTER_STRENGTH_MASK,
-		     FILTER_STRENGTH(crtc_state->hw.casf_params.strength));
+		     FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength));
 
 	win_size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, 1));
 
@@ -95,11 +95,11 @@ static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)
 	u32 total_pixels = mode->hdisplay * mode->vdisplay;
 
 	if (total_pixels <= MAX_PIXELS_FOR_3_TAP_FILTER)
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_3X3;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_3X3;
 	else if (total_pixels <= MAX_PIXELS_FOR_5_TAP_FILTER)
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_5X5;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_5X5;
 	else
-		crtc_state->hw.casf_params.win_size = SHARPNESS_FILTER_SIZE_7X7;
+		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_7X7;
 }
 
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
@@ -110,8 +110,8 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 		return 0;
 
 	if (crtc_state->hw.sharpness_strength == 0) {
-		crtc_state->hw.casf_params.enable = false;
-		crtc_state->hw.casf_params.strength = 0;
+		crtc_state->pch_pfit.casf.enable = false;
+		crtc_state->pch_pfit.casf.strength = 0;
 		return 0;
 	}
 
@@ -121,7 +121,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 		return -EINVAL;
 	}
 
-	crtc_state->hw.casf_params.enable = true;
+	crtc_state->pch_pfit.casf.enable = true;
 
 	/*
 	 * HW takes a value in form (1.0 + strength) in 4.4 fixed format.
@@ -131,7 +131,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 	 * 6.3125 in 4.4 format is b01100101 which is equal to 101.
 	 * Also 85 + 16 = 101.
 	 */
-	crtc_state->hw.casf_params.strength =
+	crtc_state->pch_pfit.casf.strength =
 		min(crtc_state->hw.sharpness_strength, 0xEF) + 0x10;
 
 	intel_casf_compute_win_size(crtc_state);
@@ -151,19 +151,19 @@ void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state)
 	if (sharp & FILTER_EN) {
 		if (drm_WARN_ON(display->drm,
 				REG_FIELD_GET(FILTER_STRENGTH_MASK, sharp) < 16))
-			crtc_state->hw.casf_params.strength = 0;
+			crtc_state->pch_pfit.casf.strength = 0;
 		else
-			crtc_state->hw.casf_params.strength =
+			crtc_state->pch_pfit.casf.strength =
 				REG_FIELD_GET(FILTER_STRENGTH_MASK, sharp);
-		crtc_state->hw.casf_params.enable = true;
-		crtc_state->hw.casf_params.win_size =
+		crtc_state->pch_pfit.casf.enable = true;
+		crtc_state->pch_pfit.casf.win_size =
 			REG_FIELD_GET(FILTER_SIZE_MASK, sharp);
 	}
 }
 
 bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state)
 {
-	if (crtc_state->hw.casf_params.enable)
+	if (crtc_state->pch_pfit.casf.enable)
 		return true;
 
 	return false;

drivers/gpu/drm/i915/display/intel_casf.c static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t) · line 182

Quoted 5 lines
drivers/gpu/drm/i915/display/intel_casf.c +1 -1
@@ -179,7 +179,7 @@ static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t)
 	struct scaler_filter_coeff value;
 	u32 coeff;
 
-	value = crtc_state->hw.casf_params.coeff[t];
+	value = crtc_state->pch_pfit.casf.coeff[t];

Unrelated topic: how you see such renaming?:

Quoted 8 lines
Quoted 1 line

int t -> int tap

Probably a good idea. One character variable names aren't what you'd call descriptive. This probably got copied from the nearest neighbor filter code, so a rename should happen there too.

Or even better if someone gets rid of the duplicated code entirely and consolidates all the filter coefficient code to one place.

I'd give it a shot but I genuinely don't know where to search for nearest neighbor filter. I searched for possible declarations of int t, but it didn't show anything relevant. Can you point to where should I start looking?

Quoted 20 lines
Quoted 20 lines
Quoted 15 lines
drivers/gpu/drm/i915/display/intel_casf.c +1 -1
 	value.sign = 0;
 
 	coeff = value.sign << 15 | value.exp << 12 | value.mantissa << 3;
@@ -189,7 +189,7 @@ static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t)
 /*
 * 17 phase of 7 taps requires 119 coefficients in 60 dwords per set.
 * To enable casf:  program scaler coefficients with the coeffients
- * that are calculated and stored in hw.casf_params.coeff as per
+ * that are calculated and stored in pch_pfit.casf.coeff as per
 * SCALER_COEFFICIENT_FORMAT
 */
 static void intel_casf_write_coeff(struct intel_crtc_state *crtc_state)

drivers/gpu/drm/i915/display/intel_casf.c void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state) · line 247

Quoted 1 line
drivers/gpu/drm/i915/display/intel_casf.c +0 -0
@@ -247,9 +247,9 @@ void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
 	u16 sumcoeff = 0;

Unrelated to the change: some variables have been named as sumcoeff and others as filter_*coeff{_1,_2,_3}*. How you see renaming:

Quoted 6 lines
Quoted 3 lines

u16 sumcoeff -> u16 sum_coeff

But I might be again missing common codestyle.

We generally use the underscore_style for things. So I wouldn't mind the rename.

In that case I should probably rename filtercoeff as well. But since filter_coeff is already used and global, I guess it would require more vigilance then the simple rename above. Do you have any hints on how to handle it without breaking everything?

BR,
Michał

Quoted 155 lines
Quoted 3 lines

Ta.

Quoted 143 lines

BR,
Michał

Quoted 139 lines
drivers/gpu/drm/i915/display/intel_casf.c +5 -5
 	int i;
 
-	if (crtc_state->hw.casf_params.win_size == 0)
+	if (crtc_state->pch_pfit.casf.win_size == 0)
 		filtercoeff = filtercoeff_1;
-	else if (crtc_state->hw.casf_params.win_size == 1)
+	else if (crtc_state->pch_pfit.casf.win_size == 1)
 		filtercoeff = filtercoeff_2;
 	else
 		filtercoeff = filtercoeff_3;
@@ -259,7 +259,7 @@ void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
 
 	for (i = 0; i < SCALER_FILTER_NUM_TAPS; i++) {
 		filter_coeff[i] = (*(filtercoeff + i) * 100 / sumcoeff);
-		convert_sharpness_coef_binary(&crtc_state->hw.casf_params.coeff[i],
+		convert_sharpness_coef_binary(&crtc_state->pch_pfit.casf.coeff[i],
 					      filter_coeff[i]);
 	}
 }
@@ -274,9 +274,9 @@ void intel_casf_enable(struct intel_crtc_state *crtc_state)
 
 	intel_casf_write_coeff(crtc_state);
 
-	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state->hw.casf_params.strength);
+	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength);
 
-	sharpness_ctl |= crtc_state->hw.casf_params.win_size;
+	sharpness_ctl |= crtc_state->pch_pfit.casf.win_size;
 
 	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), sharpness_ctl);
 
drivers/gpu/drm/i915/display/intel_crtc_state_dump.c +3 -3
index 10a9b51337fa..95993f8e5d0d 100644
@@ -382,9 +382,9 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
 	intel_vdsc_state_dump(&p, 0, pipe_config);
 
 	drm_printf(&p, "sharpness strength: %d, sharpness tap size: %d, sharpness enable: %d\n",
-		   pipe_config->hw.casf_params.strength,
-		   pipe_config->hw.casf_params.win_size,
-		   pipe_config->hw.casf_params.enable);
+		   pipe_config->pch_pfit.casf.strength,
+		   pipe_config->pch_pfit.casf.win_size,
+		   pipe_config->pch_pfit.casf.enable);
 

dump_planes:

	if (!state)
drivers/gpu/drm/i915/display/intel_display.c +6 -6
index a02c58b5a34d..e02e69467871 100644
@@ -994,7 +994,7 @@ static bool intel_casf_enabling(const struct intel_crtc_state *new_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_enabling(hw.casf_params.enable, old_crtc_state, new_crtc_state);
+	return is_enabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
 }
 
 static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
@@ -1003,7 +1003,7 @@ static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_disabling(hw.casf_params.enable, old_crtc_state, new_crtc_state);
+	return is_disabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
 }
 
 static bool intel_crtc_lobf_enabling(const struct intel_crtc_state *old_crtc_state,
@@ -5370,12 +5370,12 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,
 
 		PIPE_CONF_CHECK_BOOL(pch_pfit.enabled);
 		PIPE_CONF_CHECK_RECT(pch_pfit.dst);
+		PIPE_CONF_CHECK_BOOL(pch_pfit.casf.enable);
+		PIPE_CONF_CHECK_I(pch_pfit.casf.win_size);
+		PIPE_CONF_CHECK_I(pch_pfit.casf.strength);
 
 		PIPE_CONF_CHECK_I(scaler_state.scaler_id);
 		PIPE_CONF_CHECK_I(pixel_rate);
-		PIPE_CONF_CHECK_BOOL(hw.casf_params.enable);
-		PIPE_CONF_CHECK_I(hw.casf_params.win_size);
-		PIPE_CONF_CHECK_I(hw.casf_params.strength);
 
 		PIPE_CONF_CHECK_X(gamma_mode);
 		if (display->platform.cherryview)
@@ -6819,7 +6819,7 @@ static void intel_pre_update_crtc(struct intel_atomic_state *state,
 
 	if (intel_casf_enabling(new_crtc_state, old_crtc_state))
 		intel_casf_enable(new_crtc_state);
-	else if (new_crtc_state->hw.casf_params.strength != old_crtc_state->hw.casf_params.strength)
+	else if (new_crtc_state->pch_pfit.casf.strength != old_crtc_state->pch_pfit.casf.strength)
 		intel_casf_update_strength(new_crtc_state);
 
 	intel_fbc_update(state, crtc);
drivers/gpu/drm/i915/display/intel_display_types.h +1 -1
index af0d870de342..ca2581fb7bbd 100644
@@ -1037,7 +1037,6 @@ struct intel_crtc_state {
 		struct drm_display_mode mode, pipe_mode, adjusted_mode;
 		enum drm_scaling_filter scaling_filter;
 		u8 sharpness_strength;
-		struct intel_casf casf_params;
 	} hw;
 
 	/* actual state of LUTs */
@@ -1224,6 +1223,7 @@ struct intel_crtc_state {
 
 	/* Panel fitter placement and size for Ironlake+ */
 	struct {
+		struct intel_casf casf;
 		struct drm_rect dst;
 		bool enabled;
 		bool force_thru;
drivers/gpu/drm/i915/display/skl_scaler.c +2 -3
index cfa17ddb4018..e9fe5c0bf6ff 100644
@@ -986,13 +986,13 @@ void skl_scaler_get_config(struct intel_crtc_state *crtc_state)
 		if (HAS_CASF(display) && id == 1)
 			intel_casf_sharpness_get_config(crtc_state);
 
-		if (!crtc_state->hw.casf_params.enable)
+		if (!crtc_state->pch_pfit.casf.enable)
 			crtc_state->pch_pfit.enabled = true;
 
 		pos = intel_de_read(display, SKL_PS_WIN_POS(crtc->pipe, i));
 		size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, i));
 
-		if (!crtc_state->hw.casf_params.enable)
+		if (!crtc_state->pch_pfit.casf.enable)
 			drm_rect_init(&crtc_state->pch_pfit.dst,
 				      REG_FIELD_GET(PS_WIN_XPOS_MASK, pos),
 				      REG_FIELD_GET(PS_WIN_YPOS_MASK, pos),
--

2.52.0

Signature · 2 lines
Ville Syrjälä
Intel
#9 lore raw

Re: [PATCH 3/9] drm/i915/casf: Move the casf state to better place

Quoted 134 lines · Michał Grzelak
Quoted 133 lines · Ville Syrjälä
Quoted 121 lines · Michał Grzelak
Quoted 120 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The casf state is placed inside the 'hw' state for some reason. That is only really meant for things we have to duplicate from the uapi state. The rest can live on its own in our actual state.

And since casf is just one aspect of the pfit/pipe scaler the proper place for it seems to be under pch_pfit.

---

drivers/gpu/drm/i915/display/intel_casf.c     | 40 +++++++++----------
.../drm/i915/display/intel_crtc_state_dump.c  |  6 +--
drivers/gpu/drm/i915/display/intel_display.c  | 12 +++---
.../drm/i915/display/intel_display_types.h    |  2 +-
drivers/gpu/drm/i915/display/skl_scaler.c     |  4 +-
5 files changed, 32 insertions(+), 32 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +1 -1
index 4316d8214e80..5a8ffb40d30d 100644
@@ -82,7 +82,7 @@ void intel_casf_update_strength(struct intel_crtc_state 
 *crtc_state)
 	int win_size;
 
 	intel_de_rmw(display, SHARPNESS_CTL(crtc->pipe), 
 FILTER_STRENGTH_MASK,
-		     FILTER_STRENGTH(crtc_state->hw.casf_params.strength));
+		     FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength));
 
	win_size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, 1));
drivers/gpu/drm/i915/display/intel_casf.c +2 -2
@@ -95,11 +95,11 @@ static void intel_casf_compute_win_size(struct 
 intel_crtc_state *crtc_state)
 	u32 total_pixels = mode->hdisplay * mode->vdisplay;
 
 	if (total_pixels <= MAX_PIXELS_FOR_3_TAP_FILTER)
-		crtc_state->hw.casf_params.win_size = 
 SHARPNESS_FILTER_SIZE_3X3;
+		crtc_state->pch_pfit.casf.win_size = 
 SHARPNESS_FILTER_SIZE_3X3;
 	else if (total_pixels <= MAX_PIXELS_FOR_5_TAP_FILTER)
-		crtc_state->hw.casf_params.win_size = 
 SHARPNESS_FILTER_SIZE_5X5;
+		crtc_state->pch_pfit.casf.win_size = 
 SHARPNESS_FILTER_SIZE_5X5;

else

drivers/gpu/drm/i915/display/intel_casf.c +0 -1
-		crtc_state->hw.casf_params.win_size = 

SHARPNESS_FILTER_SIZE_7X7;

drivers/gpu/drm/i915/display/intel_casf.c +1 -0
+		crtc_state->pch_pfit.casf.win_size = 

SHARPNESS_FILTER_SIZE_7X7;
}

int intel_casf_compute_config(struct intel_crtc_state *crtc_state)

drivers/gpu/drm/i915/display/intel_casf.c +3 -3
@@ -110,8 +110,8 @@ int intel_casf_compute_config(struct intel_crtc_state 
 *crtc_state)
 		return 0;
 
 	if (crtc_state->hw.sharpness_strength == 0) {
-		crtc_state->hw.casf_params.enable = false;
-		crtc_state->hw.casf_params.strength = 0;
+		crtc_state->pch_pfit.casf.enable = false;
+		crtc_state->pch_pfit.casf.strength = 0;
 		return 0;
 	}
@@ -121,7 +121,7 @@ int intel_casf_compute_config(struct intel_crtc_state 
 *crtc_state)
 		return -EINVAL;
 	}
 
-	crtc_state->hw.casf_params.enable = true;
+	crtc_state->pch_pfit.casf.enable = true;
 
 	/*

* HW takes a value in form (1.0 + strength) in 4.4 fixed format.

drivers/gpu/drm/i915/display/intel_casf.c +1 -1
@@ -131,7 +131,7 @@ int intel_casf_compute_config(struct intel_crtc_state 
 *crtc_state)
 	 * 6.3125 in 4.4 format is b01100101 which is equal to 101.
 	 * Also 85 + 16 = 101.
 	 */
-	crtc_state->hw.casf_params.strength =
+	crtc_state->pch_pfit.casf.strength =
 		min(crtc_state->hw.sharpness_strength, 0xEF) + 0x10;
 
	intel_casf_compute_win_size(crtc_state);
drivers/gpu/drm/i915/display/intel_casf.c +5 -5
@@ -151,19 +151,19 @@ void intel_casf_sharpness_get_config(struct 
 intel_crtc_state *crtc_state)
 	if (sharp & FILTER_EN) {
 		if (drm_WARN_ON(display->drm,
 				REG_FIELD_GET(FILTER_STRENGTH_MASK, sharp) < 
 16))
-			crtc_state->hw.casf_params.strength = 0;
+			crtc_state->pch_pfit.casf.strength = 0;
 		else
-			crtc_state->hw.casf_params.strength =
+			crtc_state->pch_pfit.casf.strength =
 				REG_FIELD_GET(FILTER_STRENGTH_MASK, sharp);
-		crtc_state->hw.casf_params.enable = true;
-		crtc_state->hw.casf_params.win_size =
+		crtc_state->pch_pfit.casf.enable = true;
+		crtc_state->pch_pfit.casf.win_size =
 			REG_FIELD_GET(FILTER_SIZE_MASK, sharp);
 	}
 }
 
 bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state)
 {
-	if (crtc_state->hw.casf_params.enable)
+	if (crtc_state->pch_pfit.casf.enable)
 		return true;
	return false;
drivers/gpu/drm/i915/display/intel_casf.c +0 -0
@@ -179,7 +179,7 @@ static u32 casf_coeff(struct intel_crtc_state 
 *crtc_state, int t)
 	struct scaler_filter_coeff value;
 	u32 coeff;
 
Quoted 6 lines

drivers/gpu/drm/i915/display/intel_casf.c static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t) · line 182

Quoted 2 lines
drivers/gpu/drm/i915/display/intel_casf.c +1 -1
-	value = crtc_state->hw.casf_params.coeff[t];
+	value = crtc_state->pch_pfit.casf.coeff[t];

Unrelated topic: how you see such renaming?:

int t -> int tap

Probably a good idea. One character variable names aren't what you'd call descriptive. This probably got copied from the nearest neighbor filter code, so a rename should happen there too.

Quoted 7 lines
Quoted 2 lines

Or even better if someone gets rid of the duplicated code entirely and consolidates all the filter coefficient code to one place.

I'd give it a shot but I genuinely don't know where to search for nearest neighbor filter. I searched for possible declarations of int t, but it didn't show anything relevant. Can you point to where should I start looking?

Nevermind the question, apparently I crossed my eyes when looking at cscope's search. *facepalm*.

BR,
Michał

Quoted 209 lines
Quoted 20 lines
Quoted 20 lines
Quoted 14 lines
drivers/gpu/drm/i915/display/intel_casf.c +0 -0
 	value.sign = 0;
 
	coeff = value.sign << 15 | value.exp << 12 | value.mantissa << 3;
drivers/gpu/drm/i915/display/intel_casf.c +1 -1
@@ -189,7 +189,7 @@ static u32 casf_coeff(struct intel_crtc_state 
 *crtc_state, int t)
 /*
 * 17 phase of 7 taps requires 119 coefficients in 60 dwords per set.
 * To enable casf:  program scaler coefficients with the coeffients
- * that are calculated and stored in hw.casf_params.coeff as per
+ * that are calculated and stored in pch_pfit.casf.coeff as per
 * SCALER_COEFFICIENT_FORMAT
 */

static void intel_casf_write_coeff(struct intel_crtc_state *crtc_state)

drivers/gpu/drm/i915/display/intel_casf.c void intel_casf_scaler_compute_config(struct · line 248

Quoted 2 lines
drivers/gpu/drm/i915/display/intel_casf.c +0 -0
@@ -247,9 +247,9 @@ void intel_casf_scaler_compute_config(struct 
 intel_crtc_state *crtc_state)
 	u16 sumcoeff = 0;

Unrelated to the change: some variables have been named as sumcoeff and others as filter_*coeff{_1,_2,_3}*. How you see renaming:

Quoted 6 lines
Quoted 3 lines

u16 sumcoeff -> u16 sum_coeff

But I might be again missing common codestyle.

We generally use the underscore_style for things. So I wouldn't mind the rename.

In that case I should probably rename filtercoeff as well. But since filter_coeff is already used and global, I guess it would require more vigilance then the simple rename above. Do you have any hints on how to handle it without breaking everything?

BR,
Michał

Quoted 173 lines
Quoted 3 lines

Ta.

Quoted 162 lines

BR,
Michał

Quoted 158 lines
drivers/gpu/drm/i915/display/intel_casf.c +2 -2
 	int i;
 
-	if (crtc_state->hw.casf_params.win_size == 0)
+	if (crtc_state->pch_pfit.casf.win_size == 0)
 		filtercoeff = filtercoeff_1;
-	else if (crtc_state->hw.casf_params.win_size == 1)
+	else if (crtc_state->pch_pfit.casf.win_size == 1)
 		filtercoeff = filtercoeff_2;
 	else
		filtercoeff = filtercoeff_3;
drivers/gpu/drm/i915/display/intel_casf.c +1 -1
@@ -259,7 +259,7 @@ void intel_casf_scaler_compute_config(struct 
 intel_crtc_state *crtc_state)
 
 	for (i = 0; i < SCALER_FILTER_NUM_TAPS; i++) {
 		filter_coeff[i] = (*(filtercoeff + i) * 100 / sumcoeff);
- 
 convert_sharpness_coef_binary(&crtc_state->hw.casf_params.coeff[i],
+ 
 convert_sharpness_coef_binary(&crtc_state->pch_pfit.casf.coeff[i],
					      filter_coeff[i]);
	}
}
drivers/gpu/drm/i915/display/intel_casf.c +2 -2
@@ -274,9 +274,9 @@ void intel_casf_enable(struct intel_crtc_state 
 *crtc_state)
 
 	intel_casf_write_coeff(crtc_state);
 
-	sharpness_ctl = FILTER_EN | 
 FILTER_STRENGTH(crtc_state->hw.casf_params.strength);
+	sharpness_ctl = FILTER_EN | 
 FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength);
 
-	sharpness_ctl |= crtc_state->hw.casf_params.win_size;
+	sharpness_ctl |= crtc_state->pch_pfit.casf.win_size;
	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), sharpness_ctl);
drivers/gpu/drm/i915/display/intel_crtc_state_dump.c +3 -3
index 10a9b51337fa..95993f8e5d0d 100644
@@ -382,9 +382,9 @@ void intel_crtc_state_dump(const struct 
 intel_crtc_state *pipe_config,
 	intel_vdsc_state_dump(&p, 0, pipe_config);
 
 	drm_printf(&p, "sharpness strength: %d, sharpness tap size: %d, 
 sharpness enable: %d\n",
-		   pipe_config->hw.casf_params.strength,
-		   pipe_config->hw.casf_params.win_size,
-		   pipe_config->hw.casf_params.enable);
+		   pipe_config->pch_pfit.casf.strength,
+		   pipe_config->pch_pfit.casf.win_size,
+		   pipe_config->pch_pfit.casf.enable);
 

dump_planes:

	if (!state)
drivers/gpu/drm/i915/display/intel_display.c +1 -1
index a02c58b5a34d..e02e69467871 100644
@@ -994,7 +994,7 @@ static bool intel_casf_enabling(const struct 
 intel_crtc_state *new_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_enabling(hw.casf_params.enable, old_crtc_state, 
 new_crtc_state);
+	return is_enabling(pch_pfit.casf.enable, old_crtc_state, 
 new_crtc_state);

}

static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,

drivers/gpu/drm/i915/display/intel_display.c +1 -1
@@ -1003,7 +1003,7 @@ static bool intel_casf_disabling(const struct 
 intel_crtc_state *old_crtc_state,
 	if (!new_crtc_state->hw.active)
 		return false;
 
-	return is_disabling(hw.casf_params.enable, old_crtc_state, 
 new_crtc_state);
+	return is_disabling(pch_pfit.casf.enable, old_crtc_state, 
 new_crtc_state);

}

static bool intel_crtc_lobf_enabling(const struct intel_crtc_state *old_crtc_state,

drivers/gpu/drm/i915/display/intel_display.c +3 -3
@@ -5370,12 +5370,12 @@ intel_pipe_config_compare(const struct 
 intel_crtc_state *current_config,
 
 		PIPE_CONF_CHECK_BOOL(pch_pfit.enabled);
 		PIPE_CONF_CHECK_RECT(pch_pfit.dst);
+		PIPE_CONF_CHECK_BOOL(pch_pfit.casf.enable);
+		PIPE_CONF_CHECK_I(pch_pfit.casf.win_size);
+		PIPE_CONF_CHECK_I(pch_pfit.casf.strength);
 
 		PIPE_CONF_CHECK_I(scaler_state.scaler_id);
 		PIPE_CONF_CHECK_I(pixel_rate);
-		PIPE_CONF_CHECK_BOOL(hw.casf_params.enable);
-		PIPE_CONF_CHECK_I(hw.casf_params.win_size);
-		PIPE_CONF_CHECK_I(hw.casf_params.strength);
 
 		PIPE_CONF_CHECK_X(gamma_mode);
		if (display->platform.cherryview)
drivers/gpu/drm/i915/display/intel_display.c +1 -1
@@ -6819,7 +6819,7 @@ static void intel_pre_update_crtc(struct 
 intel_atomic_state *state,
 
 	if (intel_casf_enabling(new_crtc_state, old_crtc_state))
 		intel_casf_enable(new_crtc_state);
-	else if (new_crtc_state->hw.casf_params.strength != 
 old_crtc_state->hw.casf_params.strength)
+	else if (new_crtc_state->pch_pfit.casf.strength != 
 old_crtc_state->pch_pfit.casf.strength)
		intel_casf_update_strength(new_crtc_state);

	intel_fbc_update(state, crtc);
drivers/gpu/drm/i915/display/intel_display_types.h +1 -1
index af0d870de342..ca2581fb7bbd 100644
@@ -1037,7 +1037,6 @@ struct intel_crtc_state {
 		struct drm_display_mode mode, pipe_mode, adjusted_mode;
 		enum drm_scaling_filter scaling_filter;
 		u8 sharpness_strength;
-		struct intel_casf casf_params;
 	} hw;
 
 	/* actual state of LUTs */
@@ -1224,6 +1223,7 @@ struct intel_crtc_state {
 
 	/* Panel fitter placement and size for Ironlake+ */
 	struct {
+		struct intel_casf casf;
 		struct drm_rect dst;
 		bool enabled;
 		bool force_thru;
drivers/gpu/drm/i915/display/skl_scaler.c +2 -2
index cfa17ddb4018..e9fe5c0bf6ff 100644
@@ -986,13 +986,13 @@ void skl_scaler_get_config(struct intel_crtc_state 
 *crtc_state)
 		if (HAS_CASF(display) && id == 1)
 			intel_casf_sharpness_get_config(crtc_state);
 
-		if (!crtc_state->hw.casf_params.enable)
+		if (!crtc_state->pch_pfit.casf.enable)
 			crtc_state->pch_pfit.enabled = true;
 
 		pos = intel_de_read(display, SKL_PS_WIN_POS(crtc->pipe, i));
 		size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, i));
 
-		if (!crtc_state->hw.casf_params.enable)
+		if (!crtc_state->pch_pfit.casf.enable)
 			drm_rect_init(&crtc_state->pch_pfit.dst,
 				      REG_FIELD_GET(PS_WIN_XPOS_MASK, pos),

REG_FIELD_GET(PS_WIN_YPOS_MASK, pos),
--
2.52.0

Signature · 2 lines
Ville Syrjälä
Intel
#10 lore raw

PATCH 4/9 drm/i915/casf: Extract scaler_has_casf()

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

Extract a small helper to determine if the scaler supports the sharpness filter or not.

---
 drivers/gpu/drm/i915/display/skl_scaler.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/skl_scaler.c +8 -4
index e9fe5c0bf6ff..525afd736195 100644
@@ -323,19 +323,24 @@ int skl_update_scaler_plane(struct intel_crtc_state *crtc_state,
 				 need_scaler);
 }
 
+static bool scaler_has_casf(struct intel_display *display, int scaler_id)
+{
+	return HAS_CASF(display) && scaler_id == 1;
+}
+
 static int intel_allocate_scaler(struct intel_crtc_scaler_state *scaler_state,
 				 struct intel_crtc *crtc,
 				 struct intel_plane_state *plane_state,
 				 bool casf_scaler)
 {
+	struct intel_display *display = to_intel_display(crtc);
 	int i;
 
 	for (i = 0; i < crtc->num_scalers; i++) {
 		if (scaler_state->scalers[i].in_use)
 			continue;
 
-		/* CASF needs second scaler */
-		if (!plane_state && casf_scaler && i != 1)
+		if (casf_scaler && !scaler_has_casf(display, i))
 			continue;
 
 		scaler_state->scalers[i].in_use = true;
@@ -982,8 +987,7 @@ void skl_scaler_get_config(struct intel_crtc_state *crtc_state)
 
 		id = i;
 
-		/* Read CASF regs for second scaler */
-		if (HAS_CASF(display) && id == 1)
+		if (scaler_has_casf(display, i))
 			intel_casf_sharpness_get_config(crtc_state);
 
 		if (!crtc_state->pch_pfit.casf.enable)
Signature · 1 line
2.52.0
Reviewed-by on v1 4/9
#11 lore raw

Re: [PATCH 4/9] drm/i915/casf: Extract scaler_has_casf()

Quoted 43 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Extract a small helper to determine if the scaler supports the sharpness filter or not.

---
drivers/gpu/drm/i915/display/skl_scaler.c | 12 ++++++++----

1 file changed, 8 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/skl_scaler.c +7 -2
index e9fe5c0bf6ff..525afd736195 100644
@@ -323,19 +323,24 @@ int skl_update_scaler_plane(struct intel_crtc_state *crtc_state,
 				 need_scaler);
 }
 
+static bool scaler_has_casf(struct intel_display *display, int scaler_id)
+{
+	return HAS_CASF(display) && scaler_id == 1;
+}
+
 static int intel_allocate_scaler(struct intel_crtc_scaler_state *scaler_state,
 				 struct intel_crtc *crtc,
 				 struct intel_plane_state *plane_state,
 				 bool casf_scaler)
 {
+	struct intel_display *display = to_intel_display(crtc);
 	int i;
 
 	for (i = 0; i < crtc->num_scalers; i++) {
 		if (scaler_state->scalers[i].in_use)
 			continue;
 
-		/* CASF needs second scaler */
-		if (!plane_state && casf_scaler && i != 1)
+		if (casf_scaler && !scaler_has_casf(display, i))
 			continue;
 
 		scaler_state->scalers[i].in_use = true;

drivers/gpu/drm/i915/display/skl_scaler.c void skl_scaler_get_config(struct intel_crtc_state *crtc_state) · line 990

Quoted 6 lines
drivers/gpu/drm/i915/display/skl_scaler.c +1 -2
@@ -982,8 +987,7 @@ void skl_scaler_get_config(struct intel_crtc_state *crtc_state)
 
 		id = i;
 
-		/* Read CASF regs for second scaler */
-		if (HAS_CASF(display) && id == 1)
+		if (scaler_has_casf(display, i))

With that being changed I am wondering if we need int id at all. The only user of it is outside the loop. Since id is set to i on every loop's pass, I guess we can replace it with last value of i. And if crtc->num_scalers == -1, we wouldn't enter the loop anyway, so the id is still set to -1. The only scenario I see where it can break is e.g. when crtc->num_scalers == -2, but I have no clue if it is even possible.

To be precise, I am wondering about such change (diff without your change being applied):

drivers/gpu/drm/i915/display/skl_scaler.c +2 -5
index 4c4deac7f9c8..78852267e60b 100644
@@ -969,7 +969,6 @@ void skl_scaler_get_config(struct intel_crtc_state *crtc_state)
        struct intel_display *display = to_intel_display(crtc_state);
        struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
        struct intel_crtc_scaler_state *scaler_state = &crtc_state->scaler_state;
-       int id = -1;
        int i;
 
        /* find scaler attached to this pipe */
@@ -980,8 +979,6 @@ void skl_scaler_get_config(struct intel_crtc_state *crtc_state)
                if ((ctl & (PS_SCALER_EN | PS_BINDING_MASK)) != (PS_SCALER_EN | PS_BINDING_PIPE))
                        continue;
 
-               id = i;
-
                /* Read CASF regs for second scaler */
                if (HAS_CASF(display) && id == 1)
                        intel_casf_sharpness_get_config(crtc_state);
@@ -1003,8 +1000,8 @@ void skl_scaler_get_config(struct intel_crtc_state *crtc_state)
                break;
        }
 
-       scaler_state->scaler_id = id;
-       if (id >= 0)
+       scaler_state->scaler_id = crtc->num_scalers;
+       if (scaler_state->scaler_id >= 0)
                scaler_state->scaler_users |= (1 << SKL_CRTC_INDEX);
        else
                scaler_state->scaler_users &= ~(1 << SKL_CRTC_INDEX);

But I don't know if the reasoning above makes any sense.

BR,
Michał

Quoted 7 lines
drivers/gpu/drm/i915/display/skl_scaler.c +0 -0
 			intel_casf_sharpness_get_config(crtc_state);
 
 		if (!crtc_state->pch_pfit.casf.enable)
Signature · 1 line
2.52.0
#12 lore raw

Re: [PATCH 4/9] drm/i915/casf: Extract scaler_has_casf()

Quoted 101 lines · Michał Grzelak
Quoted 44 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Extract a small helper to determine if the scaler supports the sharpness filter or not.

---
drivers/gpu/drm/i915/display/skl_scaler.c | 12 ++++++++----

1 file changed, 8 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/skl_scaler.c +7 -2
index e9fe5c0bf6ff..525afd736195 100644
@@ -323,19 +323,24 @@ int skl_update_scaler_plane(struct intel_crtc_state 
 *crtc_state,
 				 need_scaler);
 }
 
+static bool scaler_has_casf(struct intel_display *display, int scaler_id)
+{
+	return HAS_CASF(display) && scaler_id == 1;
+}
+
 static int intel_allocate_scaler(struct intel_crtc_scaler_state *scaler_state,
 				 struct intel_crtc *crtc,
 				 struct intel_plane_state *plane_state,
 				 bool casf_scaler)
 {
+	struct intel_display *display = to_intel_display(crtc);
 	int i;
 
 	for (i = 0; i < crtc->num_scalers; i++) {
 		if (scaler_state->scalers[i].in_use)
 			continue;
 
-		/* CASF needs second scaler */
-		if (!plane_state && casf_scaler && i != 1)
+		if (casf_scaler && !scaler_has_casf(display, i))
 			continue;
 
		scaler_state->scalers[i].in_use = true;

drivers/gpu/drm/i915/display/skl_scaler.c void skl_scaler_get_config(struct intel_crtc_state · line 991

Quoted 7 lines
drivers/gpu/drm/i915/display/skl_scaler.c +1 -2
@@ -982,8 +987,7 @@ void skl_scaler_get_config(struct intel_crtc_state 
 *crtc_state)
 
 		id = i;
 
-		/* Read CASF regs for second scaler */
-		if (HAS_CASF(display) && id == 1)
+		if (scaler_has_casf(display, i))

With that being changed I am wondering if we need int id at all. The only user of it is outside the loop. Since id is set to i on every loop's pass, I guess we can replace it with last value of i. And if crtc->num_scalers == -1, we wouldn't enter the loop anyway, so the id is still set to -1. The only scenario I see where it can break is e.g. when crtc->num_scalers == -2, but I have no clue if it is even possible.

To be precise, I am wondering about such change (diff without your change being applied):

drivers/gpu/drm/i915/display/skl_scaler.c +0 -1
index 4c4deac7f9c8..78852267e60b 100644
@@ -969,7 +969,6 @@ void skl_scaler_get_config(struct intel_crtc_state 
 *crtc_state)
       struct intel_display *display = to_intel_display(crtc_state);
       struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
       struct intel_crtc_scaler_state *scaler_state = 
 &crtc_state->scaler_state;
-       int id = -1;
       int i;
       /* find scaler attached to this pipe */
drivers/gpu/drm/i915/display/skl_scaler.c +0 -2
@@ -980,8 +979,6 @@ void skl_scaler_get_config(struct intel_crtc_state 
 *crtc_state)
               if ((ctl & (PS_SCALER_EN | PS_BINDING_MASK)) != (PS_SCALER_EN 
 | PS_BINDING_PIPE))
                       continue;
 
-               id = i;
-
               /* Read CASF regs for second scaler */
               if (HAS_CASF(display) && id == 1)
                       intel_casf_sharpness_get_config(crtc_state);
drivers/gpu/drm/i915/display/skl_scaler.c +2 -2
@@ -1003,8 +1000,8 @@ void skl_scaler_get_config(struct intel_crtc_state 
 *crtc_state)
               break;
       }
 
-       scaler_state->scaler_id = id;
-       if (id >= 0)
+       scaler_state->scaler_id = crtc->num_scalers;
+       if (scaler_state->scaler_id >= 0)
               scaler_state->scaler_users |= (1 << SKL_CRTC_INDEX);
       else
               scaler_state->scaler_users &= ~(1 << SKL_CRTC_INDEX);
Quoted 1 line

But I don't know if the reasoning above makes any sense.

Now I see that I missed the continue-break magic, so please disregard the whole comment.

BR,
Michał

Quoted 14 lines

BR,
Michał

Quoted 7 lines
drivers/gpu/drm/i915/display/skl_scaler.c +0 -0
 			intel_casf_sharpness_get_config(crtc_state);
 
		if (!crtc_state->pch_pfit.casf.enable)
Signature · 1 line
2.52.0
#13 lore raw

Re: [PATCH 4/9] drm/i915/casf: Extract scaler_has_casf()

Quoted 105 lines · Michał Grzelak
Quoted 104 lines · Michał Grzelak
Quoted 46 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Extract a small helper to determine if the scaler supports the sharpness filter or not.

---
drivers/gpu/drm/i915/display/skl_scaler.c | 12 ++++++++----

1 file changed, 8 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/skl_scaler.c +5 -0
index e9fe5c0bf6ff..525afd736195 100644
@@ -323,19 +323,24 @@ int skl_update_scaler_plane(struct intel_crtc_state 
 *crtc_state,
 				 need_scaler);
 }
 
+static bool scaler_has_casf(struct intel_display *display, int scaler_id)
+{
+	return HAS_CASF(display) && scaler_id == 1;
+}
+

static int intel_allocate_scaler(struct intel_crtc_scaler_state *scaler_state,
struct intel_crtc *crtc, struct intel_plane_state *plane_state, bool casf_scaler)
{

drivers/gpu/drm/i915/display/skl_scaler.c +1 -0
+	struct intel_display *display = to_intel_display(crtc);
	int i;

	for (i = 0; i < crtc->num_scalers; i++) {
		if (scaler_state->scalers[i].in_use)
			continue;
drivers/gpu/drm/i915/display/skl_scaler.c +1 -2
-		/* CASF needs second scaler */
-		if (!plane_state && casf_scaler && i != 1)
+		if (casf_scaler && !scaler_has_casf(display, i))
			continue;

		scaler_state->scalers[i].in_use = true;

drivers/gpu/drm/i915/display/skl_scaler.c void skl_scaler_get_config(struct intel_crtc_state · line 991

Quoted 7 lines
drivers/gpu/drm/i915/display/skl_scaler.c +1 -2
@@ -982,8 +987,7 @@ void skl_scaler_get_config(struct intel_crtc_state 
 *crtc_state)
 
 		id = i;
 
-		/* Read CASF regs for second scaler */
-		if (HAS_CASF(display) && id == 1)
+		if (scaler_has_casf(display, i))

With that being changed I am wondering if we need int id at all. The only user of it is outside the loop. Since id is set to i on every loop's pass, I guess we can replace it with last value of i. And if crtc->num_scalers == -1, we wouldn't enter the loop anyway, so the id is still set to -1. The only scenario I see where it can break is e.g. when crtc->num_scalers == -2, but I have no clue if it is even possible.

To be precise, I am wondering about such change (diff without your change being applied):

drivers/gpu/drm/i915/display/skl_scaler.c +0 -1
index 4c4deac7f9c8..78852267e60b 100644
@@ -969,7 +969,6 @@ void skl_scaler_get_config(struct intel_crtc_state 
 *crtc_state)
       struct intel_display *display = to_intel_display(crtc_state);
       struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
       struct intel_crtc_scaler_state *scaler_state = 
 &crtc_state->scaler_state;
-       int id = -1;
       int i;
       /* find scaler attached to this pipe */
drivers/gpu/drm/i915/display/skl_scaler.c +0 -2
@@ -980,8 +979,6 @@ void skl_scaler_get_config(struct intel_crtc_state 
 *crtc_state)
               if ((ctl & (PS_SCALER_EN | PS_BINDING_MASK)) != (PS_SCALER_EN 
 | PS_BINDING_PIPE))
                       continue;
 
-               id = i;
-
               /* Read CASF regs for second scaler */
               if (HAS_CASF(display) && id == 1)
                       intel_casf_sharpness_get_config(crtc_state);
drivers/gpu/drm/i915/display/skl_scaler.c +2 -2
@@ -1003,8 +1000,8 @@ void skl_scaler_get_config(struct intel_crtc_state 
 *crtc_state)
               break;
       }
 
-       scaler_state->scaler_id = id;
-       if (id >= 0)
+       scaler_state->scaler_id = crtc->num_scalers;
+       if (scaler_state->scaler_id >= 0)
               scaler_state->scaler_users |= (1 << SKL_CRTC_INDEX);
       else
               scaler_state->scaler_users &= ~(1 << SKL_CRTC_INDEX);
Quoted 4 lines
Quoted 1 line

But I don't know if the reasoning above makes any sense.

Now I see that I missed the continue-break magic, so please disregard the whole comment.

I think the correct thing is to s/i/scaler_id/ and just move the scaler_state->scaler_id and caler_state->scaler_users assignment into the loop.

Or even better something like this:

skl_pipe_scaler_get_hw_state()

{
	for (scaler_id) {
		ctl = ...
		if (ctl...)
			return scaler_id;
	}

	return -1;
}

skl_scaler_get_config()

{
	scaler_id = skl_pipe_scaler_get_hw_state();
	if (scaler_id < 0)
		return;

	// do the scaler readout
}

Feel free to go at it.

Quoted 18 lines

BR,
Michał

Quoted 14 lines

BR,
Michał

Quoted 7 lines
drivers/gpu/drm/i915/display/skl_scaler.c +0 -0
 			intel_casf_sharpness_get_config(crtc_state);
 
		if (!crtc_state->pch_pfit.casf.enable)
Signature · 1 line
2.52.0
Signature · 2 lines
Ville Syrjälä
Intel
#14 lore raw

Re: [PATCH 4/9] drm/i915/casf: Extract scaler_has_casf()

Quoted 137 lines · Ville Syrjälä
Quoted 105 lines · Michał Grzelak
Quoted 104 lines · Michał Grzelak
Quoted 46 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Extract a small helper to determine if the scaler supports the sharpness filter or not.

---
drivers/gpu/drm/i915/display/skl_scaler.c | 12 ++++++++----

1 file changed, 8 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/skl_scaler.c +5 -0
index e9fe5c0bf6ff..525afd736195 100644
@@ -323,19 +323,24 @@ int skl_update_scaler_plane(struct intel_crtc_state
 *crtc_state,
 				 need_scaler);
 }
 
+static bool scaler_has_casf(struct intel_display *display, int scaler_id)
+{
+	return HAS_CASF(display) && scaler_id == 1;
+}
+

static int intel_allocate_scaler(struct intel_crtc_scaler_state *scaler_state,
struct intel_crtc *crtc, struct intel_plane_state *plane_state, bool casf_scaler)
{

drivers/gpu/drm/i915/display/skl_scaler.c +1 -0
+	struct intel_display *display = to_intel_display(crtc);
	int i;

	for (i = 0; i < crtc->num_scalers; i++) {
		if (scaler_state->scalers[i].in_use)
			continue;
drivers/gpu/drm/i915/display/skl_scaler.c +1 -2
-		/* CASF needs second scaler */
-		if (!plane_state && casf_scaler && i != 1)
+		if (casf_scaler && !scaler_has_casf(display, i))
			continue;

		scaler_state->scalers[i].in_use = true;

drivers/gpu/drm/i915/display/skl_scaler.c void skl_scaler_get_config(struct intel_crtc_state · line 991

Quoted 7 lines
drivers/gpu/drm/i915/display/skl_scaler.c +1 -2
@@ -982,8 +987,7 @@ void skl_scaler_get_config(struct intel_crtc_state
 *crtc_state)
 
 		id = i;
 
-		/* Read CASF regs for second scaler */
-		if (HAS_CASF(display) && id == 1)
+		if (scaler_has_casf(display, i))

With that being changed I am wondering if we need int id at all. The only user of it is outside the loop. Since id is set to i on every loop's pass, I guess we can replace it with last value of i. And if crtc->num_scalers == -1, we wouldn't enter the loop anyway, so the id is still set to -1. The only scenario I see where it can break is e.g. when crtc->num_scalers == -2, but I have no clue if it is even possible.

To be precise, I am wondering about such change (diff without your change being applied):

drivers/gpu/drm/i915/display/skl_scaler.c +0 -1
index 4c4deac7f9c8..78852267e60b 100644
@@ -969,7 +969,6 @@ void skl_scaler_get_config(struct intel_crtc_state
 *crtc_state)
       struct intel_display *display = to_intel_display(crtc_state);
       struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
       struct intel_crtc_scaler_state *scaler_state =
 &crtc_state->scaler_state;
-       int id = -1;
       int i;
       /* find scaler attached to this pipe */
drivers/gpu/drm/i915/display/skl_scaler.c +0 -2
@@ -980,8 +979,6 @@ void skl_scaler_get_config(struct intel_crtc_state
 *crtc_state)
               if ((ctl & (PS_SCALER_EN | PS_BINDING_MASK)) != (PS_SCALER_EN
 | PS_BINDING_PIPE))
                       continue;
 
-               id = i;
-
               /* Read CASF regs for second scaler */
               if (HAS_CASF(display) && id == 1)
                       intel_casf_sharpness_get_config(crtc_state);
drivers/gpu/drm/i915/display/skl_scaler.c +2 -2
@@ -1003,8 +1000,8 @@ void skl_scaler_get_config(struct intel_crtc_state
 *crtc_state)
               break;
       }
 
-       scaler_state->scaler_id = id;
-       if (id >= 0)
+       scaler_state->scaler_id = crtc->num_scalers;
+       if (scaler_state->scaler_id >= 0)
               scaler_state->scaler_users |= (1 << SKL_CRTC_INDEX);
       else
               scaler_state->scaler_users &= ~(1 << SKL_CRTC_INDEX);
Quoted 4 lines
Quoted 1 line

But I don't know if the reasoning above makes any sense.

Now I see that I missed the continue-break magic, so please disregard the whole comment.

I think the correct thing is to s/i/scaler_id/ and just move the scaler_state->scaler_id and caler_state->scaler_users assignment into the loop.

Or even better something like this:

skl_pipe_scaler_get_hw_state()

{
	for (scaler_id) {
		ctl = ...
		if (ctl...)
			return scaler_id;
	}

	return -1;
}

skl_scaler_get_config()

{
	scaler_id = skl_pipe_scaler_get_hw_state();
	if (scaler_id < 0)
		return;

	// do the scaler readout
}
Quoted 2 lines

Feel free to go at it.

Now it makes sense, thanks. :)

I've added you to couple of Suggested-by:, please correct me if I mishandled it.

BR,
Michał

Quoted 17 lines
Quoted 11 lines
Quoted 11 lines
Quoted 7 lines
drivers/gpu/drm/i915/display/skl_scaler.c +0 -0
 			intel_casf_sharpness_get_config(crtc_state);
 
		if (!crtc_state->pch_pfit.casf.enable)

--
2.52.0

Signature · 2 lines
Ville Syrjälä
Intel
#15 lore raw

PATCH 5/9 drm/i915/casf: Handle CASF in skl_scaler_get_filter_select()

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

Nuke the duplicate CASF_SCALER_FILTER_SELECT and just have skl_scaler_get_filter_select() return the proper value for sharpness filter use. It is the same "use programmable coefficients" value we already use for the nearest neighbor filtering.

---
 drivers/gpu/drm/i915/display/skl_scaler.c | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)
drivers/gpu/drm/i915/display/skl_scaler.c +5 -12
index 525afd736195..d8bf65c6b4a7 100644
@@ -730,9 +730,9 @@ static void glk_program_nearest_filter_coefs(struct intel_display *display,
 			   GLK_PS_COEF_INDEX_SET(pipe, id, set), 0);
 }
 
-static u32 skl_scaler_get_filter_select(enum drm_scaling_filter filter)
+static u32 skl_scaler_get_filter_select(enum drm_scaling_filter filter, bool casf)
 {
-	if (filter == DRM_SCALING_FILTER_NEAREST_NEIGHBOR)
+	if (filter == DRM_SCALING_FILTER_NEAREST_NEIGHBOR || casf)
 		return (PS_FILTER_PROGRAMMED |
 			PS_Y_VERT_FILTER_SELECT(0) |
 			PS_Y_HORZ_FILTER_SELECT(0) |
@@ -757,13 +757,6 @@ static void skl_scaler_setup_filter(struct intel_display *display,
 	}
 }
 
-#define CASF_SCALER_FILTER_SELECT \
-	(PS_FILTER_PROGRAMMED | \
-	PS_Y_VERT_FILTER_SELECT(0) | \
-	PS_Y_HORZ_FILTER_SELECT(0) | \
-	PS_UV_VERT_FILTER_SELECT(0) | \
-	PS_UV_HORZ_FILTER_SELECT(0))
-
 void skl_scaler_setup_casf(struct intel_crtc_state *crtc_state)
 {
 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
@@ -794,7 +787,7 @@ void skl_scaler_setup_casf(struct intel_crtc_state *crtc_state)
 	trace_intel_pipe_scaler_update_arm(crtc, id, x, y, width, height);
 
 	ps_ctrl = PS_SCALER_EN | PS_BINDING_PIPE | scaler_state->scalers[id].mode |
-		  CASF_SCALER_FILTER_SELECT;
+		skl_scaler_get_filter_select(crtc_state->hw.scaling_filter, true);
 
 	intel_de_write_fw(display, SKL_PS_CTRL(pipe, id), ps_ctrl);
 	intel_de_write_fw(display, SKL_PS_WIN_POS(pipe, id),
@@ -844,7 +837,7 @@ void skl_pfit_enable(const struct intel_crtc_state *crtc_state)
 	id = scaler_state->scaler_id;
 
 	ps_ctrl = PS_SCALER_EN | PS_BINDING_PIPE | scaler_state->scalers[id].mode |
-		skl_scaler_get_filter_select(crtc_state->hw.scaling_filter);
+		skl_scaler_get_filter_select(crtc_state->hw.scaling_filter, false);
 
 	trace_intel_pipe_scaler_update_arm(crtc, id, x, y, width, height);
 
@@ -910,7 +903,7 @@ skl_program_plane_scaler(struct intel_dsb *dsb,
 	}
 
 	ps_ctrl = PS_SCALER_EN | PS_BINDING_PLANE(plane->id) | scaler->mode |
-		skl_scaler_get_filter_select(plane_state->hw.scaling_filter);
+		skl_scaler_get_filter_select(plane_state->hw.scaling_filter, false);
 
 	trace_intel_plane_scaler_update_arm(plane, scaler_id,
 					    crtc_x, crtc_y, crtc_w, crtc_h);
Signature · 1 line
2.52.0
Reviewed-by on v1 5/9
#16 lore raw

Re: [PATCH 5/9] drm/i915/casf: Handle CASF in skl_scaler_get_filter_select()

Quoted 9 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

Nuke the duplicate CASF_SCALER_FILTER_SELECT and just have skl_scaler_get_filter_select() return the proper value for sharpness filter use. It is the same "use programmable coefficients" value we already use for the nearest neighbor filtering.

BR,
Michał

#17 lore raw

PATCH 6/9 drm/i915/casf: Constify crtc_state

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

Make the crtc_state const everywhere in the sharpness filter code where it doesn't need to be mutated.

---
 drivers/gpu/drm/i915/display/intel_casf.c | 8 ++++----
 drivers/gpu/drm/i915/display/intel_casf.h | 4 ++--
 drivers/gpu/drm/i915/display/skl_scaler.c | 8 ++++----
 drivers/gpu/drm/i915/display/skl_scaler.h | 2 +-
 4 files changed, 11 insertions(+), 11 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +4 -4
index 5a8ffb40d30d..f777aae3fc57 100644
@@ -75,7 +75,7 @@ static void intel_casf_filter_lut_load(struct intel_crtc *crtc,
 			       sharpness_lut[i]);
 }
 
-void intel_casf_update_strength(struct intel_crtc_state *crtc_state)
+void intel_casf_update_strength(const struct intel_crtc_state *crtc_state)
 {
 	struct intel_display *display = to_intel_display(crtc_state);
 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
@@ -174,7 +174,7 @@ static int casf_coeff_tap(int i)
 	return i % SCALER_FILTER_NUM_TAPS;
 }
 
-static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t)
+static u32 casf_coeff(const struct intel_crtc_state *crtc_state, int t)
 {
 	struct scaler_filter_coeff value;
 	u32 coeff;
@@ -192,7 +192,7 @@ static u32 casf_coeff(struct intel_crtc_state *crtc_state, int t)
  * that are calculated and stored in pch_pfit.casf.coeff as per
  * SCALER_COEFFICIENT_FORMAT
  */
-static void intel_casf_write_coeff(struct intel_crtc_state *crtc_state)
+static void intel_casf_write_coeff(const struct intel_crtc_state *crtc_state)
 {
 	struct intel_display *display = to_intel_display(crtc_state);
 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
@@ -264,7 +264,7 @@ void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
 	}
 }
 
-void intel_casf_enable(struct intel_crtc_state *crtc_state)
+void intel_casf_enable(const struct intel_crtc_state *crtc_state)
 {
 	struct intel_display *display = to_intel_display(crtc_state);
 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
drivers/gpu/drm/i915/display/intel_casf.h +2 -2
index b3fb0bcb3f5b..c4f984b73348 100644
@@ -11,9 +11,9 @@
 struct intel_crtc_state;
 
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state);
-void intel_casf_update_strength(struct intel_crtc_state *new_crtc_state);
+void intel_casf_update_strength(const struct intel_crtc_state *new_crtc_state);
 void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state);
-void intel_casf_enable(struct intel_crtc_state *crtc_state);
+void intel_casf_enable(const struct intel_crtc_state *crtc_state);
 void intel_casf_disable(const struct intel_crtc_state *crtc_state);
 void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state);
 bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state);
drivers/gpu/drm/i915/display/skl_scaler.c +4 -4
index d8bf65c6b4a7..762f4bb46c2d 100644
@@ -757,13 +757,13 @@ static void skl_scaler_setup_filter(struct intel_display *display,
 	}
 }
 
-void skl_scaler_setup_casf(struct intel_crtc_state *crtc_state)
+void skl_scaler_setup_casf(const struct intel_crtc_state *crtc_state)
 {
 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 	struct intel_display *display = to_intel_display(crtc);
-	struct drm_display_mode *adjusted_mode =
-	&crtc_state->hw.adjusted_mode;
-	struct intel_crtc_scaler_state *scaler_state =
+	const struct drm_display_mode *adjusted_mode =
+		&crtc_state->hw.adjusted_mode;
+	const struct intel_crtc_scaler_state *scaler_state =
 		&crtc_state->scaler_state;
 	struct drm_rect src, dest;
 	int id, width, height;
drivers/gpu/drm/i915/display/skl_scaler.h +1 -1
index 7e8d819c019d..20ecf373eb19 100644
@@ -36,7 +36,7 @@ void skl_scaler_disable(const struct intel_crtc_state *old_crtc_state);
 
 void skl_scaler_get_config(struct intel_crtc_state *crtc_state);
 
-void skl_scaler_setup_casf(struct intel_crtc_state *crtc_state);
+void skl_scaler_setup_casf(const struct intel_crtc_state *crtc_state);
 
 enum drm_mode_status
 skl_scaler_mode_valid(struct intel_display *display,
Signature · 1 line
2.52.0
#19 lore raw

PATCH 7/9 drn/i915/casf: Remove redundant argument from intel_casf_filter_lut_load()

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

intel_casf_filter_lut_load() can find the crtc from the crtc_state. No need to pass in both.

---
 drivers/gpu/drm/i915/display/intel_casf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +3 -3
index f777aae3fc57..21e84a4f9ff5 100644
@@ -61,10 +61,10 @@ const u16 filtercoeff_3[] = {
 	FILTER_COEFF_0_125,
 };
 
-static void intel_casf_filter_lut_load(struct intel_crtc *crtc,
-				       const struct intel_crtc_state *crtc_state)
+static void intel_casf_filter_lut_load(const struct intel_crtc_state *crtc_state)
 {
 	struct intel_display *display = to_intel_display(crtc_state);
+	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 	int i;
 
 	intel_de_write(display, SHRPLUT_INDEX(crtc->pipe),
@@ -270,7 +270,7 @@ void intel_casf_enable(const struct intel_crtc_state *crtc_state)
 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 	u32 sharpness_ctl;
 
-	intel_casf_filter_lut_load(crtc, crtc_state);
+	intel_casf_filter_lut_load(crtc_state);
 
 	intel_casf_write_coeff(crtc_state);
 
Signature · 1 line
2.52.0
#21 lore raw

Re: [PATCH 7/9] drn/i915/casf: Remove redundant argument from intel_casf_filter_lut_load()

Quoted 11 lines · Michał Grzelak
Quoted 7 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

intel_casf_filter_lut_load() can find the crtc from the crtc_state. No need to pass in both.

Late nit: s/drn/drm in the title :)

BR,
Michał

#22 lore raw

PATCH 8/9 drm/i915/pfit: Call intel_pfit_compute_config() unconditionally on (e)DP/HDMI

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

We now have three different reasons for calling intel_pfit_compute_config():
- actual pfit scaling/centering
- YCbCr 4:2:0 output
- sharpness filter

So let's just all the intel_pfit_compute_config() from both the DP and HDMI code. Both gmch and ilk+ pfit code should be capable of judging whether anything actually needs the pfit.

The only slightly questionable thing in the gmch code is the dithering knob, but that's only a thing on gen2/3 which don't even have HDMI/DP outputs, and so not an issue here.

---
 drivers/gpu/drm/i915/display/intel_dp.c   | 9 +++------
 drivers/gpu/drm/i915/display/intel_hdmi.c | 8 +++-----
 2 files changed, 6 insertions(+), 11 deletions(-)
drivers/gpu/drm/i915/display/intel_dp.c +3 -6
index 4955bd8b11d7..ff3904b77492 100644
@@ -3545,12 +3545,9 @@ intel_dp_compute_config(struct intel_encoder *encoder,
 	if (ret)
 		return ret;
 
-	if ((intel_dp_is_edp(intel_dp) && fixed_mode) ||
-	    pipe_config->output_format == INTEL_OUTPUT_FORMAT_YCBCR420) {
-		ret = intel_pfit_compute_config(pipe_config, conn_state);
-		if (ret)
-			return ret;
-	}
+	ret = intel_pfit_compute_config(pipe_config, conn_state);
+	if (ret)
+		return ret;
 
 	pipe_config->limited_color_range =
 		intel_dp_limited_color_range(pipe_config, conn_state);
drivers/gpu/drm/i915/display/intel_hdmi.c +3 -5
index 05e898d10a2b..17bd2c207453 100644
@@ -2380,11 +2380,9 @@ int intel_hdmi_compute_config(struct intel_encoder *encoder,
 		return ret;
 	}
 
-	if (intel_hdmi_is_ycbcr420(pipe_config)) {
-		ret = intel_pfit_compute_config(pipe_config, conn_state);
-		if (ret)
-			return ret;
-	}
+	ret = intel_pfit_compute_config(pipe_config, conn_state);
+	if (ret)
+		return ret;
 
 	pipe_config->limited_color_range =
 		intel_hdmi_limited_color_range(pipe_config, conn_state);
Signature · 1 line
2.52.0
Reviewed-by on v1 8/9
#23 lore raw

Re: [PATCH 8/9] drm/i915/pfit: Call intel_pfit_compute_config() unconditionally on (e)DP/HDMI

Quoted 9 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

We now have three different reasons for calling intel_pfit_compute_config():
- actual pfit scaling/centering
- YCbCr 4:2:0 output
- sharpness filter

So let's just all the intel_pfit_compute_config() from

typo: s/all/call/

Quoted 10 lines

both the DP and HDMI code. Both gmch and ilk+ pfit code should be capable of judging whether anything actually needs the pfit.

The only slightly questionable thing in the gmch code is the dithering knob, but that's only a thing on gen2/3 which don't even have HDMI/DP outputs, and so not an issue here.

BR,
Michał

#24 lore raw

Re: [PATCH 8/9] drm/i915/pfit: Call intel_pfit_compute_config() unconditionally on (e)DP/HDMI

Quoted 10 lines · Michał Grzelak
Quoted 9 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

We now have three different reasons for calling intel_pfit_compute_config():
- actual pfit scaling/centering
- YCbCr 4:2:0 output
- sharpness filter

So let's just all the intel_pfit_compute_config()

"... unconditionally ..."

Quoted 19 lines

from

typo: s/all/call/

Quoted 10 lines

both the DP and HDMI code. Both gmch and ilk+ pfit code should be capable of judging whether anything actually needs the pfit.

The only slightly questionable thing in the gmch code is the dithering knob, but that's only a thing on gen2/3 which don't even have HDMI/DP outputs, and so not an issue here.

BR,
Michał

Signature · 2 lines
Ville Syrjälä
Intel
#25 lore raw

PATCH 9/9 drm/i915/casf: Integrate the sharpness filter properly into the scaler code

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

The sharpness filter is just a special mode of the pipe scaler. It doesn't warrant all this special casing everywhere. Just integrate it properly into the scaler code so that it's treated no different from the other pipe scaler uses (scaling,centering, YCbCr 4:2:0 output).

---
 drivers/gpu/drm/i915/display/intel_casf.c    | 62 ++------------
 drivers/gpu/drm/i915/display/intel_casf.h    |  6 +-
 drivers/gpu/drm/i915/display/intel_display.c | 34 +-------
 drivers/gpu/drm/i915/display/intel_pfit.c    | 13 ++-
 drivers/gpu/drm/i915/display/skl_scaler.c    | 85 ++++++++------------
 drivers/gpu/drm/i915/display/skl_scaler.h    |  2 -
 6 files changed, 53 insertions(+), 149 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +6 -56
index 21e84a4f9ff5..c2d2746c5f04 100644
@@ -75,20 +75,6 @@ static void intel_casf_filter_lut_load(const struct intel_crtc_state *crtc_state
 			       sharpness_lut[i]);
 }
 
-void intel_casf_update_strength(const struct intel_crtc_state *crtc_state)
-{
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	int win_size;
-
-	intel_de_rmw(display, SHARPNESS_CTL(crtc->pipe), FILTER_STRENGTH_MASK,
-		     FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength));
-
-	win_size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, 1));
-
-	intel_de_write_fw(display, SKL_PS_WIN_SZ(crtc->pipe, 1), win_size);
-}
-
 static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)
 {
 	const struct drm_display_mode *mode = &crtc_state->hw.adjusted_mode;
@@ -102,19 +88,15 @@ static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)
 		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_7X7;
 }
 
+static void intel_casf_scaler_compute_coef(struct intel_crtc_state *crtc_state);
+
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 {
 	struct intel_display *display = to_intel_display(crtc_state);
 
-	if (!HAS_CASF(display))
+	if (crtc_state->hw.sharpness_strength == 0)
 		return 0;
 
-	if (crtc_state->hw.sharpness_strength == 0) {
-		crtc_state->pch_pfit.casf.enable = false;
-		crtc_state->pch_pfit.casf.strength = 0;
-		return 0;
-	}
-
 	/* CASF with joiner not supported in hardware */
 	if (crtc_state->joiner_pipes) {
 		drm_dbg_kms(display->drm, "CASF not supported with joiner\n");
@@ -136,7 +118,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 
 	intel_casf_compute_win_size(crtc_state);
 
-	intel_casf_scaler_compute_config(crtc_state);
+	intel_casf_scaler_compute_coef(crtc_state);
 
 	return 0;
 }
@@ -161,14 +143,6 @@ void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state)
 	}
 }
 
-bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state)
-{
-	if (crtc_state->pch_pfit.casf.enable)
-		return true;
-
-	return false;
-}
-
 static int casf_coeff_tap(int i)
 {
 	return i % SCALER_FILTER_NUM_TAPS;
@@ -240,7 +214,7 @@ static void convert_sharpness_coef_binary(struct scaler_filter_coeff *coeff,
 	}
 }
 
-void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
+static void intel_casf_scaler_compute_coef(struct intel_crtc_state *crtc_state)
 {
 	const u16 *filtercoeff;
 	u16 filter_coeff[SCALER_FILTER_NUM_TAPS];
@@ -264,32 +238,8 @@ void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
 	}
 }
 
-void intel_casf_enable(const struct intel_crtc_state *crtc_state)
+void intel_casf_setup(const struct intel_crtc_state *crtc_state)
 {
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	u32 sharpness_ctl;
-
 	intel_casf_filter_lut_load(crtc_state);
-
 	intel_casf_write_coeff(crtc_state);
-
-	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength);
-
-	sharpness_ctl |= crtc_state->pch_pfit.casf.win_size;
-
-	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), sharpness_ctl);
-
-	skl_scaler_setup_casf(crtc_state);
-}
-
-void intel_casf_disable(const struct intel_crtc_state *crtc_state)
-{
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-
-	intel_de_write(display, SKL_PS_CTRL(crtc->pipe, 1), 0);
-	intel_de_write(display, SKL_PS_WIN_POS(crtc->pipe, 1), 0);
-	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), 0);
-	intel_de_write(display, SKL_PS_WIN_SZ(crtc->pipe, 1), 0);
 }
drivers/gpu/drm/i915/display/intel_casf.h +1 -5
index c4f984b73348..3ebb7522af0a 100644
@@ -11,11 +11,7 @@
 struct intel_crtc_state;
 
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state);
-void intel_casf_update_strength(const struct intel_crtc_state *new_crtc_state);
 void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state);
-void intel_casf_enable(const struct intel_crtc_state *crtc_state);
-void intel_casf_disable(const struct intel_crtc_state *crtc_state);
-void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state);
-bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state);
+void intel_casf_setup(const struct intel_crtc_state *crtc_state);
 
 #endif /* __INTEL_CASF_H__ */
drivers/gpu/drm/i915/display/intel_display.c +1 -33
index e02e69467871..58a654ca0d20 100644
@@ -58,7 +58,6 @@
 #include "intel_audio.h"
 #include "intel_bo.h"
 #include "intel_bw.h"
-#include "intel_casf.h"
 #include "intel_cdclk.h"
 #include "intel_clock_gating.h"
 #include "intel_color.h"
@@ -988,24 +987,6 @@ static bool audio_disabling(const struct intel_crtc_state *old_crtc_state,
 		 memcmp(old_crtc_state->eld, new_crtc_state->eld, MAX_ELD_BYTES) != 0);
 }
 
-static bool intel_casf_enabling(const struct intel_crtc_state *new_crtc_state,
-				const struct intel_crtc_state *old_crtc_state)
-{
-	if (!new_crtc_state->hw.active)
-		return false;
-
-	return is_enabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
-}
-
-static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
-				 const struct intel_crtc_state *new_crtc_state)
-{
-	if (!new_crtc_state->hw.active)
-		return false;
-
-	return is_disabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
-}
-
 static bool intel_crtc_lobf_enabling(const struct intel_crtc_state *old_crtc_state,
 				     const struct intel_crtc_state *new_crtc_state)
 {
@@ -1187,9 +1168,6 @@ static void intel_pre_plane_update(struct intel_atomic_state *state,
 	if (audio_disabling(old_crtc_state, new_crtc_state))
 		intel_encoders_audio_disable(state, crtc);
 
-	if (intel_casf_disabling(old_crtc_state, new_crtc_state))
-		intel_casf_disable(new_crtc_state);
-
 	intel_drrs_deactivate(old_crtc_state);
 
 	if (hsw_ips_pre_update(state, crtc))
@@ -4308,14 +4286,9 @@ static int intel_crtc_atomic_check(struct intel_atomic_state *state,
 		return ret;
 	}
 
-	ret = intel_casf_compute_config(crtc_state);
-	if (ret)
-		return ret;
-
 	if (DISPLAY_VER(display) >= 9) {
 		if (intel_crtc_needs_modeset(crtc_state) ||
-		    intel_crtc_needs_fastset(crtc_state) ||
-		    intel_casf_needs_scaler(crtc_state)) {
+		    intel_crtc_needs_fastset(crtc_state)) {
 			ret = skl_update_scaler_crtc(crtc_state);
 			if (ret)
 				return ret;
@@ -6817,11 +6790,6 @@ static void intel_pre_update_crtc(struct intel_atomic_state *state,
 			intel_vrr_set_transcoder_timings(new_crtc_state);
 	}
 
-	if (intel_casf_enabling(new_crtc_state, old_crtc_state))
-		intel_casf_enable(new_crtc_state);
-	else if (new_crtc_state->pch_pfit.casf.strength != old_crtc_state->pch_pfit.casf.strength)
-		intel_casf_update_strength(new_crtc_state);
-
 	intel_fbc_update(state, crtc);
 
 	drm_WARN_ON(display->drm, !intel_display_power_is_enabled(display, POWER_DOMAIN_DC_OFF));
drivers/gpu/drm/i915/display/intel_pfit.c +12 -1
index 6dda496190e0..e04ca960f115 100644
@@ -186,6 +186,7 @@ static int pch_panel_fitting(struct intel_crtc_state *crtc_state,
 			     const struct drm_connector_state *conn_state)
 {
 	struct intel_display *display = to_intel_display(crtc_state);
+	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 	const struct drm_display_mode *adjusted_mode =
 		&crtc_state->hw.adjusted_mode;
 	int pipe_src_w = drm_rect_width(&crtc_state->pipe_src);
@@ -195,7 +196,8 @@ static int pch_panel_fitting(struct intel_crtc_state *crtc_state,
 	/* Native modes don't need fitting */
 	if (adjusted_mode->crtc_hdisplay == pipe_src_w &&
 	    adjusted_mode->crtc_vdisplay == pipe_src_h &&
-	    crtc_state->output_format != INTEL_OUTPUT_FORMAT_YCBCR420)
+	    crtc_state->output_format != INTEL_OUTPUT_FORMAT_YCBCR420 &&
+	    crtc_state->hw.sharpness_strength == 0)
 		return 0;
 
 	switch (conn_state->scaling_mode) {
@@ -249,6 +251,15 @@ static int pch_panel_fitting(struct intel_crtc_state *crtc_state,
 		return -EINVAL;
 	}
 
+	if (crtc_state->hw.sharpness_strength &&
+	    (width != pipe_src_w || height != pipe_src_h ||
+	     crtc_state->output_format != INTEL_OUTPUT_FORMAT_RGB)) {
+		drm_dbg_kms(display->drm,
+			    "[CRTC:%d:%s] no scaling/YCbCr output with sharpness filter\n",
+			    crtc->base.base.id, crtc->base.name);
+		return -EINVAL;
+	}
+
 	drm_rect_init(&crtc_state->pch_pfit.dst,
 		      x, y, width, height);
 	crtc_state->pch_pfit.enabled = true;
drivers/gpu/drm/i915/display/skl_scaler.c +33 -52

140 lines not on this page · raw message

drivers/gpu/drm/i915/display/skl_scaler.h +0 -2
index 20ecf373eb19..5deabca909e6 100644
@@ -36,8 +36,6 @@ void skl_scaler_disable(const struct intel_crtc_state *old_crtc_state);
 
 void skl_scaler_get_config(struct intel_crtc_state *crtc_state);
 
-void skl_scaler_setup_casf(const struct intel_crtc_state *crtc_state);
-
 enum drm_mode_status
 skl_scaler_mode_valid(struct intel_display *display,
 		      const struct drm_display_mode *mode,
Signature · 1 line
2.52.0
#26 lore raw
Quoted 282 lines

-----Original Message-----
From: Ville Syrjala <[email protected]>
Sent: Friday, March 27, 2026 4:02 AM
To: [email protected]
Cc: [email protected]; Garg, Nemesa <[email protected]>
Subject: [PATCH 9/9] drm/i915/casf: Integrate the sharpness filter properly into the scaler code

From: Ville Syrjälä <[email protected]>

The sharpness filter is just a special mode of the pipe scaler.
It doesn't warrant all this special casing everywhere. Just integrate it properly into the scaler code so that it's treated no different from the other pipe scaler uses (scaling,centering, YCbCr 4:2:0 output).

---
 drivers/gpu/drm/i915/display/intel_casf.c    | 62 ++------------
 drivers/gpu/drm/i915/display/intel_casf.h    |  6 +-
 drivers/gpu/drm/i915/display/intel_display.c | 34 +-------
 drivers/gpu/drm/i915/display/intel_pfit.c    | 13 ++-
 drivers/gpu/drm/i915/display/skl_scaler.c    | 85 ++++++++------------
 drivers/gpu/drm/i915/display/skl_scaler.h    |  2 -
 6 files changed, 53 insertions(+), 149 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +0 -0
index 21e84a4f9ff5..c2d2746c5f04 100644
@@ -75,20 +75,6 @@ static void intel_casf_filter_lut_load(const struct

intel_crtc_state *crtc_state

drivers/gpu/drm/i915/display/intel_casf.c +0 -6
 			       sharpness_lut[i]);
 }
 
-void intel_casf_update_strength(const struct intel_crtc_state *crtc_state) -{
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	int win_size;
-
-	intel_de_rmw(display, SHARPNESS_CTL(crtc->pipe),

FILTER_STRENGTH_MASK,

drivers/gpu/drm/i915/display/intel_casf.c +0 -7
-		     FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength));
-
-	win_size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, 1));
-
-	intel_de_write_fw(display, SKL_PS_WIN_SZ(crtc->pipe, 1), win_size);
-}
-
 static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)  {
 	const struct drm_display_mode *mode = &crtc_state-
Quoted 1 line

hw.adjusted_mode; @@ -102,19 +88,15 @@ static void

intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)
crtc_state->pch_pfit.casf.win_size =
SHARPNESS_FILTER_SIZE_7X7; }

drivers/gpu/drm/i915/display/intel_casf.c +4 -7
+static void intel_casf_scaler_compute_coef(struct intel_crtc_state
+*crtc_state);
+
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state)  {
 	struct intel_display *display = to_intel_display(crtc_state);
 
-	if (!HAS_CASF(display))
+	if (crtc_state->hw.sharpness_strength == 0)
 		return 0;
 
-	if (crtc_state->hw.sharpness_strength == 0) {
-		crtc_state->pch_pfit.casf.enable = false;
-		crtc_state->pch_pfit.casf.strength = 0;
-		return 0;
-	}
-
 	/* CASF with joiner not supported in hardware */
 	if (crtc_state->joiner_pipes) {
 		drm_dbg_kms(display->drm, "CASF not supported with

joiner\n"); @@ -136,7 +118,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)

drivers/gpu/drm/i915/display/intel_casf.c +4 -17
 	intel_casf_compute_win_size(crtc_state);
 
-	intel_casf_scaler_compute_config(crtc_state);
+	intel_casf_scaler_compute_coef(crtc_state);
 
 	return 0;
 }
@@ -161,14 +143,6 @@ void intel_casf_sharpness_get_config(struct
 intel_crtc_state *crtc_state)
 	}
 }
 
-bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state) -{
-	if (crtc_state->pch_pfit.casf.enable)
-		return true;
-
-	return false;
-}
-
 static int casf_coeff_tap(int i)
 {
 	return i % SCALER_FILTER_NUM_TAPS;
@@ -240,7 +214,7 @@ static void convert_sharpness_coef_binary(struct
 scaler_filter_coeff *coeff,
 	}
 }
 
-void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
+static void intel_casf_scaler_compute_coef(struct intel_crtc_state
+*crtc_state)
 {
 	const u16 *filtercoeff;
 	u16 filter_coeff[SCALER_FILTER_NUM_TAPS];
@@ -264,32 +238,8 @@ void intel_casf_scaler_compute_config(struct
 intel_crtc_state *crtc_state)
 	}
 }
 
-void intel_casf_enable(const struct intel_crtc_state *crtc_state)
+void intel_casf_setup(const struct intel_crtc_state *crtc_state)
 {
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	u32 sharpness_ctl;
-
 	intel_casf_filter_lut_load(crtc_state);
-
 	intel_casf_write_coeff(crtc_state);
-
-	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state-
Quoted 1 line

pch_pfit.casf.strength);

drivers/gpu/drm/i915/display/intel_casf.c +0 -16
-
-	sharpness_ctl |= crtc_state->pch_pfit.casf.win_size;
-
-	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), sharpness_ctl);
-
-	skl_scaler_setup_casf(crtc_state);
-}
-
-void intel_casf_disable(const struct intel_crtc_state *crtc_state) -{
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-
-	intel_de_write(display, SKL_PS_CTRL(crtc->pipe, 1), 0);
-	intel_de_write(display, SKL_PS_WIN_POS(crtc->pipe, 1), 0);
-	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), 0);
-	intel_de_write(display, SKL_PS_WIN_SZ(crtc->pipe, 1), 0);
 }
drivers/gpu/drm/i915/display/intel_casf.h +0 -0
index c4f984b73348..3ebb7522af0a 100644
@@ -11,11 +11,7 @@
 struct intel_crtc_state;
 
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state); -void
 intel_casf_update_strength(const struct intel_crtc_state *new_crtc_state);

void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state); -void intel_casf_enable(const struct intel_crtc_state *crtc_state); -void intel_casf_disable(const struct intel_crtc_state *crtc_state); -void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state); -bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state);

drivers/gpu/drm/i915/display/intel_casf.h +1 -0
+void intel_casf_setup(const struct intel_crtc_state *crtc_state);
 
 #endif /* __INTEL_CASF_H__ */
drivers/gpu/drm/i915/display/intel_display.c +0 -19
index e02e69467871..58a654ca0d20 100644
@@ -58,7 +58,6 @@
 #include "intel_audio.h"
 #include "intel_bo.h"
 #include "intel_bw.h"
-#include "intel_casf.h"
 #include "intel_cdclk.h"
 #include "intel_clock_gating.h"
 #include "intel_color.h"
@@ -988,24 +987,6 @@ static bool audio_disabling(const struct
 intel_crtc_state *old_crtc_state,
 		 memcmp(old_crtc_state->eld, new_crtc_state->eld,
 MAX_ELD_BYTES) != 0);  }
 
-static bool intel_casf_enabling(const struct intel_crtc_state *new_crtc_state,
-				const struct intel_crtc_state *old_crtc_state)
-{
-	if (!new_crtc_state->hw.active)
-		return false;
-
-	return is_enabling(pch_pfit.casf.enable, old_crtc_state,
 new_crtc_state);
-}
-
-static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
-				 const struct intel_crtc_state *new_crtc_state)
-{
-	if (!new_crtc_state->hw.active)
-		return false;
-
-	return is_disabling(pch_pfit.casf.enable, old_crtc_state,
 new_crtc_state);
-}
-

static bool intel_crtc_lobf_enabling(const struct intel_crtc_state
*old_crtc_state,
const struct intel_crtc_state
*new_crtc_state) { @@ -1187,9 +1168,6 @@ static void intel_pre_plane_update(struct intel_atomic_state *state,

drivers/gpu/drm/i915/display/intel_display.c +1 -9
 	if (audio_disabling(old_crtc_state, new_crtc_state))
 		intel_encoders_audio_disable(state, crtc);
 
-	if (intel_casf_disabling(old_crtc_state, new_crtc_state))
-		intel_casf_disable(new_crtc_state);
-
 	intel_drrs_deactivate(old_crtc_state);
 
 	if (hsw_ips_pre_update(state, crtc))
@@ -4308,14 +4286,9 @@ static int intel_crtc_atomic_check(struct
 intel_atomic_state *state,
 		return ret;
 	}
 
-	ret = intel_casf_compute_config(crtc_state);
-	if (ret)
-		return ret;
-
 	if (DISPLAY_VER(display) >= 9) {
 		if (intel_crtc_needs_modeset(crtc_state) ||
-		    intel_crtc_needs_fastset(crtc_state) ||
-		    intel_casf_needs_scaler(crtc_state)) {
+		    intel_crtc_needs_fastset(crtc_state)) {
 			ret = skl_update_scaler_crtc(crtc_state);
 			if (ret)
drivers/gpu/drm/i915/display/intel_display.c +0 -5
 				return ret;
@@ -6817,11 +6790,6 @@ static void intel_pre_update_crtc(struct
 intel_atomic_state *state,
 			intel_vrr_set_transcoder_timings(new_crtc_state);
 	}
 
-	if (intel_casf_enabling(new_crtc_state, old_crtc_state))
-		intel_casf_enable(new_crtc_state);
-	else if (new_crtc_state->pch_pfit.casf.strength != old_crtc_state-
 >pch_pfit.casf.strength)
-		intel_casf_update_strength(new_crtc_state);
-
 	intel_fbc_update(state, crtc);

drm_WARN_ON(display->drm,
!intel_display_power_is_enabled(display, POWER_DOMAIN_DC_OFF)); diff -- git a/drivers/gpu/drm/i915/display/intel_pfit.c b/drivers/gpu/drm/i915/display/intel_pfit.c
index 6dda496190e0..e04ca960f115 100644

drivers/gpu/drm/i915/display/intel_pfit.c +2 -1
@@ -186,6 +186,7 @@ static int pch_panel_fitting(struct intel_crtc_state
 *crtc_state,
 			     const struct drm_connector_state *conn_state)  {
 	struct intel_display *display = to_intel_display(crtc_state);
+	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 	const struct drm_display_mode *adjusted_mode =
 		&crtc_state->hw.adjusted_mode;
 	int pipe_src_w = drm_rect_width(&crtc_state->pipe_src);
@@ -195,7 +196,8 @@ static int pch_panel_fitting(struct intel_crtc_state
 *crtc_state,
 	/* Native modes don't need fitting */
 	if (adjusted_mode->crtc_hdisplay == pipe_src_w &&
 	    adjusted_mode->crtc_vdisplay == pipe_src_h &&
-	    crtc_state->output_format != INTEL_OUTPUT_FORMAT_YCBCR420)
+	    crtc_state->output_format != INTEL_OUTPUT_FORMAT_YCBCR420

&&

drivers/gpu/drm/i915/display/intel_pfit.c +2 -0
+	    crtc_state->hw.sharpness_strength == 0)
 		return 0;
 
 	switch (conn_state->scaling_mode) {
@@ -249,6 +251,15 @@ static int pch_panel_fitting(struct intel_crtc_state
 *crtc_state,
 		return -EINVAL;
 	}
 
+	if (crtc_state->hw.sharpness_strength &&

drivers/gpu/drm/i915/display/intel_pfit.c static int pch_panel_fitting(struct intel_crtc_state · line 265

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_pfit.c +8 -0
+	    (width != pipe_src_w || height != pipe_src_h ||
+	     crtc_state->output_format != INTEL_OUTPUT_FORMAT_RGB)) {
+		drm_dbg_kms(display->drm,
+			    "[CRTC:%d:%s] no scaling/YCbCr output with
 sharpness filter\n",
+			    crtc->base.base.id, crtc->base.name);
+		return -EINVAL;
+	}
+
 

Hi Ville,

Earlier I couldn’t understand much about how to integrate sharpness with pch_pfit but now I got it. Thank you for addressing this.

	drm_rect_init(&crtc_state->pch_pfit.dst,
Quoted 118 lines
drivers/gpu/drm/i915/display/intel_pfit.c +0 -0
 		      x, y, width, height);
 	crtc_state->pch_pfit.enabled = true;
drivers/gpu/drm/i915/display/skl_scaler.c +5 -0
index 762f4bb46c2d..308b8d363bba 100644
@@ -270,6 +270,11 @@ int skl_update_scaler_crtc(struct intel_crtc_state
 *crtc_state)  {
 	const struct drm_display_mode *pipe_mode = &crtc_state-
 >hw.pipe_mode;
 	int width, height;
+	int ret;
+
+	ret = intel_casf_compute_config(crtc_state);
+	if (ret)
+		return ret;
 
 	if (crtc_state->pch_pfit.enabled) {
drivers/gpu/drm/i915/display/skl_scaler.c +1 -2
 		width = drm_rect_width(&crtc_state->pch_pfit.dst);
@@ -284,8 +289,7 @@ int skl_update_scaler_crtc(struct intel_crtc_state
 *crtc_state)
 				 drm_rect_width(&crtc_state->pipe_src),
 				 drm_rect_height(&crtc_state->pipe_src),
 				 width, height, NULL, 0,
-				 crtc_state->pch_pfit.enabled ||
-				 intel_casf_needs_scaler(crtc_state));
+				 crtc_state->pch_pfit.enabled);
 }
 

/**

drivers/gpu/drm/i915/display/skl_scaler.c +1 -4
@@ -534,14 +538,11 @@ static int setup_crtc_scaler(struct intel_atomic_state
 *state,
 	struct intel_crtc_scaler_state *scaler_state =
 		&crtc_state->scaler_state;
 
-	if (intel_casf_needs_scaler(crtc_state) && crtc_state-
 >pch_pfit.enabled)
-		return -EINVAL;
-
 	return intel_atomic_setup_scaler(crtc_state,
 					 hweight32(scaler_state-
 >scaler_users),
 					 crtc, "CRTC", crtc->base.base.id,
 					 NULL, &scaler_state->scaler_id,
-					 intel_casf_needs_scaler(crtc_state));
+					 crtc_state->pch_pfit.casf.enable);

}

static int setup_plane_scaler(struct intel_atomic_state *state, @@ -757,43
+758,14 @@ static void skl_scaler_setup_filter(struct intel_display *display,

drivers/gpu/drm/i915/display/skl_scaler.c +4 -28
 	}
 }
 
-void skl_scaler_setup_casf(const struct intel_crtc_state *crtc_state)
+static u32 casf_sharpness_ctl(const struct intel_crtc_state
+*crtc_state)
 {
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	struct intel_display *display = to_intel_display(crtc);
-	const struct drm_display_mode *adjusted_mode =
-		&crtc_state->hw.adjusted_mode;
-	const struct intel_crtc_scaler_state *scaler_state =
-		&crtc_state->scaler_state;
-	struct drm_rect src, dest;
-	int id, width, height;
-	int x = 0, y = 0;
-	enum pipe pipe = crtc->pipe;
-	u32 ps_ctrl;
+	if (!crtc_state->pch_pfit.casf.enable)
+		return 0;
 
-	width = adjusted_mode->crtc_hdisplay;
-	height = adjusted_mode->crtc_vdisplay;
-
-	drm_rect_init(&dest, x, y, width, height);
-
-	width = drm_rect_width(&dest);
-	height = drm_rect_height(&dest);
-	id = scaler_state->scaler_id;
-
-	drm_rect_init(&src, 0, 0,
-		      drm_rect_width(&crtc_state->pipe_src) << 16,
-		      drm_rect_height(&crtc_state->pipe_src) << 16);
-
-	trace_intel_pipe_scaler_update_arm(crtc, id, x, y, width, height);
-
-	ps_ctrl = PS_SCALER_EN | PS_BINDING_PIPE | scaler_state-
Quoted 1 line

scalers[id].mode |

drivers/gpu/drm/i915/display/skl_scaler.c +4 -7
-		skl_scaler_get_filter_select(crtc_state->hw.scaling_filter, true);
-
-	intel_de_write_fw(display, SKL_PS_CTRL(pipe, id), ps_ctrl);
-	intel_de_write_fw(display, SKL_PS_WIN_POS(pipe, id),
-			  PS_WIN_XPOS(x) | PS_WIN_YPOS(y));
-	intel_de_write_fw(display, SKL_PS_WIN_SZ(pipe, id),
-			  PS_WIN_XSIZE(width) | PS_WIN_YSIZE(height));
+	return FILTER_EN |
+		FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength) |
+		crtc_state->pch_pfit.casf.win_size;
 }
 
 void skl_pfit_enable(const struct intel_crtc_state *crtc_state) @@ -837,12
+809,20 @@ void skl_pfit_enable(const struct intel_crtc_state *crtc_state)
 	id = scaler_state->scaler_id;
 
 	ps_ctrl = PS_SCALER_EN | PS_BINDING_PIPE | scaler_state-
Quoted 1 line

scalers[id].mode |

drivers/gpu/drm/i915/display/skl_scaler.c +0 -1
-		skl_scaler_get_filter_select(crtc_state->hw.scaling_filter,

false);

drivers/gpu/drm/i915/display/skl_scaler.c +3 -2
+		skl_scaler_get_filter_select(crtc_state->hw.scaling_filter,
+					     crtc_state->pch_pfit.casf.enable);
 
 	trace_intel_pipe_scaler_update_arm(crtc, id, x, y, width, height);
 
-	skl_scaler_setup_filter(display, NULL, pipe, id, 0,
-				crtc_state->hw.scaling_filter);
+	if (crtc_state->pch_pfit.casf.enable)

drivers/gpu/drm/i915/display/skl_scaler.c void skl_pfit_enable(const struct intel_crtc_state *crtc_state) · line 827

Quoted 10 lines
drivers/gpu/drm/i915/display/skl_scaler.c +8 -0
+		intel_casf_setup(crtc_state);
+	else
+		skl_scaler_setup_filter(display, NULL, pipe, id, 0,
+					crtc_state->hw.scaling_filter);
+
+	if (scaler_has_casf(display, id))
+		intel_de_write_fw(display, SHARPNESS_CTL(crtc->pipe),
+				  casf_sharpness_ctl(crtc_state));
 
 	intel_de_write_fw(display, SKL_PS_CTRL(pipe, id), ps_ctrl);

I added intel_casf_update_strength() thinking that we should update only SHARPNESS_CTL register
only whenever there is a change in sharpness strength from user side.
So is it ok if we write all other things again ie all SKL registers along with SHARPNESS register, can there be any issue with this. What is the correct way in general, I mean we should update only required things or we can update
whole part.
Also should we write VPHASE and HPHASE registers for sharpness.

Thanks and Regards,
Nemesa

Quoted 58 lines
drivers/gpu/drm/i915/display/skl_scaler.c +3 -0
@@ -930,6 +910,9 @@ static void skl_detach_scaler(struct intel_dsb *dsb,
 
 	trace_intel_scaler_disable_arm(crtc, id);
 
+	if (scaler_has_casf(display, id))
+		intel_de_write_dsb(display, dsb, SHARPNESS_CTL(crtc->pipe),
 0);
+
 	intel_de_write_dsb(display, dsb, SKL_PS_CTRL(crtc->pipe, id), 0);
 	intel_de_write_dsb(display, dsb, SKL_PS_WIN_POS(crtc->pipe, id), 0);
drivers/gpu/drm/i915/display/skl_scaler.c +1 -8
 	intel_de_write_dsb(display, dsb, SKL_PS_WIN_SZ(crtc->pipe, id), 0);
@@ -983,18 +966,16 @@ void skl_scaler_get_config(struct intel_crtc_state
 *crtc_state)
 		if (scaler_has_casf(display, i))
 			intel_casf_sharpness_get_config(crtc_state);
 
-		if (!crtc_state->pch_pfit.casf.enable)
-			crtc_state->pch_pfit.enabled = true;
+		crtc_state->pch_pfit.enabled = true;
 
 		pos = intel_de_read(display, SKL_PS_WIN_POS(crtc->pipe, i));
 		size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, i));
 
-		if (!crtc_state->pch_pfit.casf.enable)
-			drm_rect_init(&crtc_state->pch_pfit.dst,
-				      REG_FIELD_GET(PS_WIN_XPOS_MASK,
 pos),
-				      REG_FIELD_GET(PS_WIN_YPOS_MASK,
 pos),
-				      REG_FIELD_GET(PS_WIN_XSIZE_MASK,
 size),
-				      REG_FIELD_GET(PS_WIN_YSIZE_MASK,

size));

drivers/gpu/drm/i915/display/skl_scaler.c +5 -0
+		drm_rect_init(&crtc_state->pch_pfit.dst,
+			      REG_FIELD_GET(PS_WIN_XPOS_MASK, pos),
+			      REG_FIELD_GET(PS_WIN_YPOS_MASK, pos),
+			      REG_FIELD_GET(PS_WIN_XSIZE_MASK, size),
+			      REG_FIELD_GET(PS_WIN_YSIZE_MASK, size));
 
 		scaler_state->scalers[i].in_use = true;
 		break;
drivers/gpu/drm/i915/display/skl_scaler.h +0 -2
index 20ecf373eb19..5deabca909e6 100644
@@ -36,8 +36,6 @@ void skl_scaler_disable(const struct intel_crtc_state
 *old_crtc_state);
 
 void skl_scaler_get_config(struct intel_crtc_state *crtc_state);
 
-void skl_scaler_setup_casf(const struct intel_crtc_state *crtc_state);
-
 enum drm_mode_status
 skl_scaler_mode_valid(struct intel_display *display,

const struct drm_display_mode *mode,
--
2.52.0

#27 lore raw
Quoted 425 lines · Nemesa
Quoted 282 lines

-----Original Message-----
From: Ville Syrjala <[email protected]>
Sent: Friday, March 27, 2026 4:02 AM
To: [email protected]
Cc: [email protected]; Garg, Nemesa <[email protected]>
Subject: [PATCH 9/9] drm/i915/casf: Integrate the sharpness filter properly into the scaler code

From: Ville Syrjälä <[email protected]>

The sharpness filter is just a special mode of the pipe scaler.
It doesn't warrant all this special casing everywhere. Just integrate it properly into the scaler code so that it's treated no different from the other pipe scaler uses (scaling,centering, YCbCr 4:2:0 output).

---
 drivers/gpu/drm/i915/display/intel_casf.c    | 62 ++------------
 drivers/gpu/drm/i915/display/intel_casf.h    |  6 +-
 drivers/gpu/drm/i915/display/intel_display.c | 34 +-------
 drivers/gpu/drm/i915/display/intel_pfit.c    | 13 ++-
 drivers/gpu/drm/i915/display/skl_scaler.c    | 85 ++++++++------------
 drivers/gpu/drm/i915/display/skl_scaler.h    |  2 -
 6 files changed, 53 insertions(+), 149 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +0 -0
index 21e84a4f9ff5..c2d2746c5f04 100644
@@ -75,20 +75,6 @@ static void intel_casf_filter_lut_load(const struct

intel_crtc_state *crtc_state

drivers/gpu/drm/i915/display/intel_casf.c +0 -6
 			       sharpness_lut[i]);
 }
 
-void intel_casf_update_strength(const struct intel_crtc_state *crtc_state) -{
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	int win_size;
-
-	intel_de_rmw(display, SHARPNESS_CTL(crtc->pipe),

FILTER_STRENGTH_MASK,

drivers/gpu/drm/i915/display/intel_casf.c +0 -7
-		     FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength));
-
-	win_size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, 1));
-
-	intel_de_write_fw(display, SKL_PS_WIN_SZ(crtc->pipe, 1), win_size);
-}
-
 static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)  {
 	const struct drm_display_mode *mode = &crtc_state-
Quoted 1 line

hw.adjusted_mode; @@ -102,19 +88,15 @@ static void

intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)
crtc_state->pch_pfit.casf.win_size =
SHARPNESS_FILTER_SIZE_7X7; }

drivers/gpu/drm/i915/display/intel_casf.c +4 -7
+static void intel_casf_scaler_compute_coef(struct intel_crtc_state
+*crtc_state);
+
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state)  {
 	struct intel_display *display = to_intel_display(crtc_state);
 
-	if (!HAS_CASF(display))
+	if (crtc_state->hw.sharpness_strength == 0)
 		return 0;
 
-	if (crtc_state->hw.sharpness_strength == 0) {
-		crtc_state->pch_pfit.casf.enable = false;
-		crtc_state->pch_pfit.casf.strength = 0;
-		return 0;
-	}
-
 	/* CASF with joiner not supported in hardware */
 	if (crtc_state->joiner_pipes) {
 		drm_dbg_kms(display->drm, "CASF not supported with

joiner\n"); @@ -136,7 +118,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)

drivers/gpu/drm/i915/display/intel_casf.c +4 -17
 	intel_casf_compute_win_size(crtc_state);
 
-	intel_casf_scaler_compute_config(crtc_state);
+	intel_casf_scaler_compute_coef(crtc_state);
 
 	return 0;
 }
@@ -161,14 +143,6 @@ void intel_casf_sharpness_get_config(struct
 intel_crtc_state *crtc_state)
 	}
 }
 
-bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state) -{
-	if (crtc_state->pch_pfit.casf.enable)
-		return true;
-
-	return false;
-}
-
 static int casf_coeff_tap(int i)
 {
 	return i % SCALER_FILTER_NUM_TAPS;
@@ -240,7 +214,7 @@ static void convert_sharpness_coef_binary(struct
 scaler_filter_coeff *coeff,
 	}
 }
 
-void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
+static void intel_casf_scaler_compute_coef(struct intel_crtc_state
+*crtc_state)
 {
 	const u16 *filtercoeff;
 	u16 filter_coeff[SCALER_FILTER_NUM_TAPS];
@@ -264,32 +238,8 @@ void intel_casf_scaler_compute_config(struct
 intel_crtc_state *crtc_state)
 	}
 }
 
-void intel_casf_enable(const struct intel_crtc_state *crtc_state)
+void intel_casf_setup(const struct intel_crtc_state *crtc_state)
 {
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	u32 sharpness_ctl;
-
 	intel_casf_filter_lut_load(crtc_state);
-
 	intel_casf_write_coeff(crtc_state);
-
-	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state-
Quoted 1 line

pch_pfit.casf.strength);

drivers/gpu/drm/i915/display/intel_casf.c +0 -16
-
-	sharpness_ctl |= crtc_state->pch_pfit.casf.win_size;
-
-	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), sharpness_ctl);
-
-	skl_scaler_setup_casf(crtc_state);
-}
-
-void intel_casf_disable(const struct intel_crtc_state *crtc_state) -{
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-
-	intel_de_write(display, SKL_PS_CTRL(crtc->pipe, 1), 0);
-	intel_de_write(display, SKL_PS_WIN_POS(crtc->pipe, 1), 0);
-	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), 0);
-	intel_de_write(display, SKL_PS_WIN_SZ(crtc->pipe, 1), 0);
 }
drivers/gpu/drm/i915/display/intel_casf.h +0 -0
index c4f984b73348..3ebb7522af0a 100644
@@ -11,11 +11,7 @@
 struct intel_crtc_state;
 
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state); -void
 intel_casf_update_strength(const struct intel_crtc_state *new_crtc_state);

void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state); -void intel_casf_enable(const struct intel_crtc_state *crtc_state); -void intel_casf_disable(const struct intel_crtc_state *crtc_state); -void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state); -bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state);

drivers/gpu/drm/i915/display/intel_casf.h +1 -0
+void intel_casf_setup(const struct intel_crtc_state *crtc_state);
 
 #endif /* __INTEL_CASF_H__ */
drivers/gpu/drm/i915/display/intel_display.c +0 -19
index e02e69467871..58a654ca0d20 100644
@@ -58,7 +58,6 @@
 #include "intel_audio.h"
 #include "intel_bo.h"
 #include "intel_bw.h"
-#include "intel_casf.h"
 #include "intel_cdclk.h"
 #include "intel_clock_gating.h"
 #include "intel_color.h"
@@ -988,24 +987,6 @@ static bool audio_disabling(const struct
 intel_crtc_state *old_crtc_state,
 		 memcmp(old_crtc_state->eld, new_crtc_state->eld,
 MAX_ELD_BYTES) != 0);  }
 
-static bool intel_casf_enabling(const struct intel_crtc_state *new_crtc_state,
-				const struct intel_crtc_state *old_crtc_state)
-{
-	if (!new_crtc_state->hw.active)
-		return false;
-
-	return is_enabling(pch_pfit.casf.enable, old_crtc_state,
 new_crtc_state);
-}
-
-static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
-				 const struct intel_crtc_state *new_crtc_state)
-{
-	if (!new_crtc_state->hw.active)
-		return false;
-
-	return is_disabling(pch_pfit.casf.enable, old_crtc_state,
 new_crtc_state);
-}
-

static bool intel_crtc_lobf_enabling(const struct intel_crtc_state
*old_crtc_state,
const struct intel_crtc_state
*new_crtc_state) { @@ -1187,9 +1168,6 @@ static void intel_pre_plane_update(struct intel_atomic_state *state,

drivers/gpu/drm/i915/display/intel_display.c +1 -9
 	if (audio_disabling(old_crtc_state, new_crtc_state))
 		intel_encoders_audio_disable(state, crtc);
 
-	if (intel_casf_disabling(old_crtc_state, new_crtc_state))
-		intel_casf_disable(new_crtc_state);
-
 	intel_drrs_deactivate(old_crtc_state);
 
 	if (hsw_ips_pre_update(state, crtc))
@@ -4308,14 +4286,9 @@ static int intel_crtc_atomic_check(struct
 intel_atomic_state *state,
 		return ret;
 	}
 
-	ret = intel_casf_compute_config(crtc_state);
-	if (ret)
-		return ret;
-
 	if (DISPLAY_VER(display) >= 9) {
 		if (intel_crtc_needs_modeset(crtc_state) ||
-		    intel_crtc_needs_fastset(crtc_state) ||
-		    intel_casf_needs_scaler(crtc_state)) {
+		    intel_crtc_needs_fastset(crtc_state)) {
 			ret = skl_update_scaler_crtc(crtc_state);
 			if (ret)
drivers/gpu/drm/i915/display/intel_display.c +0 -5
 				return ret;
@@ -6817,11 +6790,6 @@ static void intel_pre_update_crtc(struct
 intel_atomic_state *state,
 			intel_vrr_set_transcoder_timings(new_crtc_state);
 	}
 
-	if (intel_casf_enabling(new_crtc_state, old_crtc_state))
-		intel_casf_enable(new_crtc_state);
-	else if (new_crtc_state->pch_pfit.casf.strength != old_crtc_state-
 >pch_pfit.casf.strength)
-		intel_casf_update_strength(new_crtc_state);
-
 	intel_fbc_update(state, crtc);

drm_WARN_ON(display->drm,
!intel_display_power_is_enabled(display, POWER_DOMAIN_DC_OFF)); diff -- git a/drivers/gpu/drm/i915/display/intel_pfit.c b/drivers/gpu/drm/i915/display/intel_pfit.c
index 6dda496190e0..e04ca960f115 100644

drivers/gpu/drm/i915/display/intel_pfit.c +2 -1
@@ -186,6 +186,7 @@ static int pch_panel_fitting(struct intel_crtc_state
 *crtc_state,
 			     const struct drm_connector_state *conn_state)  {
 	struct intel_display *display = to_intel_display(crtc_state);
+	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 	const struct drm_display_mode *adjusted_mode =
 		&crtc_state->hw.adjusted_mode;
 	int pipe_src_w = drm_rect_width(&crtc_state->pipe_src);
@@ -195,7 +196,8 @@ static int pch_panel_fitting(struct intel_crtc_state
 *crtc_state,
 	/* Native modes don't need fitting */
 	if (adjusted_mode->crtc_hdisplay == pipe_src_w &&
 	    adjusted_mode->crtc_vdisplay == pipe_src_h &&
-	    crtc_state->output_format != INTEL_OUTPUT_FORMAT_YCBCR420)
+	    crtc_state->output_format != INTEL_OUTPUT_FORMAT_YCBCR420

&&

drivers/gpu/drm/i915/display/intel_pfit.c +2 -0
+	    crtc_state->hw.sharpness_strength == 0)
 		return 0;
 
 	switch (conn_state->scaling_mode) {
@@ -249,6 +251,15 @@ static int pch_panel_fitting(struct intel_crtc_state
 *crtc_state,
 		return -EINVAL;
 	}
 
+	if (crtc_state->hw.sharpness_strength &&

drivers/gpu/drm/i915/display/intel_pfit.c static int pch_panel_fitting(struct intel_crtc_state · line 265

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_pfit.c +8 -0
+	    (width != pipe_src_w || height != pipe_src_h ||
+	     crtc_state->output_format != INTEL_OUTPUT_FORMAT_RGB)) {
+		drm_dbg_kms(display->drm,
+			    "[CRTC:%d:%s] no scaling/YCbCr output with
 sharpness filter\n",
+			    crtc->base.base.id, crtc->base.name);
+		return -EINVAL;
+	}
+
 

Hi Ville,

Earlier I couldn’t understand much about how to integrate sharpness with pch_pfit but now I got it. Thank you for addressing this.

	drm_rect_init(&crtc_state->pch_pfit.dst,
Quoted 126 lines
drivers/gpu/drm/i915/display/intel_pfit.c +0 -0
 		      x, y, width, height);
 	crtc_state->pch_pfit.enabled = true;
drivers/gpu/drm/i915/display/skl_scaler.c +5 -0
index 762f4bb46c2d..308b8d363bba 100644
@@ -270,6 +270,11 @@ int skl_update_scaler_crtc(struct intel_crtc_state
 *crtc_state)  {
 	const struct drm_display_mode *pipe_mode = &crtc_state-
 >hw.pipe_mode;
 	int width, height;
+	int ret;
+
+	ret = intel_casf_compute_config(crtc_state);
+	if (ret)
+		return ret;
 
 	if (crtc_state->pch_pfit.enabled) {
drivers/gpu/drm/i915/display/skl_scaler.c +1 -2
 		width = drm_rect_width(&crtc_state->pch_pfit.dst);
@@ -284,8 +289,7 @@ int skl_update_scaler_crtc(struct intel_crtc_state
 *crtc_state)
 				 drm_rect_width(&crtc_state->pipe_src),
 				 drm_rect_height(&crtc_state->pipe_src),
 				 width, height, NULL, 0,
-				 crtc_state->pch_pfit.enabled ||
-				 intel_casf_needs_scaler(crtc_state));
+				 crtc_state->pch_pfit.enabled);
 }
 

/**

drivers/gpu/drm/i915/display/skl_scaler.c +1 -4
@@ -534,14 +538,11 @@ static int setup_crtc_scaler(struct intel_atomic_state
 *state,
 	struct intel_crtc_scaler_state *scaler_state =
 		&crtc_state->scaler_state;
 
-	if (intel_casf_needs_scaler(crtc_state) && crtc_state-
 >pch_pfit.enabled)
-		return -EINVAL;
-
 	return intel_atomic_setup_scaler(crtc_state,
 					 hweight32(scaler_state-
 >scaler_users),
 					 crtc, "CRTC", crtc->base.base.id,
 					 NULL, &scaler_state->scaler_id,
-					 intel_casf_needs_scaler(crtc_state));
+					 crtc_state->pch_pfit.casf.enable);

}

static int setup_plane_scaler(struct intel_atomic_state *state, @@ -757,43
+758,14 @@ static void skl_scaler_setup_filter(struct intel_display *display,

drivers/gpu/drm/i915/display/skl_scaler.c +4 -28
 	}
 }
 
-void skl_scaler_setup_casf(const struct intel_crtc_state *crtc_state)
+static u32 casf_sharpness_ctl(const struct intel_crtc_state
+*crtc_state)
 {
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	struct intel_display *display = to_intel_display(crtc);
-	const struct drm_display_mode *adjusted_mode =
-		&crtc_state->hw.adjusted_mode;
-	const struct intel_crtc_scaler_state *scaler_state =
-		&crtc_state->scaler_state;
-	struct drm_rect src, dest;
-	int id, width, height;
-	int x = 0, y = 0;
-	enum pipe pipe = crtc->pipe;
-	u32 ps_ctrl;
+	if (!crtc_state->pch_pfit.casf.enable)
+		return 0;
 
-	width = adjusted_mode->crtc_hdisplay;
-	height = adjusted_mode->crtc_vdisplay;
-
-	drm_rect_init(&dest, x, y, width, height);
-
-	width = drm_rect_width(&dest);
-	height = drm_rect_height(&dest);
-	id = scaler_state->scaler_id;
-
-	drm_rect_init(&src, 0, 0,
-		      drm_rect_width(&crtc_state->pipe_src) << 16,
-		      drm_rect_height(&crtc_state->pipe_src) << 16);
-
-	trace_intel_pipe_scaler_update_arm(crtc, id, x, y, width, height);
-
-	ps_ctrl = PS_SCALER_EN | PS_BINDING_PIPE | scaler_state-
Quoted 1 line

scalers[id].mode |

drivers/gpu/drm/i915/display/skl_scaler.c +4 -7
-		skl_scaler_get_filter_select(crtc_state->hw.scaling_filter, true);
-
-	intel_de_write_fw(display, SKL_PS_CTRL(pipe, id), ps_ctrl);
-	intel_de_write_fw(display, SKL_PS_WIN_POS(pipe, id),
-			  PS_WIN_XPOS(x) | PS_WIN_YPOS(y));
-	intel_de_write_fw(display, SKL_PS_WIN_SZ(pipe, id),
-			  PS_WIN_XSIZE(width) | PS_WIN_YSIZE(height));
+	return FILTER_EN |
+		FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength) |
+		crtc_state->pch_pfit.casf.win_size;
 }
 
 void skl_pfit_enable(const struct intel_crtc_state *crtc_state) @@ -837,12
+809,20 @@ void skl_pfit_enable(const struct intel_crtc_state *crtc_state)
 	id = scaler_state->scaler_id;
 
 	ps_ctrl = PS_SCALER_EN | PS_BINDING_PIPE | scaler_state-
Quoted 1 line

scalers[id].mode |

drivers/gpu/drm/i915/display/skl_scaler.c +0 -1
-		skl_scaler_get_filter_select(crtc_state->hw.scaling_filter,

false);

drivers/gpu/drm/i915/display/skl_scaler.c +11 -2
+		skl_scaler_get_filter_select(crtc_state->hw.scaling_filter,
+					     crtc_state->pch_pfit.casf.enable);
 
 	trace_intel_pipe_scaler_update_arm(crtc, id, x, y, width, height);
 
-	skl_scaler_setup_filter(display, NULL, pipe, id, 0,
-				crtc_state->hw.scaling_filter);
+	if (crtc_state->pch_pfit.casf.enable)
+		intel_casf_setup(crtc_state);
+	else
+		skl_scaler_setup_filter(display, NULL, pipe, id, 0,
+					crtc_state->hw.scaling_filter);
+
+	if (scaler_has_casf(display, id))
+		intel_de_write_fw(display, SHARPNESS_CTL(crtc->pipe),
+				  casf_sharpness_ctl(crtc_state));
Quoted 6 lines
Quoted 2 lines

intel_de_write_fw(display, SKL_PS_CTRL(pipe, id), ps_ctrl);

I added intel_casf_update_strength() thinking that we should update only SHARPNESS_CTL register
only whenever there is a change in sharpness strength from user side.
So is it ok if we write all other things again ie all SKL registers along with SHARPNESS register, can there be any issue with this.

Apart from the slight performance cost there is generally no problem with rewriting most registers. Though registers with side effects (eg. arming registers) are an exception to the rule. One must consider the side effects before blindly writing to such registers. That's not an issue here since we do want to write to the arming registers as well, though we do want to make sure those are written last.

Quoted 2 lines

What is the correct way in general, I mean we should update only required things or we can update whole part.

For the most part we just blast in the whole thing. See eg. all the plane .update_(no)arm() implementations. Optimizing out redundant writes would be possible, but the complexity of figuring out what is redundant is probably not worth it.

Quoted 1 line

Also should we write VPHASE and HPHASE registers for sharpness.

I don't know if there's some magic in the hardware to ignore the phase registers when the sharpness filter is active. I suspect it's still using them. In any case it's best to write everything to make sure it's always consistent. We only skip some of the heavier stuff like the programmable coefficients, when we know for sure that they're not going to be used.

Quoted 63 lines

Thanks and Regards,
Nemesa

Quoted 58 lines
drivers/gpu/drm/i915/display/skl_scaler.c +3 -0
@@ -930,6 +910,9 @@ static void skl_detach_scaler(struct intel_dsb *dsb,
 
 	trace_intel_scaler_disable_arm(crtc, id);
 
+	if (scaler_has_casf(display, id))
+		intel_de_write_dsb(display, dsb, SHARPNESS_CTL(crtc->pipe),
 0);
+
 	intel_de_write_dsb(display, dsb, SKL_PS_CTRL(crtc->pipe, id), 0);
 	intel_de_write_dsb(display, dsb, SKL_PS_WIN_POS(crtc->pipe, id), 0);
drivers/gpu/drm/i915/display/skl_scaler.c +1 -8
 	intel_de_write_dsb(display, dsb, SKL_PS_WIN_SZ(crtc->pipe, id), 0);
@@ -983,18 +966,16 @@ void skl_scaler_get_config(struct intel_crtc_state
 *crtc_state)
 		if (scaler_has_casf(display, i))
 			intel_casf_sharpness_get_config(crtc_state);
 
-		if (!crtc_state->pch_pfit.casf.enable)
-			crtc_state->pch_pfit.enabled = true;
+		crtc_state->pch_pfit.enabled = true;
 
 		pos = intel_de_read(display, SKL_PS_WIN_POS(crtc->pipe, i));
 		size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, i));
 
-		if (!crtc_state->pch_pfit.casf.enable)
-			drm_rect_init(&crtc_state->pch_pfit.dst,
-				      REG_FIELD_GET(PS_WIN_XPOS_MASK,
 pos),
-				      REG_FIELD_GET(PS_WIN_YPOS_MASK,
 pos),
-				      REG_FIELD_GET(PS_WIN_XSIZE_MASK,
 size),
-				      REG_FIELD_GET(PS_WIN_YSIZE_MASK,

size));

drivers/gpu/drm/i915/display/skl_scaler.c +5 -0
+		drm_rect_init(&crtc_state->pch_pfit.dst,
+			      REG_FIELD_GET(PS_WIN_XPOS_MASK, pos),
+			      REG_FIELD_GET(PS_WIN_YPOS_MASK, pos),
+			      REG_FIELD_GET(PS_WIN_XSIZE_MASK, size),
+			      REG_FIELD_GET(PS_WIN_YSIZE_MASK, size));
 
 		scaler_state->scalers[i].in_use = true;
 		break;
drivers/gpu/drm/i915/display/skl_scaler.h +0 -2
index 20ecf373eb19..5deabca909e6 100644
@@ -36,8 +36,6 @@ void skl_scaler_disable(const struct intel_crtc_state
 *old_crtc_state);
 
 void skl_scaler_get_config(struct intel_crtc_state *crtc_state);
 
-void skl_scaler_setup_casf(const struct intel_crtc_state *crtc_state);
-
 enum drm_mode_status
 skl_scaler_mode_valid(struct intel_display *display,

const struct drm_display_mode *mode,
--
2.52.0

Signature · 2 lines
Ville Syrjälä
Intel
#28 lore raw
In reply to Ville Syrjala
Quoted 249 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The sharpness filter is just a special mode of the pipe scaler. It doesn't warrant all this special casing everywhere. Just integrate it properly into the scaler code so that it's treated no different from the other pipe scaler uses (scaling,centering, YCbCr 4:2:0 output).

---
 drivers/gpu/drm/i915/display/intel_casf.c    | 62 ++------------
 drivers/gpu/drm/i915/display/intel_casf.h    |  6 +-
 drivers/gpu/drm/i915/display/intel_display.c | 34 +-------
 drivers/gpu/drm/i915/display/intel_pfit.c    | 13 ++-
 drivers/gpu/drm/i915/display/skl_scaler.c    | 85 ++++++++------------
 drivers/gpu/drm/i915/display/skl_scaler.h    |  2 -
 6 files changed, 53 insertions(+), 149 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +6 -56
index 21e84a4f9ff5..c2d2746c5f04 100644
@@ -75,20 +75,6 @@ static void intel_casf_filter_lut_load(const struct intel_crtc_state *crtc_state
 			       sharpness_lut[i]);
 }
 
-void intel_casf_update_strength(const struct intel_crtc_state *crtc_state)
-{
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	int win_size;
-
-	intel_de_rmw(display, SHARPNESS_CTL(crtc->pipe), FILTER_STRENGTH_MASK,
-		     FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength));
-
-	win_size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, 1));
-
-	intel_de_write_fw(display, SKL_PS_WIN_SZ(crtc->pipe, 1), win_size);
-}
-
 static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)
 {
 	const struct drm_display_mode *mode = &crtc_state->hw.adjusted_mode;
@@ -102,19 +88,15 @@ static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)
 		crtc_state->pch_pfit.casf.win_size = SHARPNESS_FILTER_SIZE_7X7;
 }
 
+static void intel_casf_scaler_compute_coef(struct intel_crtc_state *crtc_state);
+
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 {
 	struct intel_display *display = to_intel_display(crtc_state);
 
-	if (!HAS_CASF(display))
+	if (crtc_state->hw.sharpness_strength == 0)
 		return 0;
 
-	if (crtc_state->hw.sharpness_strength == 0) {
-		crtc_state->pch_pfit.casf.enable = false;
-		crtc_state->pch_pfit.casf.strength = 0;
-		return 0;
-	}
-
 	/* CASF with joiner not supported in hardware */
 	if (crtc_state->joiner_pipes) {
 		drm_dbg_kms(display->drm, "CASF not supported with joiner\n");
@@ -136,7 +118,7 @@ int intel_casf_compute_config(struct intel_crtc_state *crtc_state)
 
 	intel_casf_compute_win_size(crtc_state);
 
-	intel_casf_scaler_compute_config(crtc_state);
+	intel_casf_scaler_compute_coef(crtc_state);
 
 	return 0;
 }
@@ -161,14 +143,6 @@ void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state)
 	}
 }
 
-bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state)
-{
-	if (crtc_state->pch_pfit.casf.enable)
-		return true;
-
-	return false;
-}
-
 static int casf_coeff_tap(int i)
 {
 	return i % SCALER_FILTER_NUM_TAPS;
@@ -240,7 +214,7 @@ static void convert_sharpness_coef_binary(struct scaler_filter_coeff *coeff,
 	}
 }
 
-void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
+static void intel_casf_scaler_compute_coef(struct intel_crtc_state *crtc_state)
 {
 	const u16 *filtercoeff;
 	u16 filter_coeff[SCALER_FILTER_NUM_TAPS];
@@ -264,32 +238,8 @@ void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state)
 	}
 }
 
-void intel_casf_enable(const struct intel_crtc_state *crtc_state)
+void intel_casf_setup(const struct intel_crtc_state *crtc_state)
 {
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	u32 sharpness_ctl;
-
 	intel_casf_filter_lut_load(crtc_state);
-
 	intel_casf_write_coeff(crtc_state);
-
-	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength);
-
-	sharpness_ctl |= crtc_state->pch_pfit.casf.win_size;
-
-	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), sharpness_ctl);
-
-	skl_scaler_setup_casf(crtc_state);
-}
-
-void intel_casf_disable(const struct intel_crtc_state *crtc_state)
-{
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-
-	intel_de_write(display, SKL_PS_CTRL(crtc->pipe, 1), 0);
-	intel_de_write(display, SKL_PS_WIN_POS(crtc->pipe, 1), 0);
-	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), 0);
-	intel_de_write(display, SKL_PS_WIN_SZ(crtc->pipe, 1), 0);
 }
drivers/gpu/drm/i915/display/intel_casf.h +1 -5
index c4f984b73348..3ebb7522af0a 100644
@@ -11,11 +11,7 @@
 struct intel_crtc_state;
 
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state);
-void intel_casf_update_strength(const struct intel_crtc_state *new_crtc_state);
 void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state);
-void intel_casf_enable(const struct intel_crtc_state *crtc_state);
-void intel_casf_disable(const struct intel_crtc_state *crtc_state);
-void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state);
-bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state);
+void intel_casf_setup(const struct intel_crtc_state *crtc_state);
 
 #endif /* __INTEL_CASF_H__ */
drivers/gpu/drm/i915/display/intel_display.c +1 -33
index e02e69467871..58a654ca0d20 100644
@@ -58,7 +58,6 @@
 #include "intel_audio.h"
 #include "intel_bo.h"
 #include "intel_bw.h"
-#include "intel_casf.h"
 #include "intel_cdclk.h"
 #include "intel_clock_gating.h"
 #include "intel_color.h"
@@ -988,24 +987,6 @@ static bool audio_disabling(const struct intel_crtc_state *old_crtc_state,
 		 memcmp(old_crtc_state->eld, new_crtc_state->eld, MAX_ELD_BYTES) != 0);
 }
 
-static bool intel_casf_enabling(const struct intel_crtc_state *new_crtc_state,
-				const struct intel_crtc_state *old_crtc_state)
-{
-	if (!new_crtc_state->hw.active)
-		return false;
-
-	return is_enabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
-}
-
-static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
-				 const struct intel_crtc_state *new_crtc_state)
-{
-	if (!new_crtc_state->hw.active)
-		return false;
-
-	return is_disabling(pch_pfit.casf.enable, old_crtc_state, new_crtc_state);
-}
-
 static bool intel_crtc_lobf_enabling(const struct intel_crtc_state *old_crtc_state,
 				     const struct intel_crtc_state *new_crtc_state)
 {
@@ -1187,9 +1168,6 @@ static void intel_pre_plane_update(struct intel_atomic_state *state,
 	if (audio_disabling(old_crtc_state, new_crtc_state))
 		intel_encoders_audio_disable(state, crtc);
 
-	if (intel_casf_disabling(old_crtc_state, new_crtc_state))
-		intel_casf_disable(new_crtc_state);
-
 	intel_drrs_deactivate(old_crtc_state);
 
 	if (hsw_ips_pre_update(state, crtc))
@@ -4308,14 +4286,9 @@ static int intel_crtc_atomic_check(struct intel_atomic_state *state,
 		return ret;
 	}
 
-	ret = intel_casf_compute_config(crtc_state);
-	if (ret)
-		return ret;
-
 	if (DISPLAY_VER(display) >= 9) {
 		if (intel_crtc_needs_modeset(crtc_state) ||
-		    intel_crtc_needs_fastset(crtc_state) ||
-		    intel_casf_needs_scaler(crtc_state)) {
+		    intel_crtc_needs_fastset(crtc_state)) {
 			ret = skl_update_scaler_crtc(crtc_state);
 			if (ret)
 				return ret;
@@ -6817,11 +6790,6 @@ static void intel_pre_update_crtc(struct intel_atomic_state *state,
 			intel_vrr_set_transcoder_timings(new_crtc_state);
 	}
 
-	if (intel_casf_enabling(new_crtc_state, old_crtc_state))
-		intel_casf_enable(new_crtc_state);
-	else if (new_crtc_state->pch_pfit.casf.strength != old_crtc_state->pch_pfit.casf.strength)
-		intel_casf_update_strength(new_crtc_state);
-
 	intel_fbc_update(state, crtc);
 
 	drm_WARN_ON(display->drm, !intel_display_power_is_enabled(display, POWER_DOMAIN_DC_OFF));
drivers/gpu/drm/i915/display/intel_pfit.c +3 -1
index 6dda496190e0..e04ca960f115 100644
@@ -186,6 +186,7 @@ static int pch_panel_fitting(struct intel_crtc_state *crtc_state,
 			     const struct drm_connector_state *conn_state)
 {
 	struct intel_display *display = to_intel_display(crtc_state);
+	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 	const struct drm_display_mode *adjusted_mode =
 		&crtc_state->hw.adjusted_mode;
 	int pipe_src_w = drm_rect_width(&crtc_state->pipe_src);
@@ -195,7 +196,8 @@ static int pch_panel_fitting(struct intel_crtc_state *crtc_state,
 	/* Native modes don't need fitting */
 	if (adjusted_mode->crtc_hdisplay == pipe_src_w &&
 	    adjusted_mode->crtc_vdisplay == pipe_src_h &&
-	    crtc_state->output_format != INTEL_OUTPUT_FORMAT_YCBCR420)
+	    crtc_state->output_format != INTEL_OUTPUT_FORMAT_YCBCR420 &&
+	    crtc_state->hw.sharpness_strength == 0)
 		return 0;
 
 	switch (conn_state->scaling_mode) {

drivers/gpu/drm/i915/display/intel_pfit.c static int pch_panel_fitting(struct intel_crtc_state *crtc_state, · line 256

Quoted 6 lines
drivers/gpu/drm/i915/display/intel_pfit.c +3 -0
@@ -249,6 +251,15 @@ static int pch_panel_fitting(struct intel_crtc_state *crtc_state,
 		return -EINVAL;
 	}
 
+	if (crtc_state->hw.sharpness_strength &&
+	    (width != pipe_src_w || height != pipe_src_h ||
+	     crtc_state->output_format != INTEL_OUTPUT_FORMAT_RGB)) {

We should probably also reject
sharpness_strength != 0 && scaling_filter != DEFAULT

I suppose it's not strictly needed because we only allow sharpness with 1:1 scaling, and that makes the nearest neighbor filter a NOP. But probably a good idea to make the uapi behaviour consistent, especially if we later add other filter modes that maybe aren't NOPs.

Quoted 9 lines
drivers/gpu/drm/i915/display/intel_pfit.c +6 -0
+		drm_dbg_kms(display->drm,
+			    "[CRTC:%d:%s] no scaling/YCbCr output with sharpness filter\n",
+			    crtc->base.base.id, crtc->base.name);
+		return -EINVAL;
+	}
+
 	drm_rect_init(&crtc_state->pch_pfit.dst,
 		      x, y, width, height);
 	crtc_state->pch_pfit.enabled = true;
Signature · 2 lines
Ville Syrjälä
Intel
#29 lore raw
Quoted 300 lines

-----Original Message-----
From: Ville Syrjälä <[email protected]>
Sent: Tuesday, March 31, 2026 3:18 PM
To: [email protected]
Cc: [email protected]; Garg, Nemesa <[email protected]>
Subject: Re: [PATCH 9/9] drm/i915/casf: Integrate the sharpness filter properly into the scaler code

drivers/gpu/drm/i915/display/intel_casf.c static void intel_casf_filter_lut_load(const struct

Quoted 25 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The sharpness filter is just a special mode of the pipe scaler. It doesn't warrant all this special casing everywhere. Just integrate it properly into the scaler code so that it's treated no different from the other pipe scaler uses (scaling,centering, YCbCr 4:2:0 output).

---
 drivers/gpu/drm/i915/display/intel_casf.c    | 62 ++------------
 drivers/gpu/drm/i915/display/intel_casf.h    |  6 +-
 drivers/gpu/drm/i915/display/intel_display.c | 34 +-------
 drivers/gpu/drm/i915/display/intel_pfit.c    | 13 ++-
 drivers/gpu/drm/i915/display/skl_scaler.c    | 85 ++++++++------------
 drivers/gpu/drm/i915/display/skl_scaler.h    |  2 -
 6 files changed, 53 insertions(+), 149 deletions(-)
drivers/gpu/drm/i915/display/intel_casf.c +0 -0
index 21e84a4f9ff5..c2d2746c5f04 100644
@@ -75,20 +75,6 @@ static void intel_casf_filter_lut_load(const struct

intel_crtc_state *crtc_state

drivers/gpu/drm/i915/display/intel_casf.c static void intel_casf_filter_lut_load(const struct intel_crtc_state *crtc_state

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_casf.c +0 -6
 			       sharpness_lut[i]);
 }
 
-void intel_casf_update_strength(const struct intel_crtc_state
 *crtc_state) -{
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	int win_size;
-
-	intel_de_rmw(display, SHARPNESS_CTL(crtc->pipe),

FILTER_STRENGTH_MASK,

drivers/gpu/drm/i915/display/intel_casf.c static void intel_casf_compute_win_size(struct

Quoted 12 lines
drivers/gpu/drm/i915/display/intel_casf.c +0 -7
-		     FILTER_STRENGTH(crtc_state->pch_pfit.casf.strength));
-
-	win_size = intel_de_read(display, SKL_PS_WIN_SZ(crtc->pipe, 1));
-
-	intel_de_write_fw(display, SKL_PS_WIN_SZ(crtc->pipe, 1), win_size);
-}
-
 static void intel_casf_compute_win_size(struct intel_crtc_state
 *crtc_state)  {
 	const struct drm_display_mode *mode = &crtc_state-

hw.adjusted_mode;

drivers/gpu/drm/i915/display/intel_casf.c +0 -0
@@ -102,19 +88,15 @@ static void intel_casf_compute_win_size(struct

intel_crtc_state *crtc_state)

drivers/gpu/drm/i915/display/intel_casf.c static void intel_casf_compute_win_size(struct · line 88

Quoted 1 line
drivers/gpu/drm/i915/display/intel_casf.c +0 -0
 		crtc_state->pch_pfit.casf.win_size =

SHARPNESS_FILTER_SIZE_7X7; }

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_casf.c +4 -1
+static void intel_casf_scaler_compute_coef(struct intel_crtc_state
+*crtc_state);
+
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state)  {
 	struct intel_display *display = to_intel_display(crtc_state);
 
-	if (!HAS_CASF(display))
+	if (crtc_state->hw.sharpness_strength == 0)
 		return 0;

drivers/gpu/drm/i915/display/intel_casf.c static void intel_casf_compute_win_size(struct intel_crtc_state *crtc_state)

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_casf.c +0 -6
 
-	if (crtc_state->hw.sharpness_strength == 0) {
-		crtc_state->pch_pfit.casf.enable = false;
-		crtc_state->pch_pfit.casf.strength = 0;
-		return 0;
-	}
-
 	/* CASF with joiner not supported in hardware */
 	if (crtc_state->joiner_pipes) {
 		drm_dbg_kms(display->drm, "CASF not supported with

joiner\n"); @@

drivers/gpu/drm/i915/display/intel_casf.c void intel_casf_sharpness_get_config(struct

Quoted 11 lines
drivers/gpu/drm/i915/display/intel_casf.c +0 -1
-136,7 +118,7 @@ int intel_casf_compute_config(struct intel_crtc_state
 *crtc_state)
 
drivers/gpu/drm/i915/display/intel_casf.c +1 -1
 	intel_casf_compute_win_size(crtc_state);
 
-	intel_casf_scaler_compute_config(crtc_state);
+	intel_casf_scaler_compute_coef(crtc_state);
 
 	return 0;
 }
@@ -161,14 +143,6 @@ void intel_casf_sharpness_get_config(struct

intel_crtc_state *crtc_state)

drivers/gpu/drm/i915/display/intel_casf.c static void convert_sharpness_coef_binary(struct

Quoted 15 lines
drivers/gpu/drm/i915/display/intel_casf.c +0 -7
 	}
 }
 
-bool intel_casf_needs_scaler(const struct intel_crtc_state
 *crtc_state) -{
-	if (crtc_state->pch_pfit.casf.enable)
-		return true;
-
-	return false;
-}
-
 static int casf_coeff_tap(int i)
 {
 	return i % SCALER_FILTER_NUM_TAPS;
@@ -240,7 +214,7 @@ static void convert_sharpness_coef_binary(struct

scaler_filter_coeff *coeff,

drivers/gpu/drm/i915/display/intel_casf.c void intel_casf_scaler_compute_config(struct

Quoted 11 lines
drivers/gpu/drm/i915/display/intel_casf.c +2 -1
 	}
 }
 
-void intel_casf_scaler_compute_config(struct intel_crtc_state
 *crtc_state)
+static void intel_casf_scaler_compute_coef(struct intel_crtc_state
+*crtc_state)
 {
 	const u16 *filtercoeff;
 	u16 filter_coeff[SCALER_FILTER_NUM_TAPS];
@@ -264,32 +238,8 @@ void intel_casf_scaler_compute_config(struct

intel_crtc_state *crtc_state)

drivers/gpu/drm/i915/display/intel_display.c static bool audio_disabling(const struct

Quoted 67 lines
drivers/gpu/drm/i915/display/intel_casf.c +1 -24
 	}
 }
 
-void intel_casf_enable(const struct intel_crtc_state *crtc_state)
+void intel_casf_setup(const struct intel_crtc_state *crtc_state)
 {
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	u32 sharpness_ctl;
-
 	intel_casf_filter_lut_load(crtc_state);
-
 	intel_casf_write_coeff(crtc_state);
-
-	sharpness_ctl = FILTER_EN | FILTER_STRENGTH(crtc_state-
 pch_pfit.casf.strength);
-
-	sharpness_ctl |= crtc_state->pch_pfit.casf.win_size;
-
-	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), sharpness_ctl);
-
-	skl_scaler_setup_casf(crtc_state);
-}
-
-void intel_casf_disable(const struct intel_crtc_state *crtc_state) -{
-	struct intel_display *display = to_intel_display(crtc_state);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-
-	intel_de_write(display, SKL_PS_CTRL(crtc->pipe, 1), 0);
-	intel_de_write(display, SKL_PS_WIN_POS(crtc->pipe, 1), 0);
-	intel_de_write(display, SHARPNESS_CTL(crtc->pipe), 0);
-	intel_de_write(display, SKL_PS_WIN_SZ(crtc->pipe, 1), 0);
 }
drivers/gpu/drm/i915/display/intel_casf.h +0 -1
index c4f984b73348..3ebb7522af0a 100644
@@ -11,11 +11,7 @@
 struct intel_crtc_state;
 
 int intel_casf_compute_config(struct intel_crtc_state *crtc_state);
-void intel_casf_update_strength(const struct intel_crtc_state
 *new_crtc_state);  void intel_casf_sharpness_get_config(struct

intel_crtc_state *crtc_state); -void intel_casf_enable(const struct intel_crtc_state *crtc_state); -void intel_casf_disable(const struct intel_crtc_state *crtc_state); -void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state); -bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state);

drivers/gpu/drm/i915/display/intel_casf.h +1 -0
+void intel_casf_setup(const struct intel_crtc_state *crtc_state);
 
 #endif /* __INTEL_CASF_H__ */
drivers/gpu/drm/i915/display/intel_display.c +0 -1
index e02e69467871..58a654ca0d20 100644
@@ -58,7 +58,6 @@
 #include "intel_audio.h"
 #include "intel_bo.h"
 #include "intel_bw.h"
-#include "intel_casf.h"
 #include "intel_cdclk.h"
 #include "intel_clock_gating.h"
 #include "intel_color.h"
@@ -988,24 +987,6 @@ static bool audio_disabling(const struct

intel_crtc_state *old_crtc_state,

drivers/gpu/drm/i915/display/intel_display.c static bool audio_disabling(const struct · line 987

Quoted 1 line
drivers/gpu/drm/i915/display/intel_display.c +0 -0
 		 memcmp(old_crtc_state->eld, new_crtc_state->eld,

MAX_ELD_BYTES) !=

drivers/gpu/drm/i915/display/intel_display.c static bool audio_disabling(const struct intel_crtc_state *old_crtc_state,

Quoted 9 lines
drivers/gpu/drm/i915/display/intel_display.c +0 -7
 0);  }
 
-static bool intel_casf_enabling(const struct intel_crtc_state *new_crtc_state,
-				const struct intel_crtc_state *old_crtc_state)
-{
-	if (!new_crtc_state->hw.active)
-		return false;
-
-	return is_enabling(pch_pfit.casf.enable, old_crtc_state,

new_crtc_state);

drivers/gpu/drm/i915/display/intel_display.c static bool audio_disabling(const struct intel_crtc_state *old_crtc_state,

Quoted 9 lines
drivers/gpu/drm/i915/display/intel_display.c +0 -9
-}
-
-static bool intel_casf_disabling(const struct intel_crtc_state *old_crtc_state,
-				 const struct intel_crtc_state *new_crtc_state)
-{
-	if (!new_crtc_state->hw.active)
-		return false;
-
-	return is_disabling(pch_pfit.casf.enable, old_crtc_state,

new_crtc_state);

drivers/gpu/drm/i915/display/intel_display.c static bool audio_disabling(const struct · line 990

Quoted 3 lines
drivers/gpu/drm/i915/display/intel_display.c +0 -2
-}
-
 static bool intel_crtc_lobf_enabling(const struct intel_crtc_state

*old_crtc_state,

drivers/gpu/drm/i915/display/intel_display.c static bool audio_disabling(const struct · line 991

Quoted 1 line
drivers/gpu/drm/i915/display/intel_display.c +0 -0
 				     const struct intel_crtc_state

*new_crtc_state) { @@ -1187,9

drivers/gpu/drm/i915/display/intel_display.c static bool audio_disabling(const struct · line 992

Quoted 1 line
drivers/gpu/drm/i915/display/intel_display.c +1 -0
+1168,6 @@ static void intel_pre_plane_update(struct intel_atomic_state

*state,

drivers/gpu/drm/i915/display/intel_display.c static void intel_pre_update_crtc(struct

Quoted 26 lines
drivers/gpu/drm/i915/display/intel_display.c +0 -3
 	if (audio_disabling(old_crtc_state, new_crtc_state))
 		intel_encoders_audio_disable(state, crtc);
 
-	if (intel_casf_disabling(old_crtc_state, new_crtc_state))
-		intel_casf_disable(new_crtc_state);
-
 	intel_drrs_deactivate(old_crtc_state);
 
 	if (hsw_ips_pre_update(state, crtc)) @@ -4308,14 +4286,9 @@ static

int intel_crtc_atomic_check(struct intel_atomic_state *state,

drivers/gpu/drm/i915/display/intel_display.c +1 -6
 		return ret;
 	}
 
-	ret = intel_casf_compute_config(crtc_state);
-	if (ret)
-		return ret;
-
 	if (DISPLAY_VER(display) >= 9) {
 		if (intel_crtc_needs_modeset(crtc_state) ||
-		    intel_crtc_needs_fastset(crtc_state) ||
-		    intel_casf_needs_scaler(crtc_state)) {
+		    intel_crtc_needs_fastset(crtc_state)) {
 			ret = skl_update_scaler_crtc(crtc_state);
 			if (ret)
 				return ret;
@@ -6817,11 +6790,6 @@ static void intel_pre_update_crtc(struct

intel_atomic_state *state,

Quoted 11 lines
drivers/gpu/drm/i915/display/intel_display.c +0 -5
 			intel_vrr_set_transcoder_timings(new_crtc_state);
 	}
 
-	if (intel_casf_enabling(new_crtc_state, old_crtc_state))
-		intel_casf_enable(new_crtc_state);
-	else if (new_crtc_state->pch_pfit.casf.strength != old_crtc_state-
 pch_pfit.casf.strength)
-		intel_casf_update_strength(new_crtc_state);
-
 	intel_fbc_update(state, crtc);
 
Quoted 1 line

drm_WARN_ON(display->drm,

!intel_display_power_is_enabled(display,

drivers/gpu/drm/i915/display/intel_pfit.c static int pch_panel_fitting(struct intel_crtc_state

Quoted 7 lines

POWER_DOMAIN_DC_OFF)); diff --git
a/drivers/gpu/drm/i915/display/intel_pfit.c
b/drivers/gpu/drm/i915/display/intel_pfit.c
index 6dda496190e0..e04ca960f115 100644

drivers/gpu/drm/i915/display/intel_pfit.c +0 -0
@@ -186,6 +186,7 @@ static int pch_panel_fitting(struct intel_crtc_state

*crtc_state,

drivers/gpu/drm/i915/display/intel_pfit.c static int pch_panel_fitting(struct intel_crtc_state

Quoted 7 lines
drivers/gpu/drm/i915/display/intel_pfit.c +1 -0
 			     const struct drm_connector_state *conn_state)  {
 	struct intel_display *display = to_intel_display(crtc_state);
+	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 	const struct drm_display_mode *adjusted_mode =
 		&crtc_state->hw.adjusted_mode;
 	int pipe_src_w = drm_rect_width(&crtc_state->pipe_src);
@@ -195,7 +196,8 @@ static int pch_panel_fitting(struct intel_crtc_state

*crtc_state,

drivers/gpu/drm/i915/display/intel_pfit.c static int pch_panel_fitting(struct intel_crtc_state *crtc_state,

Quoted 5 lines
drivers/gpu/drm/i915/display/intel_pfit.c +1 -1
 	/* Native modes don't need fitting */
 	if (adjusted_mode->crtc_hdisplay == pipe_src_w &&
 	    adjusted_mode->crtc_vdisplay == pipe_src_h &&
-	    crtc_state->output_format != INTEL_OUTPUT_FORMAT_YCBCR420)
+	    crtc_state->output_format != INTEL_OUTPUT_FORMAT_YCBCR420

&&

drivers/gpu/drm/i915/display/intel_pfit.c static int pch_panel_fitting(struct intel_crtc_state

Quoted 5 lines
drivers/gpu/drm/i915/display/intel_pfit.c +1 -0
+	    crtc_state->hw.sharpness_strength == 0)
 		return 0;
 
 	switch (conn_state->scaling_mode) {
@@ -249,6 +251,15 @@ static int pch_panel_fitting(struct intel_crtc_state

*crtc_state,

drivers/gpu/drm/i915/display/intel_pfit.c static int pch_panel_fitting(struct intel_crtc_state *crtc_state, · line 256

Quoted 6 lines
drivers/gpu/drm/i915/display/intel_pfit.c +3 -0
 		return -EINVAL;
 	}
 
+	if (crtc_state->hw.sharpness_strength &&
+	    (width != pipe_src_w || height != pipe_src_h ||
+	     crtc_state->output_format != INTEL_OUTPUT_FORMAT_RGB)) {

We should probably also reject
sharpness_strength != 0 && scaling_filter != DEFAULT

Quoted 5 lines

I suppose it's not strictly needed because we only allow sharpness with 1:1 scaling, and that makes the nearest neighbor filter a NOP.
But probably a good idea to make the uapi behaviour consistent, especially if we later add other filter modes that maybe aren't NOPs.

Yes for now it will work but better to add to reduce future noise.

Quoted 14 lines

drivers/gpu/drm/i915/display/intel_pfit.c static int pch_panel_fitting(struct intel_crtc_state · line 258

Quoted 2 lines
drivers/gpu/drm/i915/display/intel_pfit.c +2 -0
+		drm_dbg_kms(display->drm,
+			    "[CRTC:%d:%s] no scaling/YCbCr output with

sharpness filter\n",

drivers/gpu/drm/i915/display/intel_pfit.c static int pch_panel_fitting(struct intel_crtc_state *crtc_state, · line 265

Quoted 7 lines
drivers/gpu/drm/i915/display/intel_pfit.c +4 -0
+			    crtc->base.base.id, crtc->base.name);
+		return -EINVAL;
+	}
+
 	drm_rect_init(&crtc_state->pch_pfit.dst,
 		      x, y, width, height);
 	crtc_state->pch_pfit.enabled = true;

--
Ville Syrjälä
Intel

#30 lore raw

✓ i915.CI.BAT: success for drm/i915/casf: Integrate the sharpness filter properly into the scaler code

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: drm/i915/casf: Integrate the sharpness filter properly into the scaler code
URL : https://patchwork.freedesktop.org/series/163953/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_18228 -> Patchwork_163953v1
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/index.html

Participating hosts (40 -> 39)
------------------------------

Missing (1): bat-dg2-13

Known issues
------------

Here are the changes found in Patchwork_163953v1 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_fence@basic-await@bcs0:
- bat-twl-2: [PASS][1] -> [FAIL][2] ([i915#15263]) +1 other test fail
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/bat-twl-2/igt@gem_exec_fence@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/bat-twl-2/igt@gem_exec_fence@[email protected]

* igt@i915_selftest@live@sanitycheck:
- fi-kbl-7567u: [PASS][3] -> [DMESG-WARN][4] ([i915#13735]) +79 other tests dmesg-warn
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/fi-kbl-7567u/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/fi-kbl-7567u/igt@i915_selftest@[email protected]

* igt@kms_pm_rpm@basic-pci-d3-state:
- fi-kbl-7567u: [PASS][5] -> [DMESG-WARN][6] ([i915#13735] / [i915#180]) +53 other tests dmesg-warn
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/fi-kbl-7567u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/fi-kbl-7567u/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live:
- bat-dg2-8: [DMESG-FAIL][7] ([i915#12061]) -> [PASS][8] +1 other test pass
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/bat-dg2-8/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/bat-dg2-8/igt@[email protected]

[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
[i915#13735]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13735
[i915#15263]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15263
[i915#180]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/180

Build changes
-------------

* Linux: CI_DRM_18228 -> Patchwork_163953v1

CI-20190529: 20190529
CI_DRM_18228: e7f370d78d32ed29cc3f100fbc3d1fe1a844978f @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8834: 8834
Patchwork_163953v1: e7f370d78d32ed29cc3f100fbc3d1fe1a844978f @ git://anongit.freedesktop.org/gfx-ci/linux

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/index.html

#31 lore raw

✓ CI.KUnit: success for drm/i915/casf: Integrate the sharpness filter properly into the scaler code

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: drm/i915/casf: Integrate the sharpness filter properly into the scaler code
URL : https://patchwork.freedesktop.org/series/163952/
State : success

== Summary ==

+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [23:25:52] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[23:25:56] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[23:26:26] Starting KUnit Kernel (1/1)...
[23:26:26] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[23:26:27] ================== guc_buf (11 subtests) ===================
[23:26:27] [PASSED] test_smallest
[23:26:27] [PASSED] test_largest
[23:26:27] [PASSED] test_granular
[23:26:27] [PASSED] test_unique
[23:26:27] [PASSED] test_overlap
[23:26:27] [PASSED] test_reusable
[23:26:27] [PASSED] test_too_big
[23:26:27] [PASSED] test_flush
[23:26:27] [PASSED] test_lookup
[23:26:27] [PASSED] test_data
[23:26:27] [PASSED] test_class
[23:26:27] ===================== [PASSED] guc_buf =====================
[23:26:27] =================== guc_dbm (7 subtests) ===================
[23:26:27] [PASSED] test_empty
[23:26:27] [PASSED] test_default
[23:26:27] ======================== test_size  ========================
[23:26:27] [PASSED] 4
[23:26:27] [PASSED] 8
[23:26:27] [PASSED] 32
[23:26:27] [PASSED] 256
[23:26:27] ==================== [PASSED] test_size ====================
[23:26:27] ======================= test_reuse  ========================
[23:26:27] [PASSED] 4
[23:26:27] [PASSED] 8
[23:26:27] [PASSED] 32
[23:26:27] [PASSED] 256
[23:26:27] =================== [PASSED] test_reuse ====================
[23:26:27] =================== test_range_overlap  ====================
[23:26:27] [PASSED] 4
[23:26:27] [PASSED] 8
[23:26:27] [PASSED] 32
[23:26:27] [PASSED] 256
[23:26:27] =============== [PASSED] test_range_overlap ================
[23:26:27] =================== test_range_compact  ====================
[23:26:27] [PASSED] 4
[23:26:27] [PASSED] 8
[23:26:27] [PASSED] 32
[23:26:27] [PASSED] 256
[23:26:27] =============== [PASSED] test_range_compact ================
[23:26:27] ==================== test_range_spare  =====================
[23:26:27] [PASSED] 4
[23:26:27] [PASSED] 8
[23:26:27] [PASSED] 32
[23:26:27] [PASSED] 256
[23:26:27] ================ [PASSED] test_range_spare =================
[23:26:27] ===================== [PASSED] guc_dbm =====================
[23:26:27] =================== guc_idm (6 subtests) ===================
[23:26:27] [PASSED] bad_init
[23:26:27] [PASSED] no_init
[23:26:27] [PASSED] init_fini
[23:26:27] [PASSED] check_used
[23:26:27] [PASSED] check_quota
[23:26:27] [PASSED] check_all
[23:26:27] ===================== [PASSED] guc_idm =====================
[23:26:27] ================== no_relay (3 subtests) ===================
[23:26:27] [PASSED] xe_drops_guc2pf_if_not_ready
[23:26:27] [PASSED] xe_drops_guc2vf_if_not_ready
[23:26:27] [PASSED] xe_rejects_send_if_not_ready
[23:26:27] ==================== [PASSED] no_relay =====================
[23:26:27] ================== pf_relay (14 subtests) ==================
[23:26:27] [PASSED] pf_rejects_guc2pf_too_short
[23:26:27] [PASSED] pf_rejects_guc2pf_too_long
[23:26:27] [PASSED] pf_rejects_guc2pf_no_payload
[23:26:27] [PASSED] pf_fails_no_payload
[23:26:27] [PASSED] pf_fails_bad_origin
[23:26:27] [PASSED] pf_fails_bad_type
[23:26:27] [PASSED] pf_txn_reports_error
[23:26:27] [PASSED] pf_txn_sends_pf2guc
[23:26:27] [PASSED] pf_sends_pf2guc
[23:26:27] [SKIPPED] pf_loopback_nop
[23:26:27] [SKIPPED] pf_loopback_echo
[23:26:27] [SKIPPED] pf_loopback_fail
[23:26:27] [SKIPPED] pf_loopback_busy
[23:26:27] [SKIPPED] pf_loopback_retry
[23:26:27] ==================== [PASSED] pf_relay =====================
[23:26:27] ================== vf_relay (3 subtests) ===================
[23:26:27] [PASSED] vf_rejects_guc2vf_too_short
[23:26:27] [PASSED] vf_rejects_guc2vf_too_long
[23:26:27] [PASSED] vf_rejects_guc2vf_no_payload
[23:26:27] ==================== [PASSED] vf_relay =====================
[23:26:27] ================ pf_gt_config (9 subtests) =================
[23:26:27] [PASSED] fair_contexts_1vf
[23:26:27] [PASSED] fair_doorbells_1vf
[23:26:27] [PASSED] fair_ggtt_1vf
[23:26:27] ====================== fair_vram_1vf  ======================
[23:26:27] [PASSED] 3.50 GiB
[23:26:27] [PASSED] 11.5 GiB
[23:26:27] [PASSED] 15.5 GiB
[23:26:27] [PASSED] 31.5 GiB
[23:26:27] [PASSED] 63.5 GiB
[23:26:27] [PASSED] 1.91 GiB
[23:26:27] ================== [PASSED] fair_vram_1vf ==================
[23:26:27] ================ fair_vram_1vf_admin_only  =================
[23:26:27] [PASSED] 3.50 GiB
[23:26:27] [PASSED] 11.5 GiB
[23:26:27] [PASSED] 15.5 GiB
[23:26:27] [PASSED] 31.5 GiB
[23:26:27] [PASSED] 63.5 GiB
[23:26:27] [PASSED] 1.91 GiB
[23:26:27] ============ [PASSED] fair_vram_1vf_admin_only =============
[23:26:27] ====================== fair_contexts  ======================
[23:26:27] [PASSED] 1 VF
[23:26:27] [PASSED] 2 VFs
[23:26:27] [PASSED] 3 VFs
[23:26:27] [PASSED] 4 VFs
[23:26:27] [PASSED] 5 VFs
[23:26:27] [PASSED] 6 VFs
[23:26:27] [PASSED] 7 VFs
[23:26:27] [PASSED] 8 VFs
[23:26:27] [PASSED] 9 VFs
[23:26:27] [PASSED] 10 VFs
[23:26:27] [PASSED] 11 VFs
[23:26:27] [PASSED] 12 VFs
[23:26:27] [PASSED] 13 VFs
[23:26:27] [PASSED] 14 VFs
[23:26:27] [PASSED] 15 VFs
[23:26:27] [PASSED] 16 VFs
[23:26:27] [PASSED] 17 VFs
[23:26:27] [PASSED] 18 VFs
[23:26:27] [PASSED] 19 VFs
[23:26:27] [PASSED] 20 VFs
[23:26:27] [PASSED] 21 VFs
[23:26:27] [PASSED] 22 VFs
[23:26:27] [PASSED] 23 VFs
[23:26:27] [PASSED] 24 VFs
[23:26:27] [PASSED] 25 VFs
[23:26:27] [PASSED] 26 VFs
[23:26:27] [PASSED] 27 VFs
[23:26:27] [PASSED] 28 VFs
[23:26:27] [PASSED] 29 VFs
[23:26:27] [PASSED] 30 VFs
[23:26:27] [PASSED] 31 VFs
[23:26:27] [PASSED] 32 VFs
[23:26:27] [PASSED] 33 VFs
[23:26:27] [PASSED] 34 VFs
[23:26:27] [PASSED] 35 VFs
[23:26:27] [PASSED] 36 VFs
[23:26:27] [PASSED] 37 VFs
[23:26:27] [PASSED] 38 VFs
[23:26:27] [PASSED] 39 VFs
[23:26:27] [PASSED] 40 VFs
[23:26:27] [PASSED] 41 VFs
[23:26:27] [PASSED] 42 VFs
[23:26:27] [PASSED] 43 VFs
[23:26:27] [PASSED] 44 VFs
[23:26:27] [PASSED] 45 VFs
[23:26:27] [PASSED] 46 VFs
[23:26:27] [PASSED] 47 VFs
[23:26:27] [PASSED] 48 VFs
[23:26:27] [PASSED] 49 VFs
[23:26:27] [PASSED] 50 VFs
[23:26:27] [PASSED] 51 VFs
[23:26:27] [PASSED] 52 VFs
[23:26:27] [PASSED] 53 VFs
[23:26:27] [PASSED] 54 VFs
[23:26:27] [PASSED] 55 VFs
[23:26:27] [PASSED] 56 VFs
[23:26:27] [PASSED] 57 VFs
[23:26:27] [PASSED] 58 VFs
[23:26:27] [PASSED] 59 VFs
[23:26:27] [PASSED] 60 VFs
[23:26:27] [PASSED] 61 VFs
[23:26:27] [PASSED] 62 VFs
[23:26:27] [PASSED] 63 VFs
[23:26:27] ================== [PASSED] fair_contexts ==================
[23:26:27] ===================== fair_doorbells  ======================
[23:26:27] [PASSED] 1 VF
[23:26:27] [PASSED] 2 VFs
[23:26:27] [PASSED] 3 VFs
[23:26:27] [PASSED] 4 VFs
[23:26:27] [PASSED] 5 VFs
[23:26:27] [PASSED] 6 VFs
[23:26:27] [PASSED] 7 VFs
[23:26:27] [PASSED] 8 VFs
[23:26:27] [PASSED] 9 VFs
[23:26:27] [PASSED] 10 VFs
[23:26:27] [PASSED] 11 VFs
[23:26:27] [PASSED] 12 VFs
[23:26:27] [PASSED] 13 VFs
[23:26:27] [PASSED] 14 VFs
[23:26:27] [PASSED] 15 VFs
[23:26:27] [PASSED] 16 VFs
[23:26:27] [PASSED] 17 VFs
[23:26:27] [PASSED] 18 VFs
[23:26:27] [PASSED] 19 VFs
[23:26:27] [PASSED] 20 VFs
[23:26:27] [PASSED] 21 VFs
[23:26:27] [PASSED] 22 VFs
[23:26:27] [PASSED] 23 VFs
[23:26:27] [PASSED] 24 VFs
[23:26:27] [PASSED] 25 VFs
[23:26:27] [PASSED] 26 VFs
[23:26:27] [PASSED] 27 VFs
[23:26:27] [PASSED] 28 VFs
[23:26:27] [PASSED] 29 VFs
[23:26:27] [PASSED] 30 VFs
[23:26:27] [PASSED] 31 VFs
[23:26:27] [PASSED] 32 VFs
[23:26:27] [PASSED] 33 VFs
[23:26:27] [PASSED] 34 VFs
[23:26:27] [PASSED] 35 VFs
[23:26:27] [PASSED] 36 VFs
[23:26:27] [PASSED] 37 VFs
[23:26:27] [PASSED] 38 VFs
[23:26:27] [PASSED] 39 VFs
[23:26:27] [PASSED] 40 VFs
[23:26:27] [PASSED] 41 VFs
[23:26:27] [PASSED] 42 VFs
[23:26:27] [PASSED] 43 VFs
[23:26:27] [PASSED] 44 VFs
[23:26:27] [PASSED] 45 VFs
[23:26:27] [PASSED] 46 VFs
[23:26:27] [PASSED] 47 VFs
[23:26:27] [PASSED] 48 VFs
[23:26:27] [PASSED] 49 VFs
[23:26:27] [PASSED] 50 VFs
[23:26:27] [PASSED] 51 VFs
[23:26:27] [PASSED] 52 VFs
[23:26:27] [PASSED] 53 VFs
[23:26:27] [PASSED] 54 VFs
[23:26:27] [PASSED] 55 VFs
[23:26:27] [PASSED] 56 VFs
[23:26:27] [PASSED] 57 VFs
[23:26:27] [PASSED] 58 VFs
[23:26:27] [PASSED] 59 VFs
[23:26:27] [PASSED] 60 VFs
[23:26:27] [PASSED] 61 VFs
[23:26:27] [PASSED] 62 VFs
[23:26:27] [PASSED] 63 VFs
[23:26:27] ================= [PASSED] fair_doorbells ==================
[23:26:27] ======================== fair_ggtt  ========================
[23:26:27] [PASSED] 1 VF
[23:26:27] [PASSED] 2 VFs
[23:26:27] [PASSED] 3 VFs
[23:26:27] [PASSED] 4 VFs
[23:26:27] [PASSED] 5 VFs
[23:26:27] [PASSED] 6 VFs
[23:26:27] [PASSED] 7 VFs
[23:26:27] [PASSED] 8 VFs
[23:26:27] [PASSED] 9 VFs
[23:26:27] [PASSED] 10 VFs
[23:26:27] [PASSED] 11 VFs
[23:26:27] [PASSED] 12 VFs
[23:26:27] [PASSED] 13 VFs
[23:26:27] [PASSED] 14 VFs
[23:26:27] [PASSED] 15 VFs
[23:26:27] [PASSED] 16 VFs
[23:26:27] [PASSED] 17 VFs
[23:26:27] [PASSED] 18 VFs
[23:26:27] [PASSED] 19 VFs
[23:26:27] [PASSED] 20 VFs
[23:26:27] [PASSED] 21 VFs
[23:26:27] [PASSED] 22 VFs
[23:26:27] [PASSED] 23 VFs
[23:26:27] [PASSED] 24 VFs
[23:26:27] [PASSED] 25 VFs
[23:26:27] [PASSED] 26 VFs
[23:26:27] [PASSED] 27 VFs
[23:26:27] [PASSED] 28 VFs
[23:26:27] [PASSED] 29 VFs
[23:26:27] [PASSED] 30 VFs
[23:26:27] [PASSED] 31 VFs
[23:26:27] [PASSED] 32 VFs
[23:26:27] [PASSED] 33 VFs
[23:26:27] [PASSED] 34 VFs
[23:26:27] [PASSED] 35 VFs
[23:26:27] [PASSED] 36 VFs
[23:26:27] [PASSED] 37 VFs
[23:26:27] [PASSED] 38 VFs
[23:26:27] [PASSED] 39 VFs
[23:26:27] [PASSED] 40 VFs
[23:26:27] [PASSED] 41 VFs
[23:26:27] [PASSED] 42 VFs
[23:26:27] [PASSED] 43 VFs
[23:26:27] [PASSED] 44 VFs
[23:26:27] [PASSED] 45 VFs
[23:26:27] [PASSED] 46 VFs
[23:26:27] [PASSED] 47 VFs
[23:26:27] [PASSED] 48 VFs
[23:26:27] [PASSED] 49 VFs
[23:26:27] [PASSED] 50 VFs
[23:26:27] [PASSED] 51 VFs
[23:26:27] [PASSED] 52 VFs
[23:26:27] [PASSED] 53 VFs
[23:26:27] [PASSED] 54 VFs
[23:26:27] [PASSED] 55 VFs
[23:26:27] [PASSED] 56 VFs
[23:26:27] [PASSED] 57 VFs
[23:26:27] [PASSED] 58 VFs
[23:26:27] [PASSED] 59 VFs
[23:26:27] [PASSED] 60 VFs
[23:26:27] [PASSED] 61 VFs
[23:26:27] [PASSED] 62 VFs
[23:26:27] [PASSED] 63 VFs
[23:26:27] ==================== [PASSED] fair_ggtt ====================
[23:26:27] ======================== fair_vram  ========================
[23:26:27] [PASSED] 1 VF
[23:26:27] [PASSED] 2 VFs
[23:26:27] [PASSED] 3 VFs
[23:26:27] [PASSED] 4 VFs
[23:26:27] [PASSED] 5 VFs
[23:26:27] [PASSED] 6 VFs
[23:26:27] [PASSED] 7 VFs
[23:26:27] [PASSED] 8 VFs
[23:26:27] [PASSED] 9 VFs
[23:26:27] [PASSED] 10 VFs
[23:26:27] [PASSED] 11 VFs
[23:26:27] [PASSED] 12 VFs
[23:26:27] [PASSED] 13 VFs
[23:26:27] [PASSED] 14 VFs
[23:26:27] [PASSED] 15 VFs
[23:26:27] [PASSED] 16 VFs
[23:26:27] [PASSED] 17 VFs
[23:26:27] [PASSED] 18 VFs
[23:26:27] [PASSED] 19 VFs
[23:26:27] [PASSED] 20 VFs
[23:26:27] [PASSED] 21 VFs
[23:26:27] [PASSED] 22 VFs
[23:26:27] [PASSED] 23 VFs
[23:26:27] [PASSED] 24 VFs
[23:26:27] [PASSED] 25 VFs
[23:26:27] [PASSED] 26 VFs
[23:26:27] [PASSED] 27 VFs
[23:26:27] [PASSED] 28 VFs
[23:26:27] [PASSED] 29 VFs
[23:26:27] [PASSED] 30 VFs
[23:26:27] [PASSED] 31 VFs
[23:26:27] [PASSED] 32 VFs
[23:26:27] [PASSED] 33 VFs
[23:26:27] [PASSED] 34 VFs
[23:26:27] [PASSED] 35 VFs
[23:26:27] [PASSED] 36 VFs
[23:26:27] [PASSED] 37 VFs
[23:26:27] [PASSED] 38 VFs
[23:26:27] [PASSED] 39 VFs
[23:26:27] [PASSED] 40 VFs
[23:26:27] [PASSED] 41 VFs
[23:26:27] [PASSED] 42 VFs
[23:26:27] [PASSED] 43 VFs
[23:26:27] [PASSED] 44 VFs
[23:26:27] [PASSED] 45 VFs
[23:26:27] [PASSED] 46 VFs
[23:26:27] [PASSED] 47 VFs
[23:26:27] [PASSED] 48 VFs
[23:26:27] [PASSED] 49 VFs
[23:26:27] [PASSED] 50 VFs
[23:26:27] [PASSED] 51 VFs
[23:26:27] [PASSED] 52 VFs
[23:26:27] [PASSED] 53 VFs
[23:26:27] [PASSED] 54 VFs
[23:26:27] [PASSED] 55 VFs
[23:26:27] [PASSED] 56 VFs
[23:26:27] [PASSED] 57 VFs
[23:26:27] [PASSED] 58 VFs
[23:26:27] [PASSED] 59 VFs
[23:26:27] [PASSED] 60 VFs
[23:26:27] [PASSED] 61 VFs
[23:26:27] [PASSED] 62 VFs
[23:26:27] [PASSED] 63 VFs
[23:26:27] ==================== [PASSED] fair_vram ====================
[23:26:27] ================== [PASSED] pf_gt_config ===================
[23:26:27] ===================== lmtt (1 subtest) =====================
[23:26:27] ======================== test_ops  =========================
[23:26:27] [PASSED] 2-level
[23:26:27] [PASSED] multi-level
[23:26:27] ==================== [PASSED] test_ops =====================
[23:26:27] ====================== [PASSED] lmtt =======================
[23:26:27] ================= pf_service (11 subtests) =================
[23:26:27] [PASSED] pf_negotiate_any
[23:26:27] [PASSED] pf_negotiate_base_match
[23:26:27] [PASSED] pf_negotiate_base_newer
[23:26:27] [PASSED] pf_negotiate_base_next
[23:26:27] [SKIPPED] pf_negotiate_base_older
[23:26:27] [PASSED] pf_negotiate_base_prev
[23:26:27] [PASSED] pf_negotiate_latest_match
[23:26:27] [PASSED] pf_negotiate_latest_newer
[23:26:27] [PASSED] pf_negotiate_latest_next
[23:26:27] [SKIPPED] pf_negotiate_latest_older
[23:26:27] [SKIPPED] pf_negotiate_latest_prev
[23:26:27] =================== [PASSED] pf_service ====================
[23:26:27] ================= xe_guc_g2g (2 subtests) ==================
[23:26:27] ============== xe_live_guc_g2g_kunit_default  ==============
[23:26:27] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[23:26:27] ============== xe_live_guc_g2g_kunit_allmem  ===============
[23:26:27] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[23:26:27] =================== [SKIPPED] xe_guc_g2g ===================
[23:26:27] =================== xe_mocs (2 subtests) ===================
[23:26:27] ================ xe_live_mocs_kernel_kunit  ================
[23:26:27] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[23:26:27] ================ xe_live_mocs_reset_kunit  =================
[23:26:27] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[23:26:27] ==================== [SKIPPED] xe_mocs =====================
[23:26:27] ================= xe_migrate (2 subtests) ==================
[23:26:27] ================= xe_migrate_sanity_kunit  =================
[23:26:27] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[23:26:27] ================== xe_validate_ccs_kunit  ==================
[23:26:27] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[23:26:27] =================== [SKIPPED] xe_migrate ===================
[23:26:27] ================== xe_dma_buf (1 subtest) ==================
[23:26:27] ==================== xe_dma_buf_kunit  =====================
[23:26:27] ================ [SKIPPED] xe_dma_buf_kunit ================
[23:26:27] =================== [SKIPPED] xe_dma_buf ===================
[23:26:27] ================= xe_bo_shrink (1 subtest) =================
[23:26:27] =================== xe_bo_shrink_kunit  ====================
[23:26:27] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[23:26:27] ================== [SKIPPED] xe_bo_shrink ==================
[23:26:27] ==================== xe_bo (2 subtests) ====================
[23:26:27] ================== xe_ccs_migrate_kunit  ===================
[23:26:27] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[23:26:27] ==================== xe_bo_evict_kunit  ====================
[23:26:27] =============== [SKIPPED] xe_bo_evict_kunit ================
[23:26:27] ===================== [SKIPPED] xe_bo ======================
[23:26:27] ==================== args (13 subtests) ====================
[23:26:27] [PASSED] count_args_test
[23:26:27] [PASSED] call_args_example
[23:26:27] [PASSED] call_args_test
[23:26:27] [PASSED] drop_first_arg_example
[23:26:27] [PASSED] drop_first_arg_test
[23:26:27] [PASSED] first_arg_example
[23:26:27] [PASSED] first_arg_test
[23:26:27] [PASSED] last_arg_example
[23:26:27] [PASSED] last_arg_test
[23:26:27] [PASSED] pick_arg_example
[23:26:27] [PASSED] if_args_example
[23:26:27] [PASSED] if_args_test
[23:26:27] [PASSED] sep_comma_example
[23:26:27] ====================== [PASSED] args =======================
[23:26:27] =================== xe_pci (3 subtests) ====================
[23:26:27] ==================== check_graphics_ip  ====================
[23:26:27] [PASSED] 12.00 Xe_LP
[23:26:27] [PASSED] 12.10 Xe_LP+
[23:26:27] [PASSED] 12.55 Xe_HPG
[23:26:27] [PASSED] 12.60 Xe_HPC
[23:26:27] [PASSED] 12.70 Xe_LPG
[23:26:27] [PASSED] 12.71 Xe_LPG
[23:26:27] [PASSED] 12.74 Xe_LPG+
[23:26:27] [PASSED] 20.01 Xe2_HPG
[23:26:27] [PASSED] 20.02 Xe2_HPG
[23:26:27] [PASSED] 20.04 Xe2_LPG
[23:26:27] [PASSED] 30.00 Xe3_LPG
[23:26:27] [PASSED] 30.01 Xe3_LPG
[23:26:27] [PASSED] 30.03 Xe3_LPG
[23:26:27] [PASSED] 30.04 Xe3_LPG
[23:26:27] [PASSED] 30.05 Xe3_LPG
[23:26:27] [PASSED] 35.10 Xe3p_LPG
[23:26:27] [PASSED] 35.11 Xe3p_XPC
[23:26:27] ================ [PASSED] check_graphics_ip ================
[23:26:27] ===================== check_media_ip  ======================
[23:26:27] [PASSED] 12.00 Xe_M
[23:26:27] [PASSED] 12.55 Xe_HPM
[23:26:27] [PASSED] 13.00 Xe_LPM+
[23:26:27] [PASSED] 13.01 Xe2_HPM
[23:26:27] [PASSED] 20.00 Xe2_LPM
[23:26:27] [PASSED] 30.00 Xe3_LPM
[23:26:27] [PASSED] 30.02 Xe3_LPM
[23:26:27] [PASSED] 35.00 Xe3p_LPM
[23:26:27] [PASSED] 35.03 Xe3p_HPM
[23:26:27] ================= [PASSED] check_media_ip ==================
[23:26:27] =================== check_platform_desc  ===================
[23:26:27] [PASSED] 0x9A60 (TIGERLAKE)
[23:26:27] [PASSED] 0x9A68 (TIGERLAKE)
[23:26:27] [PASSED] 0x9A70 (TIGERLAKE)
[23:26:27] [PASSED] 0x9A40 (TIGERLAKE)
[23:26:27] [PASSED] 0x9A49 (TIGERLAKE)
[23:26:27] [PASSED] 0x9A59 (TIGERLAKE)
[23:26:27] [PASSED] 0x9A78 (TIGERLAKE)
[23:26:27] [PASSED] 0x9AC0 (TIGERLAKE)
[23:26:27] [PASSED] 0x9AC9 (TIGERLAKE)
[23:26:27] [PASSED] 0x9AD9 (TIGERLAKE)
[23:26:27] [PASSED] 0x9AF8 (TIGERLAKE)
[23:26:27] [PASSED] 0x4C80 (ROCKETLAKE)
[23:26:27] [PASSED] 0x4C8A (ROCKETLAKE)
[23:26:27] [PASSED] 0x4C8B (ROCKETLAKE)
[23:26:27] [PASSED] 0x4C8C (ROCKETLAKE)
[23:26:27] [PASSED] 0x4C90 (ROCKETLAKE)
[23:26:27] [PASSED] 0x4C9A (ROCKETLAKE)
[23:26:27] [PASSED] 0x4680 (ALDERLAKE_S)
[23:26:27] [PASSED] 0x4682 (ALDERLAKE_S)
[23:26:27] [PASSED] 0x4688 (ALDERLAKE_S)
[23:26:27] [PASSED] 0x468A (ALDERLAKE_S)
[23:26:27] [PASSED] 0x468B (ALDERLAKE_S)
[23:26:27] [PASSED] 0x4690 (ALDERLAKE_S)
[23:26:27] [PASSED] 0x4692 (ALDERLAKE_S)
[23:26:27] [PASSED] 0x4693 (ALDERLAKE_S)
[23:26:27] [PASSED] 0x46A0 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46A1 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46A2 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46A3 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46A6 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46A8 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46AA (ALDERLAKE_P)
[23:26:27] [PASSED] 0x462A (ALDERLAKE_P)
[23:26:27] [PASSED] 0x4626 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x4628 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46B0 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46B1 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46B2 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46B3 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46C0 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46C1 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46C2 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46C3 (ALDERLAKE_P)
[23:26:27] [PASSED] 0x46D0 (ALDERLAKE_N)
[23:26:27] [PASSED] 0x46D1 (ALDERLAKE_N)
[23:26:27] [PASSED] 0x46D2 (ALDERLAKE_N)
[23:26:27] [PASSED] 0x46D3 (ALDERLAKE_N)
[23:26:27] [PASSED] 0x46D4 (ALDERLAKE_N)
[23:26:27] [PASSED] 0xA721 (ALDERLAKE_P)
[23:26:27] [PASSED] 0xA7A1 (ALDERLAKE_P)
[23:26:27] [PASSED] 0xA7A9 (ALDERLAKE_P)
[23:26:27] [PASSED] 0xA7AC (ALDERLAKE_P)
[23:26:27] [PASSED] 0xA7AD (ALDERLAKE_P)
[23:26:27] [PASSED] 0xA720 (ALDERLAKE_P)
[23:26:27] [PASSED] 0xA7A0 (ALDERLAKE_P)
[23:26:27] [PASSED] 0xA7A8 (ALDERLAKE_P)
[23:26:27] [PASSED] 0xA7AA (ALDERLAKE_P)
[23:26:27] [PASSED] 0xA7AB (ALDERLAKE_P)
[23:26:27] [PASSED] 0xA780 (ALDERLAKE_S)
[23:26:27] [PASSED] 0xA781 (ALDERLAKE_S)
[23:26:27] [PASSED] 0xA782 (ALDERLAKE_S)
[23:26:27] [PASSED] 0xA783 (ALDERLAKE_S)
[23:26:27] [PASSED] 0xA788 (ALDERLAKE_S)
[23:26:27] [PASSED] 0xA789 (ALDERLAKE_S)
[23:26:27] [PASSED] 0xA78A (ALDERLAKE_S)
[23:26:27] [PASSED] 0xA78B (ALDERLAKE_S)
[23:26:27] [PASSED] 0x4905 (DG1)
[23:26:27] [PASSED] 0x4906 (DG1)
[23:26:27] [PASSED] 0x4907 (DG1)
[23:26:27] [PASSED] 0x4908 (DG1)
[23:26:27] [PASSED] 0x4909 (DG1)
[23:26:27] [PASSED] 0x56C0 (DG2)
[23:26:27] [PASSED] 0x56C2 (DG2)
[23:26:27] [PASSED] 0x56C1 (DG2)
[23:26:27] [PASSED] 0x7D51 (METEORLAKE)
[23:26:27] [PASSED] 0x7DD1 (METEORLAKE)
[23:26:27] [PASSED] 0x7D41 (METEORLAKE)
[23:26:27] [PASSED] 0x7D67 (METEORLAKE)
[23:26:27] [PASSED] 0xB640 (METEORLAKE)
[23:26:27] [PASSED] 0x56A0 (DG2)
[23:26:27] [PASSED] 0x56A1 (DG2)
[23:26:27] [PASSED] 0x56A2 (DG2)
[23:26:27] [PASSED] 0x56BE (DG2)
[23:26:27] [PASSED] 0x56BF (DG2)
[23:26:27] [PASSED] 0x5690 (DG2)
[23:26:27] [PASSED] 0x5691 (DG2)
[23:26:27] [PASSED] 0x5692 (DG2)
[23:26:27] [PASSED] 0x56A5 (DG2)
[23:26:27] [PASSED] 0x56A6 (DG2)
[23:26:27] [PASSED] 0x56B0 (DG2)
[23:26:27] [PASSED] 0x56B1 (DG2)
[23:26:27] [PASSED] 0x56BA (DG2)
[23:26:27] [PASSED] 0x56BB (DG2)
[23:26:27] [PASSED] 0x56BC (DG2)
[23:26:27] [PASSED] 0x56BD (DG2)
[23:26:27] [PASSED] 0x5693 (DG2)
[23:26:27] [PASSED] 0x5694 (DG2)
[23:26:27] [PASSED] 0x5695 (DG2)
[23:26:27] [PASSED] 0x56A3 (DG2)
[23:26:27] [PASSED] 0x56A4 (DG2)
[23:26:27] [PASSED] 0x56B2 (DG2)
[23:26:27] [PASSED] 0x56B3 (DG2)
[23:26:27] [PASSED] 0x5696 (DG2)
[23:26:27] [PASSED] 0x5697 (DG2)
[23:26:27] [PASSED] 0xB69 (PVC)
[23:26:27] [PASSED] 0xB6E (PVC)
[23:26:27] [PASSED] 0xBD4 (PVC)
[23:26:27] [PASSED] 0xBD5 (PVC)
[23:26:27] [PASSED] 0xBD6 (PVC)
[23:26:27] [PASSED] 0xBD7 (PVC)
[23:26:27] [PASSED] 0xBD8 (PVC)
[23:26:27] [PASSED] 0xBD9 (PVC)
[23:26:27] [PASSED] 0xBDA (PVC)
[23:26:27] [PASSED] 0xBDB (PVC)
[23:26:27] [PASSED] 0xBE0 (PVC)
[23:26:27] [PASSED] 0xBE1 (PVC)
[23:26:27] [PASSED] 0xBE5 (PVC)
[23:26:27] [PASSED] 0x7D40 (METEORLAKE)
[23:26:27] [PASSED] 0x7D45 (METEORLAKE)
[23:26:27] [PASSED] 0x7D55 (METEORLAKE)
[23:26:27] [PASSED] 0x7D60 (METEORLAKE)
[23:26:27] [PASSED] 0x7DD5 (METEORLAKE)
[23:26:27] [PASSED] 0x6420 (LUNARLAKE)
[23:26:27] [PASSED] 0x64A0 (LUNARLAKE)
[23:26:27] [PASSED] 0x64B0 (LUNARLAKE)
[23:26:27] [PASSED] 0xE202 (BATTLEMAGE)
[23:26:27] [PASSED] 0xE209 (BATTLEMAGE)
[23:26:27] [PASSED] 0xE20B (BATTLEMAGE)
[23:26:27] [PASSED] 0xE20C (BATTLEMAGE)
[23:26:27] [PASSED] 0xE20D (BATTLEMAGE)
[23:26:27] [PASSED] 0xE210 (BATTLEMAGE)
[23:26:27] [PASSED] 0xE211 (BATTLEMAGE)
[23:26:27] [PASSED] 0xE212 (BATTLEMAGE)
[23:26:27] [PASSED] 0xE216 (BATTLEMAGE)
[23:26:27] [PASSED] 0xE220 (BATTLEMAGE)
[23:26:27] [PASSED] 0xE221 (BATTLEMAGE)
[23:26:27] [PASSED] 0xE222 (BATTLEMAGE)
[23:26:27] [PASSED] 0xE223 (BATTLEMAGE)
[23:26:27] [PASSED] 0xB080 (PANTHERLAKE)
[23:26:27] [PASSED] 0xB081 (PANTHERLAKE)
[23:26:27] [PASSED] 0xB082 (PANTHERLAKE)
[23:26:27] [PASSED] 0xB083 (PANTHERLAKE)
[23:26:27] [PASSED] 0xB084 (PANTHERLAKE)
[23:26:27] [PASSED] 0xB085 (PANTHERLAKE)
[23:26:27] [PASSED] 0xB086 (PANTHERLAKE)
[23:26:27] [PASSED] 0xB087 (PANTHERLAKE)
[23:26:27] [PASSED] 0xB08F (PANTHERLAKE)
[23:26:27] [PASSED] 0xB090 (PANTHERLAKE)
[23:26:27] [PASSED] 0xB0A0 (PANTHERLAKE)
[23:26:27] [PASSED] 0xB0B0 (PANTHERLAKE)
[23:26:27] [PASSED] 0xFD80 (PANTHERLAKE)
[23:26:27] [PASSED] 0xFD81 (PANTHERLAKE)
[23:26:27] [PASSED] 0xD740 (NOVALAKE_S)
[23:26:27] [PASSED] 0xD741 (NOVALAKE_S)
[23:26:27] [PASSED] 0xD742 (NOVALAKE_S)
[23:26:27] [PASSED] 0xD743 (NOVALAKE_S)
[23:26:27] [PASSED] 0xD744 (NOVALAKE_S)
[23:26:27] [PASSED] 0xD745 (NOVALAKE_S)
[23:26:27] [PASSED] 0x674C (CRESCENTISLAND)
[23:26:27] [PASSED] 0xD750 (NOVALAKE_P)
[23:26:27] [PASSED] 0xD751 (NOVALAKE_P)
[23:26:27] [PASSED] 0xD752 (NOVALAKE_P)
[23:26:27] [PASSED] 0xD753 (NOVALAKE_P)
[23:26:27] [PASSED] 0xD754 (NOVALAKE_P)
[23:26:27] [PASSED] 0xD755 (NOVALAKE_P)
[23:26:27] [PASSED] 0xD756 (NOVALAKE_P)
[23:26:27] [PASSED] 0xD757 (NOVALAKE_P)
[23:26:27] [PASSED] 0xD75F (NOVALAKE_P)
[23:26:27] =============== [PASSED] check_platform_desc ===============
[23:26:27] ===================== [PASSED] xe_pci ======================
[23:26:27] =================== xe_rtp (2 subtests) ====================
[23:26:27] =============== xe_rtp_process_to_sr_tests  ================
[23:26:27] [PASSED] coalesce-same-reg
[23:26:27] [PASSED] no-match-no-add
[23:26:27] [PASSED] match-or
[23:26:27] [PASSED] match-or-xfail
[23:26:27] [PASSED] no-match-no-add-multiple-rules
[23:26:27] [PASSED] two-regs-two-entries
[23:26:27] [PASSED] clr-one-set-other
[23:26:27] [PASSED] set-field
[23:26:27] [PASSED] conflict-duplicate
stty: 'standard input': Inappropriate ioctl for device
[23:26:27] [PASSED] conflict-not-disjoint
[23:26:27] [PASSED] conflict-reg-type
[23:26:27] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[23:26:27] ================== xe_rtp_process_tests  ===================
[23:26:27] [PASSED] active1
[23:26:27] [PASSED] active2
[23:26:27] [PASSED] active-inactive
[23:26:27] [PASSED] inactive-active
[23:26:27] [PASSED] inactive-1st_or_active-inactive
[23:26:27] [PASSED] inactive-2nd_or_active-inactive
[23:26:27] [PASSED] inactive-last_or_active-inactive
[23:26:27] [PASSED] inactive-no_or_active-inactive
[23:26:27] ============== [PASSED] xe_rtp_process_tests ===============
[23:26:27] ===================== [PASSED] xe_rtp ======================
[23:26:27] ==================== xe_wa (1 subtest) =====================
[23:26:27] ======================== xe_wa_gt  =========================
[23:26:27] [PASSED] TIGERLAKE B0
[23:26:27] [PASSED] DG1 A0
[23:26:27] [PASSED] DG1 B0
[23:26:27] [PASSED] ALDERLAKE_S A0
[23:26:27] [PASSED] ALDERLAKE_S B0
[23:26:27] [PASSED] ALDERLAKE_S C0
[23:26:27] [PASSED] ALDERLAKE_S D0
[23:26:27] [PASSED] ALDERLAKE_P A0
[23:26:27] [PASSED] ALDERLAKE_P B0
[23:26:27] [PASSED] ALDERLAKE_P C0
[23:26:27] [PASSED] ALDERLAKE_S RPLS D0
[23:26:27] [PASSED] ALDERLAKE_P RPLU E0
[23:26:27] [PASSED] DG2 G10 C0
[23:26:27] [PASSED] DG2 G11 B1
[23:26:27] [PASSED] DG2 G12 A1
[23:26:27] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[23:26:27] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[23:26:27] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[23:26:27] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[23:26:27] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[23:26:27] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[23:26:27] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[23:26:27] ==================== [PASSED] xe_wa_gt =====================
[23:26:27] ====================== [PASSED] xe_wa ======================
[23:26:27] ============================================================
[23:26:27] Testing complete. Ran 597 tests: passed: 579, skipped: 18
[23:26:27] Elapsed time: 35.442s total, 4.191s configuring, 30.634s building, 0.610s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [23:26:27] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[23:26:29] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[23:26:53] Starting KUnit Kernel (1/1)...
[23:26:53] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[23:26:53] ============ drm_test_pick_cmdline (2 subtests) ============
[23:26:53] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[23:26:53] =============== drm_test_pick_cmdline_named  ===============
[23:26:53] [PASSED] NTSC
[23:26:53] [PASSED] NTSC-J
[23:26:53] [PASSED] PAL
[23:26:53] [PASSED] PAL-M
[23:26:53] =========== [PASSED] drm_test_pick_cmdline_named ===========
[23:26:53] ============== [PASSED] drm_test_pick_cmdline ==============
[23:26:53] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[23:26:53] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[23:26:53] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[23:26:53] =========== drm_validate_clone_mode (2 subtests) ===========
[23:26:53] ============== drm_test_check_in_clone_mode  ===============
[23:26:53] [PASSED] in_clone_mode
[23:26:53] [PASSED] not_in_clone_mode
[23:26:53] ========== [PASSED] drm_test_check_in_clone_mode ===========
[23:26:53] =============== drm_test_check_valid_clones  ===============
[23:26:53] [PASSED] not_in_clone_mode
[23:26:53] [PASSED] valid_clone
[23:26:53] [PASSED] invalid_clone
[23:26:53] =========== [PASSED] drm_test_check_valid_clones ===========
[23:26:53] ============= [PASSED] drm_validate_clone_mode =============
[23:26:53] ============= drm_validate_modeset (1 subtest) =============
[23:26:53] [PASSED] drm_test_check_connector_changed_modeset
[23:26:53] ============== [PASSED] drm_validate_modeset ===============
[23:26:53] ====== drm_test_bridge_get_current_state (2 subtests) ======
[23:26:53] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[23:26:53] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[23:26:53] ======== [PASSED] drm_test_bridge_get_current_state ========
[23:26:53] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[23:26:53] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[23:26:53] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[23:26:53] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[23:26:53] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[23:26:53] ============== drm_bridge_alloc (2 subtests) ===============
[23:26:53] [PASSED] drm_test_drm_bridge_alloc_basic
[23:26:53] [PASSED] drm_test_drm_bridge_alloc_get_put
[23:26:53] ================ [PASSED] drm_bridge_alloc =================
[23:26:53] ============= drm_cmdline_parser (40 subtests) =============
[23:26:53] [PASSED] drm_test_cmdline_force_d_only
[23:26:53] [PASSED] drm_test_cmdline_force_D_only_dvi
[23:26:53] [PASSED] drm_test_cmdline_force_D_only_hdmi
[23:26:53] [PASSED] drm_test_cmdline_force_D_only_not_digital
[23:26:53] [PASSED] drm_test_cmdline_force_e_only
[23:26:53] [PASSED] drm_test_cmdline_res
[23:26:53] [PASSED] drm_test_cmdline_res_vesa
[23:26:53] [PASSED] drm_test_cmdline_res_vesa_rblank
[23:26:53] [PASSED] drm_test_cmdline_res_rblank
[23:26:53] [PASSED] drm_test_cmdline_res_bpp
[23:26:53] [PASSED] drm_test_cmdline_res_refresh
[23:26:53] [PASSED] drm_test_cmdline_res_bpp_refresh
[23:26:53] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[23:26:53] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[23:26:53] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[23:26:53] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[23:26:53] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[23:26:53] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[23:26:53] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[23:26:53] [PASSED] drm_test_cmdline_res_margins_force_on
[23:26:53] [PASSED] drm_test_cmdline_res_vesa_margins
[23:26:53] [PASSED] drm_test_cmdline_name
[23:26:53] [PASSED] drm_test_cmdline_name_bpp
[23:26:53] [PASSED] drm_test_cmdline_name_option
[23:26:53] [PASSED] drm_test_cmdline_name_bpp_option
[23:26:53] [PASSED] drm_test_cmdline_rotate_0
[23:26:53] [PASSED] drm_test_cmdline_rotate_90
[23:26:53] [PASSED] drm_test_cmdline_rotate_180
[23:26:53] [PASSED] drm_test_cmdline_rotate_270
[23:26:53] [PASSED] drm_test_cmdline_hmirror
[23:26:53] [PASSED] drm_test_cmdline_vmirror
[23:26:53] [PASSED] drm_test_cmdline_margin_options
[23:26:53] [PASSED] drm_test_cmdline_multiple_options
[23:26:53] [PASSED] drm_test_cmdline_bpp_extra_and_option
[23:26:53] [PASSED] drm_test_cmdline_extra_and_option
[23:26:53] [PASSED] drm_test_cmdline_freestanding_options
[23:26:53] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[23:26:53] [PASSED] drm_test_cmdline_panel_orientation
[23:26:53] ================ drm_test_cmdline_invalid  =================
[23:26:53] [PASSED] margin_only
[23:26:53] [PASSED] interlace_only
[23:26:53] [PASSED] res_missing_x
[23:26:53] [PASSED] res_missing_y
[23:26:53] [PASSED] res_bad_y
[23:26:53] [PASSED] res_missing_y_bpp
[23:26:53] [PASSED] res_bad_bpp
[23:26:53] [PASSED] res_bad_refresh
[23:26:53] [PASSED] res_bpp_refresh_force_on_off
[23:26:53] [PASSED] res_invalid_mode
[23:26:53] [PASSED] res_bpp_wrong_place_mode
[23:26:53] [PASSED] name_bpp_refresh
[23:26:53] [PASSED] name_refresh
[23:26:53] [PASSED] name_refresh_wrong_mode
[23:26:53] [PASSED] name_refresh_invalid_mode
[23:26:53] [PASSED] rotate_multiple
[23:26:53] [PASSED] rotate_invalid_val
[23:26:53] [PASSED] rotate_truncated
[23:26:53] [PASSED] invalid_option
[23:26:53] [PASSED] invalid_tv_option
[23:26:53] [PASSED] truncated_tv_option
[23:26:53] ============ [PASSED] drm_test_cmdline_invalid =============
[23:26:53] =============== drm_test_cmdline_tv_options  ===============
[23:26:53] [PASSED] NTSC
[23:26:53] [PASSED] NTSC_443
[23:26:53] [PASSED] NTSC_J
[23:26:53] [PASSED] PAL
[23:26:53] [PASSED] PAL_M
[23:26:53] [PASSED] PAL_N
[23:26:53] [PASSED] SECAM
[23:26:53] [PASSED] MONO_525
[23:26:53] [PASSED] MONO_625
[23:26:53] =========== [PASSED] drm_test_cmdline_tv_options ===========
[23:26:53] =============== [PASSED] drm_cmdline_parser ================
[23:26:53] ========== drmm_connector_hdmi_init (20 subtests) ==========
[23:26:53] [PASSED] drm_test_connector_hdmi_init_valid
[23:26:53] [PASSED] drm_test_connector_hdmi_init_bpc_8
[23:26:53] [PASSED] drm_test_connector_hdmi_init_bpc_10
[23:26:53] [PASSED] drm_test_connector_hdmi_init_bpc_12
[23:26:53] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[23:26:53] [PASSED] drm_test_connector_hdmi_init_bpc_null
[23:26:53] [PASSED] drm_test_connector_hdmi_init_formats_empty
[23:26:53] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[23:26:53] === drm_test_connector_hdmi_init_formats_yuv420_allowed  ===
[23:26:53] [PASSED] supported_formats=0x9 yuv420_allowed=1
[23:26:53] [PASSED] supported_formats=0x9 yuv420_allowed=0
[23:26:53] [PASSED] supported_formats=0x5 yuv420_allowed=1
[23:26:53] [PASSED] supported_formats=0x5 yuv420_allowed=0
[23:26:53] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[23:26:53] [PASSED] drm_test_connector_hdmi_init_null_ddc
[23:26:53] [PASSED] drm_test_connector_hdmi_init_null_product
[23:26:53] [PASSED] drm_test_connector_hdmi_init_null_vendor
[23:26:53] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[23:26:53] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[23:26:53] [PASSED] drm_test_connector_hdmi_init_product_valid
[23:26:53] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[23:26:53] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[23:26:53] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[23:26:53] ========= drm_test_connector_hdmi_init_type_valid  =========
[23:26:53] [PASSED] HDMI-A
[23:26:53] [PASSED] HDMI-B
[23:26:53] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[23:26:53] ======== drm_test_connector_hdmi_init_type_invalid  ========
[23:26:53] [PASSED] Unknown
[23:26:53] [PASSED] VGA
[23:26:53] [PASSED] DVI-I
[23:26:53] [PASSED] DVI-D
[23:26:53] [PASSED] DVI-A
[23:26:53] [PASSED] Composite
[23:26:53] [PASSED] SVIDEO
[23:26:53] [PASSED] LVDS
[23:26:53] [PASSED] Component
[23:26:53] [PASSED] DIN
[23:26:53] [PASSED] DP
[23:26:53] [PASSED] TV
[23:26:53] [PASSED] eDP
[23:26:53] [PASSED] Virtual
[23:26:53] [PASSED] DSI
[23:26:53] [PASSED] DPI
[23:26:53] [PASSED] Writeback
[23:26:53] [PASSED] SPI
[23:26:53] [PASSED] USB
[23:26:53] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[23:26:53] ============ [PASSED] drmm_connector_hdmi_init =============
[23:26:53] ============= drmm_connector_init (3 subtests) =============
[23:26:53] [PASSED] drm_test_drmm_connector_init
[23:26:53] [PASSED] drm_test_drmm_connector_init_null_ddc
[23:26:53] ========= drm_test_drmm_connector_init_type_valid  =========
[23:26:53] [PASSED] Unknown
[23:26:53] [PASSED] VGA
[23:26:53] [PASSED] DVI-I
[23:26:53] [PASSED] DVI-D
[23:26:53] [PASSED] DVI-A
[23:26:53] [PASSED] Composite
[23:26:53] [PASSED] SVIDEO
[23:26:53] [PASSED] LVDS
[23:26:53] [PASSED] Component
[23:26:53] [PASSED] DIN
[23:26:53] [PASSED] DP
[23:26:53] [PASSED] HDMI-A
[23:26:53] [PASSED] HDMI-B
[23:26:53] [PASSED] TV
[23:26:53] [PASSED] eDP
[23:26:53] [PASSED] Virtual
[23:26:53] [PASSED] DSI
[23:26:53] [PASSED] DPI
[23:26:53] [PASSED] Writeback
[23:26:53] [PASSED] SPI
[23:26:53] [PASSED] USB
[23:26:53] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[23:26:53] =============== [PASSED] drmm_connector_init ===============
[23:26:53] ========= drm_connector_dynamic_init (6 subtests) ==========
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_init
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_init_properties
[23:26:53] ===== drm_test_drm_connector_dynamic_init_type_valid  ======
[23:26:53] [PASSED] Unknown
[23:26:53] [PASSED] VGA
[23:26:53] [PASSED] DVI-I
[23:26:53] [PASSED] DVI-D
[23:26:53] [PASSED] DVI-A
[23:26:53] [PASSED] Composite
[23:26:53] [PASSED] SVIDEO
[23:26:53] [PASSED] LVDS
[23:26:53] [PASSED] Component
[23:26:53] [PASSED] DIN
[23:26:53] [PASSED] DP
[23:26:53] [PASSED] HDMI-A
[23:26:53] [PASSED] HDMI-B
[23:26:53] [PASSED] TV
[23:26:53] [PASSED] eDP
[23:26:53] [PASSED] Virtual
[23:26:53] [PASSED] DSI
[23:26:53] [PASSED] DPI
[23:26:53] [PASSED] Writeback
[23:26:53] [PASSED] SPI
[23:26:53] [PASSED] USB
[23:26:53] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[23:26:53] ======== drm_test_drm_connector_dynamic_init_name  =========
[23:26:53] [PASSED] Unknown
[23:26:53] [PASSED] VGA
[23:26:53] [PASSED] DVI-I
[23:26:53] [PASSED] DVI-D
[23:26:53] [PASSED] DVI-A
[23:26:53] [PASSED] Composite
[23:26:53] [PASSED] SVIDEO
[23:26:53] [PASSED] LVDS
[23:26:53] [PASSED] Component
[23:26:53] [PASSED] DIN
[23:26:53] [PASSED] DP
[23:26:53] [PASSED] HDMI-A
[23:26:53] [PASSED] HDMI-B
[23:26:53] [PASSED] TV
[23:26:53] [PASSED] eDP
[23:26:53] [PASSED] Virtual
[23:26:53] [PASSED] DSI
[23:26:53] [PASSED] DPI
[23:26:53] [PASSED] Writeback
[23:26:53] [PASSED] SPI
[23:26:53] [PASSED] USB
[23:26:53] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[23:26:53] =========== [PASSED] drm_connector_dynamic_init ============
[23:26:53] ==== drm_connector_dynamic_register_early (4 subtests) =====
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[23:26:53] ====== [PASSED] drm_connector_dynamic_register_early =======
[23:26:53] ======= drm_connector_dynamic_register (7 subtests) ========
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[23:26:53] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[23:26:53] ========= [PASSED] drm_connector_dynamic_register ==========
[23:26:53] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[23:26:53] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[23:26:53] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[23:26:53] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[23:26:53] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[23:26:53] ========== drm_test_get_tv_mode_from_name_valid  ===========
[23:26:53] [PASSED] NTSC
[23:26:53] [PASSED] NTSC-443
[23:26:53] [PASSED] NTSC-J
[23:26:53] [PASSED] PAL
[23:26:53] [PASSED] PAL-M
[23:26:53] [PASSED] PAL-N
[23:26:53] [PASSED] SECAM
[23:26:53] [PASSED] Mono
[23:26:53] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[23:26:53] [PASSED] drm_test_get_tv_mode_from_name_truncated
[23:26:53] ============ [PASSED] drm_get_tv_mode_from_name ============
[23:26:53] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[23:26:53] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[23:26:53] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[23:26:53] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[23:26:53] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[23:26:53] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[23:26:53] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[23:26:53] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid  =
[23:26:53] [PASSED] VIC 96
[23:26:53] [PASSED] VIC 97
[23:26:53] [PASSED] VIC 101
[23:26:53] [PASSED] VIC 102
[23:26:53] [PASSED] VIC 106
[23:26:53] [PASSED] VIC 107
[23:26:53] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[23:26:53] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[23:26:53] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[23:26:53] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[23:26:53] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[23:26:53] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[23:26:53] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[23:26:53] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[23:26:53] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name  ====
[23:26:53] [PASSED] Automatic
[23:26:53] [PASSED] Full
[23:26:53] [PASSED] Limited 16:235
[23:26:53] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[23:26:53] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[23:26:53] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[23:26:53] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[23:26:53] === drm_test_drm_hdmi_connector_get_output_format_name  ====
[23:26:53] [PASSED] RGB
[23:26:53] [PASSED] YUV 4:2:0
[23:26:53] [PASSED] YUV 4:2:2
[23:26:53] [PASSED] YUV 4:4:4
[23:26:53] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[23:26:53] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[23:26:53] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[23:26:53] ============= drm_damage_helper (21 subtests) ==============
[23:26:53] [PASSED] drm_test_damage_iter_no_damage
[23:26:53] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[23:26:53] [PASSED] drm_test_damage_iter_no_damage_src_moved
[23:26:53] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[23:26:53] [PASSED] drm_test_damage_iter_no_damage_not_visible
[23:26:53] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[23:26:53] [PASSED] drm_test_damage_iter_no_damage_no_fb
[23:26:53] [PASSED] drm_test_damage_iter_simple_damage
[23:26:53] [PASSED] drm_test_damage_iter_single_damage
[23:26:53] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[23:26:53] [PASSED] drm_test_damage_iter_single_damage_outside_src
[23:26:53] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[23:26:53] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[23:26:53] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[23:26:53] [PASSED] drm_test_damage_iter_single_damage_src_moved
[23:26:53] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[23:26:53] [PASSED] drm_test_damage_iter_damage
[23:26:53] [PASSED] drm_test_damage_iter_damage_one_intersect
[23:26:53] [PASSED] drm_test_damage_iter_damage_one_outside
[23:26:53] [PASSED] drm_test_damage_iter_damage_src_moved
[23:26:53] [PASSED] drm_test_damage_iter_damage_not_visible
[23:26:53] ================ [PASSED] drm_damage_helper ================
[23:26:53] ============== drm_dp_mst_helper (3 subtests) ==============
[23:26:53] ============== drm_test_dp_mst_calc_pbn_mode  ==============
[23:26:53] [PASSED] Clock 154000 BPP 30 DSC disabled
[23:26:53] [PASSED] Clock 234000 BPP 30 DSC disabled
[23:26:53] [PASSED] Clock 297000 BPP 24 DSC disabled
[23:26:53] [PASSED] Clock 332880 BPP 24 DSC enabled
[23:26:53] [PASSED] Clock 324540 BPP 24 DSC enabled
[23:26:53] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[23:26:53] ============== drm_test_dp_mst_calc_pbn_div  ===============
[23:26:53] [PASSED] Link rate 2000000 lane count 4
[23:26:53] [PASSED] Link rate 2000000 lane count 2
[23:26:53] [PASSED] Link rate 2000000 lane count 1
[23:26:53] [PASSED] Link rate 1350000 lane count 4
[23:26:53] [PASSED] Link rate 1350000 lane count 2
[23:26:53] [PASSED] Link rate 1350000 lane count 1
[23:26:53] [PASSED] Link rate 1000000 lane count 4
[23:26:53] [PASSED] Link rate 1000000 lane count 2
[23:26:53] [PASSED] Link rate 1000000 lane count 1
[23:26:53] [PASSED] Link rate 810000 lane count 4
[23:26:53] [PASSED] Link rate 810000 lane count 2
[23:26:53] [PASSED] Link rate 810000 lane count 1
[23:26:53] [PASSED] Link rate 540000 lane count 4
[23:26:53] [PASSED] Link rate 540000 lane count 2
[23:26:53] [PASSED] Link rate 540000 lane count 1
[23:26:53] [PASSED] Link rate 270000 lane count 4
[23:26:53] [PASSED] Link rate 270000 lane count 2
[23:26:53] [PASSED] Link rate 270000 lane count 1
[23:26:53] [PASSED] Link rate 162000 lane count 4
[23:26:53] [PASSED] Link rate 162000 lane count 2
[23:26:53] [PASSED] Link rate 162000 lane count 1
[23:26:53] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[23:26:53] ========= drm_test_dp_mst_sideband_msg_req_decode  =========
[23:26:53] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[23:26:53] [PASSED] DP_POWER_UP_PHY with port number
[23:26:53] [PASSED] DP_POWER_DOWN_PHY with port number
[23:26:53] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[23:26:53] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[23:26:53] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[23:26:53] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[23:26:53] [PASSED] DP_QUERY_PAYLOAD with port number
[23:26:53] [PASSED] DP_QUERY_PAYLOAD with VCPI
[23:26:53] [PASSED] DP_REMOTE_DPCD_READ with port number
[23:26:53] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[23:26:53] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[23:26:53] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[23:26:53] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[23:26:53] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[23:26:53] [PASSED] DP_REMOTE_I2C_READ with port number
[23:26:53] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[23:26:53] [PASSED] DP_REMOTE_I2C_READ with transactions array
[23:26:53] [PASSED] DP_REMOTE_I2C_WRITE with port number
[23:26:53] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[23:26:53] [PASSED] DP_REMOTE_I2C_WRITE with data array
[23:26:53] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[23:26:53] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[23:26:53] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[23:26:53] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[23:26:53] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[23:26:53] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[23:26:53] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[23:26:53] ================ [PASSED] drm_dp_mst_helper ================
[23:26:53] ================== drm_exec (7 subtests) ===================
[23:26:53] [PASSED] sanitycheck
[23:26:53] [PASSED] test_lock
[23:26:53] [PASSED] test_lock_unlock
[23:26:53] [PASSED] test_duplicates
[23:26:53] [PASSED] test_prepare
[23:26:53] [PASSED] test_prepare_array
[23:26:53] [PASSED] test_multiple_loops
[23:26:53] ==================== [PASSED] drm_exec =====================
[23:26:53] =========== drm_format_helper_test (17 subtests) ===========
[23:26:53] ============== drm_test_fb_xrgb8888_to_gray8  ==============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[23:26:53] ============= drm_test_fb_xrgb8888_to_rgb332  ==============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[23:26:53] ============= drm_test_fb_xrgb8888_to_rgb565  ==============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[23:26:53] ============ drm_test_fb_xrgb8888_to_xrgb1555  =============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[23:26:53] ============ drm_test_fb_xrgb8888_to_argb1555  =============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[23:26:53] ============ drm_test_fb_xrgb8888_to_rgba5551  =============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[23:26:53] ============= drm_test_fb_xrgb8888_to_rgb888  ==============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[23:26:53] ============= drm_test_fb_xrgb8888_to_bgr888  ==============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[23:26:53] ============ drm_test_fb_xrgb8888_to_argb8888  =============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[23:26:53] =========== drm_test_fb_xrgb8888_to_xrgb2101010  ===========
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[23:26:53] =========== drm_test_fb_xrgb8888_to_argb2101010  ===========
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[23:26:53] ============== drm_test_fb_xrgb8888_to_mono  ===============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[23:26:53] ==================== drm_test_fb_swab  =====================
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ================ [PASSED] drm_test_fb_swab =================
[23:26:53] ============ drm_test_fb_xrgb8888_to_xbgr8888  =============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[23:26:53] ============ drm_test_fb_xrgb8888_to_abgr8888  =============
[23:26:53] [PASSED] single_pixel_source_buffer
[23:26:53] [PASSED] single_pixel_clip_rectangle
[23:26:53] [PASSED] well_known_colors
[23:26:53] [PASSED] destination_pitch
[23:26:53] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[23:26:53] ================= drm_test_fb_clip_offset  =================
[23:26:53] [PASSED] pass through
[23:26:53] [PASSED] horizontal offset
[23:26:53] [PASSED] vertical offset
[23:26:53] [PASSED] horizontal and vertical offset
[23:26:53] [PASSED] horizontal offset (custom pitch)
[23:26:53] [PASSED] vertical offset (custom pitch)
[23:26:53] [PASSED] horizontal and vertical offset (custom pitch)
[23:26:53] ============= [PASSED] drm_test_fb_clip_offset =============
[23:26:53] =================== drm_test_fb_memcpy  ====================
[23:26:53] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[23:26:53] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[23:26:53] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[23:26:53] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[23:26:53] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[23:26:53] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[23:26:53] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[23:26:53] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[23:26:53] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[23:26:53] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[23:26:53] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[23:26:53] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[23:26:53] =============== [PASSED] drm_test_fb_memcpy ================
[23:26:53] ============= [PASSED] drm_format_helper_test ==============
[23:26:53] ================= drm_format (18 subtests) =================
[23:26:53] [PASSED] drm_test_format_block_width_invalid
[23:26:53] [PASSED] drm_test_format_block_width_one_plane
[23:26:53] [PASSED] drm_test_format_block_width_two_plane
[23:26:53] [PASSED] drm_test_format_block_width_three_plane
[23:26:53] [PASSED] drm_test_format_block_width_tiled
[23:26:53] [PASSED] drm_test_format_block_height_invalid
[23:26:53] [PASSED] drm_test_format_block_height_one_plane
[23:26:53] [PASSED] drm_test_format_block_height_two_plane
[23:26:53] [PASSED] drm_test_format_block_height_three_plane
[23:26:53] [PASSED] drm_test_format_block_height_tiled
[23:26:53] [PASSED] drm_test_format_min_pitch_invalid
[23:26:53] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[23:26:53] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[23:26:53] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[23:26:53] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[23:26:53] [PASSED] drm_test_format_min_pitch_two_plane
[23:26:53] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[23:26:53] [PASSED] drm_test_format_min_pitch_tiled
[23:26:53] =================== [PASSED] drm_format ====================
[23:26:53] ============== drm_framebuffer (10 subtests) ===============
[23:26:53] ========== drm_test_framebuffer_check_src_coords  ==========
[23:26:53] [PASSED] Success: source fits into fb
[23:26:53] [PASSED] Fail: overflowing fb with x-axis coordinate
[23:26:53] [PASSED] Fail: overflowing fb with y-axis coordinate
[23:26:53] [PASSED] Fail: overflowing fb with source width
[23:26:53] [PASSED] Fail: overflowing fb with source height
[23:26:53] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[23:26:53] [PASSED] drm_test_framebuffer_cleanup
[23:26:53] =============== drm_test_framebuffer_create  ===============
[23:26:53] [PASSED] ABGR8888 normal sizes
[23:26:53] [PASSED] ABGR8888 max sizes
[23:26:53] [PASSED] ABGR8888 pitch greater than min required
[23:26:53] [PASSED] ABGR8888 pitch less than min required
[23:26:53] [PASSED] ABGR8888 Invalid width
[23:26:53] [PASSED] ABGR8888 Invalid buffer handle
[23:26:53] [PASSED] No pixel format
[23:26:53] [PASSED] ABGR8888 Width 0
[23:26:53] [PASSED] ABGR8888 Height 0
[23:26:53] [PASSED] ABGR8888 Out of bound height * pitch combination
[23:26:53] [PASSED] ABGR8888 Large buffer offset
[23:26:53] [PASSED] ABGR8888 Buffer offset for inexistent plane
[23:26:53] [PASSED] ABGR8888 Invalid flag
[23:26:53] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[23:26:53] [PASSED] ABGR8888 Valid buffer modifier
[23:26:53] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[23:26:53] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[23:26:53] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[23:26:53] [PASSED] NV12 Normal sizes
[23:26:53] [PASSED] NV12 Max sizes
[23:26:53] [PASSED] NV12 Invalid pitch
[23:26:53] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[23:26:53] [PASSED] NV12 different  modifier per-plane
[23:26:53] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[23:26:53] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[23:26:53] [PASSED] NV12 Modifier for inexistent plane
[23:26:53] [PASSED] NV12 Handle for inexistent plane
[23:26:53] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[23:26:53] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[23:26:53] [PASSED] YVU420 Normal sizes
[23:26:53] [PASSED] YVU420 Max sizes
[23:26:53] [PASSED] YVU420 Invalid pitch
[23:26:53] [PASSED] YVU420 Different pitches
[23:26:53] [PASSED] YVU420 Different buffer offsets/pitches
[23:26:53] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[23:26:53] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[23:26:53] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[23:26:53] [PASSED] YVU420 Valid modifier
[23:26:53] [PASSED] YVU420 Different modifiers per plane
[23:26:53] [PASSED] YVU420 Modifier for inexistent plane
[23:26:53] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[23:26:53] [PASSED] X0L2 Normal sizes
[23:26:53] [PASSED] X0L2 Max sizes
[23:26:53] [PASSED] X0L2 Invalid pitch
[23:26:53] [PASSED] X0L2 Pitch greater than minimum required
[23:26:53] [PASSED] X0L2 Handle for inexistent plane
[23:26:53] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[23:26:53] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[23:26:53] [PASSED] X0L2 Valid modifier
[23:26:53] [PASSED] X0L2 Modifier for inexistent plane
[23:26:53] =========== [PASSED] drm_test_framebuffer_create ===========
[23:26:53] [PASSED] drm_test_framebuffer_free
[23:26:53] [PASSED] drm_test_framebuffer_init
[23:26:53] [PASSED] drm_test_framebuffer_init_bad_format
[23:26:53] [PASSED] drm_test_framebuffer_init_dev_mismatch
[23:26:53] [PASSED] drm_test_framebuffer_lookup
[23:26:53] [PASSED] drm_test_framebuffer_lookup_inexistent
[23:26:53] [PASSED] drm_test_framebuffer_modifiers_not_supported
[23:26:53] ================= [PASSED] drm_framebuffer =================
[23:26:53] ================ drm_gem_shmem (8 subtests) ================
[23:26:53] [PASSED] drm_gem_shmem_test_obj_create
[23:26:53] [PASSED] drm_gem_shmem_test_obj_create_private
[23:26:53] [PASSED] drm_gem_shmem_test_pin_pages
[23:26:53] [PASSED] drm_gem_shmem_test_vmap
[23:26:53] [PASSED] drm_gem_shmem_test_get_sg_table
[23:26:53] [PASSED] drm_gem_shmem_test_get_pages_sgt
[23:26:53] [PASSED] drm_gem_shmem_test_madvise
[23:26:53] [PASSED] drm_gem_shmem_test_purge
[23:26:53] ================== [PASSED] drm_gem_shmem ==================
[23:26:53] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[23:26:53] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[23:26:53] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[23:26:53] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[23:26:53] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[23:26:53] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[23:26:53] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[23:26:53] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420  =======
[23:26:53] [PASSED] Automatic
[23:26:53] [PASSED] Full
[23:26:53] [PASSED] Limited 16:235
[23:26:53] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[23:26:53] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[23:26:53] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[23:26:53] [PASSED] drm_test_check_disable_connector
[23:26:53] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[23:26:53] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[23:26:53] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[23:26:53] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[23:26:53] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[23:26:53] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[23:26:53] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[23:26:53] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[23:26:53] [PASSED] drm_test_check_output_bpc_dvi
[23:26:53] [PASSED] drm_test_check_output_bpc_format_vic_1
[23:26:53] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[23:26:53] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[23:26:53] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[23:26:53] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[23:26:53] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[23:26:53] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[23:26:53] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[23:26:53] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[23:26:53] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[23:26:53] [PASSED] drm_test_check_broadcast_rgb_value
[23:26:53] [PASSED] drm_test_check_bpc_8_value
[23:26:53] [PASSED] drm_test_check_bpc_10_value
[23:26:53] [PASSED] drm_test_check_bpc_12_value
[23:26:53] [PASSED] drm_test_check_format_value
[23:26:53] [PASSED] drm_test_check_tmds_char_value
[23:26:53] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[23:26:53] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[23:26:53] [PASSED] drm_test_check_mode_valid
[23:26:53] [PASSED] drm_test_check_mode_valid_reject
[23:26:53] [PASSED] drm_test_check_mode_valid_reject_rate
[23:26:53] [PASSED] drm_test_check_mode_valid_reject_max_clock
[23:26:53] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[23:26:53] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[23:26:53] [PASSED] drm_test_check_infoframes
[23:26:53] [PASSED] drm_test_check_reject_avi_infoframe
[23:26:53] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[23:26:53] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[23:26:53] [PASSED] drm_test_check_reject_audio_infoframe
[23:26:53] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[23:26:53] ================= drm_managed (2 subtests) =================
[23:26:53] [PASSED] drm_test_managed_release_action
[23:26:53] [PASSED] drm_test_managed_run_action
[23:26:53] =================== [PASSED] drm_managed ===================
[23:26:53] =================== drm_mm (6 subtests) ====================
[23:26:53] [PASSED] drm_test_mm_init
[23:26:53] [PASSED] drm_test_mm_debug
[23:26:53] [PASSED] drm_test_mm_align32
[23:26:53] [PASSED] drm_test_mm_align64
[23:26:53] [PASSED] drm_test_mm_lowest
[23:26:53] [PASSED] drm_test_mm_highest
[23:26:53] ===================== [PASSED] drm_mm ======================
[23:26:53] ============= drm_modes_analog_tv (5 subtests) =============
[23:26:53] [PASSED] drm_test_modes_analog_tv_mono_576i
[23:26:53] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[23:26:53] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[23:26:53] [PASSED] drm_test_modes_analog_tv_pal_576i
[23:26:53] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[23:26:53] =============== [PASSED] drm_modes_analog_tv ===============
[23:26:53] ============== drm_plane_helper (2 subtests) ===============
[23:26:53] =============== drm_test_check_plane_state  ================
[23:26:53] [PASSED] clipping_simple
[23:26:53] [PASSED] clipping_rotate_reflect
[23:26:53] [PASSED] positioning_simple
[23:26:53] [PASSED] upscaling
[23:26:53] [PASSED] downscaling
[23:26:53] [PASSED] rounding1
[23:26:53] [PASSED] rounding2
[23:26:53] [PASSED] rounding3
[23:26:53] [PASSED] rounding4
[23:26:53] =========== [PASSED] drm_test_check_plane_state ============
[23:26:53] =========== drm_test_check_invalid_plane_state  ============
[23:26:53] [PASSED] positioning_invalid
[23:26:53] [PASSED] upscaling_invalid
[23:26:53] [PASSED] downscaling_invalid
[23:26:53] ======= [PASSED] drm_test_check_invalid_plane_state ========
[23:26:53] ================ [PASSED] drm_plane_helper =================
[23:26:53] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[23:26:53] ====== drm_test_connector_helper_tv_get_modes_check  =======
[23:26:53] [PASSED] None
[23:26:53] [PASSED] PAL
[23:26:53] [PASSED] NTSC
[23:26:53] [PASSED] Both, NTSC Default
[23:26:53] [PASSED] Both, PAL Default
[23:26:53] [PASSED] Both, NTSC Default, with PAL on command-line
[23:26:53] [PASSED] Both, PAL Default, with NTSC on command-line
[23:26:53] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[23:26:53] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[23:26:53] ================== drm_rect (9 subtests) ===================
[23:26:53] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[23:26:53] [PASSED] drm_test_rect_clip_scaled_not_clipped
[23:26:53] [PASSED] drm_test_rect_clip_scaled_clipped
[23:26:53] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[23:26:53] ================= drm_test_rect_intersect  =================
[23:26:53] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[23:26:53] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[23:26:53] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[23:26:53] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[23:26:53] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[23:26:53] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[23:26:53] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[23:26:53] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[23:26:53] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[23:26:53] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[23:26:53] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[23:26:53] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[23:26:53] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[23:26:53] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[23:26:53] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[23:26:53] ============= [PASSED] drm_test_rect_intersect =============
[23:26:53] ================ drm_test_rect_calc_hscale  ================
[23:26:53] [PASSED] normal use
[23:26:53] [PASSED] out of max range
[23:26:53] [PASSED] out of min range
[23:26:53] [PASSED] zero dst
[23:26:53] [PASSED] negative src
[23:26:53] [PASSED] negative dst
[23:26:53] ============ [PASSED] drm_test_rect_calc_hscale ============
[23:26:53] ================ drm_test_rect_calc_vscale  ================
[23:26:53] [PASSED] normal use
[23:26:53] [PASSED] out of max range
[23:26:53] [PASSED] out of min range
[23:26:53] [PASSED] zero dst
[23:26:53] [PASSED] negative src
[23:26:53] [PASSED] negative dst
stty: 'standard input': Inappropriate ioctl for device
[23:26:53] ============ [PASSED] drm_test_rect_calc_vscale ============
[23:26:53] ================== drm_test_rect_rotate  ===================
[23:26:53] [PASSED] reflect-x
[23:26:53] [PASSED] reflect-y
[23:26:53] [PASSED] rotate-0
[23:26:53] [PASSED] rotate-90
[23:26:53] [PASSED] rotate-180
[23:26:53] [PASSED] rotate-270
[23:26:53] ============== [PASSED] drm_test_rect_rotate ===============
[23:26:53] ================ drm_test_rect_rotate_inv  =================
[23:26:53] [PASSED] reflect-x
[23:26:53] [PASSED] reflect-y
[23:26:53] [PASSED] rotate-0
[23:26:53] [PASSED] rotate-90
[23:26:53] [PASSED] rotate-180
[23:26:53] [PASSED] rotate-270
[23:26:53] ============ [PASSED] drm_test_rect_rotate_inv =============
[23:26:53] ==================== [PASSED] drm_rect =====================
[23:26:53] ============ drm_sysfb_modeset_test (1 subtest) ============
[23:26:53] ============ drm_test_sysfb_build_fourcc_list  =============
[23:26:53] [PASSED] no native formats
[23:26:53] [PASSED] XRGB8888 as native format
[23:26:53] [PASSED] remove duplicates
[23:26:53] [PASSED] convert alpha formats
[23:26:53] [PASSED] random formats
[23:26:53] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[23:26:53] ============= [PASSED] drm_sysfb_modeset_test ==============
[23:26:53] ================== drm_fixp (2 subtests) ===================
[23:26:53] [PASSED] drm_test_int2fixp
[23:26:53] [PASSED] drm_test_sm2fixp
[23:26:53] ==================== [PASSED] drm_fixp =====================
[23:26:53] ============================================================
[23:26:53] Testing complete. Ran 621 tests: passed: 621
[23:26:53] Elapsed time: 26.247s total, 1.691s configuring, 24.389s building, 0.134s running

+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [23:26:53] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:

$ make ARCH=um O=.kunit olddefconfig
[23:26:55] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[23:27:05] Starting KUnit Kernel (1/1)...
[23:27:05] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[23:27:05] ================= ttm_device (5 subtests) ==================
[23:27:05] [PASSED] ttm_device_init_basic
[23:27:05] [PASSED] ttm_device_init_multiple
[23:27:05] [PASSED] ttm_device_fini_basic
[23:27:05] [PASSED] ttm_device_init_no_vma_man
[23:27:05] ================== ttm_device_init_pools  ==================
[23:27:05] [PASSED] No DMA allocations, no DMA32 required
[23:27:05] [PASSED] DMA allocations, DMA32 required
[23:27:05] [PASSED] No DMA allocations, DMA32 required
[23:27:05] [PASSED] DMA allocations, no DMA32 required
[23:27:05] ============== [PASSED] ttm_device_init_pools ==============
[23:27:05] =================== [PASSED] ttm_device ====================
[23:27:05] ================== ttm_pool (8 subtests) ===================
[23:27:05] ================== ttm_pool_alloc_basic  ===================
[23:27:05] [PASSED] One page
[23:27:05] [PASSED] More than one page
[23:27:05] [PASSED] Above the allocation limit
[23:27:05] [PASSED] One page, with coherent DMA mappings enabled
[23:27:05] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[23:27:05] ============== [PASSED] ttm_pool_alloc_basic ===============
[23:27:05] ============== ttm_pool_alloc_basic_dma_addr  ==============
[23:27:05] [PASSED] One page
[23:27:05] [PASSED] More than one page
[23:27:05] [PASSED] Above the allocation limit
[23:27:05] [PASSED] One page, with coherent DMA mappings enabled
[23:27:05] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[23:27:05] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[23:27:05] [PASSED] ttm_pool_alloc_order_caching_match
[23:27:05] [PASSED] ttm_pool_alloc_caching_mismatch
[23:27:05] [PASSED] ttm_pool_alloc_order_mismatch
[23:27:05] [PASSED] ttm_pool_free_dma_alloc
[23:27:05] [PASSED] ttm_pool_free_no_dma_alloc
[23:27:05] [PASSED] ttm_pool_fini_basic
[23:27:05] ==================== [PASSED] ttm_pool =====================
[23:27:05] ================ ttm_resource (8 subtests) =================
[23:27:05] ================= ttm_resource_init_basic  =================
[23:27:05] [PASSED] Init resource in TTM_PL_SYSTEM
[23:27:05] [PASSED] Init resource in TTM_PL_VRAM
[23:27:05] [PASSED] Init resource in a private placement
[23:27:05] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[23:27:05] ============= [PASSED] ttm_resource_init_basic =============
[23:27:05] [PASSED] ttm_resource_init_pinned
[23:27:05] [PASSED] ttm_resource_fini_basic
[23:27:05] [PASSED] ttm_resource_manager_init_basic
[23:27:05] [PASSED] ttm_resource_manager_usage_basic
[23:27:05] [PASSED] ttm_resource_manager_set_used_basic
[23:27:05] [PASSED] ttm_sys_man_alloc_basic
[23:27:05] [PASSED] ttm_sys_man_free_basic
[23:27:05] ================== [PASSED] ttm_resource ===================
[23:27:05] =================== ttm_tt (15 subtests) ===================
[23:27:05] ==================== ttm_tt_init_basic  ====================
[23:27:05] [PASSED] Page-aligned size
[23:27:05] [PASSED] Extra pages requested
[23:27:05] ================ [PASSED] ttm_tt_init_basic ================
[23:27:05] [PASSED] ttm_tt_init_misaligned
[23:27:05] [PASSED] ttm_tt_fini_basic
[23:27:05] [PASSED] ttm_tt_fini_sg
[23:27:05] [PASSED] ttm_tt_fini_shmem
[23:27:05] [PASSED] ttm_tt_create_basic
[23:27:05] [PASSED] ttm_tt_create_invalid_bo_type
[23:27:05] [PASSED] ttm_tt_create_ttm_exists
[23:27:05] [PASSED] ttm_tt_create_failed
[23:27:05] [PASSED] ttm_tt_destroy_basic
[23:27:05] [PASSED] ttm_tt_populate_null_ttm
[23:27:05] [PASSED] ttm_tt_populate_populated_ttm
[23:27:05] [PASSED] ttm_tt_unpopulate_basic
[23:27:05] [PASSED] ttm_tt_unpopulate_empty_ttm
[23:27:05] [PASSED] ttm_tt_swapin_basic
[23:27:05] ===================== [PASSED] ttm_tt ======================
[23:27:05] =================== ttm_bo (14 subtests) ===================
[23:27:05] =========== ttm_bo_reserve_optimistic_no_ticket  ===========
[23:27:05] [PASSED] Cannot be interrupted and sleeps
[23:27:05] [PASSED] Cannot be interrupted, locks straight away
[23:27:05] [PASSED] Can be interrupted, sleeps
[23:27:05] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[23:27:05] [PASSED] ttm_bo_reserve_locked_no_sleep
[23:27:05] [PASSED] ttm_bo_reserve_no_wait_ticket
[23:27:05] [PASSED] ttm_bo_reserve_double_resv
[23:27:05] [PASSED] ttm_bo_reserve_interrupted
[23:27:05] [PASSED] ttm_bo_reserve_deadlock
[23:27:05] [PASSED] ttm_bo_unreserve_basic
[23:27:05] [PASSED] ttm_bo_unreserve_pinned
[23:27:05] [PASSED] ttm_bo_unreserve_bulk
[23:27:05] [PASSED] ttm_bo_fini_basic
[23:27:05] [PASSED] ttm_bo_fini_shared_resv
[23:27:05] [PASSED] ttm_bo_pin_basic
[23:27:05] [PASSED] ttm_bo_pin_unpin_resource
[23:27:05] [PASSED] ttm_bo_multiple_pin_one_unpin
[23:27:05] ===================== [PASSED] ttm_bo ======================
[23:27:05] ============== ttm_bo_validate (22 subtests) ===============
[23:27:05] ============== ttm_bo_init_reserved_sys_man  ===============
[23:27:05] [PASSED] Buffer object for userspace
[23:27:05] [PASSED] Kernel buffer object
[23:27:05] [PASSED] Shared buffer object
[23:27:05] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[23:27:05] ============== ttm_bo_init_reserved_mock_man  ==============
[23:27:05] [PASSED] Buffer object for userspace
[23:27:05] [PASSED] Kernel buffer object
[23:27:05] [PASSED] Shared buffer object
[23:27:05] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[23:27:05] [PASSED] ttm_bo_init_reserved_resv
[23:27:05] ================== ttm_bo_validate_basic  ==================
[23:27:05] [PASSED] Buffer object for userspace
[23:27:05] [PASSED] Kernel buffer object
[23:27:05] [PASSED] Shared buffer object
[23:27:05] ============== [PASSED] ttm_bo_validate_basic ==============
[23:27:05] [PASSED] ttm_bo_validate_invalid_placement
[23:27:05] ============= ttm_bo_validate_same_placement  ==============
[23:27:05] [PASSED] System manager
[23:27:05] [PASSED] VRAM manager
[23:27:05] ========= [PASSED] ttm_bo_validate_same_placement ==========
[23:27:05] [PASSED] ttm_bo_validate_failed_alloc
[23:27:05] [PASSED] ttm_bo_validate_pinned
[23:27:05] [PASSED] ttm_bo_validate_busy_placement
[23:27:05] ================ ttm_bo_validate_multihop  =================
[23:27:05] [PASSED] Buffer object for userspace
[23:27:05] [PASSED] Kernel buffer object
[23:27:05] [PASSED] Shared buffer object
[23:27:05] ============ [PASSED] ttm_bo_validate_multihop =============
[23:27:05] ========== ttm_bo_validate_no_placement_signaled  ==========
[23:27:05] [PASSED] Buffer object in system domain, no page vector
[23:27:05] [PASSED] Buffer object in system domain with an existing page vector
[23:27:05] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[23:27:05] ======== ttm_bo_validate_no_placement_not_signaled  ========
[23:27:05] [PASSED] Buffer object for userspace
[23:27:05] [PASSED] Kernel buffer object
[23:27:05] [PASSED] Shared buffer object
[23:27:05] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[23:27:05] [PASSED] ttm_bo_validate_move_fence_signaled
[23:27:05] ========= ttm_bo_validate_move_fence_not_signaled  =========
[23:27:05] [PASSED] Waits for GPU
[23:27:05] [PASSED] Tries to lock straight away
[23:27:05] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[23:27:05] [PASSED] ttm_bo_validate_swapout
[23:27:05] [PASSED] ttm_bo_validate_happy_evict
[23:27:05] [PASSED] ttm_bo_validate_all_pinned_evict
[23:27:05] [PASSED] ttm_bo_validate_allowed_only_evict
[23:27:05] [PASSED] ttm_bo_validate_deleted_evict
[23:27:05] [PASSED] ttm_bo_validate_busy_domain_evict
[23:27:05] [PASSED] ttm_bo_validate_evict_gutting
[23:27:05] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[23:27:05] ================= [PASSED] ttm_bo_validate =================
[23:27:05] ============================================================
[23:27:05] Testing complete. Ran 102 tests: passed: 102
[23:27:05] Elapsed time: 11.380s total, 1.716s configuring, 9.448s building, 0.187s running

+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel

#32 lore raw

✓ Xe.CI.BAT: success for drm/i915/casf: Integrate the sharpness filter properly into the scaler code

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: drm/i915/casf: Integrate the sharpness filter properly into the scaler code
URL : https://patchwork.freedesktop.org/series/163952/
State : success

== Summary ==

CI Bug Log - changes from xe-4799-e7f370d78d32ed29cc3f100fbc3d1fe1a844978f_BAT -> xe-pw-163952v1_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (14 -> 14)
------------------------------

No changes in participating hosts

Changes
-------

No changes found

Build changes
-------------

* Linux: xe-4799-e7f370d78d32ed29cc3f100fbc3d1fe1a844978f -> xe-pw-163952v1

IGT_8834: 8834
xe-4799-e7f370d78d32ed29cc3f100fbc3d1fe1a844978f: e7f370d78d32ed29cc3f100fbc3d1fe1a844978f
xe-pw-163952v1: 163952v1

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/index.html

#33 lore raw

✗ Xe.CI.FULL: failure for drm/i915/casf: Integrate the sharpness filter properly into the scaler code

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: drm/i915/casf: Integrate the sharpness filter properly into the scaler code
URL : https://patchwork.freedesktop.org/series/163952/
State : failure

== Summary ==

CI Bug Log - changes from xe-4799-e7f370d78d32ed29cc3f100fbc3d1fe1a844978f_FULL -> xe-pw-163952v1_FULL
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with xe-pw-163952v1_FULL absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in xe-pw-163952v1_FULL, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.

Participating hosts (2 -> 2)
------------------------------

No changes in participating hosts

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in xe-pw-163952v1_FULL:

### IGT changes ###

#### Possible regressions ####

* igt@kms_sharpness_filter@invalid-filter-with-scaling-mode@pipe-c-edp-1-invalid-filter-with-scaling-mode-cente:
- shard-lnl: [PASS][1] -> [FAIL][2] +3 other tests fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4799-e7f370d78d32ed29cc3f100fbc3d1fe1a844978f/shard-lnl-1/igt@kms_sharpness_filter@invalid-filter-with-scaling-mode@pipe-c-edp-1-invalid-filter-with-scaling-mode-cente.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-3/igt@kms_sharpness_filter@invalid-filter-with-scaling-mode@pipe-c-edp-1-invalid-filter-with-scaling-mode-cente.html

Known issues
------------

Here are the changes found in xe-pw-163952v1_FULL that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-lnl: NOTRUN -> [SKIP][3] ([Intel XE#1124]) +1 other test skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@[email protected]

* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc:
- shard-lnl: NOTRUN -> [SKIP][4] ([Intel XE#2887]) +2 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@kms_chamelium_hpd@vga-hpd-enable-disable-mode:
- shard-lnl: NOTRUN -> [SKIP][5] ([Intel XE#373]) +2 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@[email protected]

* igt@kms_cursor_crc@cursor-sliding-32x32:
- shard-lnl: NOTRUN -> [SKIP][6] ([Intel XE#1424]) +1 other test skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size:
- shard-lnl: NOTRUN -> [SKIP][7] ([Intel XE#309] / [Intel XE#7343])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@[email protected]

* igt@kms_dp_link_training@uhbr-mst:
- shard-lnl: NOTRUN -> [SKIP][8] ([Intel XE#4354] / [Intel XE#7386])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@kms_frontbuffer_tracking@drrs-1p-offscreen-pri-indfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][9] ([Intel XE#6312])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@kms_frontbuffer_tracking@drrs-1p-offscreen-pri-indfb-draw-blt.html

* igt@kms_frontbuffer_tracking@drrs-argb161616f-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][10] ([Intel XE#7061] / [Intel XE#7356])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcdrrs-rgb101010-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][11] ([Intel XE#6312] / [Intel XE#651]) +2 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][12] ([Intel XE#656]) +7 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@kms_plane@pixel-format-4-tiled-dg2-mc-ccs-modifier:
- shard-lnl: NOTRUN -> [SKIP][13] ([Intel XE#7283])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@kms_plane_lowres@tiling-y:
- shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#599])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@[email protected]

* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-b:
- shard-lnl: NOTRUN -> [SKIP][15] ([Intel XE#2763] / [Intel XE#6886]) +3 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@kms_plane_scaling@[email protected]

* igt@kms_psr2_sf@fbc-pr-plane-move-sf-dmg-area:
- shard-lnl: NOTRUN -> [SKIP][16] ([Intel XE#2893] / [Intel XE#7304])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf:
- shard-lnl: NOTRUN -> [SKIP][17] ([Intel XE#2893] / [Intel XE#4608] / [Intel XE#7304])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf@pipe-a-edp-1:
- shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#4608])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@kms_psr2_sf@[email protected]

* igt@kms_psr2_sf@fbc-psr2-cursor-plane-move-continuous-sf@pipe-b-edp-1:
- shard-lnl: NOTRUN -> [SKIP][19] ([Intel XE#4608] / [Intel XE#7304])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@kms_psr2_sf@[email protected]

* igt@kms_psr@fbc-pr-primary-render:
- shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#1406])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@xe_evict@evict-mixed-many-threads-large:
- shard-lnl: NOTRUN -> [SKIP][21] ([Intel XE#6540] / [Intel XE#688]) +2 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@xe_exec_balancer@no-exec-parallel-rebind:
- shard-lnl: NOTRUN -> [SKIP][22] ([Intel XE#7482]) +5 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@[email protected]

* igt@xe_exec_basic@multigpu-no-exec-basic-defer-mmap:
- shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#1392])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@xe_exec_fault_mode@twice-multi-queue-userptr:
- shard-lnl: NOTRUN -> [SKIP][24] ([Intel XE#7136])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@xe_exec_multi_queue@many-execs-preempt-mode-close-fd-smem:
- shard-lnl: NOTRUN -> [SKIP][25] ([Intel XE#6874]) +6 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@[email protected]

* igt@xe_exec_sip_eudebug@wait-writesip-nodebug:
- shard-lnl: NOTRUN -> [SKIP][26] ([Intel XE#7636]) +3 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@xe_exec_threads@threads-multi-queue-shared-vm-userptr-invalidate:
- shard-lnl: NOTRUN -> [SKIP][27] ([Intel XE#7138]) +1 other test skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@xe_exec_threads@threads-multi-queue-shared-vm-userptr-invalidate.html

* igt@xe_mmap@small-bar:
- shard-lnl: NOTRUN -> [SKIP][28] ([Intel XE#512] / [Intel XE#7323] / [Intel XE#7384])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@[email protected]

* igt@xe_multigpu_svm@mgpu-atomic-op-prefetch:
- shard-lnl: NOTRUN -> [SKIP][29] ([Intel XE#6964])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@xe_pm@s3-basic-exec:
- shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#584] / [Intel XE#7369])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@xe_pmu@engine-activity-accuracy-90:
- shard-lnl: [PASS][31] -> [FAIL][32] ([Intel XE#7072]) +1 other test fail
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4799-e7f370d78d32ed29cc3f100fbc3d1fe1a844978f/shard-lnl-1/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@xe_prefetch_fault@prefetch-fault:
- shard-lnl: NOTRUN -> [SKIP][33] ([Intel XE#7599])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@[email protected]

* igt@xe_query@multigpu-query-topology:
- shard-lnl: NOTRUN -> [SKIP][34] ([Intel XE#944])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

* igt@xe_sriov_vram@vf-access-after-resize-up:
- shard-lnl: NOTRUN -> [SKIP][35] ([Intel XE#6376] / [Intel XE#7330] / [Intel XE#7422])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-6/igt@[email protected]

#### Possible fixes ####

* igt@xe_exec_system_allocator@many-large-mmap-remap-dontunmap-eocheck:
- shard-lnl: [INCOMPLETE][36] -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4799-e7f370d78d32ed29cc3f100fbc3d1fe1a844978f/shard-lnl-8/igt@xe_exec_system_allocator@many-large-mmap-remap-dontunmap-eocheck.html
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-2/igt@xe_exec_system_allocator@many-large-mmap-remap-dontunmap-eocheck.html

* igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-multi-vma:
- shard-lnl: [FAIL][38] ([Intel XE#5625]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4799-e7f370d78d32ed29cc3f100fbc3d1fe1a844978f/shard-lnl-7/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-multi-vma.html
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shard-lnl-5/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-multi-vma.html

[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4608]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4608
[Intel XE#512]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/512
[Intel XE#5625]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5625
[Intel XE#584]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/584
[Intel XE#599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/599
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6376
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7072]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7072
[Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
[Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7323]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7323
[Intel XE#7330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7330
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7369
[Intel XE#7384]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7384
[Intel XE#7386]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7386
[Intel XE#7422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7422
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7599
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944

Build changes
-------------

* Linux: xe-4799-e7f370d78d32ed29cc3f100fbc3d1fe1a844978f -> xe-pw-163952v1

IGT_8834: 8834
xe-4799-e7f370d78d32ed29cc3f100fbc3d1fe1a844978f: e7f370d78d32ed29cc3f100fbc3d1fe1a844978f
xe-pw-163952v1: 163952v1

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/index.html

#34 lore raw

✓ i915.CI.Full: success for drm/i915/casf: Integrate the sharpness filter properly into the scaler code

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: drm/i915/casf: Integrate the sharpness filter properly into the scaler code
URL : https://patchwork.freedesktop.org/series/163953/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_18228_full -> Patchwork_163953v1_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (11 -> 11)
------------------------------

No changes in participating hosts

Known issues
------------

Here are the changes found in Patchwork_163953v1_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@device_reset@cold-reset-bound:
- shard-rkl: NOTRUN -> [SKIP][1] ([i915#11078])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@gem_basic@multigpu-create-close:
- shard-tglu-1: NOTRUN -> [SKIP][2] ([i915#7697])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@gem_ccs@block-multicopy-compressed:
- shard-mtlp: NOTRUN -> [SKIP][3] ([i915#9323])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@gem_ctx_isolation@preservation-s3:
- shard-rkl: NOTRUN -> [INCOMPLETE][4] ([i915#13356]) +1 other test incomplete
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@gem_exec_balancer@bonded-sync:
- shard-mtlp: NOTRUN -> [SKIP][5] ([i915#4771])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@gem_exec_balancer@parallel-dmabuf-import-out-fence:
- shard-tglu-1: NOTRUN -> [SKIP][6] ([i915#4525])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@gem_exec_balancer@parallel-keep-submit-fence:
- shard-rkl: NOTRUN -> [SKIP][7] ([i915#4525])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@gem_exec_capture@capture-invisible:
- shard-glk11: NOTRUN -> [SKIP][8] ([i915#6334]) +1 other test skip
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk11/igt@[email protected]

* igt@gem_exec_reloc@basic-wc:
- shard-rkl: NOTRUN -> [SKIP][9] ([i915#3281]) +2 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@[email protected]

* igt@gem_exec_reloc@basic-write-cpu-active:
- shard-mtlp: NOTRUN -> [SKIP][10] ([i915#3281]) +2 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@gem_exec_suspend@basic-s0:
- shard-dg2: [PASS][11] -> [INCOMPLETE][12] ([i915#13356]) +1 other test incomplete
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-dg2-1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg2-1/igt@[email protected]

* igt@gem_exec_suspend@basic-s3:
- shard-glk: NOTRUN -> [INCOMPLETE][13] ([i915#13196] / [i915#13356]) +1 other test incomplete
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk8/igt@[email protected]

* igt@gem_fence_thrash@bo-write-verify-y:
- shard-mtlp: NOTRUN -> [SKIP][14] ([i915#4860])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@gem_lmem_swapping@heavy-random:
- shard-tglu: NOTRUN -> [SKIP][15] ([i915#4613])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@gem_lmem_swapping@parallel-multi:
- shard-glk: NOTRUN -> [SKIP][16] ([i915#4613])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk2/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-verify:
- shard-rkl: NOTRUN -> [SKIP][17] ([i915#4613]) +2 other tests skip
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@gem_lmem_swapping@verify-ccs:
- shard-tglu-1: NOTRUN -> [SKIP][18] ([i915#4613]) +1 other test skip
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@gem_lmem_swapping@verify-random-ccs:
- shard-mtlp: NOTRUN -> [SKIP][19] ([i915#4613]) +1 other test skip
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@gem_mmap_wc@bad-size:
- shard-mtlp: NOTRUN -> [SKIP][20] ([i915#4083])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@gem_partial_pwrite_pread@reads-display:
- shard-mtlp: NOTRUN -> [SKIP][21] ([i915#3282])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@gem_partial_pwrite_pread@writes-after-reads:
- shard-rkl: NOTRUN -> [SKIP][22] ([i915#3282]) +1 other test skip
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@[email protected]

* igt@gem_pxp@verify-pxp-stale-ctx-execution:
- shard-glk11: NOTRUN -> [SKIP][23] +97 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk11/igt@[email protected]

* igt@gem_render_copy@yf-tiled-mc-ccs-to-vebox-y-tiled:
- shard-mtlp: NOTRUN -> [SKIP][24] ([i915#8428]) +1 other test skip
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@gem_softpin@evict-snoop-interruptible:
- shard-rkl: NOTRUN -> [SKIP][25] +8 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@gem_tiled_pread_basic@basic:
- shard-rkl: NOTRUN -> [SKIP][26] ([i915#15656])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-sync:
- shard-rkl: NOTRUN -> [SKIP][27] ([i915#3297] / [i915#3323])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@gem_userptr_blits@readonly-pwrite-unsync:
- shard-mtlp: NOTRUN -> [SKIP][28] ([i915#3297])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@gem_userptr_blits@unsync-unmap-cycles:
- shard-tglu: NOTRUN -> [SKIP][29] ([i915#3297])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@gen7_exec_parse@basic-allocation:
- shard-mtlp: NOTRUN -> [SKIP][30] +3 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@gen9_exec_parse@allowed-all:
- shard-tglu: NOTRUN -> [SKIP][31] ([i915#2527] / [i915#2856])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@gen9_exec_parse@batch-without-end:
- shard-tglu-1: NOTRUN -> [SKIP][32] ([i915#2527] / [i915#2856])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@gen9_exec_parse@bb-chained:
- shard-rkl: NOTRUN -> [SKIP][33] ([i915#2527])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@[email protected]

* igt@i915_drm_fdinfo@virtual-busy:
- shard-mtlp: NOTRUN -> [SKIP][34] ([i915#14118])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@i915_pm_freq_api@freq-basic-api:
- shard-tglu: NOTRUN -> [SKIP][35] ([i915#8399])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@i915_pm_rpm@system-suspend:
- shard-glk11: NOTRUN -> [INCOMPLETE][36] ([i915#13356])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk11/igt@[email protected]

* igt@i915_pm_rpm@system-suspend-execbuf:
- shard-rkl: [PASS][37] -> [INCOMPLETE][38] ([i915#13356])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-7/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@i915_pm_rps@reset:
- shard-snb: [PASS][39] -> [INCOMPLETE][40] ([i915#13729] / [i915#13821])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-snb4/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-snb5/igt@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- shard-tglu-1: NOTRUN -> [INCOMPLETE][41] ([i915#4817] / [i915#7443])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@i915_suspend@debugfs-reader:
- shard-rkl: [PASS][42] -> [INCOMPLETE][43] ([i915#4817])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@i915_suspend@fence-restore-untiled:
- shard-glk11: NOTRUN -> [INCOMPLETE][44] ([i915#4817])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk11/igt@[email protected]

* igt@i915_suspend@sysfs-reader:
- shard-glk: [PASS][45] -> [INCOMPLETE][46] ([i915#4817])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-glk3/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk8/igt@[email protected]

* igt@kms_3d@basic:
- shard-mtlp: [PASS][47] -> [SKIP][48] ([i915#15726])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-mtlp-2/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-1/igt@[email protected]

* igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-a-hdmi-a-2:
- shard-glk: NOTRUN -> [FAIL][49] ([i915#14888]) +1 other test fail
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk2/igt@kms_async_flips@[email protected]

* igt@kms_atomic@atomic-plane-damage:
- shard-glk10: NOTRUN -> [SKIP][50] +96 other tests skip
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk10/igt@[email protected]

* igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels:
- shard-tglu: NOTRUN -> [SKIP][51] ([i915#1769] / [i915#3555])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html
- shard-glk10: NOTRUN -> [SKIP][52] ([i915#1769])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk10/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html

* igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels:
- shard-glk11: NOTRUN -> [SKIP][53] ([i915#1769])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk11/igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels.html

* igt@kms_big_fb@4-tiled-32bpp-rotate-0:
- shard-tglu-1: NOTRUN -> [SKIP][54] ([i915#5286]) +1 other test skip
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-180:
- shard-tglu: NOTRUN -> [SKIP][55] ([i915#5286])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-rkl: NOTRUN -> [SKIP][56] ([i915#5286]) +1 other test skip
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@kms_big_fb@linear-64bpp-rotate-90:
- shard-rkl: NOTRUN -> [SKIP][57] ([i915#3638]) +1 other test skip
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@[email protected]

* igt@kms_big_fb@yf-tiled-8bpp-rotate-270:
- shard-tglu: NOTRUN -> [SKIP][58] +10 other tests skip
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@kms_ccs@bad-rotation-90-4-tiled-mtl-rc-ccs-cc@pipe-b-hdmi-a-4:
- shard-dg1: NOTRUN -> [SKIP][59] ([i915#6095]) +159 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg1-17/igt@kms_ccs@[email protected]

* igt@kms_ccs@bad-rotation-90-yf-tiled-ccs@pipe-a-edp-1:
- shard-mtlp: NOTRUN -> [SKIP][60] ([i915#6095]) +9 other tests skip
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@kms_ccs@[email protected]

* igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-rc-ccs:
- shard-tglu: NOTRUN -> [SKIP][61] ([i915#6095]) +19 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@kms_ccs@crc-primary-basic-4-tiled-lnl-ccs:
- shard-tglu-1: NOTRUN -> [SKIP][62] ([i915#12313]) +1 other test skip
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_ccs@crc-primary-rotation-180-4-tiled-mtl-mc-ccs@pipe-a-hdmi-a-3:
- shard-dg2: NOTRUN -> [SKIP][63] ([i915#10307] / [i915#6095]) +49 other tests skip
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg2-3/igt@kms_ccs@[email protected]

* igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-mc-ccs@pipe-b-hdmi-a-1:
- shard-glk: NOTRUN -> [SKIP][64] +110 other tests skip
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk8/igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-mc-ccs@pipe-b-hdmi-a-1.html

* igt@kms_ccs@crc-primary-suspend-4-tiled-mtl-rc-ccs-cc@pipe-a-hdmi-a-1:
- shard-dg2: NOTRUN -> [SKIP][65] ([i915#6095]) +7 other tests skip
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg2-4/igt@kms_ccs@[email protected]

* igt@kms_ccs@crc-primary-suspend-yf-tiled-ccs@pipe-c-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][66] ([i915#14098] / [i915#6095]) +37 other tests skip
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-7/igt@kms_ccs@[email protected]

* igt@kms_ccs@random-ccs-data-4-tiled-lnl-ccs:
- shard-mtlp: NOTRUN -> [SKIP][67] ([i915#12313])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_ccs@random-ccs-data-4-tiled-mtl-rc-ccs@pipe-b-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][68] ([i915#6095]) +65 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@kms_ccs@[email protected]

* igt@kms_ccs@random-ccs-data-y-tiled-ccs@pipe-d-hdmi-a-1:
- shard-dg2: NOTRUN -> [SKIP][69] ([i915#10307] / [i915#10434] / [i915#6095]) +1 other test skip
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg2-4/igt@kms_ccs@[email protected]

* igt@kms_ccs@random-ccs-data-y-tiled-gen12-mc-ccs@pipe-b-hdmi-a-1:
- shard-tglu-1: NOTRUN -> [SKIP][70] ([i915#6095]) +24 other tests skip
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@kms_ccs@[email protected]

* igt@kms_cdclk@mode-transition@pipe-d-hdmi-a-1:
- shard-dg2: NOTRUN -> [SKIP][71] ([i915#13781]) +3 other tests skip
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg2-4/igt@kms_cdclk@[email protected]

* igt@kms_chamelium_audio@hdmi-audio-edid:
- shard-tglu-1: NOTRUN -> [SKIP][72] ([i915#11151] / [i915#7828]) +3 other tests skip
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_chamelium_edid@dp-edid-resolution-list:
- shard-rkl: NOTRUN -> [SKIP][73] ([i915#11151] / [i915#7828]) +2 other tests skip
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@[email protected]

* igt@kms_chamelium_frames@hdmi-crc-single:
- shard-tglu: NOTRUN -> [SKIP][74] ([i915#11151] / [i915#7828]) +1 other test skip
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@kms_chamelium_hpd@hdmi-hpd-with-enabled-mode:
- shard-mtlp: NOTRUN -> [SKIP][75] ([i915#11151] / [i915#7828]) +1 other test skip
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-tglu: NOTRUN -> [SKIP][76] ([i915#15330] / [i915#3116] / [i915#3299])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@kms_content_protection@dp-mst-type-1:
- shard-tglu-1: NOTRUN -> [SKIP][77] ([i915#15330] / [i915#3116] / [i915#3299])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_content_protection@lic-type-1:
- shard-mtlp: NOTRUN -> [SKIP][78] ([i915#15865])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_content_protection@mei-interface:
- shard-tglu-1: NOTRUN -> [SKIP][79] ([i915#15865])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_cursor_crc@cursor-offscreen-512x512:
- shard-tglu-1: NOTRUN -> [SKIP][80] ([i915#13049]) +2 other tests skip
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_cursor_crc@cursor-onscreen-512x512:
- shard-rkl: NOTRUN -> [SKIP][81] ([i915#13049]) +2 other tests skip
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@kms_cursor_crc@cursor-onscreen-64x21@pipe-a-hdmi-a-1:
- shard-tglu-1: NOTRUN -> [FAIL][82] ([i915#13566]) +1 other test fail
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@kms_cursor_crc@[email protected]

* igt@kms_cursor_crc@cursor-random-128x42:
- shard-mtlp: NOTRUN -> [SKIP][83] ([i915#8814])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_cursor_crc@cursor-random-128x42@pipe-a-hdmi-a-1:
- shard-rkl: NOTRUN -> [FAIL][84] ([i915#13566]) +3 other tests fail
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-2/igt@kms_cursor_crc@[email protected]

* igt@kms_cursor_crc@cursor-rapid-movement-32x10:
- shard-rkl: NOTRUN -> [SKIP][85] ([i915#3555]) +1 other test skip
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@kms_cursor_crc@cursor-sliding-128x42@pipe-a-hdmi-a-1:
- shard-tglu: [PASS][86] -> [FAIL][87] ([i915#13566]) +1 other test fail
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-tglu-9/igt@kms_cursor_crc@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@kms_cursor_crc@[email protected]

* igt@kms_cursor_crc@cursor-sliding-max-size:
- shard-tglu-1: NOTRUN -> [SKIP][88] ([i915#3555]) +3 other tests skip
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size:
- shard-mtlp: NOTRUN -> [SKIP][89] ([i915#9809])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size.html

* igt@kms_cursor_legacy@short-busy-flip-before-cursor-toggle:
- shard-tglu-1: NOTRUN -> [SKIP][90] ([i915#4103])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-1:
- shard-rkl: NOTRUN -> [SKIP][91] ([i915#3804])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@kms_dither@[email protected]

* igt@kms_dp_link_training@non-uhbr-mst:
- shard-tglu: NOTRUN -> [SKIP][92] ([i915#13749])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@kms_dsc@dsc-basic:
- shard-tglu: NOTRUN -> [SKIP][93] ([i915#3555] / [i915#3840])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@kms_dsc@dsc-with-bpc-formats:
- shard-rkl: NOTRUN -> [SKIP][94] ([i915#3555] / [i915#3840])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@kms_dsc@dsc-with-output-formats-with-bpc:
- shard-tglu-1: NOTRUN -> [SKIP][95] ([i915#3840] / [i915#9053])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_fbcon_fbt@fbc-suspend:
- shard-glk10: NOTRUN -> [INCOMPLETE][96] ([i915#9878])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk10/igt@[email protected]

* igt@kms_feature_discovery@display-4x:
- shard-tglu-1: NOTRUN -> [SKIP][97] ([i915#1839])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_flip@2x-busy-flip:
- shard-mtlp: NOTRUN -> [SKIP][98] ([i915#3637] / [i915#9934])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_flip@2x-plain-flip-interruptible:
- shard-tglu-1: NOTRUN -> [SKIP][99] ([i915#3637] / [i915#9934]) +5 other tests skip
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_flip@2x-wf_vblank-ts-check-interruptible:
- shard-rkl: NOTRUN -> [SKIP][100] ([i915#9934]) +2 other tests skip
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@kms_flip@2x-wf_vblank-ts-check-interruptible.html

* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling:
- shard-tglu: NOTRUN -> [SKIP][101] ([i915#15643])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling.html

* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-16bpp-4tile-upscaling:
- shard-tglu-1: NOTRUN -> [SKIP][102] ([i915#15643]) +2 other tests skip
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-16bpp-4tile-upscaling.html

* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling:
- shard-mtlp: NOTRUN -> [SKIP][103] ([i915#15643])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling.html

* igt@kms_frontbuffer_tracking@fbc-1p-indfb-fliptrack-mmap-gtt:
- shard-mtlp: NOTRUN -> [SKIP][104] ([i915#8708]) +2 other tests skip
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-cpu:
- shard-mtlp: NOTRUN -> [SKIP][105] ([i915#1825]) +6 other tests skip
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscreen-pri-shrfb-draw-mmap-gtt:
- shard-mtlp: NOTRUN -> [SKIP][106] ([i915#15104])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscreen-pri-shrfb-draw-mmap-gtt.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscreen-pri-shrfb-draw-render:
- shard-rkl: NOTRUN -> [SKIP][107] ([i915#15102]) +1 other test skip
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscreen-pri-shrfb-draw-render.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite:
- shard-rkl: NOTRUN -> [SKIP][108] ([i915#15102] / [i915#3023]) +5 other tests skip
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-pri-indfb-multidraw:
- shard-tglu-1: NOTRUN -> [SKIP][109] +27 other tests skip
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-blt:
- shard-rkl: NOTRUN -> [SKIP][110] ([i915#1825]) +9 other tests skip
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-blt.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-mmap-wc:
- shard-snb: NOTRUN -> [SKIP][111] +1 other test skip
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-snb1/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-spr-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-cpu:
- shard-tglu: NOTRUN -> [SKIP][112] ([i915#15102]) +5 other tests skip
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@psr-rgb565-draw-render:
- shard-tglu-1: NOTRUN -> [SKIP][113] ([i915#15102]) +9 other tests skip
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_hdr@static-toggle:
- shard-rkl: [PASS][114] -> [SKIP][115] ([i915#3555] / [i915#8228]) +1 other test skip
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-1/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_hdr@static-toggle-suspend:
- shard-rkl: NOTRUN -> [SKIP][116] ([i915#3555] / [i915#8228])
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@kms_joiner@basic-force-big-joiner:
- shard-tglu-1: NOTRUN -> [SKIP][117] ([i915#15459])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_joiner@invalid-modeset-force-big-joiner:
- shard-mtlp: NOTRUN -> [SKIP][118] ([i915#15459])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_joiner@invalid-modeset-force-ultra-joiner:
- shard-rkl: NOTRUN -> [SKIP][119] ([i915#15458])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@[email protected]
- shard-tglu-1: NOTRUN -> [SKIP][120] ([i915#15458])
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_pipe_stress@stress-xrgb8888-yftiled:
- shard-tglu: NOTRUN -> [SKIP][121] ([i915#14712])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier:
- shard-tglu: NOTRUN -> [SKIP][122] ([i915#15709])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping:
- shard-mtlp: NOTRUN -> [SKIP][123] ([i915#15709])
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping.html

* igt@kms_plane@pixel-format-x-tiled-modifier@pipe-a-plane-7:
- shard-tglu: NOTRUN -> [SKIP][124] ([i915#15608]) +1 other test skip
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@kms_plane@[email protected]

* igt@kms_plane@pixel-format-y-tiled-ccs-modifier:
- shard-tglu-1: NOTRUN -> [SKIP][125] ([i915#15709]) +2 other tests skip
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_plane@pixel-format-yf-tiled-modifier:
- shard-rkl: NOTRUN -> [SKIP][126] ([i915#15709]) +2 other tests skip
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@kms_plane_alpha_blend@alpha-basic:
- shard-glk11: NOTRUN -> [FAIL][127] ([i915#12178])
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk11/igt@[email protected]

* igt@kms_plane_alpha_blend@alpha-basic@pipe-a-hdmi-a-1:
- shard-glk11: NOTRUN -> [FAIL][128] ([i915#7862]) +1 other test fail
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk11/igt@kms_plane_alpha_blend@[email protected]

* igt@kms_plane_alpha_blend@constant-alpha-max:
- shard-glk11: NOTRUN -> [FAIL][129] ([i915#10647] / [i915#12169])
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk11/igt@[email protected]

* igt@kms_plane_alpha_blend@constant-alpha-max@pipe-a-hdmi-a-1:
- shard-glk11: NOTRUN -> [FAIL][130] ([i915#10647]) +1 other test fail
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk11/igt@kms_plane_alpha_blend@[email protected]

* igt@kms_plane_multiple@2x-tiling-none:
- shard-tglu-1: NOTRUN -> [SKIP][131] ([i915#13958])
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_plane_scaling@plane-downscale-factor-0-5-with-modifiers:
- shard-mtlp: NOTRUN -> [SKIP][132] ([i915#15329]) +4 other tests skip
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_plane_scaling@plane-downscale-factor-0-5-with-rotation@pipe-d:
- shard-tglu-1: NOTRUN -> [SKIP][133] ([i915#15329]) +4 other tests skip
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@plane-downscale-factor-0-75-with-rotation@pipe-a:
- shard-rkl: NOTRUN -> [SKIP][134] ([i915#15329]) +7 other tests skip
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@kms_plane_scaling@[email protected]

* igt@kms_pm_backlight@fade-with-suspend:
- shard-tglu: NOTRUN -> [SKIP][135] ([i915#9812])
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@kms_pm_rpm@cursor:
- shard-mtlp: NOTRUN -> [SKIP][136] ([i915#4077]) +2 other tests skip
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_pm_rpm@dpms-lpsp:
- shard-rkl: [PASS][137] -> [SKIP][138] ([i915#15073]) +1 other test skip
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-2/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-7/igt@[email protected]
- shard-dg1: [PASS][139] -> [SKIP][140] ([i915#15073]) +3 other tests skip
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-dg1-14/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg1-12/igt@[email protected]

* igt@kms_pm_rpm@modeset-lpsp-stress:
- shard-dg2: [PASS][141] -> [SKIP][142] ([i915#15073])
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-dg2-4/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg2-3/igt@[email protected]

* igt@kms_pm_rpm@modeset-non-lpsp:
- shard-tglu-1: NOTRUN -> [SKIP][143] ([i915#15073]) +1 other test skip
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_pm_rpm@system-suspend-idle:
- shard-dg2: [PASS][144] -> [INCOMPLETE][145] ([i915#14419])
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-dg2-6/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg2-1/igt@[email protected]
- shard-rkl: [PASS][146] -> [ABORT][147] ([i915#15132])
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-5/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-1/igt@[email protected]

* igt@kms_psr2_sf@fbc-pr-overlay-plane-move-continuous-sf:
- shard-mtlp: NOTRUN -> [SKIP][148] ([i915#12316])
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_psr2_sf@fbc-pr-primary-plane-update-sf-dmg-area:
- shard-tglu: NOTRUN -> [SKIP][149] ([i915#11520]) +1 other test skip
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]
- shard-glk10: NOTRUN -> [SKIP][150] ([i915#11520]) +1 other test skip
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk10/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-cursor-plane-update-sf@pipe-b-edp-1:
- shard-mtlp: NOTRUN -> [SKIP][151] ([i915#9808]) +2 other tests skip
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@kms_psr2_sf@[email protected]

* igt@kms_psr2_sf@pr-cursor-plane-move-continuous-exceed-fully-sf:
- shard-tglu-1: NOTRUN -> [SKIP][152] ([i915#11520]) +3 other tests skip
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_psr2_sf@pr-overlay-primary-update-sf-dmg-area:
- shard-glk11: NOTRUN -> [SKIP][153] ([i915#11520]) +2 other tests skip
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk11/igt@[email protected]

* igt@kms_psr2_sf@pr-primary-plane-update-sf-dmg-area:
- shard-rkl: NOTRUN -> [SKIP][154] ([i915#11520]) +2 other tests skip
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@kms_psr2_sf@psr2-overlay-primary-update-sf-dmg-area:
- shard-glk: NOTRUN -> [SKIP][155] ([i915#11520]) +4 other tests skip
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk2/igt@[email protected]

* igt@kms_psr@fbc-psr2-cursor-blt:
- shard-tglu-1: NOTRUN -> [SKIP][156] ([i915#9732]) +7 other tests skip
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_psr@fbc-psr2-primary-mmap-gtt:
- shard-tglu: NOTRUN -> [SKIP][157] ([i915#9732]) +5 other tests skip
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

* igt@kms_psr@pr-cursor-plane-onoff:
- shard-mtlp: NOTRUN -> [SKIP][158] ([i915#9688]) +3 other tests skip
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_psr@psr-sprite-plane-move:
- shard-rkl: NOTRUN -> [SKIP][159] ([i915#1072] / [i915#9732]) +6 other tests skip
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
- shard-tglu-1: NOTRUN -> [SKIP][160] ([i915#5289])
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-1/igt@[email protected]

* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-180:
- shard-mtlp: NOTRUN -> [SKIP][161] ([i915#5289])
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_setmode@basic@pipe-a-hdmi-a-3:
- shard-dg1: NOTRUN -> [FAIL][162] ([i915#15106]) +1 other test fail
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg1-12/igt@kms_setmode@[email protected]

* igt@kms_setmode@basic@pipe-b-hdmi-a-3:
- shard-dg2: [PASS][163] -> [FAIL][164] ([i915#15106]) +2 other tests fail
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-dg2-3/igt@kms_setmode@[email protected]
[164]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg2-5/igt@kms_setmode@[email protected]

* igt@kms_vrr@seamless-rr-switch-virtual:
- shard-rkl: NOTRUN -> [SKIP][165] ([i915#9906])
[165]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@[email protected]

* igt@perf_pmu@module-unload:
- shard-glk: NOTRUN -> [ABORT][166] ([i915#15778])
[166]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk3/igt@[email protected]

* igt@perf_pmu@rc6-all-gts:
- shard-tglu: NOTRUN -> [SKIP][167] ([i915#8516]) +1 other test skip
[167]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-8/igt@[email protected]

#### Possible fixes ####

* igt@gem_mmap_offset@clear-via-pagefault:
- shard-mtlp: [DMESG-WARN][168] ([i915#15478]) -> [PASS][169] +1 other test pass
[168]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-mtlp-7/igt@[email protected]
[169]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-6/igt@[email protected]

* igt@gem_workarounds@suspend-resume:
- shard-rkl: [ABORT][170] ([i915#15152]) -> [PASS][171]
[170]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-1/igt@[email protected]
[171]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@[email protected]

* igt@kms_atomic_transition@plane-toggle-modeset-transition:
- shard-rkl: [FAIL][172] ([i915#15662]) -> [PASS][173]
[172]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[173]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_atomic_transition@plane-toggle-modeset-transition@pipe-a-hdmi-a-2:
- shard-rkl: [FAIL][174] -> [PASS][175]
[174]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@kms_atomic_transition@[email protected]
[175]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@kms_atomic_transition@[email protected]

* igt@kms_atomic_transition@plane-toggle-modeset-transition@pipe-a-hdmi-a-3:
- shard-dg2: [FAIL][176] ([i915#5956]) -> [PASS][177] +1 other test pass
[176]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-dg2-3/igt@kms_atomic_transition@[email protected]
[177]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg2-5/igt@kms_atomic_transition@[email protected]

* igt@kms_cursor_crc@cursor-random-64x21:
- shard-tglu: [FAIL][178] ([i915#13566]) -> [PASS][179] +1 other test pass
[178]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-tglu-6/igt@[email protected]
[179]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-tglu-3/igt@[email protected]

* igt@kms_draw_crc@draw-method-blt:
- shard-glk: [DMESG-WARN][180] -> [PASS][181] +1 other test pass
[180]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-glk3/igt@[email protected]
[181]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-glk8/igt@[email protected]

* igt@kms_fbcon_fbt@fbc-suspend:
- shard-rkl: [INCOMPLETE][182] ([i915#9878]) -> [PASS][183]
[182]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[183]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@kms_hdmi_inject@inject-4k:
- shard-mtlp: [SKIP][184] ([i915#15725]) -> [PASS][185]
[184]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-mtlp-1/igt@[email protected]
[185]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-3/igt@[email protected]

* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a:
- shard-rkl: [INCOMPLETE][186] ([i915#14412]) -> [PASS][187] +1 other test pass
[186]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@kms_plane@[email protected]
[187]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@kms_plane@[email protected]

* igt@kms_pm_rpm@modeset-non-lpsp-stress:
- shard-rkl: [SKIP][188] ([i915#15073]) -> [PASS][189] +2 other tests pass
[188]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-8/igt@[email protected]
[189]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-7/igt@[email protected]

* igt@perf_pmu@busy-double-start@vcs1:
- shard-mtlp: [FAIL][190] ([i915#4349]) -> [PASS][191] +1 other test pass
[190]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-mtlp-3/igt@perf_pmu@[email protected]
[191]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-5/igt@perf_pmu@[email protected]

#### Warnings ####

* igt@api_intel_bb@blit-reloc-purge-cache:
- shard-rkl: [SKIP][192] ([i915#14544] / [i915#8411]) -> [SKIP][193] ([i915#8411]) +1 other test skip
[192]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[193]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@gem_create@create-ext-set-pat:
- shard-rkl: [SKIP][194] ([i915#8562]) -> [SKIP][195] ([i915#14544] / [i915#8562])
[194]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[195]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@gem_ctx_sseu@invalid-args:
- shard-rkl: [SKIP][196] ([i915#280]) -> [SKIP][197] ([i915#14544] / [i915#280])
[196]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[197]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@gem_exec_capture@capture-invisible@smem0:
- shard-rkl: [SKIP][198] ([i915#6334]) -> [SKIP][199] ([i915#14544] / [i915#6334]) +1 other test skip
[198]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@gem_exec_capture@[email protected]
[199]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@gem_exec_capture@[email protected]

* igt@gem_exec_reloc@basic-gtt-cpu:
- shard-rkl: [SKIP][200] ([i915#14544] / [i915#3281]) -> [SKIP][201] ([i915#3281]) +6 other tests skip
[200]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[201]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@gem_lmem_swapping@heavy-random:
- shard-rkl: [SKIP][202] ([i915#4613]) -> [SKIP][203] ([i915#14544] / [i915#4613])
[202]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[203]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@gem_lmem_swapping@random:
- shard-rkl: [SKIP][204] ([i915#14544] / [i915#4613]) -> [SKIP][205] ([i915#4613]) +1 other test skip
[204]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[205]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@gem_partial_pwrite_pread@writes-after-reads-uncached:
- shard-rkl: [SKIP][206] ([i915#14544] / [i915#3282]) -> [SKIP][207] ([i915#3282]) +5 other tests skip
[206]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[207]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@gem_pxp@hw-rejects-pxp-buffer:
- shard-rkl: [SKIP][208] ([i915#13717] / [i915#14544]) -> [SKIP][209] ([i915#13717])
[208]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[209]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@gem_set_tiling_vs_blt@tiled-to-tiled:
- shard-rkl: [SKIP][210] ([i915#8411]) -> [SKIP][211] ([i915#14544] / [i915#8411])
[210]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[211]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@gem_userptr_blits@coherency-sync:
- shard-rkl: [SKIP][212] ([i915#3297]) -> [SKIP][213] ([i915#14544] / [i915#3297]) +1 other test skip
[212]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[213]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-unsync:
- shard-rkl: [SKIP][214] ([i915#14544] / [i915#3297]) -> [SKIP][215] ([i915#3297])
[214]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[215]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@gen9_exec_parse@bb-oversize:
- shard-rkl: [SKIP][216] ([i915#14544] / [i915#2527]) -> [SKIP][217] ([i915#2527]) +2 other tests skip
[216]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[217]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@gen9_exec_parse@bb-start-far:
- shard-rkl: [SKIP][218] ([i915#2527]) -> [SKIP][219] ([i915#14544] / [i915#2527])
[218]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[219]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels:
- shard-rkl: [SKIP][220] ([i915#1769] / [i915#3555]) -> [SKIP][221] ([i915#14544] / [i915#1769] / [i915#3555]) +1 other test skip
[220]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html
[221]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html

* igt@kms_big_fb@4-tiled-16bpp-rotate-0:
- shard-rkl: [SKIP][222] ([i915#14544] / [i915#5286]) -> [SKIP][223] ([i915#5286]) +3 other tests skip
[222]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[223]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@kms_big_fb@4-tiled-64bpp-rotate-270:
- shard-rkl: [SKIP][224] ([i915#5286]) -> [SKIP][225] ([i915#14544] / [i915#5286])
[224]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[225]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_big_fb@linear-8bpp-rotate-270:
- shard-rkl: [SKIP][226] ([i915#3638]) -> [SKIP][227] ([i915#14544] / [i915#3638]) +1 other test skip
[226]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[227]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- shard-rkl: [SKIP][228] ([i915#14544] / [i915#3638]) -> [SKIP][229] ([i915#3638]) +2 other tests skip
[228]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[229]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@kms_big_fb@yf-tiled-16bpp-rotate-180:
- shard-rkl: [SKIP][230] ([i915#14544]) -> [SKIP][231] +9 other tests skip
[230]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[231]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@kms_big_fb@yf-tiled-16bpp-rotate-90:
- shard-rkl: [SKIP][232] -> [SKIP][233] ([i915#14544]) +1 other test skip
[232]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[233]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_ccs@bad-aux-stride-y-tiled-ccs@pipe-c-hdmi-a-2:
- shard-rkl: [SKIP][234] ([i915#14098] / [i915#14544] / [i915#6095]) -> [SKIP][235] ([i915#14098] / [i915#6095]) +11 other tests skip
[234]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@kms_ccs@[email protected]
[235]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@kms_ccs@[email protected]

* igt@kms_ccs@bad-aux-stride-y-tiled-gen12-mc-ccs@pipe-a-hdmi-a-2:
- shard-rkl: [SKIP][236] ([i915#6095]) -> [SKIP][237] ([i915#14544] / [i915#6095]) +1 other test skip
[236]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@kms_ccs@[email protected]
[237]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@kms_ccs@[email protected]

* igt@kms_ccs@bad-aux-stride-y-tiled-gen12-mc-ccs@pipe-c-hdmi-a-2:
- shard-rkl: [SKIP][238] ([i915#14098] / [i915#6095]) -> [SKIP][239] ([i915#14098] / [i915#14544] / [i915#6095]) +1 other test skip
[238]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@kms_ccs@[email protected]
[239]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@kms_ccs@[email protected]

* igt@kms_ccs@crc-primary-basic-4-tiled-bmg-ccs:
- shard-rkl: [SKIP][240] ([i915#12313] / [i915#14544]) -> [SKIP][241] ([i915#12313]) +1 other test skip
[240]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[241]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_ccs@crc-primary-basic-y-tiled-ccs@pipe-b-hdmi-a-2:
- shard-rkl: [SKIP][242] ([i915#14544] / [i915#6095]) -> [SKIP][243] ([i915#6095]) +11 other tests skip
[242]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@kms_ccs@[email protected]
[243]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@kms_ccs@[email protected]

* igt@kms_chamelium_frames@dp-crc-fast:
- shard-rkl: [SKIP][244] ([i915#11151] / [i915#7828]) -> [SKIP][245] ([i915#11151] / [i915#14544] / [i915#7828]) +2 other tests skip
[244]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[245]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_chamelium_hpd@vga-hpd-fast:
- shard-rkl: [SKIP][246] ([i915#11151] / [i915#14544] / [i915#7828]) -> [SKIP][247] ([i915#11151] / [i915#7828]) +5 other tests skip
[246]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[247]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_content_protection@lic-type-0-hdcp14:
- shard-rkl: [SKIP][248] ([i915#14544] / [i915#15865]) -> [SKIP][249] ([i915#15865]) +1 other test skip
[248]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[249]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_content_protection@type1:
- shard-rkl: [SKIP][250] ([i915#15865]) -> [SKIP][251] ([i915#14544] / [i915#15865])
[250]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[251]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_cursor_crc@cursor-offscreen-512x170:
- shard-rkl: [SKIP][252] ([i915#13049]) -> [SKIP][253] ([i915#13049] / [i915#14544])
[252]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[253]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_cursor_crc@cursor-onscreen-32x32:
- shard-rkl: [SKIP][254] ([i915#14544] / [i915#3555]) -> [SKIP][255] ([i915#3555])
[254]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[255]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@kms_cursor_crc@cursor-random-32x10:
- shard-rkl: [SKIP][256] ([i915#3555]) -> [SKIP][257] ([i915#14544] / [i915#3555])
[256]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[257]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_cursor_crc@cursor-rapid-movement-512x170:
- shard-rkl: [SKIP][258] ([i915#13049] / [i915#14544]) -> [SKIP][259] ([i915#13049])
[258]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[259]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_dp_linktrain_fallback@dsc-fallback:
- shard-rkl: [SKIP][260] ([i915#13707] / [i915#14544]) -> [SKIP][261] ([i915#13707])
[260]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[261]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@kms_dsc@dsc-with-bpc:
- shard-rkl: [SKIP][262] ([i915#14544] / [i915#3555] / [i915#3840]) -> [SKIP][263] ([i915#3555] / [i915#3840])
[262]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[263]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@kms_fbcon_fbt@psr-suspend:
- shard-rkl: [SKIP][264] ([i915#3955]) -> [SKIP][265] ([i915#14544] / [i915#3955])
[264]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[265]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_feature_discovery@chamelium:
- shard-rkl: [SKIP][266] ([i915#14544] / [i915#4854]) -> [SKIP][267] ([i915#4854])
[266]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[267]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_flip@2x-absolute-wf_vblank:
- shard-rkl: [SKIP][268] ([i915#9934]) -> [SKIP][269] ([i915#14544] / [i915#9934])
[268]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@kms_flip@2x-absolute-wf_vblank.html
[269]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@kms_flip@2x-absolute-wf_vblank.html

* igt@kms_flip@2x-flip-vs-wf_vblank-interruptible:
- shard-rkl: [SKIP][270] ([i915#14544] / [i915#9934]) -> [SKIP][271] ([i915#9934]) +5 other tests skip
[270]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@kms_flip@2x-flip-vs-wf_vblank-interruptible.html
[271]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@kms_flip@2x-flip-vs-wf_vblank-interruptible.html

* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling:
- shard-rkl: [SKIP][272] ([i915#15643]) -> [SKIP][273] ([i915#14544] / [i915#15643])
[272]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling.html
[273]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling.html

* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling:
- shard-rkl: [SKIP][274] ([i915#14544] / [i915#15643]) -> [SKIP][275] ([i915#15643]) +1 other test skip
[274]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling.html
[275]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling.html

* igt@kms_force_connector_basic@force-load-detect:
- shard-mtlp: [SKIP][276] -> [SKIP][277] ([i915#15672])
[276]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-mtlp-2/igt@[email protected]
[277]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-mtlp-1/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt:
- shard-rkl: [SKIP][278] ([i915#14544] / [i915#1825]) -> [SKIP][279] ([i915#1825]) +20 other tests skip
[278]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[279]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscreen-pri-indfb-draw-mmap-gtt:
- shard-rkl: [SKIP][280] ([i915#15102]) -> [SKIP][281] ([i915#14544] / [i915#15102]) +1 other test skip
[280]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscreen-pri-indfb-draw-mmap-gtt.html
[281]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscreen-pri-indfb-draw-mmap-gtt.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscreen-pri-indfb-draw-render:
- shard-rkl: [SKIP][282] ([i915#14544] / [i915#15102]) -> [SKIP][283] ([i915#15102]) +2 other tests skip
[282]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscreen-pri-indfb-draw-render.html
[283]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscreen-pri-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-render:
- shard-rkl: [SKIP][284] ([i915#15102] / [i915#3023]) -> [SKIP][285] ([i915#14544] / [i915#15102] / [i915#3023]) +4 other tests skip
[284]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-render.html
[285]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-render.html

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite:
- shard-dg2: [SKIP][286] ([i915#15102] / [i915#3458]) -> [SKIP][287] ([i915#10433] / [i915#15102] / [i915#3458])
[286]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-dg2-7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite.html
[287]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg2-4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-indfb-fliptrack-mmap-gtt:
- shard-dg1: [SKIP][288] ([i915#8708]) -> [SKIP][289] ([i915#4423] / [i915#8708])
[288]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-dg1-12/igt@[email protected]
[289]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg1-13/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt:
- shard-rkl: [SKIP][290] ([i915#1825]) -> [SKIP][291] ([i915#14544] / [i915#1825]) +6 other tests skip
[290]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt.html
[291]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt.html

* igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-gtt:
- shard-rkl: [SKIP][292] ([i915#14544] / [i915#15102] / [i915#3023]) -> [SKIP][293] ([i915#15102] / [i915#3023]) +14 other tests skip
[292]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[293]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@kms_hdr@invalid-hdr:
- shard-rkl: [SKIP][294] ([i915#3555] / [i915#8228]) -> [SKIP][295] ([i915#14544] / [i915#3555] / [i915#8228])
[294]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[295]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_joiner@switch-modeset-ultra-joiner-big-joiner:
- shard-rkl: [SKIP][296] ([i915#15638] / [i915#15722]) -> [SKIP][297] ([i915#14544] / [i915#15638] / [i915#15722])
[296]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[297]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_pipe_stress@stress-xrgb8888-yftiled:
- shard-rkl: [SKIP][298] ([i915#14712]) -> [SKIP][299] ([i915#14544] / [i915#14712])
[298]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[299]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_plane@pixel-format-y-tiled-ccs-modifier-source-clamping:
- shard-rkl: [SKIP][300] ([i915#14544] / [i915#15709]) -> [SKIP][301] ([i915#15709]) +1 other test skip
[300]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[301]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_plane_scaling@plane-scaler-unity-scaling-with-rotation@pipe-b:
- shard-rkl: [SKIP][302] ([i915#14544] / [i915#15329]) -> [SKIP][303] ([i915#15329]) +3 other tests skip
[302]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@kms_plane_scaling@[email protected]
[303]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@kms_plane_scaling@[email protected]

* igt@kms_pm_backlight@fade:
- shard-rkl: [SKIP][304] ([i915#14544] / [i915#5354]) -> [SKIP][305] ([i915#5354])
[304]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[305]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_pm_dc@dc5-retention-flops:
- shard-rkl: [SKIP][306] ([i915#14544] / [i915#3828]) -> [SKIP][307] ([i915#3828]) +1 other test skip
[306]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[307]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@kms_pm_dc@dc9-dpms:
- shard-rkl: [SKIP][308] ([i915#15739]) -> [SKIP][309] ([i915#14544] / [i915#15739])
[308]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[309]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_pm_lpsp@kms-lpsp:
- shard-rkl: [SKIP][310] ([i915#9340]) -> [SKIP][311] ([i915#3828])
[310]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-4/igt@[email protected]
[311]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-8/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-overlay-plane-update-sf-dmg-area:
- shard-rkl: [SKIP][312] ([i915#11520] / [i915#14544]) -> [SKIP][313] ([i915#11520]) +3 other tests skip
[312]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[313]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-5/igt@[email protected]

* igt@kms_psr2_sf@fbc-psr2-primary-plane-update-sf-dmg-area:
- shard-rkl: [SKIP][314] ([i915#11520]) -> [SKIP][315] ([i915#11520] / [i915#14544]) +1 other test skip
[314]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[315]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_psr2_sf@pr-primary-plane-update-sf-dmg-area:
- shard-dg1: [SKIP][316] ([i915#11520] / [i915#4423]) -> [SKIP][317] ([i915#11520])
[316]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-dg1-19/igt@[email protected]
[317]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-dg1-14/igt@[email protected]

* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-rkl: [SKIP][318] ([i915#14544] / [i915#9683]) -> [SKIP][319] ([i915#9683])
[318]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[319]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_psr@psr-cursor-render:
- shard-rkl: [SKIP][320] ([i915#1072] / [i915#14544] / [i915#9732]) -> [SKIP][321] ([i915#1072] / [i915#9732]) +13 other tests skip
[320]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[321]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_psr@psr2-cursor-mmap-gtt:
- shard-rkl: [SKIP][322] ([i915#1072] / [i915#9732]) -> [SKIP][323] ([i915#1072] / [i915#14544] / [i915#9732]) +6 other tests skip
[322]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[323]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90:
- shard-rkl: [SKIP][324] ([i915#14544] / [i915#5289]) -> [SKIP][325] ([i915#5289])
[324]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[325]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-3/igt@[email protected]

* igt@kms_vrr@flip-basic:
- shard-rkl: [SKIP][326] ([i915#14544] / [i915#15243] / [i915#3555]) -> [SKIP][327] ([i915#15243] / [i915#3555])
[326]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[327]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

* igt@perf@mi-rpc:
- shard-rkl: [SKIP][328] ([i915#2434]) -> [SKIP][329] ([i915#14544] / [i915#2434])
[328]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[329]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@perf_pmu@rc6-all-gts:
- shard-rkl: [SKIP][330] ([i915#8516]) -> [SKIP][331] ([i915#14544] / [i915#8516])
[330]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-3/igt@[email protected]
[331]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-6/igt@[email protected]

* igt@sriov_basic@enable-vfs-bind-unbind-each:
- shard-rkl: [SKIP][332] ([i915#14544] / [i915#9917]) -> [SKIP][333] ([i915#9917])
[332]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18228/shard-rkl-6/igt@[email protected]
[333]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/shard-rkl-4/igt@[email protected]

[i915#10307]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10307
[i915#10433]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10433
[i915#10434]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10434
[i915#10647]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/10647
[i915#1072]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1072
[i915#11078]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11078
[i915#11151]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11151
[i915#11520]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11520
[i915#12169]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12169
[i915#12178]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12178
[i915#12313]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12313
[i915#12316]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12316
[i915#13049]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13049
[i915#13196]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13196
[i915#13356]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13356
[i915#13566]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13566
[i915#13707]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13707
[i915#13717]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13717
[i915#13729]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13729
[i915#13749]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13749
[i915#13781]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13781
[i915#13821]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13821
[i915#13958]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13958
[i915#14098]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14098
[i915#14118]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14118
[i915#14412]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14412
[i915#14419]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14419
[i915#14544]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14544
[i915#14712]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14712
[i915#14888]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14888
[i915#15073]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15073
[i915#15102]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15102
[i915#15104]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15104
[i915#15106]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15106
[i915#15132]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15132
[i915#15152]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15152
[i915#15243]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15243
[i915#15329]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15329
[i915#15330]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15330
[i915#15458]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15458
[i915#15459]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15459
[i915#15478]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15478
[i915#15608]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15608
[i915#15638]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15638
[i915#15643]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15643
[i915#15656]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15656
[i915#15662]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15662
[i915#15672]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15672
[i915#15709]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15709
[i915#15722]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15722
[i915#15725]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15725
[i915#15726]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15726
[i915#15739]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15739
[i915#15778]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15778
[i915#15865]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15865
[i915#1769]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1769
[i915#1825]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1839
[i915#2434]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2434
[i915#2527]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2527
[i915#280]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/280
[i915#2856]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2856
[i915#3023]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3023
[i915#3116]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3116
[i915#3281]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3299
[i915#3323]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3323
[i915#3458]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3458
[i915#3555]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3638
[i915#3804]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3804
[i915#3828]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3828
[i915#3840]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3840
[i915#3955]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/3955
[i915#4077]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4077
[i915#4083]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4103
[i915#4349]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4349
[i915#4423]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4423
[i915#4525]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4525
[i915#4613]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4771
[i915#4817]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4817
[i915#4854]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4854
[i915#4860]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4860
[i915#5286]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5289
[i915#5354]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5354
[i915#5956]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/5956
[i915#6095]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/6095
[i915#6334]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/6334
[i915#7443]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/7443
[i915#7697]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/7697
[i915#7828]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/7828
[i915#7862]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/7862
[i915#8228]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/8228
[i915#8399]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/8399
[i915#8411]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/8411
[i915#8428]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/8428
[i915#8516]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/8516
[i915#8562]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/8562
[i915#8708]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/8708
[i915#8814]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/8814
[i915#9053]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9053
[i915#9323]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9323
[i915#9340]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9340
[i915#9683]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9683
[i915#9688]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9688
[i915#9732]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9732
[i915#9808]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9808
[i915#9809]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9809
[i915#9812]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9812
[i915#9878]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9878
[i915#9906]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9906
[i915#9917]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9917
[i915#9934]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9934

Build changes
-------------

* Linux: CI_DRM_18228 -> Patchwork_163953v1

CI-20190529: 20190529
CI_DRM_18228: e7f370d78d32ed29cc3f100fbc3d1fe1a844978f @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8834: 8834
Patchwork_163953v1: e7f370d78d32ed29cc3f100fbc3d1fe1a844978f @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_163953v1/index.html

#35 lore raw
In reply to Ville Syrjala

Hi Ville,

Quoted 9 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The sharpness filter isn't anything special. It's just another mode of the pipe scaler, so treat is as such.

This gets rid of tons of special casing all over the place, and will allow me to finally land the pending pipe prefill
series: https://patchwork.freedesktop.org/series/156137/

Quoted 5 lines

Note that this will fail some kms_sharpness_filter tests, because those tests are basically incorrect. But I couldn't decide yet how much of that entire test should be nuked. It seems to be doing a *lot* of things, most of which have nothing to do with the sharpness filter...

With your series I could see only 1 negative test failing - invalid-filter-with-scaling-mode-center

https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shards-all.html?testfilter=sharpness

Is it sharpness and scaling-mode-center can work together? Since scaler-mode-center doesn't require

scaler.

You rightly said, all tests are not related to sharpness but covering valid scenarios for scaler + sharpness.

Apart from invalid-filter-with-scaling-mode-center, which other tests do you think are incorrect? We tried covering all valid scenarios as per HAS.

Quoted 31 lines
Cc Nemesa Garg <[email protected]>

Ville Syrjälä (9):
drm/i915/casf: s/casf_enable/enable/
drm/i915/casf: Make a proper hw state copy of the sharpness_strength drm/i915/casf: Move the casf state to better place drm/i915/casf: Extract scaler_has_casf()
drm/i915/casf: Handle CASF in skl_scaler_get_filter_select() drm/i915/casf: Constify crtc_state
drn/i915/casf: Remove redundant argument from
intel_casf_filter_lut_load()
drm/i915/pfit: Call intel_pfit_compute_config() unconditionally on

     (e)DP/HDMI

drm/i915/casf: Integrate the sharpness filter properly into the scaler
code

  drivers/gpu/drm/i915/display/intel_casf.c     | 102 +++++-----------
  drivers/gpu/drm/i915/display/intel_casf.h     |   6 +-
  .../drm/i915/display/intel_crtc_state_dump.c  |  11 +-
  drivers/gpu/drm/i915/display/intel_display.c  |  46 ++------
  .../drm/i915/display/intel_display_debugfs.c  |   5 +-
  .../drm/i915/display/intel_display_types.h    |   5 +-
  drivers/gpu/drm/i915/display/intel_dp.c       |   9 +-
  drivers/gpu/drm/i915/display/intel_hdmi.c     |   8 +-
  .../drm/i915/display/intel_modeset_setup.c    |   1 +
  drivers/gpu/drm/i915/display/intel_pfit.c     |  13 ++-
  drivers/gpu/drm/i915/display/skl_scaler.c     | 110 +++++++-----------
  drivers/gpu/drm/i915/display/skl_scaler.h     |   2 -
  12 files changed, 112 insertions(+), 206 deletions(-)
#36 lore raw
Quoted 26 lines · On Tue, Mar 31, 2026 at 05:10:42PM +0530, Sharma, Swati2 wrote:

Hi Ville,

Quoted 9 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The sharpness filter isn't anything special. It's just another mode of the pipe scaler, so treat is as such.

This gets rid of tons of special casing all over the place, and will allow me to finally land the pending pipe prefill
series: https://patchwork.freedesktop.org/series/156137/

Quoted 5 lines

Note that this will fail some kms_sharpness_filter tests, because those tests are basically incorrect. But I couldn't decide yet how much of that entire test should be nuked. It seems to be doing a *lot* of things, most of which have nothing to do with the sharpness filter...

With your series I could see only 1 negative test failing - invalid-filter-with-scaling-mode-center

https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shards-all.html?testfilter=sharpness

Is it sharpness and scaling-mode-center can work together? Since scaler-mode-center doesn't require

Quoted 7 lines

scaler.

You rightly said, all tests are not related to sharpness but covering valid scenarios for scaler + sharpness.

Apart from invalid-filter-with-scaling-mode-center, which other tests do you think are incorrect? We tried covering all valid scenarios as per HAS.

I would probably nuke all these:

Nothing to do with the sharpness filter since
it's on the pipe scaler, not plane scaler:
- filter-modifiers
- filter-rotations
- filter-formats

Doesn't seem to test anything at all:
- filter-tap

Maybe a decent idea, but really wasteful to have these kinds of things for every little feature, as opposed to just some generic "did we restore everything after dpms/suspend correctly" test:
- filter-suspend
- filter-dpms

And I guess we're missing a test for sharpness filter vs. scaling filter.

And the CRC stuff is really limited, so we have no idea if the thing even works from these tests. But I guess we don't really know the secret sauce algorithm, so generating a reference image is hard :/

If/when we get writeback we should be able vary the sharpness strength and do a diff on the resulting images, and based on that confirm that it actually did something that looks reasonable.

Quoted 32 lines
Quoted 32 lines
Cc Nemesa Garg <[email protected]>

Ville Syrjälä (9):
drm/i915/casf: s/casf_enable/enable/
drm/i915/casf: Make a proper hw state copy of the sharpness_strength drm/i915/casf: Move the casf state to better place drm/i915/casf: Extract scaler_has_casf()
drm/i915/casf: Handle CASF in skl_scaler_get_filter_select() drm/i915/casf: Constify crtc_state
drn/i915/casf: Remove redundant argument from
intel_casf_filter_lut_load()
drm/i915/pfit: Call intel_pfit_compute_config() unconditionally on

     (e)DP/HDMI

drm/i915/casf: Integrate the sharpness filter properly into the scaler
code

  drivers/gpu/drm/i915/display/intel_casf.c     | 102 +++++-----------
  drivers/gpu/drm/i915/display/intel_casf.h     |   6 +-
  .../drm/i915/display/intel_crtc_state_dump.c  |  11 +-
  drivers/gpu/drm/i915/display/intel_display.c  |  46 ++------
  .../drm/i915/display/intel_display_debugfs.c  |   5 +-
  .../drm/i915/display/intel_display_types.h    |   5 +-
  drivers/gpu/drm/i915/display/intel_dp.c       |   9 +-
  drivers/gpu/drm/i915/display/intel_hdmi.c     |   8 +-
  .../drm/i915/display/intel_modeset_setup.c    |   1 +
  drivers/gpu/drm/i915/display/intel_pfit.c     |  13 ++-
  drivers/gpu/drm/i915/display/skl_scaler.c     | 110 +++++++-----------
  drivers/gpu/drm/i915/display/skl_scaler.h     |   2 -
  12 files changed, 112 insertions(+), 206 deletions(-)
Signature · 2 lines
Ville Syrjälä
Intel
#37 lore raw

Hi Ville,

Quoted 33 lines · Ville Syrjälä
Quoted 25 lines · On Tue, Mar 31, 2026 at 05:10:42PM +0530, Sharma, Swati2 wrote:

Hi Ville,

Quoted 9 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The sharpness filter isn't anything special. It's just another mode of the pipe scaler, so treat is as such.

This gets rid of tons of special casing all over the place, and will allow me to finally land the pending pipe prefill
series: https://patchwork.freedesktop.org/series/156137/

Quoted 5 lines

Note that this will fail some kms_sharpness_filter tests, because those tests are basically incorrect. But I couldn't decide yet how much of that entire test should be nuked. It seems to be doing a *lot* of things, most of which have nothing to do with the sharpness filter...

With your series I could see only 1 negative test failing - invalid-filter-with-scaling-mode-center

https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shards-all.html?testfilter=sharpness

Is it sharpness and scaling-mode-center can work together? Since scaler-mode-center doesn't require

Quoted 7 lines

scaler.

You rightly said, all tests are not related to sharpness but covering valid scenarios for scaler + sharpness.

Apart from invalid-filter-with-scaling-mode-center, which other tests do you think are incorrect? We tried covering all valid scenarios as per HAS.

Quoted 7 lines

I would probably nuke all these:

Nothing to do with the sharpness filter since
it's on the pipe scaler, not plane scaler:
- filter-modifiers
- filter-rotations
- filter-formats

Ack.

Quoted 3 lines

Doesn't seem to test anything at all:
- filter-tap

Intention of this test is to validate different taps. As per spec,

different TAPS will be selected based on different resolution selected.

TAP 3: mode->hdisplay <= 1920 && mode->vdisplay <= 1080
TAP 5: (mode->hdisplay > 1920 && mode->hdisplay < 3840) && (mode->vdisplay > 1080 && mode->vdisplay < 2160) TAP 7: mode->hdisplay >= 3840 && mode->vdisplay >= 2160

Quoted 7 lines

Maybe a decent idea, but really wasteful to have these kinds of things for every little feature, as opposed to just some generic "did we restore everything after dpms/suspend correctly" test:
- filter-suspend
- filter-dpms

True, but we did caught an issue during local testing with this test where we were not able

to retain sharpness after S/R.

Quoted 3 lines

And I guess we're missing a test for sharpness filter vs. scaling filter.

Can you please little bit elaborate more?

Quoted 5 lines

And the CRC stuff is really limited, so we have no idea if the thing even works from these tests. But I guess we don't really know the secret sauce algorithm, so generating a reference image is hard :/

Yes, right. For this we created chamelium specific test

tests/chamelium/kms_chamelium_sharpness_filter.c

where we are comparing frame dumps with and w/o sharpness enabled

and you can clearly see difference when sharpness is applied. Though we can't check

degree of sharpness but can check if there was some change wrt reference.

Test summary:

    This test validates the content adaptive sharpness filter functionality by toggling the sharpness property on the CRTC and capturing frames using Chamelium. It ensures that the filter visually alters the output as expected.

        step 1. Display a test image with no sharpness filter. step 2. Capture output (Frame 0).
        step 3. Enable sharpness filter at mid strength. step 4. Capture output (Frame 1).
        step 5. Disable the filter again.
        step 6. Capture output (Frame 2).
        step 7. Re-enable filter with same strength. step 8. Capture output (Frame 3).
        step 9. Compare frame pairs:
                    - Frame 0 vs Frame 1 → should differ
                    - Frame 1 vs Frame 2 → should differ
                    - Frame 0 vs Frame 2 → should match
                    - Frame 1 vs Frame 3 → should match

Quoted 4 lines

If/when we get writeback we should be able vary the sharpness strength and do a diff on the resulting images, and based on that confirm that it actually did something that looks reasonable.

Sure, we do have plans to verify sharpness and colorops once WB is enabled.

So, for time being we are relying on chamelium with frame dumps.

Quoted 31 lines
Quoted 31 lines
Quoted 31 lines
Cc Nemesa Garg <[email protected]>

Ville Syrjälä (9):
drm/i915/casf: s/casf_enable/enable/
drm/i915/casf: Make a proper hw state copy of the sharpness_strength drm/i915/casf: Move the casf state to better place drm/i915/casf: Extract scaler_has_casf()
drm/i915/casf: Handle CASF in skl_scaler_get_filter_select() drm/i915/casf: Constify crtc_state
drn/i915/casf: Remove redundant argument from
intel_casf_filter_lut_load()
drm/i915/pfit: Call intel_pfit_compute_config() unconditionally on
(e)DP/HDMI
drm/i915/casf: Integrate the sharpness filter properly into the scaler
code

   drivers/gpu/drm/i915/display/intel_casf.c     | 102 +++++-----------
   drivers/gpu/drm/i915/display/intel_casf.h     |   6 +-
   .../drm/i915/display/intel_crtc_state_dump.c  |  11 +-
   drivers/gpu/drm/i915/display/intel_display.c  |  46 ++------
   .../drm/i915/display/intel_display_debugfs.c  |   5 +-
   .../drm/i915/display/intel_display_types.h    |   5 +-
   drivers/gpu/drm/i915/display/intel_dp.c       |   9 +-
   drivers/gpu/drm/i915/display/intel_hdmi.c     |   8 +-
   .../drm/i915/display/intel_modeset_setup.c    |   1 +
   drivers/gpu/drm/i915/display/intel_pfit.c     |  13 ++-
   drivers/gpu/drm/i915/display/skl_scaler.c     | 110 +++++++-----------
   drivers/gpu/drm/i915/display/skl_scaler.h     |   2 -
   12 files changed, 112 insertions(+), 206 deletions(-)
#38 lore raw
Quoted 50 lines · On Wed, Apr 01, 2026 at 11:32:30AM +0530, Sharma, Swati2 wrote:

Hi Ville,

Quoted 33 lines · Ville Syrjälä
Quoted 25 lines · On Tue, Mar 31, 2026 at 05:10:42PM +0530, Sharma, Swati2 wrote:

Hi Ville,

Quoted 9 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The sharpness filter isn't anything special. It's just another mode of the pipe scaler, so treat is as such.

This gets rid of tons of special casing all over the place, and will allow me to finally land the pending pipe prefill
series: https://patchwork.freedesktop.org/series/156137/

Quoted 5 lines

Note that this will fail some kms_sharpness_filter tests, because those tests are basically incorrect. But I couldn't decide yet how much of that entire test should be nuked. It seems to be doing a *lot* of things, most of which have nothing to do with the sharpness filter...

With your series I could see only 1 negative test failing - invalid-filter-with-scaling-mode-center

https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shards-all.html?testfilter=sharpness

Is it sharpness and scaling-mode-center can work together? Since scaler-mode-center doesn't require

Quoted 7 lines

scaler.

You rightly said, all tests are not related to sharpness but covering valid scenarios for scaler + sharpness.

Apart from invalid-filter-with-scaling-mode-center, which other tests do you think are incorrect? We tried covering all valid scenarios as per HAS.

Quoted 7 lines

I would probably nuke all these:

Nothing to do with the sharpness filter since
it's on the pipe scaler, not plane scaler:
- filter-modifiers
- filter-rotations
- filter-formats

Ack.

Quoted 3 lines

Doesn't seem to test anything at all:
- filter-tap

Intention of this test is to validate different taps. As per spec,

Quoted 7 lines

different TAPS will be selected based on different resolution selected.

TAP 3: mode->hdisplay <= 1920 && mode->vdisplay <= 1080 TAP 5: (mode->hdisplay > 1920 && mode->hdisplay < 3840) && (mode->vdisplay > 1080 && mode->vdisplay < 2160) TAP 7: mode->hdisplay >= 3840 && mode->vdisplay >= 2160

AFAIK all it does is try three different modes on the CRTC, and then nothing. How does that verify anything (other than the driver didn't explode)?

I suppose it could be verified with the chamelium/writeback based test. But right now this test doesn't seem to do anything.

Quoted 9 lines
Quoted 8 lines

Maybe a decent idea, but really wasteful to have these kinds of things for every little feature, as opposed to just some generic "did we restore everything after dpms/suspend correctly" test:
- filter-suspend
- filter-dpms

Quoted 4 lines

True, but we did caught an issue during local testing with this test where we were not able

to retain sharpness after S/R.

That was likely due to the poor integration with the actual pfit code. So the sharpness filter needed all kinds of special cases everywhere in the driver. I'm fixing that now.

These kind of tests burn a lot of CI time. We really don't want them separately for every little individual feature.

Signature · 2 lines
Ville Syrjälä
Intel
#39 lore raw

Hi Ville,

Quoted 52 lines · Ville Syrjälä
Quoted 51 lines · On Wed, Apr 01, 2026 at 11:32:30AM +0530, Sharma, Swati2 wrote:

Hi Ville,

Quoted 33 lines · Ville Syrjälä
Quoted 25 lines · On Tue, Mar 31, 2026 at 05:10:42PM +0530, Sharma, Swati2 wrote:

Hi Ville,

Quoted 9 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The sharpness filter isn't anything special. It's just another mode of the pipe scaler, so treat is as such.

This gets rid of tons of special casing all over the place, and will allow me to finally land the pending pipe prefill
series: https://patchwork.freedesktop.org/series/156137/

Quoted 5 lines

Note that this will fail some kms_sharpness_filter tests, because those tests are basically incorrect. But I couldn't decide yet how much of that entire test should be nuked. It seems to be doing a *lot* of things, most of which have nothing to do with the sharpness filter...

With your series I could see only 1 negative test failing - invalid-filter-with-scaling-mode-center

https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shards-all.html?testfilter=sharpness

Is it sharpness and scaling-mode-center can work together? Since scaler-mode-center doesn't require

Quoted 7 lines

scaler.

You rightly said, all tests are not related to sharpness but covering valid scenarios for scaler + sharpness.

Apart from invalid-filter-with-scaling-mode-center, which other tests do you think are incorrect? We tried covering all valid scenarios as per HAS.

Quoted 7 lines

I would probably nuke all these:

Nothing to do with the sharpness filter since
it's on the pipe scaler, not plane scaler:
- filter-modifiers
- filter-rotations
- filter-formats

Ack.

Quoted 2 lines

Doesn't seem to test anything at all:
- filter-tap

Intention of this test is to validate different taps. As per spec,

different TAPS will be selected based on different resolution selected.

Quoted 7 lines
Quoted 4 lines

TAP 3: mode->hdisplay <= 1920 && mode->vdisplay <= 1080 TAP 5: (mode->hdisplay > 1920 && mode->hdisplay < 3840) && (mode->vdisplay > 1080 && mode->vdisplay < 2160) TAP 7: mode->hdisplay >= 3840 && mode->vdisplay >= 2160

AFAIK all it does is try three different modes on the CRTC, and then nothing. How does that verify anything (other than the driver didn't explode)?

Right, when we are trying with different resolutions; though from driver different taps are

being selected but from IGT we don't know if its correct or not.

Quoted 2 lines

I suppose it could be verified with the chamelium/writeback based test. But right now this test doesn't seem to do anything.

You mean, shall i add this test on kms_chamelium_sharpness_filter.c ? Currently we have only

basic test enabled there.

Quoted 9 lines
Quoted 9 lines
Quoted 6 lines

Maybe a decent idea, but really wasteful to have these kinds of things for every little feature, as opposed to just some generic "did we restore everything after dpms/suspend correctly" test:
- filter-suspend
- filter-dpms

True, but we did caught an issue during local testing with this test where we were not able

Quoted 7 lines
Quoted 1 line

to retain sharpness after S/R.

That was likely due to the poor integration with the actual pfit code. So the sharpness filter needed all kinds of special cases everywhere in the driver. I'm fixing that now.

These kind of tests burn a lot of CI time. We really don't want them separately for every little individual feature.

Ack.

Quoted 1 line
#40 lore raw
In reply to Sharma, Swati2

Hi Ville

Quoted 37 lines · On 01-04-2026 11:32 am, Sharma, Swati2 wrote:

Hi Ville,

Quoted 34 lines · Ville Syrjälä
Quoted 33 lines · On Tue, Mar 31, 2026 at 05:10:42PM +0530, Sharma, Swati2 wrote:

Hi Ville,

Quoted 9 lines · Ville Syrjala

From: Ville Syrjälä <[email protected]>

The sharpness filter isn't anything special. It's just another mode of the pipe scaler, so treat is as such.

This gets rid of tons of special casing all over the place, and will allow me to finally land the pending pipe prefill
series: https://patchwork.freedesktop.org/series/156137/

Quoted 5 lines

Note that this will fail some kms_sharpness_filter tests, because those tests are basically incorrect. But I couldn't decide yet how much of that entire test should be nuked. It seems to be doing a *lot* of things, most of which have nothing to do with the sharpness filter...

With your series I could see only 1 negative test failing - invalid-filter-with-scaling-mode-center

https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-163952v1/shards-all.html?testfilter=sharpness

Is it sharpness and scaling-mode-center can work together? Since scaler-mode-center doesn't require

scaler.

You rightly said, all tests are not related to sharpness but covering valid scenarios for scaler + sharpness.

Apart from invalid-filter-with-scaling-mode-center, which other tests do you think are incorrect? We tried covering all valid scenarios as per HAS.

Quoted 8 lines
Quoted 7 lines

I would probably nuke all these:

Nothing to do with the sharpness filter since
it's on the pipe scaler, not plane scaler:
- filter-modifiers
- filter-rotations
- filter-formats

Ack.

IGT patch floated https://patchwork.freedesktop.org/series/165542/

to remove above tests .

Can you please elaborate about sharpness filter vs. scaling filter test to be added?

Is it like applying
DRM_SCALING_FILTER_DEFAULT
DRM_SCALING_FILTER_NEAREST_NEIGHBOR
And SHARPNESS_FILTER
and doing some comparison?

Quoted 108 lines
Quoted 3 lines

Doesn't seem to test anything at all:
- filter-tap

Intention of this test is to validate different taps. As per spec,

different TAPS will be selected based on different resolution selected.

TAP 3: mode->hdisplay <= 1920 && mode->vdisplay <= 1080
TAP 5: (mode->hdisplay > 1920 && mode->hdisplay < 3840) && (mode->vdisplay > 1080 && mode->vdisplay < 2160) TAP 7: mode->hdisplay >= 3840 && mode->vdisplay >= 2160

Quoted 7 lines

Maybe a decent idea, but really wasteful to have these kinds of things for every little feature, as opposed to just some generic "did we restore everything after dpms/suspend correctly" test:
- filter-suspend
- filter-dpms

True, but we did caught an issue during local testing with this test where we were not able

to retain sharpness after S/R.

Quoted 3 lines

And I guess we're missing a test for sharpness filter vs. scaling filter.

Can you please little bit elaborate more?

Quoted 5 lines

And the CRC stuff is really limited, so we have no idea if the thing even works from these tests. But I guess we don't really know the secret sauce algorithm, so generating a reference image is hard :/

Yes, right. For this we created chamelium specific test

tests/chamelium/kms_chamelium_sharpness_filter.c

where we are comparing frame dumps with and w/o sharpness enabled

and you can clearly see difference when sharpness is applied. Though we can't check

degree of sharpness but can check if there was some change wrt reference.

Test summary:

    This test validates the content adaptive sharpness filter functionality by toggling the sharpness property on the CRTC and capturing frames using Chamelium. It ensures that the filter visually alters the output as expected.

        step 1. Display a test image with no sharpness filter. step 2. Capture output (Frame 0).
        step 3. Enable sharpness filter at mid strength. step 4. Capture output (Frame 1).
        step 5. Disable the filter again.
        step 6. Capture output (Frame 2).
        step 7. Re-enable filter with same strength. step 8. Capture output (Frame 3).
        step 9. Compare frame pairs:
                    - Frame 0 vs Frame 1 → should differ
                    - Frame 1 vs Frame 2 → should differ
                    - Frame 0 vs Frame 2 → should match
                    - Frame 1 vs Frame 3 → should match

Quoted 4 lines

If/when we get writeback we should be able vary the sharpness strength and do a diff on the resulting images, and based on that confirm that it actually did something that looks reasonable.

Sure, we do have plans to verify sharpness and colorops once WB is enabled.

So, for time being we are relying on chamelium with frame dumps.

Quoted 33 lines
Quoted 33 lines
Quoted 33 lines
Cc Nemesa Garg <[email protected]>

Ville Syrjälä (9):
    drm/i915/casf: s/casf_enable/enable/
    drm/i915/casf: Make a proper hw state copy of the sharpness_strength drm/i915/casf: Move the casf state to better place drm/i915/casf: Extract scaler_has_casf()
    drm/i915/casf: Handle CASF in skl_scaler_get_filter_select() drm/i915/casf: Constify crtc_state
    drn/i915/casf: Remove redundant argument from intel_casf_filter_lut_load()
    drm/i915/pfit: Call intel_pfit_compute_config() unconditionally on (e)DP/HDMI
    drm/i915/casf: Integrate the sharpness filter properly into the scaler code

   drivers/gpu/drm/i915/display/intel_casf.c     | 102
+++++-----------
   drivers/gpu/drm/i915/display/intel_casf.h     |   6 +-

   .../drm/i915/display/intel_crtc_state_dump.c  |  11 +-
   drivers/gpu/drm/i915/display/intel_display.c  |  46 ++------
   .../drm/i915/display/intel_display_debugfs.c  |   5 +-

   .../drm/i915/display/intel_display_types.h    |   5 +- drivers/gpu/drm/i915/display/intel_dp.c       |   9 +- drivers/gpu/drm/i915/display/intel_hdmi.c     |   8 +- .../drm/i915/display/intel_modeset_setup.c    |   1 + drivers/gpu/drm/i915/display/intel_pfit.c     |  13 ++- drivers/gpu/drm/i915/display/skl_scaler.c     | 110
+++++++-----------
   drivers/gpu/drm/i915/display/skl_scaler.h     |   2 -

   12 files changed, 112 insertions(+), 206 deletions(-)
Reviewed-by on the v1 series
#41 lore raw
In reply to Ville Syrjala
Quoted 15 lines

-----Original Message-----
From: Ville Syrjala <[email protected]>
Sent: Friday, March 27, 2026 4:02 AM
To: [email protected]
Cc: [email protected]; Garg, Nemesa <[email protected]>
Subject: [PATCH 0/9] drm/i915/casf: Integrate the sharpness filter properly into the scaler code

From: Ville Syrjälä <[email protected]>

The sharpness filter isn't anything special. It's just another mode of the pipe scaler, so treat is as such.

Quoted 9 lines

This gets rid of tons of special casing all over the place, and will allow me to finally land the pending pipe prefill
series: https://patchwork.freedesktop.org/series/156137/

Note that this will fail some kms_sharpness_filter tests, because those tests are basically incorrect. But I couldn't decide yet how much of that entire test should be nuked. It seems to be doing a *lot* of things, most of which have nothing to do with the sharpness filter...

I will drop this series [1], as the changes have already been taken care of in the current series.
[1] https://patchwork.freedesktop.org/series/158667/

With this, series look good to me.

Quoted 32 lines
Cc Nemesa Garg <[email protected]>

Ville Syrjälä (9):
drm/i915/casf: s/casf_enable/enable/
drm/i915/casf: Make a proper hw state copy of the sharpness_strength drm/i915/casf: Move the casf state to better place drm/i915/casf: Extract scaler_has_casf()
drm/i915/casf: Handle CASF in skl_scaler_get_filter_select() drm/i915/casf: Constify crtc_state
drn/i915/casf: Remove redundant argument from
intel_casf_filter_lut_load()
drm/i915/pfit: Call intel_pfit_compute_config() unconditionally on

    (e)DP/HDMI

drm/i915/casf: Integrate the sharpness filter properly into the scaler
code

 drivers/gpu/drm/i915/display/intel_casf.c     | 102 +++++-----------
 drivers/gpu/drm/i915/display/intel_casf.h     |   6 +-
 .../drm/i915/display/intel_crtc_state_dump.c  |  11 +-
drivers/gpu/drm/i915/display/intel_display.c  |  46 ++------
 .../drm/i915/display/intel_display_debugfs.c  |   5 +-
 .../drm/i915/display/intel_display_types.h    |   5 +-
 drivers/gpu/drm/i915/display/intel_dp.c       |   9 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c     |   8 +-
 .../drm/i915/display/intel_modeset_setup.c    |   1 +
 drivers/gpu/drm/i915/display/intel_pfit.c     |  13 ++-
 drivers/gpu/drm/i915/display/skl_scaler.c     | 110 +++++++-----------
 drivers/gpu/drm/i915/display/skl_scaler.h     |   2 -
 12 files changed, 112 insertions(+), 206 deletions(-)

--
2.52.0