Skip to contentSkip to conversation

drm/i915/pps: Add get_pps_idx() hook as part of pps_get_register() cleanup

PATCH In review Animesh Manna 3 participants 9 messages Nov 9, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 drm/i915/pps: Add get_pps_idx() hook as part of pps_get_register() cleanup

Simplified pps_get_register() which use get_pps_idx() hook to derive the pps instance and get_pps_idx() will be initialized at pps_init().

v1: Initial version. Got r-b from Jani.
v2: Corrected unintentional change around memset() call. [Jani]

Cc Jani Nikula <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Uma Shankar <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_display_types.h |  1 +
 drivers/gpu/drm/i915/display/intel_pps.c           | 14 +++++++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +1 -0
index c6abaaa46e17..87163ef32983 100644
@@ -1698,6 +1698,7 @@ struct intel_dp {
 	u8 (*preemph_max)(struct intel_dp *intel_dp);
 	u8 (*voltage_max)(struct intel_dp *intel_dp,
 			  const struct intel_crtc_state *crtc_state);
+	int (*get_pps_idx)(struct intel_dp *intel_dp);
 
 	/* Displayport compliance testing */
 	struct intel_dp_compliance compliance;
drivers/gpu/drm/i915/display/intel_pps.c +9 -5
index 22f5e08d396b..3949fb449353 100644
@@ -366,11 +366,8 @@ static void intel_pps_get_registers(struct intel_dp *intel_dp,
 	int pps_idx = 0;
 
 	memset(regs, 0, sizeof(*regs));
-
-	if (IS_GEMINILAKE(dev_priv) || IS_BROXTON(dev_priv))
-		pps_idx = bxt_power_sequencer_idx(intel_dp);
-	else if (IS_VALLEYVIEW(dev_priv) || IS_CHERRYVIEW(dev_priv))
-		pps_idx = vlv_power_sequencer_pipe(intel_dp);
+	if (intel_dp->get_pps_idx)
+		pps_idx = intel_dp->get_pps_idx(intel_dp);
 
 	regs->pp_ctrl = PP_CONTROL(pps_idx);
 	regs->pp_stat = PP_STATUS(pps_idx);
@@ -1433,6 +1430,13 @@ void intel_pps_init(struct intel_dp *intel_dp)
 	intel_dp->pps.initializing = true;
 	INIT_DELAYED_WORK(&intel_dp->pps.panel_vdd_work, edp_panel_vdd_work);
 
+	if (IS_GEMINILAKE(i915) || IS_BROXTON(i915))
+		intel_dp->get_pps_idx = bxt_power_sequencer_idx;
+	else if (IS_VALLEYVIEW(i915) || IS_CHERRYVIEW(i915))
+		intel_dp->get_pps_idx = vlv_power_sequencer_pipe;
+	else
+		intel_dp->get_pps_idx = NULL;
+
 	pps_init_timestamps(intel_dp);
 
 	with_intel_pps_lock(intel_dp, wakeref) {
Signature · 1 line
2.29.0
#1 lore raw

PATCH 2/3 drm/i915/pps: Enable 2nd pps for dual EDP scenario

From display gen12 onwards to support dual EDP two instances of pps added. Currently backlight controller and pps instance can be mapped together for a specific panel. Currently dual PPS support is broken. This patch fixes it and enables for display 12+.

v1: Iniital revision.
v2: Called intel_bios_panel_init w/o PNPID before intel_pps_init. [Jani]
v3: Set pps_id to -1 for pnpid type of panel which will be used by bxt_power_sequencer_idx() to set 2nd pps instance as default for 2nd EDP panel. [Jani]
v4: Early return for PANEL_TYPE_FALLBACK. [Jani]
v5: Removed additional pps_id variable and reused backlight controller. [Jani]

Cc Jani Nikula <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Uma Shankar <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_bios.c |  9 ++++++++-
 drivers/gpu/drm/i915/display/intel_bios.h |  2 +-
 drivers/gpu/drm/i915/display/intel_dp.c   | 10 +++++++---
 drivers/gpu/drm/i915/display/intel_pps.c  | 12 +++++++++++-
 4 files changed, 27 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/display/intel_bios.c +8 -1
index c2987f2c2b2e..1c1eea061fbb 100644
@@ -3183,7 +3183,7 @@ void intel_bios_init(struct drm_i915_private *i915)
 	kfree(oprom_vbt);
 }
 
-void intel_bios_init_panel(struct drm_i915_private *i915,
+bool intel_bios_init_panel(struct drm_i915_private *i915,
 			   struct intel_panel *panel,
 			   const struct intel_bios_encoder_data *devdata,
 			   const struct edid *edid)
@@ -3192,6 +3192,11 @@ void intel_bios_init_panel(struct drm_i915_private *i915,
 
 	panel->vbt.panel_type = get_panel_type(i915, devdata, edid);
 
+	if (panel->vbt.panel_type == PANEL_TYPE_FALLBACK && !edid) {
+		panel->vbt.backlight.controller = -1;
+		return true;
+	}
+
 	parse_panel_options(i915, panel);
 	parse_generic_dtd(i915, panel);
 	parse_lfp_data(i915, panel);
@@ -3203,6 +3208,8 @@ void intel_bios_init_panel(struct drm_i915_private *i915,
 	parse_psr(i915, panel);
 	parse_mipi_config(i915, panel);
 	parse_mipi_sequence(i915, panel);
+
+	return false;
 }
 
 /**
drivers/gpu/drm/i915/display/intel_bios.h +1 -1
index e375405a7828..f8ef0274f3ee 100644
@@ -232,7 +232,7 @@ struct mipi_pps_data {
 } __packed;
 
 void intel_bios_init(struct drm_i915_private *dev_priv);
-void intel_bios_init_panel(struct drm_i915_private *dev_priv,
+bool intel_bios_init_panel(struct drm_i915_private *dev_priv,
 			   struct intel_panel *panel,
 			   const struct intel_bios_encoder_data *devdata,
 			   const struct edid *edid);
drivers/gpu/drm/i915/display/intel_dp.c +7 -3
index 7400d6b4c587..78cf3a77f026 100644
@@ -5235,6 +5235,7 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,
 	struct intel_encoder *encoder = &dp_to_dig_port(intel_dp)->base;
 	bool has_dpcd;
 	struct edid *edid;
+	bool retry;
 
 	if (!intel_dp_is_edp(intel_dp))
 		return true;
@@ -5254,6 +5255,9 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,
 		return false;
 	}
 
+	retry = intel_bios_init_panel(dev_priv, &intel_connector->panel,
+				      encoder->devdata, NULL);
+
 	intel_pps_init(intel_dp);
 
 	/* Cache DPCD and EDID for edp. */
@@ -5288,9 +5292,9 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,
 		edid = ERR_PTR(-ENOENT);
 	}
 	intel_connector->edid = edid;
-
-	intel_bios_init_panel(dev_priv, &intel_connector->panel,
-			      encoder->devdata, IS_ERR(edid) ? NULL : edid);
+	if (retry)
+		intel_bios_init_panel(dev_priv, &intel_connector->panel,
+				      encoder->devdata, IS_ERR(edid) ? NULL : edid);
 
 	intel_panel_add_edid_fixed_modes(intel_connector, true);
 
drivers/gpu/drm/i915/display/intel_pps.c +11 -1
index 3949fb449353..5738af154bd2 100644
@@ -219,6 +219,16 @@ bxt_power_sequencer_idx(struct intel_dp *intel_dp)
 	/* We should never land here with regular DP ports */
 	drm_WARN_ON(&dev_priv->drm, !intel_dp_is_edp(intel_dp));
 
+	if (backlight_controller == -1) {
+		/*
+		 * Use 2nd PPS instance as default for 2nd EDP panel.
+		 */
+		if (connector->encoder->port == PORT_A)
+			return 0;
+		else
+			return 1;
+	}
+
 	if (!intel_dp->pps.pps_reset)
 		return backlight_controller;
 
@@ -1430,7 +1440,7 @@ void intel_pps_init(struct intel_dp *intel_dp)
 	intel_dp->pps.initializing = true;
 	INIT_DELAYED_WORK(&intel_dp->pps.panel_vdd_work, edp_panel_vdd_work);
 
-	if (IS_GEMINILAKE(i915) || IS_BROXTON(i915))
+	if (IS_GEMINILAKE(i915) || IS_BROXTON(i915) || DISPLAY_VER(i915) >= 12)
 		intel_dp->get_pps_idx = bxt_power_sequencer_idx;
 	else if (IS_VALLEYVIEW(i915) || IS_CHERRYVIEW(i915))
 		intel_dp->get_pps_idx = vlv_power_sequencer_pipe;
Signature · 1 line
2.29.0
#2 lore raw

Re: [Intel-gfx] [PATCH 2/3] drm/i915/pps: Enable 2nd pps for dual EDP scenario

Quoted 39 lines · Animesh Manna

From display gen12 onwards to support dual EDP two instances of pps added. Currently backlight controller and pps instance can be mapped together for a specific panel. Currently dual PPS support is broken. This patch fixes it and enables for display 12+.

v1: Iniital revision.
v2: Called intel_bios_panel_init w/o PNPID before intel_pps_init. [Jani]
v3: Set pps_id to -1 for pnpid type of panel which will be used by bxt_power_sequencer_idx() to set 2nd pps instance as default for 2nd EDP panel. [Jani]
v4: Early return for PANEL_TYPE_FALLBACK. [Jani]
v5: Removed additional pps_id variable and reused backlight controller. [Jani]

Cc Jani Nikula <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Uma Shankar <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_bios.c |  9 ++++++++-
 drivers/gpu/drm/i915/display/intel_bios.h |  2 +-
 drivers/gpu/drm/i915/display/intel_dp.c   | 10 +++++++---
 drivers/gpu/drm/i915/display/intel_pps.c  | 12 +++++++++++-
 4 files changed, 27 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/display/intel_bios.c +1 -1
index c2987f2c2b2e..1c1eea061fbb 100644
@@ -3183,7 +3183,7 @@ void intel_bios_init(struct drm_i915_private *i915)
 	kfree(oprom_vbt);
 }
 
-void intel_bios_init_panel(struct drm_i915_private *i915,
+bool intel_bios_init_panel(struct drm_i915_private *i915,
 			   struct intel_panel *panel,
 			   const struct intel_bios_encoder_data *devdata,
 			   const struct edid *edid)

drivers/gpu/drm/i915/display/intel_bios.c void intel_bios_init_panel(struct drm_i915_private *i915, · line 3195

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_bios.c +1 -0
@@ -3192,6 +3192,11 @@ void intel_bios_init_panel(struct drm_i915_private *i915,
 
 	panel->vbt.panel_type = get_panel_type(i915, devdata, edid);
 
+	if (panel->vbt.panel_type == PANEL_TYPE_FALLBACK && !edid) {

As Ville pointed out, "panel->vbt.panel_type == PANEL_TYPE_FALLBACK" is comparing apples to oranges, and we hit this path only in the rare case that panel_type == 3, regardless of where the panel type originated.

This is probably the reason patches 1&2 don't fix the original issue like it should.

I remind you that the issue is two eDP having their own pps software states but using the same pps hardware due to conflicting pps index (which is the same as panel->vbt.backlight.controller). This is what we need to solve here.

We get the wakeref imbalance because of two eDP trampling on the same pps hardware. Patch 3 does nothing to address that issue, it just tries to hide the problem.

BR,
Jani.

Quoted 94 lines
drivers/gpu/drm/i915/display/intel_bios.c +6 -0
+		panel->vbt.backlight.controller = -1;
+		return true;
+	}
+
 	parse_panel_options(i915, panel);
 	parse_generic_dtd(i915, panel);
 	parse_lfp_data(i915, panel);
@@ -3203,6 +3208,8 @@ void intel_bios_init_panel(struct drm_i915_private *i915,
 	parse_psr(i915, panel);
 	parse_mipi_config(i915, panel);
 	parse_mipi_sequence(i915, panel);
+
+	return false;
 }
 
 /**
drivers/gpu/drm/i915/display/intel_bios.h +1 -1
index e375405a7828..f8ef0274f3ee 100644
@@ -232,7 +232,7 @@ struct mipi_pps_data {
 } __packed;
 
 void intel_bios_init(struct drm_i915_private *dev_priv);
-void intel_bios_init_panel(struct drm_i915_private *dev_priv,
+bool intel_bios_init_panel(struct drm_i915_private *dev_priv,
 			   struct intel_panel *panel,
 			   const struct intel_bios_encoder_data *devdata,
 			   const struct edid *edid);
drivers/gpu/drm/i915/display/intel_dp.c +7 -3
index 7400d6b4c587..78cf3a77f026 100644
@@ -5235,6 +5235,7 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,
 	struct intel_encoder *encoder = &dp_to_dig_port(intel_dp)->base;
 	bool has_dpcd;
 	struct edid *edid;
+	bool retry;
 
 	if (!intel_dp_is_edp(intel_dp))
 		return true;
@@ -5254,6 +5255,9 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,
 		return false;
 	}
 
+	retry = intel_bios_init_panel(dev_priv, &intel_connector->panel,
+				      encoder->devdata, NULL);
+
 	intel_pps_init(intel_dp);
 
 	/* Cache DPCD and EDID for edp. */
@@ -5288,9 +5292,9 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,
 		edid = ERR_PTR(-ENOENT);
 	}
 	intel_connector->edid = edid;
-
-	intel_bios_init_panel(dev_priv, &intel_connector->panel,
-			      encoder->devdata, IS_ERR(edid) ? NULL : edid);
+	if (retry)
+		intel_bios_init_panel(dev_priv, &intel_connector->panel,
+				      encoder->devdata, IS_ERR(edid) ? NULL : edid);
 
 	intel_panel_add_edid_fixed_modes(intel_connector, true);
 
drivers/gpu/drm/i915/display/intel_pps.c +11 -1
index 3949fb449353..5738af154bd2 100644
@@ -219,6 +219,16 @@ bxt_power_sequencer_idx(struct intel_dp *intel_dp)
 	/* We should never land here with regular DP ports */
 	drm_WARN_ON(&dev_priv->drm, !intel_dp_is_edp(intel_dp));
 
+	if (backlight_controller == -1) {
+		/*
+		 * Use 2nd PPS instance as default for 2nd EDP panel.
+		 */
+		if (connector->encoder->port == PORT_A)
+			return 0;
+		else
+			return 1;
+	}
+
 	if (!intel_dp->pps.pps_reset)
 		return backlight_controller;
 
@@ -1430,7 +1440,7 @@ void intel_pps_init(struct intel_dp *intel_dp)
 	intel_dp->pps.initializing = true;
 	INIT_DELAYED_WORK(&intel_dp->pps.panel_vdd_work, edp_panel_vdd_work);
 
-	if (IS_GEMINILAKE(i915) || IS_BROXTON(i915))
+	if (IS_GEMINILAKE(i915) || IS_BROXTON(i915) || DISPLAY_VER(i915) >= 12)
 		intel_dp->get_pps_idx = bxt_power_sequencer_idx;
 	else if (IS_VALLEYVIEW(i915) || IS_CHERRYVIEW(i915))
 		intel_dp->get_pps_idx = vlv_power_sequencer_pipe;
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
#3 lore raw

Re: [Intel-gfx] [PATCH 2/3] drm/i915/pps: Enable 2nd pps for dual EDP scenario

Quoted 55 lines

-----Original Message-----
From: Nikula, Jani <[email protected]>
Sent: Wednesday, November 9, 2022 5:12 PM
To: Manna, Animesh <[email protected]>; intel- [email protected]
Cc: Manna, Animesh <[email protected]>; Ville Syrjälä <[email protected]>; Shankar, Uma <[email protected]>
Subject: Re: [PATCH 2/3] drm/i915/pps: Enable 2nd pps for dual EDP scenario

Quoted 43 lines · Animesh Manna

From display gen12 onwards to support dual EDP two instances of pps added. Currently backlight controller and pps instance can be mapped together for a specific panel. Currently dual PPS support is broken. This patch fixes it and enables for display 12+.

v1: Iniital revision.
v2: Called intel_bios_panel_init w/o PNPID before intel_pps_init. [Jani]
v3: Set pps_id to -1 for pnpid type of panel which will be used by bxt_power_sequencer_idx() to set 2nd pps instance as default for 2nd EDP panel. [Jani]
v4: Early return for PANEL_TYPE_FALLBACK. [Jani]
v5: Removed additional pps_id variable and reused backlight controller. [Jani]

Cc Jani Nikula <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Uma Shankar <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_bios.c |  9 ++++++++-
drivers/gpu/drm/i915/display/intel_bios.h |  2 +-
 drivers/gpu/drm/i915/display/intel_dp.c   | 10 +++++++---
 drivers/gpu/drm/i915/display/intel_pps.c  | 12 +++++++++++-
 4 files changed, 27 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/display/intel_bios.c +1 -1
index c2987f2c2b2e..1c1eea061fbb 100644
@@ -3183,7 +3183,7 @@ void intel_bios_init(struct drm_i915_private *i915)
 	kfree(oprom_vbt);
 }
 
-void intel_bios_init_panel(struct drm_i915_private *i915,
+bool intel_bios_init_panel(struct drm_i915_private *i915,
 			   struct intel_panel *panel,
 			   const struct intel_bios_encoder_data *devdata,
 			   const struct edid *edid)
@@ -3192,6 +3192,11 @@ void intel_bios_init_panel(struct
 drm_i915_private *i915,
 
Quoted 7 lines

drivers/gpu/drm/i915/display/intel_bios.c void intel_bios_init_panel(struct drm_i915_private *i915, · line 3195

Quoted 3 lines
drivers/gpu/drm/i915/display/intel_bios.c +1 -0
 	panel->vbt.panel_type = get_panel_type(i915, devdata, edid);
 
+	if (panel->vbt.panel_type == PANEL_TYPE_FALLBACK && !edid) {

As Ville pointed out, "panel->vbt.panel_type == PANEL_TYPE_FALLBACK" is comparing apples to oranges, and we hit this path only in the rare case that panel_type == 3, regardless of where the panel type originated.

Got it, tried returning some random negative number (for example -2) from fallback_get_panel_type() and checking the same here is fixing the WARN_ON.

Quoted 6 lines

This is probably the reason patches 1&2 don't fix the original issue like it should.

I remind you that the issue is two eDP having their own pps software states but using the same pps hardware due to conflicting pps index (which is the same as panel->vbt.backlight.controller). This is what we need to solve here.

In this patch we decide to use the specific pps based on port number. Once we identify it is PORT B always 2nd instance of PPS will be used. All pps register get instantiated with pps_idx 1

	if (backlight_controller == -1) {
		/*
		 * Use 2nd PPS instance as default for 2nd EDP panel.
		 */
		if (connector->encoder->port == PORT_A)
			return 0;
		else
			return 1;
	}

Not sure what is toggling the VDD. Anyways I agree patch 3 is not needed. Thanks for review.

Regards,
Animesh

Quoted 116 lines

We get the wakeref imbalance because of two eDP trampling on the same pps hardware. Patch 3 does nothing to address that issue, it just tries to hide the problem.

BR,
Jani.

drivers/gpu/drm/i915/display/intel_bios.c void intel_bios_init_panel(struct drm_i915_private

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_bios.c +4 -0
+		panel->vbt.backlight.controller = -1;
+		return true;
+	}
+
 	parse_panel_options(i915, panel);
 	parse_generic_dtd(i915, panel);
drivers/gpu/drm/i915/display/intel_bios.c +0 -0
 	parse_lfp_data(i915, panel);
@@ -3203,6 +3208,8 @@ void intel_bios_init_panel(struct drm_i915_private

*i915,

drivers/gpu/drm/i915/display/intel_dp.c static bool intel_edp_init_connector(struct intel_dp

Quoted 27 lines
drivers/gpu/drm/i915/display/intel_bios.c +2 -0
 	parse_psr(i915, panel);
 	parse_mipi_config(i915, panel);
 	parse_mipi_sequence(i915, panel);
+
+	return false;
 }
 
 /**
drivers/gpu/drm/i915/display/intel_bios.h +1 -0
index e375405a7828..f8ef0274f3ee 100644
@@ -232,7 +232,7 @@ struct mipi_pps_data {  } __packed;
 
 void intel_bios_init(struct drm_i915_private *dev_priv); -void
 intel_bios_init_panel(struct drm_i915_private *dev_priv,
+bool intel_bios_init_panel(struct drm_i915_private *dev_priv,
 			   struct intel_panel *panel,
 			   const struct intel_bios_encoder_data *devdata,
 			   const struct edid *edid);
drivers/gpu/drm/i915/display/intel_dp.c +0 -0
index 7400d6b4c587..78cf3a77f026 100644
@@ -5235,6 +5235,7 @@ static bool intel_edp_init_connector(struct intel_dp

*intel_dp,

drivers/gpu/drm/i915/display/intel_dp.c static bool intel_edp_init_connector(struct intel_dp

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_dp.c +1 -0
 	struct intel_encoder *encoder = &dp_to_dig_port(intel_dp)->base;
 	bool has_dpcd;
 	struct edid *edid;
+	bool retry;
 
 	if (!intel_dp_is_edp(intel_dp))
 		return true;
@@ -5254,6 +5255,9 @@ static bool intel_edp_init_connector(struct intel_dp

*intel_dp,

drivers/gpu/drm/i915/display/intel_dp.c static bool intel_edp_init_connector(struct intel_dp

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_dp.c +3 -0
 		return false;
 	}
 
+	retry = intel_bios_init_panel(dev_priv, &intel_connector->panel,
+				      encoder->devdata, NULL);
+
 	intel_pps_init(intel_dp);
 
 	/* Cache DPCD and EDID for edp. */
@@ -5288,9 +5292,9 @@ static bool intel_edp_init_connector(struct intel_dp

*intel_dp,

drivers/gpu/drm/i915/display/intel_dp.c static bool intel_edp_init_connector(struct intel_dp *intel_dp,

Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp.c +3 -3
 		edid = ERR_PTR(-ENOENT);
 	}
 	intel_connector->edid = edid;
-
-	intel_bios_init_panel(dev_priv, &intel_connector->panel,
-			      encoder->devdata, IS_ERR(edid) ? NULL : edid);
+	if (retry)
+		intel_bios_init_panel(dev_priv, &intel_connector->panel,
+				      encoder->devdata, IS_ERR(edid) ? NULL :

edid);

Quoted 26 lines
drivers/gpu/drm/i915/display/intel_dp.c +0 -0
 	intel_panel_add_edid_fixed_modes(intel_connector, true);
 
drivers/gpu/drm/i915/display/intel_pps.c +10 -0
index 3949fb449353..5738af154bd2 100644
@@ -219,6 +219,16 @@ bxt_power_sequencer_idx(struct intel_dp *intel_dp)
 	/* We should never land here with regular DP ports */
 	drm_WARN_ON(&dev_priv->drm, !intel_dp_is_edp(intel_dp));
 
+	if (backlight_controller == -1) {
+		/*
+		 * Use 2nd PPS instance as default for 2nd EDP panel.
+		 */
+		if (connector->encoder->port == PORT_A)
+			return 0;
+		else
+			return 1;
+	}
+
 	if (!intel_dp->pps.pps_reset)
 		return backlight_controller;
 

drivers/gpu/drm/i915/display/intel_pps.c void intel_pps_init(struct intel_dp *intel_dp) · line 1446

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_pps.c +2 -1
@@ -1430,7 +1440,7 @@ void intel_pps_init(struct intel_dp *intel_dp)
 	intel_dp->pps.initializing = true;
 	INIT_DELAYED_WORK(&intel_dp->pps.panel_vdd_work,
 edp_panel_vdd_work);
 
-	if (IS_GEMINILAKE(i915) || IS_BROXTON(i915))
+	if (IS_GEMINILAKE(i915) || IS_BROXTON(i915) || DISPLAY_VER(i915) >=
+12)
 		intel_dp->get_pps_idx = bxt_power_sequencer_idx;
 	else if (IS_VALLEYVIEW(i915) || IS_CHERRYVIEW(i915))
 		intel_dp->get_pps_idx = vlv_power_sequencer_pipe;

--
Jani Nikula, Intel Open Source Graphics Center

#4 lore raw

Re: [Intel-gfx] [PATCH 2/3] drm/i915/pps: Enable 2nd pps for dual EDP scenario

Quoted 80 lines · Animesh
Quoted 53 lines

-----Original Message-----
From: Nikula, Jani <[email protected]>
Sent: Wednesday, November 9, 2022 5:12 PM
To: Manna, Animesh <[email protected]>; intel- [email protected]
Cc: Manna, Animesh <[email protected]>; Ville Syrjälä <[email protected]>; Shankar, Uma <[email protected]>
Subject: Re: [PATCH 2/3] drm/i915/pps: Enable 2nd pps for dual EDP scenario

Quoted 43 lines · Animesh Manna

From display gen12 onwards to support dual EDP two instances of pps added. Currently backlight controller and pps instance can be mapped together for a specific panel. Currently dual PPS support is broken. This patch fixes it and enables for display 12+.

v1: Iniital revision.
v2: Called intel_bios_panel_init w/o PNPID before intel_pps_init. [Jani]
v3: Set pps_id to -1 for pnpid type of panel which will be used by bxt_power_sequencer_idx() to set 2nd pps instance as default for 2nd EDP panel. [Jani]
v4: Early return for PANEL_TYPE_FALLBACK. [Jani]
v5: Removed additional pps_id variable and reused backlight controller. [Jani]

Cc Jani Nikula <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Uma Shankar <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_bios.c |  9 ++++++++-
drivers/gpu/drm/i915/display/intel_bios.h |  2 +-
 drivers/gpu/drm/i915/display/intel_dp.c   | 10 +++++++---
 drivers/gpu/drm/i915/display/intel_pps.c  | 12 +++++++++++-
 4 files changed, 27 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/display/intel_bios.c +1 -1
index c2987f2c2b2e..1c1eea061fbb 100644
@@ -3183,7 +3183,7 @@ void intel_bios_init(struct drm_i915_private *i915)
    kfree(oprom_vbt);
 }
 
-void intel_bios_init_panel(struct drm_i915_private *i915,
+bool intel_bios_init_panel(struct drm_i915_private *i915,
                       struct intel_panel *panel,
                       const struct intel_bios_encoder_data *devdata,
                       const struct edid *edid)
@@ -3192,6 +3192,11 @@ void intel_bios_init_panel(struct
 drm_i915_private *i915,
 
Quoted 7 lines

drivers/gpu/drm/i915/display/intel_bios.c void intel_bios_init_panel(struct drm_i915_private *i915, · line 3195

Quoted 3 lines
drivers/gpu/drm/i915/display/intel_bios.c +1 -0
    panel->vbt.panel_type = get_panel_type(i915, devdata, edid);
 
+   if (panel->vbt.panel_type == PANEL_TYPE_FALLBACK && !edid) {

As Ville pointed out, "panel->vbt.panel_type == PANEL_TYPE_FALLBACK" is comparing apples to oranges, and we hit this path only in the rare case that panel_type == 3, regardless of where the panel type originated.

Got it, tried returning some random negative number (for example -2) from fallback_get_panel_type() and checking the same here is fixing the WARN_ON.

Quoted 6 lines

This is probably the reason patches 1&2 don't fix the original issue like it should.

I remind you that the issue is two eDP having their own pps software states but using the same pps hardware due to conflicting pps index (which is the same as panel->vbt.backlight.controller). This is what we need to solve here.

In this patch we decide to use the specific pps based on port number. Once we identify it is PORT B always 2nd instance of PPS will be used. All pps register get instantiated with pps_idx 1

        if (backlight_controller == -1) {
                /*
                 * Use 2nd PPS instance as default for 2nd EDP panel.
                 */
                if (connector->encoder->port == PORT_A)
                        return 0;
                else
                        return 1;
        }
Quoted 1 line

Not sure what is toggling the VDD.

The 2nd eDP obviously!

BR,
Jani.

Quoted 122 lines

Anyways I agree patch 3 is not
needed. Thanks for review.

Regards,
Animesh

Quoted 116 lines

We get the wakeref imbalance because of two eDP trampling on the same pps hardware. Patch 3 does nothing to address that issue, it just tries to hide the problem.

BR,
Jani.

drivers/gpu/drm/i915/display/intel_bios.c void intel_bios_init_panel(struct drm_i915_private

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_bios.c +4 -0
+           panel->vbt.backlight.controller = -1;
+           return true;
+   }
+
    parse_panel_options(i915, panel);
    parse_generic_dtd(i915, panel);
    parse_lfp_data(i915, panel);
drivers/gpu/drm/i915/display/intel_bios.c +0 -0
@@ -3203,6 +3208,8 @@ void intel_bios_init_panel(struct drm_i915_private

*i915,

drivers/gpu/drm/i915/display/intel_dp.c static bool intel_edp_init_connector(struct intel_dp

Quoted 27 lines
drivers/gpu/drm/i915/display/intel_bios.c +2 -0
    parse_psr(i915, panel);
    parse_mipi_config(i915, panel);
    parse_mipi_sequence(i915, panel);
+
+   return false;
 }
 
 /**
drivers/gpu/drm/i915/display/intel_bios.h +1 -0
index e375405a7828..f8ef0274f3ee 100644
@@ -232,7 +232,7 @@ struct mipi_pps_data {  } __packed;
 
 void intel_bios_init(struct drm_i915_private *dev_priv); -void
 intel_bios_init_panel(struct drm_i915_private *dev_priv,
+bool intel_bios_init_panel(struct drm_i915_private *dev_priv,
                       struct intel_panel *panel,
                       const struct intel_bios_encoder_data *devdata,
                       const struct edid *edid);
drivers/gpu/drm/i915/display/intel_dp.c +0 -0
index 7400d6b4c587..78cf3a77f026 100644
@@ -5235,6 +5235,7 @@ static bool intel_edp_init_connector(struct intel_dp

*intel_dp,

drivers/gpu/drm/i915/display/intel_dp.c static bool intel_edp_init_connector(struct intel_dp

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_dp.c +1 -0
    struct intel_encoder *encoder = &dp_to_dig_port(intel_dp)->base;
    bool has_dpcd;
    struct edid *edid;
+   bool retry;
 
    if (!intel_dp_is_edp(intel_dp))
            return true;
@@ -5254,6 +5255,9 @@ static bool intel_edp_init_connector(struct intel_dp

*intel_dp,

drivers/gpu/drm/i915/display/intel_dp.c static bool intel_edp_init_connector(struct intel_dp

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_dp.c +3 -0
            return false;
    }
 
+   retry = intel_bios_init_panel(dev_priv, &intel_connector->panel,
+                                 encoder->devdata, NULL);
+
    intel_pps_init(intel_dp);
 
    /* Cache DPCD and EDID for edp. */
@@ -5288,9 +5292,9 @@ static bool intel_edp_init_connector(struct intel_dp

*intel_dp,

drivers/gpu/drm/i915/display/intel_dp.c static bool intel_edp_init_connector(struct intel_dp *intel_dp,

Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp.c +3 -3
            edid = ERR_PTR(-ENOENT);
    }
    intel_connector->edid = edid;
-
-   intel_bios_init_panel(dev_priv, &intel_connector->panel,
-                         encoder->devdata, IS_ERR(edid) ? NULL : edid);
+   if (retry)
+           intel_bios_init_panel(dev_priv, &intel_connector->panel,
+                                 encoder->devdata, IS_ERR(edid) ? NULL :

edid);

Quoted 26 lines
drivers/gpu/drm/i915/display/intel_dp.c +0 -0
    intel_panel_add_edid_fixed_modes(intel_connector, true);
 
drivers/gpu/drm/i915/display/intel_pps.c +10 -0
index 3949fb449353..5738af154bd2 100644
@@ -219,6 +219,16 @@ bxt_power_sequencer_idx(struct intel_dp *intel_dp)
    /* We should never land here with regular DP ports */
    drm_WARN_ON(&dev_priv->drm, !intel_dp_is_edp(intel_dp));
 
+   if (backlight_controller == -1) {
+           /*
+            * Use 2nd PPS instance as default for 2nd EDP panel.
+            */
+           if (connector->encoder->port == PORT_A)
+                   return 0;
+           else
+                   return 1;
+   }
+
    if (!intel_dp->pps.pps_reset)
            return backlight_controller;
 

drivers/gpu/drm/i915/display/intel_pps.c void intel_pps_init(struct intel_dp *intel_dp) · line 1446

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_pps.c +2 -1
@@ -1430,7 +1440,7 @@ void intel_pps_init(struct intel_dp *intel_dp)
    intel_dp->pps.initializing = true;
    INIT_DELAYED_WORK(&intel_dp->pps.panel_vdd_work,
 edp_panel_vdd_work);
 
-   if (IS_GEMINILAKE(i915) || IS_BROXTON(i915))
+   if (IS_GEMINILAKE(i915) || IS_BROXTON(i915) || DISPLAY_VER(i915) >=
+12)
            intel_dp->get_pps_idx = bxt_power_sequencer_idx;
    else if (IS_VALLEYVIEW(i915) || IS_CHERRYVIEW(i915))
            intel_dp->get_pps_idx = vlv_power_sequencer_pipe;

--
Jani Nikula, Intel Open Source Graphics Center

Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
#5 lore raw

PATCH 3/3 drm/i915/edp: Fix warning as vdd went down without driver knowledge

In reply to Animesh Manna

Kernel warning triggered as vdd went down after certain time during aux transfer in connector init sequence. To solve the kernel warning adjust power domain and vdd wakeref count. Currently issue seen on ADL so add the above adjustment part of ADL platform check, if needed will extend for future platform.

Cc Jani Nikula <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Uma Shankar <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_pps.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_pps.c +8 -1
index 5738af154bd2..ebc03c8f73c5 100644
@@ -597,8 +597,15 @@ bool intel_pps_vdd_on_unlocked(struct intel_dp *intel_dp)
 	cancel_delayed_work(&intel_dp->pps.panel_vdd_work);
 	intel_dp->pps.want_panel_vdd = true;
 
-	if (edp_have_panel_vdd(intel_dp))
+	if (edp_have_panel_vdd(intel_dp)) {
 		return need_to_disable;
+	} else {
+		if ((IS_ALDERLAKE_S(dev_priv) || IS_ALDERLAKE_P(dev_priv)) &&
+		    intel_dp->pps.vdd_wakeref)
+			intel_display_power_put(dev_priv,
+						intel_aux_power_domain(dig_port),
+						fetch_and_zero(&intel_dp->pps.vdd_wakeref));
+	}
 
 	drm_WARN_ON(&dev_priv->drm, intel_dp->pps.vdd_wakeref);
 	intel_dp->pps.vdd_wakeref = intel_display_power_get(dev_priv,
Signature · 1 line
2.29.0
#6 lore raw

Re: [Intel-gfx] [PATCH 3/3] drm/i915/edp: Fix warning as vdd went down without driver knowledge

Quoted 22 lines · Animesh Manna

Kernel warning triggered as vdd went down after certain time during aux transfer in connector init sequence. To solve the kernel warning adjust power domain and vdd wakeref count. Currently issue seen on ADL so add the above adjustment part of ADL platform check, if needed will extend for future platform.

Cc Jani Nikula <[email protected]>
Cc Ville Syrjälä <[email protected]>
Cc Uma Shankar <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_pps.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_pps.c +0 -0
index 5738af154bd2..ebc03c8f73c5 100644
@@ -597,8 +597,15 @@ bool intel_pps_vdd_on_unlocked(struct intel_dp *intel_dp)
 	cancel_delayed_work(&intel_dp->pps.panel_vdd_work);
 	intel_dp->pps.want_panel_vdd = true;
 

drivers/gpu/drm/i915/display/intel_pps.c bool intel_pps_vdd_on_unlocked(struct intel_dp *intel_dp) · line 608

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_pps.c +8 -1
-	if (edp_have_panel_vdd(intel_dp))
+	if (edp_have_panel_vdd(intel_dp)) {
 		return need_to_disable;
+	} else {
+		if ((IS_ALDERLAKE_S(dev_priv) || IS_ALDERLAKE_P(dev_priv)) &&
+		    intel_dp->pps.vdd_wakeref)
+			intel_display_power_put(dev_priv,
+						intel_aux_power_domain(dig_port),
+						fetch_and_zero(&intel_dp->pps.vdd_wakeref));
+	}

Already replied to patch 2, but repeating here:

We have two eDP, each with their own intel_dp->pps, but both checking the same PPS hardware in edp_have_panel_vdd().

This is not the fix.

The fix is to ensure they both use their own PPS harware instance. That's what the goal with patches 1&2 is, but there's still an issue there.

BR,
Jani.

Quoted 3 lines
drivers/gpu/drm/i915/display/intel_pps.c +0 -0
 	drm_WARN_ON(&dev_priv->drm, intel_dp->pps.vdd_wakeref);
 	intel_dp->pps.vdd_wakeref = intel_display_power_get(dev_priv,
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
#7 lore raw

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/3] drm/i915/pps: Add get_pps_idx() hook as part of pps_get_register() cleanup

In reply to Animesh Manna
== Series Details ==

== Series Details ==

Series: series starting with [1/3] drm/i915/pps: Add get_pps_idx() hook as part of pps_get_register() cleanup
URL : https://patchwork.freedesktop.org/series/110694/
State : warning

== Summary ==

Error: dim sparse failed
Sparse version: v0.6.2

#8 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [1/3] drm/i915/pps: Add get_pps_idx() hook as part of pps_get_register() cleanup

In reply to Animesh Manna
== Series Details ==

== Series Details ==

Series: series starting with [1/3] drm/i915/pps: Add get_pps_idx() hook as part of pps_get_register() cleanup
URL : https://patchwork.freedesktop.org/series/110694/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_12362 -> Patchwork_110694v1
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with Patchwork_110694v1 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in Patchwork_110694v1, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

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

Participating hosts (37 -> 38)
------------------------------

Additional (3): fi-hsw-4770 fi-rkl-11600 bat-dg1-6
Missing (2): fi-ctg-p8600 fi-bxt-dsi

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

Here are the unknown changes that may have been introduced in Patchwork_110694v1:

### IGT changes ###

#### Possible regressions ####

* igt@kms_psr@primary_mmap_gtt:
- bat-adlp-4: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12362/bat-adlp-4/igt@kms_psr@primary_mmap_gtt.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-adlp-4/igt@kms_psr@primary_mmap_gtt.html

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@i915_pm_rpm@basic-pci-d3-state:
- {bat-rplp-1}: [PASS][3] -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12362/bat-rplp-1/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-rplp-1/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_huc_copy@huc-copy:
- fi-rkl-11600: NOTRUN -> [SKIP][5] ([i915#2190])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@[email protected]

* igt@gem_lmem_swapping@parallel-random-engines:
- fi-rkl-11600: NOTRUN -> [SKIP][6] ([i915#4613]) +3 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@[email protected]

* igt@gem_mmap@basic:
- bat-dg1-6: NOTRUN -> [SKIP][7] ([i915#4083])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]

* igt@gem_render_tiled_blits@basic:
- bat-dg1-6: NOTRUN -> [SKIP][8] ([i915#4079]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]

* igt@gem_tiled_fence_blits@basic:
- bat-dg1-6: NOTRUN -> [SKIP][9] ([i915#4077]) +2 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]

* igt@gem_tiled_pread_basic:
- fi-rkl-11600: NOTRUN -> [SKIP][10] ([i915#3282])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@gem_tiled_pread_basic.html

* igt@i915_pm_backlight@basic-brightness:
- bat-dg1-6: NOTRUN -> [SKIP][11] ([i915#1155])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [SKIP][12] ([i915#3012])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@[email protected]
- fi-hsw-4770: NOTRUN -> [SKIP][13] ([fdo#109271] / [i915#3012])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-hsw-4770/igt@[email protected]

* igt@i915_pm_rps@basic-api:
- bat-dg1-6: NOTRUN -> [SKIP][14] ([i915#6621])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]

* igt@i915_selftest@live@gt_engines:
- bat-dg1-6: NOTRUN -> [INCOMPLETE][15] ([i915#4418])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@i915_selftest@live@gt_engines.html

* igt@i915_suspend@basic-s3-without-i915:
- fi-rkl-11600: NOTRUN -> [INCOMPLETE][16] ([i915#4817])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@[email protected]

* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- fi-hsw-4770: NOTRUN -> [SKIP][17] ([fdo#109271]) +9 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-hsw-4770/igt@[email protected]

* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg1-6: NOTRUN -> [SKIP][18] ([i915#4215])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]

* igt@kms_addfb_basic@tile-pitch-mismatch:
- bat-dg1-6: NOTRUN -> [SKIP][19] ([i915#4212]) +7 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]

* igt@kms_chamelium@dp-crc-fast:
- fi-hsw-4770: NOTRUN -> [SKIP][20] ([fdo#109271] / [fdo#111827]) +8 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-hsw-4770/igt@[email protected]

* igt@kms_chamelium@hdmi-crc-fast:
- bat-dg1-6: NOTRUN -> [SKIP][21] ([fdo#111827]) +7 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-rkl-11600: NOTRUN -> [SKIP][22] ([fdo#111827]) +7 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- fi-rkl-11600: NOTRUN -> [SKIP][23] ([i915#4103])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@[email protected]
- bat-dg1-6: NOTRUN -> [SKIP][24] ([i915#4103] / [i915#4213])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- fi-rkl-11600: NOTRUN -> [SKIP][25] ([fdo#109285] / [i915#4098])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@[email protected]
- bat-dg1-6: NOTRUN -> [SKIP][26] ([fdo#109285])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc:
- fi-ivb-3770: NOTRUN -> [SKIP][27] ([fdo#109271])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-ivb-3770/igt@[email protected]

* igt@kms_psr@sprite_plane_onoff:
- bat-dg1-6: NOTRUN -> [SKIP][28] ([i915#1072] / [i915#4078]) +3 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@kms_psr@sprite_plane_onoff.html
- fi-rkl-11600: NOTRUN -> [SKIP][29] ([i915#1072]) +3 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@kms_psr@sprite_plane_onoff.html
- fi-hsw-4770: NOTRUN -> [SKIP][30] ([fdo#109271] / [i915#1072]) +3 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-hsw-4770/igt@kms_psr@sprite_plane_onoff.html

* igt@kms_setmode@basic-clone-single-crtc:
- bat-dg1-6: NOTRUN -> [SKIP][31] ([i915#3555])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [SKIP][32] ([i915#3555] / [i915#4098])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@[email protected]

* igt@prime_vgem@basic-gtt:
- bat-dg1-6: NOTRUN -> [SKIP][33] ([i915#3708] / [i915#4077]) +1 similar issue
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]

* igt@prime_vgem@basic-read:
- bat-dg1-6: NOTRUN -> [SKIP][34] ([i915#3708]) +3 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [SKIP][35] ([fdo#109295] / [i915#3291] / [i915#3708]) +2 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- bat-dg1-6: NOTRUN -> [SKIP][36] ([i915#3708] / [i915#4873])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [SKIP][37] ([fdo#109295] / [i915#3301] / [i915#3708])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-rkl-11600/igt@[email protected]

* igt@runner@aborted:
- bat-dg1-6: NOTRUN -> [FAIL][38] ([i915#4312])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-dg1-6/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [FAIL][39] ([i915#7229]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12362/fi-pnv-d510/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-pnv-d510/igt@[email protected]

* igt@i915_selftest@live@gt_pm:
- {bat-adln-1}: [DMESG-FAIL][41] ([i915#4258]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12362/bat-adln-1/igt@i915_selftest@live@gt_pm.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-adln-1/igt@i915_selftest@live@gt_pm.html

* igt@i915_selftest@live@requests:
- {bat-rpls-1}: [INCOMPLETE][43] ([i915#4983] / [i915#6257]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12362/bat-rpls-1/igt@i915_selftest@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-rpls-1/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@slpc:
- {bat-adln-1}: [DMESG-FAIL][45] ([i915#6997]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12362/bat-adln-1/igt@i915_selftest@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/bat-adln-1/igt@i915_selftest@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size:
- fi-bsw-kefka: [FAIL][47] ([i915#6298]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12362/fi-bsw-kefka/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-bsw-kefka/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html

* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-a-hdmi-a-1:
- fi-skl-6700k2: [INCOMPLETE][49] ([i915#7266]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12362/fi-skl-6700k2/igt@kms_pipe_crc_basic@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_110694v1/fi-skl-6700k2/igt@kms_pipe_crc_basic@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4258]: https://gitlab.freedesktop.org/drm/intel/issues/4258
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4418]: https://gitlab.freedesktop.org/drm/intel/issues/4418
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4817]: https://gitlab.freedesktop.org/drm/intel/issues/4817
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5153]: https://gitlab.freedesktop.org/drm/intel/issues/5153
[i915#6257]: https://gitlab.freedesktop.org/drm/intel/issues/6257
[i915#6298]: https://gitlab.freedesktop.org/drm/intel/issues/6298
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229
[i915#7266]: https://gitlab.freedesktop.org/drm/intel/issues/7266
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456

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

* Linux: CI_DRM_12362 -> Patchwork_110694v1

CI-20190529: 20190529
CI_DRM_12362: 8a360df54c04866499d763c87704f7a50953462e @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7048: 5edd5c539f1fdf1c02157bf43fa1fd22d4ad2c75 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_110694v1: 8a360df54c04866499d763c87704f7a50953462e @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

565f6aed7e7c drm/i915/edp: Fix warning as vdd went down without driver knowledge 3a359b509ba2 drm/i915/pps: Enable 2nd pps for dual EDP scenario 883196c05cce drm/i915/pps: Add get_pps_idx() hook as part of pps_get_register() cleanup

== Logs ==

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