Skip to contentSkip to conversation

drm/i915/dp: Cable type identification for DP2.1

PATCH In review Animesh Manna 4 participants 6 messages Jun 9, 2023 – Aug 23, 2023

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

PATCH 1/1 drm/i915/dp: Cable type identification for DP2.1

For DP alt mode display driver get the information about cable speed and cable type through TCSS_DDI_STATUS register which will be updated by type-c platform driver. Accodingly Update dpcd 0x110 with cable information before link training start. This change came part of DP2.1 SCR.

Note: This patch is not tested due to unavailability of cable. Sending as RFC for design review.

---
 drivers/gpu/drm/i915/display/intel_ddi.c | 57 ++++++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_tc.c  | 10 +++++
 drivers/gpu/drm/i915/display/intel_tc.h  |  1 +
 drivers/gpu/drm/i915/i915_reg.h          |  5 +++
 include/drm/display/drm_dp.h             |  9 ++++
 5 files changed, 82 insertions(+)
drivers/gpu/drm/i915/display/intel_ddi.c +57 -0
index 70d44edd8c6e..3a0f6a3c9f98 100644
@@ -2208,6 +2208,55 @@ static void intel_dp_sink_set_msa_timing_par_ignore_state(struct intel_dp *intel
 			    str_enable_disable(enable));
 }
 
+#define CABLE_SPEED_SHIFT 4
+
+enum dp_cable_speed {
+	DP_CABLE_HBR3 = 1,
+	DP_CABLE_UHBR10,
+	DP_CABLE_GEN3_UHBR20,
+	DP_CABLE_GEN4_UHBR20
+};
+
+static void intel_dp_set_cable_attributes(struct intel_dp *intel_dp,
+					  u8 cable_attributes)
+{
+	u8 cable_speed;
+	bool active_cable, retimer;
+	u8 cable_attr_dpcd;
+
+	cable_speed = cable_attributes >> CABLE_SPEED_SHIFT;
+
+	switch (cable_speed) {
+	case DP_CABLE_HBR3:
+		cable_attr_dpcd = 0;
+		break;
+	case DP_CABLE_UHBR10:
+		cable_attr_dpcd = 1;
+		break;
+	case DP_CABLE_GEN3_UHBR20:
+	case DP_CABLE_GEN4_UHBR20:
+		cable_attr_dpcd = 2;
+		break;
+	default:
+		cable_attr_dpcd = 0;
+		break;
+	}
+
+	active_cable = (cable_attributes << TCSS_DDI_STATUS_CABLE_ATTR_SHIFT) &
+		       TCSS_DDI_STATUS_ACTIVE_CABLE;
+	retimer = (cable_attributes << TCSS_DDI_STATUS_CABLE_ATTR_SHIFT) &
+		  TCSS_DDI_STATUS_RETIMER_REDRIVER;
+	if (retimer && active_cable)
+		cable_attr_dpcd |= DP_CABLE_TYPE_RETIMER_ACTIVE;
+	else if (active_cable)
+		cable_attr_dpcd |= DP_CABLE_TYPE_LRD_ACTIVE;
+	else
+		cable_attr_dpcd |= DP_CABLE_TYPE_PASSIVE;
+
+	drm_dp_dpcd_writeb(&intel_dp->aux, DP_CABLE_ATTRIBUTES_UPDATED_BY_TX,
+			   cable_attr_dpcd);
+}
+
 static void intel_dp_sink_set_fec_ready(struct intel_dp *intel_dp,
 					const struct intel_crtc_state *crtc_state)
 {
@@ -2414,6 +2463,7 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,
 {
 	struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
 	bool is_mst = intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST);
+	struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp);
 
 	intel_dp_set_link_params(intel_dp,
 				 crtc_state->port_clock,
@@ -2480,6 +2530,13 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,
 	intel_dp_check_frl_training(intel_dp);
 	intel_dp_pcon_dsc_configure(intel_dp, crtc_state);
 
+	if (intel_tc_port_in_dp_alt_mode(dig_port)) {
+		u8 cable_attributes;
+
+		cable_attributes = intel_tc_get_cable_attributes(dig_port);
+		intel_dp_set_cable_attributes(intel_dp, cable_attributes);
+	}
+
 	/*
 	 * 6. The rest of the below are substeps under the bspec's "Enable and
 	 * Train Display Port" step.  Note that steps that are specific to
drivers/gpu/drm/i915/display/intel_tc.c +10 -0
index 3ebf41859043..6b10a8839563 100644
@@ -260,6 +260,16 @@ assert_tc_port_power_enabled(struct intel_tc_port *tc)
 		    !intel_display_power_is_enabled(i915, tc_port_power_domain(tc)));
 }
 
+u8 intel_tc_get_cable_attributes(struct intel_digital_port *dig_port)
+{
+	struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev);
+	enum tc_port tc_port = intel_port_to_tc(i915, dig_port->base.port);
+
+	return (intel_de_read(i915, TCSS_DDI_STATUS(tc_port)) &
+		TCSS_DDI_STATUS_CABLE_ATTR_MASK) >>
+		TCSS_DDI_STATUS_CABLE_ATTR_SHIFT;
+}
+
 u32 intel_tc_port_get_lane_mask(struct intel_digital_port *dig_port)
 {
 	struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev);
drivers/gpu/drm/i915/display/intel_tc.h +1 -0
index 3b16491925fa..edafe92844b4 100644
@@ -43,5 +43,6 @@ int intel_tc_port_init(struct intel_digital_port *dig_port, bool is_legacy);
 void intel_tc_port_cleanup(struct intel_digital_port *dig_port);
 
 bool intel_tc_cold_requires_aux_pw(struct intel_digital_port *dig_port);
+u8 intel_tc_get_cable_attributes(struct intel_digital_port *dig_port);
 
 #endif /* __INTEL_TC_H__ */
drivers/gpu/drm/i915/i915_reg.h +5 -0
index 0523418129c5..991ecf082b5c 100644
@@ -6576,6 +6576,11 @@ enum skl_power_gate {
 #define TCSS_DDI_STATUS(tc)			_MMIO(_PICK_EVEN(tc, \
 								 _TCSS_DDI_STATUS_1, \
 								 _TCSS_DDI_STATUS_2))
+#define  TCSS_DDI_STATUS_CABLE_ATTR_SHIFT	9
+#define  TCSS_DDI_STATUS_CABLE_ATTR_MASK	REG_GENMASK(14, 9)
+#define  TCSS_DDI_STATUS_ACTIVE_CABLE		REG_BIT(11)
+#define  TCSS_DDI_STATUS_CABLE_TYPE		REG_BIT(10)
+#define  TCSS_DDI_STATUS_RETIMER_REDRIVER	REG_BIT(9)
 #define  TCSS_DDI_STATUS_READY			REG_BIT(2)
 #define  TCSS_DDI_STATUS_HPD_LIVE_STATUS_TBT	REG_BIT(1)
 #define  TCSS_DDI_STATUS_HPD_LIVE_STATUS_ALT	REG_BIT(0)
include/drm/display/drm_dp.h +9 -0
index b046f79f4744..dde715d567c2 100644
@@ -654,6 +654,13 @@
 # define DP_LANE13_POST_CURSOR2_SET_MASK    (3 << 4)
 # define DP_LANE13_MAX_POST_CURSOR2_REACHED (1 << 6)
 
+#define DP_CABLE_ATTRIBUTES_UPDATED_BY_TX   0x110
+# define DP_CABLE_TYPE_MASK		    (0x7 << 3)
+# define DP_CABLE_TYPE_UNKNOWN		    (0x0 << 3)
+# define DP_CABLE_TYPE_PASSIVE		    (0x1 << 3)
+# define DP_CABLE_TYPE_LRD_ACTIVE	    (0x2 << 3)
+# define DP_CABLE_TYPE_RETIMER_ACTIVE	    (0x3 << 3)
+
 #define DP_MSTM_CTRL			    0x111   /* 1.2 */
 # define DP_MST_EN			    (1 << 0)
 # define DP_UP_REQ_EN			    (1 << 1)
@@ -1139,6 +1146,8 @@
 # define DP_128B132B_TRAINING_AUX_RD_INTERVAL_32_MS             0x05
 # define DP_128B132B_TRAINING_AUX_RD_INTERVAL_64_MS             0x06
 
+#define DP_CABLE_ATTRIBUTES_UPDATED_BY_RX               0x2217 /* 2.1 */
+
 #define DP_TEST_264BIT_CUSTOM_PATTERN_7_0		0x2230
 #define DP_TEST_264BIT_CUSTOM_PATTERN_263_256	0x2250
 
Signature · 1 line
2.29.0
#1 lore raw

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/dp: Cable type identification for DP2.1

== Series Details ==

== Series Details ==

Series: drm/i915/dp: Cable type identification for DP2.1
URL : https://patchwork.freedesktop.org/series/119109/
State : warning

== Summary ==

Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.

#2 lore raw
In reply to Animesh Manna
Quoted 5 lines · Animesh Manna

For DP alt mode display driver get the information about cable speed and cable type through TCSS_DDI_STATUS register which will be updated by type-c platform driver. Accodingly Update dpcd 0x110 with cable information before link training start. This change came part of DP2.1 SCR.

No need to refer to the SCR anymore, as DP 2.1 is out.

There are a bunch of detailed comments inline.

High level, this should probably be done much earlier. See Table 5-21 in DP 2.1. We need to read DPCD 0x2217 before writing 0x110. The DPRX updates 0x2217 before asserting hotplug, so we should probably read it at detect where we read all other DPCD too.

How early is TCSS_DDI_STATUS available, should we read that at hotplug too? For USB-C we should write to DPCD 0x110 the least common denominator between DPCD 0x2217 and 0x110.

Another question which I didn't find an answer to yet, does writing 0x110 impact what the RPRX reports for capabilities i.e. can we proceed with link training normally from there, *or* should we limit the sink_rates/common_rates based on TCSS_DDI_STATUS and DPCD 0x2217 i.e. filter out UHBR as needed.

Please read bspec and DP 2.1 further to find answers.

Quoted 22 lines

Note: This patch is not tested due to unavailability of cable. Sending as RFC for design review.

---
 drivers/gpu/drm/i915/display/intel_ddi.c | 57 ++++++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_tc.c  | 10 +++++
 drivers/gpu/drm/i915/display/intel_tc.h  |  1 +
 drivers/gpu/drm/i915/i915_reg.h          |  5 +++
 include/drm/display/drm_dp.h             |  9 ++++
 5 files changed, 82 insertions(+)
drivers/gpu/drm/i915/display/intel_ddi.c +1 -0
index 70d44edd8c6e..3a0f6a3c9f98 100644
@@ -2208,6 +2208,55 @@ static void intel_dp_sink_set_msa_timing_par_ignore_state(struct intel_dp *intel
 			    str_enable_disable(enable));
 }
 
+#define CABLE_SPEED_SHIFT 4

drivers/gpu/drm/i915/display/intel_ddi.c static void intel_dp_sink_set_msa_timing_par_ignore_state(struct intel_dp *intel · line 2221

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_ddi.c +10 -0
+
+enum dp_cable_speed {
+	DP_CABLE_HBR3 = 1,
+	DP_CABLE_UHBR10,
+	DP_CABLE_GEN3_UHBR20,
+	DP_CABLE_GEN4_UHBR20
+};
+
+static void intel_dp_set_cable_attributes(struct intel_dp *intel_dp,
+					  u8 cable_attributes)

There are two "domains" for the cable information, the hardware register and the DPCD register. However, cable_attributes is neither, but also not helpful, which makes this function cumbersome.

Usually in cases like this, you'd pick one or the other, *or* if you want to have a generic middle ground, you'd make it helpful and easy to use and understand (e.g. a struct).

In this case, I'd just pick the DPCD as the format, because it's platform independent and the whole thing is simple enough.

So this function would really reduce down to a single DPCD write.

Quoted 68 lines
drivers/gpu/drm/i915/display/intel_ddi.c +46 -0
+{
+	u8 cable_speed;
+	bool active_cable, retimer;
+	u8 cable_attr_dpcd;
+
+	cable_speed = cable_attributes >> CABLE_SPEED_SHIFT;
+
+	switch (cable_speed) {
+	case DP_CABLE_HBR3:
+		cable_attr_dpcd = 0;
+		break;
+	case DP_CABLE_UHBR10:
+		cable_attr_dpcd = 1;
+		break;
+	case DP_CABLE_GEN3_UHBR20:
+	case DP_CABLE_GEN4_UHBR20:
+		cable_attr_dpcd = 2;
+		break;
+	default:
+		cable_attr_dpcd = 0;
+		break;
+	}
+
+	active_cable = (cable_attributes << TCSS_DDI_STATUS_CABLE_ATTR_SHIFT) &
+		       TCSS_DDI_STATUS_ACTIVE_CABLE;
+	retimer = (cable_attributes << TCSS_DDI_STATUS_CABLE_ATTR_SHIFT) &
+		  TCSS_DDI_STATUS_RETIMER_REDRIVER;
+	if (retimer && active_cable)
+		cable_attr_dpcd |= DP_CABLE_TYPE_RETIMER_ACTIVE;
+	else if (active_cable)
+		cable_attr_dpcd |= DP_CABLE_TYPE_LRD_ACTIVE;
+	else
+		cable_attr_dpcd |= DP_CABLE_TYPE_PASSIVE;
+
+	drm_dp_dpcd_writeb(&intel_dp->aux, DP_CABLE_ATTRIBUTES_UPDATED_BY_TX,
+			   cable_attr_dpcd);
+}
+
 static void intel_dp_sink_set_fec_ready(struct intel_dp *intel_dp,
 					const struct intel_crtc_state *crtc_state)
 {
@@ -2414,6 +2463,7 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,
 {
 	struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
 	bool is_mst = intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST);
+	struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp);
 
 	intel_dp_set_link_params(intel_dp,
 				 crtc_state->port_clock,
@@ -2480,6 +2530,13 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,
 	intel_dp_check_frl_training(intel_dp);
 	intel_dp_pcon_dsc_configure(intel_dp, crtc_state);
 
+	if (intel_tc_port_in_dp_alt_mode(dig_port)) {
+		u8 cable_attributes;
+
+		cable_attributes = intel_tc_get_cable_attributes(dig_port);
+		intel_dp_set_cable_attributes(intel_dp, cable_attributes);
+	}
+
 	/*
 	 * 6. The rest of the below are substeps under the bspec's "Enable and
 	 * Train Display Port" step.  Note that steps that are specific to
drivers/gpu/drm/i915/display/intel_tc.c +0 -0
index 3ebf41859043..6b10a8839563 100644

drivers/gpu/drm/i915/display/intel_tc.c assert_tc_port_power_enabled(struct intel_tc_port *tc) · line 266

Quoted 7 lines
drivers/gpu/drm/i915/display/intel_tc.c +4 -0
@@ -260,6 +260,16 @@ assert_tc_port_power_enabled(struct intel_tc_port *tc)
 		    !intel_display_power_is_enabled(i915, tc_port_power_domain(tc)));
 }
 
+u8 intel_tc_get_cable_attributes(struct intel_digital_port *dig_port)
+{
+	struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev);
+	enum tc_port tc_port = intel_port_to_tc(i915, dig_port->base.port);

So I think this function should return the information in DPCD 0x110 format.

Read the register, convert to DPCD format, return. Make this the single point of conversion between the two, and don't pass intermediate info around.

Whoever calls this should then have DPCD 0x2217 and the info returned by this function, and find the least common denominator, and update 0x110 accordingly. And *maybe* also update sink_rates/common_rates accordingly.

Quoted 25 lines
drivers/gpu/drm/i915/display/intel_tc.c +6 -0
+
+	return (intel_de_read(i915, TCSS_DDI_STATUS(tc_port)) &
+		TCSS_DDI_STATUS_CABLE_ATTR_MASK) >>
+		TCSS_DDI_STATUS_CABLE_ATTR_SHIFT;
+}
+
 u32 intel_tc_port_get_lane_mask(struct intel_digital_port *dig_port)
 {
 	struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev);
drivers/gpu/drm/i915/display/intel_tc.h +1 -0
index 3b16491925fa..edafe92844b4 100644
@@ -43,5 +43,6 @@ int intel_tc_port_init(struct intel_digital_port *dig_port, bool is_legacy);
 void intel_tc_port_cleanup(struct intel_digital_port *dig_port);
 
 bool intel_tc_cold_requires_aux_pw(struct intel_digital_port *dig_port);
+u8 intel_tc_get_cable_attributes(struct intel_digital_port *dig_port);
 
 #endif /* __INTEL_TC_H__ */
drivers/gpu/drm/i915/i915_reg.h +0 -0
index 0523418129c5..991ecf082b5c 100644

drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 6580

Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +2 -0
@@ -6576,6 +6576,11 @@ enum skl_power_gate {
 #define TCSS_DDI_STATUS(tc)			_MMIO(_PICK_EVEN(tc, \
 								 _TCSS_DDI_STATUS_1, \
 								 _TCSS_DDI_STATUS_2))
+#define  TCSS_DDI_STATUS_CABLE_ATTR_SHIFT	9
+#define  TCSS_DDI_STATUS_CABLE_ATTR_MASK	REG_GENMASK(14, 9)

This "cable attr" thing defines something that I think should not be used, a field in a register where you can't even use the other defines to parse. Please remove it, and replace with mask and values for CABLE_SPEED.

This reflects the comment on cable_attributes parameter in intel_dp_set_cable_attributes().

drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 6583

Quoted 3 lines
drivers/gpu/drm/i915/i915_reg.h +3 -0
+#define  TCSS_DDI_STATUS_ACTIVE_CABLE		REG_BIT(11)
+#define  TCSS_DDI_STATUS_CABLE_TYPE		REG_BIT(10)
+#define  TCSS_DDI_STATUS_RETIMER_REDRIVER	REG_BIT(9)

Usually I promote following the spec for macro naming, but the above two are silly.

I think the options are:

1) just define them for what they are:

#define TCSS_DDI_STATUS_CABLE_TYPE_OPTICAL REG_BIT(10)
#define TCSS_DDI_STATUS_RETIMER REG_BIT(9)

2) consider them reg fields:

#define  TCSS_DDI_STATUS_CABLE_TYPE		REG_GENMASK(10, 10)
#define  TCSS_DDI_STATUS_CABLE_TYPE_ELECTRICAL	REG_FIELD_PREP(TCSS_DDI_STATUS_CABLE_TYPE, 0)
#define  TCSS_DDI_STATUS_CABLE_TYPE_OPTICAL	REG_FIELD_PREP(TCSS_DDI_STATUS_CABLE_TYPE, 1)
#define  TCSS_DDI_STATUS_RETIMER_REDRIVER	REG_GENMASK(9, 9)
#define  TCSS_DDI_STATUS_REDRIVER		REG_FIELD_PREP(TCSS_DDI_STATUS_RETIMER_REDRIVER, 0)
#define  TCSS_DDI_STATUS_RETIMER		REG_FIELD_PREP(TCSS_DDI_STATUS_RETIMER_REDRIVER, 1)

I think the latter is just too verbose, so I'd go for 1).

include/drm/display/drm_dp.h line 657

Quoted 12 lines
drivers/gpu/drm/i915/i915_reg.h +0 -0
 #define  TCSS_DDI_STATUS_READY			REG_BIT(2)
 #define  TCSS_DDI_STATUS_HPD_LIVE_STATUS_TBT	REG_BIT(1)
 #define  TCSS_DDI_STATUS_HPD_LIVE_STATUS_ALT	REG_BIT(0)
include/drm/display/drm_dp.h +1 -0
index b046f79f4744..dde715d567c2 100644
@@ -654,6 +654,13 @@
 # define DP_LANE13_POST_CURSOR2_SET_MASK    (3 << 4)
 # define DP_LANE13_MAX_POST_CURSOR2_REACHED (1 << 6)
 
+#define DP_CABLE_ATTRIBUTES_UPDATED_BY_TX   0x110

Please use _DPTX suffix like in the spec.

/* 2.1 */ missing at the end.

The UHBR capabilities bits should be defined here.

include/drm/display/drm_dp.h line 662

Quoted 5 lines
include/drm/display/drm_dp.h +5 -0
+# define DP_CABLE_TYPE_MASK		    (0x7 << 3)
+# define DP_CABLE_TYPE_UNKNOWN		    (0x0 << 3)
+# define DP_CABLE_TYPE_PASSIVE		    (0x1 << 3)
+# define DP_CABLE_TYPE_LRD_ACTIVE	    (0x2 << 3)
+# define DP_CABLE_TYPE_RETIMER_ACTIVE	    (0x3 << 3)

The values could just be decimal instead of hex.

include/drm/display/drm_dp.h line 1149

Quoted 9 lines
include/drm/display/drm_dp.h +2 -0
+
 #define DP_MSTM_CTRL			    0x111   /* 1.2 */
 # define DP_MST_EN			    (1 << 0)
 # define DP_UP_REQ_EN			    (1 << 1)
@@ -1139,6 +1146,8 @@
 # define DP_128B132B_TRAINING_AUX_RD_INTERVAL_32_MS             0x05
 # define DP_128B132B_TRAINING_AUX_RD_INTERVAL_64_MS             0x06
 
+#define DP_CABLE_ATTRIBUTES_UPDATED_BY_RX               0x2217 /* 2.1 */

Please use _DPRX suffix like in the spec.

Quoted 3 lines
include/drm/display/drm_dp.h +1 -0
+
 #define DP_TEST_264BIT_CUSTOM_PATTERN_7_0		0x2230
 #define DP_TEST_264BIT_CUSTOM_PATTERN_263_256	0x2250
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
#3 lore raw
Quoted 18 lines · Jani Nikula
Quoted 5 lines · Animesh Manna

For DP alt mode display driver get the information about cable speed and cable type through TCSS_DDI_STATUS register which will be updated by type-c platform driver. Accodingly Update dpcd 0x110 with cable information before link training start. This change came part of DP2.1 SCR.

No need to refer to the SCR anymore, as DP 2.1 is out.

There are a bunch of detailed comments inline.

High level, this should probably be done much earlier. See Table 5-21 in
DP 2.1. We need to read DPCD 0x2217 before writing 0x110. The DPRX updates 0x2217 before asserting hotplug, so we should probably read it
at detect where we read all other DPCD too.

Quoted 3 lines

How early is TCSS_DDI_STATUS available, should we read that at hotplug
too?

This is available once the cable is inserted and is configured by TCSS/EC in Chrome and PD in Windows.
Please check: VLK-42522

Quoted 6 lines

For USB-C we should write to DPCD 0x110 the least common denominator between DPCD 0x2217 and 0x110.

Another question which I didn't find an answer to yet, does writing 0x110 impact what the RPRX reports for capabilities i.e. can we proceed

No, DPRX caps will not change. DP2.1 Sink will still repot UHBRx even if the cable doesn't support UHBRX

Quoted 3 lines

with link training normally from there, *or* should we limit the sink_rates/common_rates based on TCSS_DDI_STATUS and DPCD 0x2217 i.e. filter out UHBR as needed.

Yes, we should limit "common rates" to the intersection of (source, sink, cable)

The question, do we really need to care about reading/writing DPCD 0x110 & 0x2217 given TCSS_DDI_STATUS already reflects that?

Thank You
Khaled

Quoted 290 lines

Please read bspec and DP 2.1 further to find answers.

Quoted 35 lines

Note: This patch is not tested due to unavailability of cable. Sending as RFC for design review.

---
 drivers/gpu/drm/i915/display/intel_ddi.c | 57
++++++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_tc.c  | 10 +++++
 drivers/gpu/drm/i915/display/intel_tc.h  |  1 +
 drivers/gpu/drm/i915/i915_reg.h          |  5 +++
 include/drm/display/drm_dp.h             |  9 ++++
 5 files changed, 82 insertions(+)
drivers/gpu/drm/i915/display/intel_ddi.c +0 -0
index 70d44edd8c6e..3a0f6a3c9f98 100644
@@ -2208,6 +2208,55 @@ static void

intel_dp_sink_set_msa_timing_par_ignore_state(struct intel_dp *intel

drivers/gpu/drm/i915/display/intel_ddi.c +10 -0
 			    str_enable_disable(enable));
 }
 
+#define CABLE_SPEED_SHIFT 4
+
+enum dp_cable_speed {
+	DP_CABLE_HBR3 = 1,
+	DP_CABLE_UHBR10,
+	DP_CABLE_GEN3_UHBR20,
+	DP_CABLE_GEN4_UHBR20
+};
+
+static void intel_dp_set_cable_attributes(struct intel_dp

*intel_dp,

drivers/gpu/drm/i915/display/intel_ddi.c static void intel_dp_sink_set_msa_timing_par_ignore_state(struct intel_dp *intel · line 2221

Quoted 1 line
drivers/gpu/drm/i915/display/intel_ddi.c +1 -0
+					  u8 cable_attributes)

There are two "domains" for the cable information, the hardware register
and the DPCD register. However, cable_attributes is neither, but also not helpful, which makes this function cumbersome.

Usually in cases like this, you'd pick one or the other, *or* if you want to have a generic middle ground, you'd make it helpful and easy to
use and understand (e.g. a struct).

In this case, I'd just pick the DPCD as the format, because it's platform independent and the whole thing is simple enough.

So this function would really reduce down to a single DPCD write.

Quoted 91 lines
drivers/gpu/drm/i915/display/intel_ddi.c +24 -0
+{
+	u8 cable_speed;
+	bool active_cable, retimer;
+	u8 cable_attr_dpcd;
+
+	cable_speed = cable_attributes >> CABLE_SPEED_SHIFT;
+
+	switch (cable_speed) {
+	case DP_CABLE_HBR3:
+		cable_attr_dpcd = 0;
+		break;
+	case DP_CABLE_UHBR10:
+		cable_attr_dpcd = 1;
+		break;
+	case DP_CABLE_GEN3_UHBR20:
+	case DP_CABLE_GEN4_UHBR20:
+		cable_attr_dpcd = 2;
+		break;
+	default:
+		cable_attr_dpcd = 0;
+		break;
+	}
+
+	active_cable = (cable_attributes <<

TCSS_DDI_STATUS_CABLE_ATTR_SHIFT) &

drivers/gpu/drm/i915/display/intel_ddi.c +2 -0
+		       TCSS_DDI_STATUS_ACTIVE_CABLE;
+	retimer = (cable_attributes <<

TCSS_DDI_STATUS_CABLE_ATTR_SHIFT) &

drivers/gpu/drm/i915/display/intel_ddi.c +9 -0
+		  TCSS_DDI_STATUS_RETIMER_REDRIVER;
+	if (retimer && active_cable)
+		cable_attr_dpcd |= DP_CABLE_TYPE_RETIMER_ACTIVE;
+	else if (active_cable)
+		cable_attr_dpcd |= DP_CABLE_TYPE_LRD_ACTIVE;
+	else
+		cable_attr_dpcd |= DP_CABLE_TYPE_PASSIVE;
+
+	drm_dp_dpcd_writeb(&intel_dp->aux,

DP_CABLE_ATTRIBUTES_UPDATED_BY_TX,

drivers/gpu/drm/i915/display/intel_ddi.c +3 -0
+			   cable_attr_dpcd);
+}
+
 static void intel_dp_sink_set_fec_ready(struct intel_dp *intel_dp,
 					const struct intel_crtc_state

*crtc_state)
{

drivers/gpu/drm/i915/display/intel_ddi.c +1 -0
@@ -2414,6 +2463,7 @@ static void mtl_ddi_pre_enable_dp(struct
 intel_atomic_state *state,
 {
 	struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
 	bool is_mst = intel_crtc_has_type(crtc_state,
 INTEL_OUTPUT_DP_MST);
+	struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp);
 
drivers/gpu/drm/i915/display/intel_ddi.c +7 -0
 	intel_dp_set_link_params(intel_dp,
 				 crtc_state->port_clock,
@@ -2480,6 +2530,13 @@ static void mtl_ddi_pre_enable_dp(struct
 intel_atomic_state *state,
 	intel_dp_check_frl_training(intel_dp);
 	intel_dp_pcon_dsc_configure(intel_dp, crtc_state);
 
+	if (intel_tc_port_in_dp_alt_mode(dig_port)) {
+		u8 cable_attributes;
+
+		cable_attributes =
 intel_tc_get_cable_attributes(dig_port);
+		intel_dp_set_cable_attributes(intel_dp,
 cable_attributes);
+	}
+
drivers/gpu/drm/i915/display/intel_ddi.c +0 -0
 	/*
 	 * 6. The rest of the below are substeps under the bspec's

"Enable and
* Train Display Port" step. Note that steps that are specific
to

drivers/gpu/drm/i915/display/intel_tc.c +3 -0
index 3ebf41859043..6b10a8839563 100644
@@ -260,6 +260,16 @@ assert_tc_port_power_enabled(struct
 intel_tc_port *tc)
 		    !intel_display_power_is_enabled(i915,
 tc_port_power_domain(tc)));
 }
 
+u8 intel_tc_get_cable_attributes(struct intel_digital_port
 *dig_port)
+{
+	struct drm_i915_private *i915 = to_i915(dig_port-
Quoted 1 line

base.base.dev);

drivers/gpu/drm/i915/display/intel_tc.c +1 -0
+	enum tc_port tc_port = intel_port_to_tc(i915, dig_port-
Quoted 1 line
Quoted 1 line

base.port);

So I think this function should return the information in DPCD 0x110 format.

Read the register, convert to DPCD format, return. Make this the single
point of conversion between the two, and don't pass intermediate info around.

Whoever calls this should then have DPCD 0x2217 and the info returned by
this function, and find the least common denominator, and update 0x110
accordingly. And *maybe* also update sink_rates/common_rates accordingly.

Quoted 32 lines
drivers/gpu/drm/i915/display/intel_tc.c +6 -0
+
+	return (intel_de_read(i915, TCSS_DDI_STATUS(tc_port)) &
+		TCSS_DDI_STATUS_CABLE_ATTR_MASK) >>
+		TCSS_DDI_STATUS_CABLE_ATTR_SHIFT;
+}
+
 u32 intel_tc_port_get_lane_mask(struct intel_digital_port

*dig_port)
{
struct drm_i915_private *i915 = to_i915(dig_port-

Quoted 1 line

base.base.dev);

drivers/gpu/drm/i915/display/intel_tc.h +1 -0
index 3b16491925fa..edafe92844b4 100644
@@ -43,5 +43,6 @@ int intel_tc_port_init(struct intel_digital_port
 *dig_port, bool is_legacy);
 void intel_tc_port_cleanup(struct intel_digital_port *dig_port);
 
 bool intel_tc_cold_requires_aux_pw(struct intel_digital_port
 *dig_port);
+u8 intel_tc_get_cable_attributes(struct intel_digital_port

*dig_port);

#endif /* __INTEL_TC_H__ */

drivers/gpu/drm/i915/i915_reg.h +0 -0
index 0523418129c5..991ecf082b5c 100644

drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 6583

Quoted 8 lines
drivers/gpu/drm/i915/i915_reg.h +2 -0
@@ -6576,6 +6576,11 @@ enum skl_power_gate {
 #define TCSS_DDI_STATUS(tc)			_MMIO(_PICK_EVE
 N(tc, \
 								 _TCSS_
 DDI_STATUS_1, \
 								 _TCSS_
 DDI_STATUS_2))
+#define  TCSS_DDI_STATUS_CABLE_ATTR_SHIFT	9
+#define  TCSS_DDI_STATUS_CABLE_ATTR_MASK	REG_GENMASK(14, 9)

This "cable attr" thing defines something that I think should not be used, a field in a register where you can't even use the other defines
to parse. Please remove it, and replace with mask and values for CABLE_SPEED.

This reflects the comment on cable_attributes parameter in intel_dp_set_cable_attributes().

drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 6583

Quoted 3 lines
drivers/gpu/drm/i915/i915_reg.h +3 -0
+#define  TCSS_DDI_STATUS_ACTIVE_CABLE		REG_BIT(11)
+#define  TCSS_DDI_STATUS_CABLE_TYPE		REG_BIT(10)
+#define  TCSS_DDI_STATUS_RETIMER_REDRIVER	REG_BIT(9)

Usually I promote following the spec for macro naming, but the above two
are silly.

I think the options are:

1) just define them for what they are:

#define TCSS_DDI_STATUS_CABLE_TYPE_OPTICAL REG_BIT(10)
#define TCSS_DDI_STATUS_RETIMER REG_BIT(9)

2) consider them reg fields:

#define TCSS_DDI_STATUS_CABLE_TYPE REG_GENMASK(10, 10)
#define TCSS_DDI_STATUS_CABLE_TYPE_ELECTRICAL REG_FIELD_PREP(
TCSS_DDI_STATUS_CABLE_TYPE, 0)
#define TCSS_DDI_STATUS_CABLE_TYPE_OPTICAL REG_FIELD_PREP(TCSS_DDI
_STATUS_CABLE_TYPE, 1)

#define TCSS_DDI_STATUS_RETIMER_REDRIVER REG_GENMASK(9, 9)
#define TCSS_DDI_STATUS_REDRIVER REG_FIELD_PREP(TCSS_DDI
_STATUS_RETIMER_REDRIVER, 0)
#define TCSS_DDI_STATUS_RETIMER REG_FIELD_PREP(TCSS_DDI
_STATUS_RETIMER_REDRIVER, 1)

I think the latter is just too verbose, so I'd go for 1).

include/drm/display/drm_dp.h line 657

Quoted 13 lines
 #define  TCSS_DDI_STATUS_READY			REG_BIT(2)
 #define  TCSS_DDI_STATUS_HPD_LIVE_STATUS_TBT	REG_BIT(1)
 #define  TCSS_DDI_STATUS_HPD_LIVE_STATUS_ALT	REG_BIT(0)
include/drm/display/drm_dp.h +1 -0
index b046f79f4744..dde715d567c2 100644
@@ -654,6 +654,13 @@
 # define DP_LANE13_POST_CURSOR2_SET_MASK    (3 << 4)
 # define DP_LANE13_MAX_POST_CURSOR2_REACHED (1 << 6)
 
+#define DP_CABLE_ATTRIBUTES_UPDATED_BY_TX   0x110

Please use _DPTX suffix like in the spec.

/* 2.1 */ missing at the end.

The UHBR capabilities bits should be defined here.

include/drm/display/drm_dp.h line 662

Quoted 5 lines
include/drm/display/drm_dp.h +5 -0
+# define DP_CABLE_TYPE_MASK		    (0x7 << 3)
+# define DP_CABLE_TYPE_UNKNOWN		    (0x0 << 3)
+# define DP_CABLE_TYPE_PASSIVE		    (0x1 << 3)
+# define DP_CABLE_TYPE_LRD_ACTIVE	    (0x2 << 3)
+# define DP_CABLE_TYPE_RETIMER_ACTIVE	    (0x3 << 3)

The values could just be decimal instead of hex.

Quoted 7 lines
include/drm/display/drm_dp.h +1 -0
+
 #define DP_MSTM_CTRL			    0x111   /* 1.2 */
 # define DP_MST_EN			    (1 << 0)
 # define DP_UP_REQ_EN			    (1 << 1)
@@ -1139,6 +1146,8 @@
 # define

DP_128B132B_TRAINING_AUX_RD_INTERVAL_32_MS 0x05

Quoted 5 lines
 # define
DP_128B132B_TRAINING_AUX_RD_INTERVAL_64_MS             0x06

+#define DP_CABLE_ATTRIBUTES_UPDATED_BY_RX 0x2217 /*
2.1 */

Please use _DPRX suffix like in the spec.

Quoted 3 lines

+
#define DP_TEST_264BIT_CUSTOM_PATTERN_7_0 0x2230
#define DP_TEST_264BIT_CUSTOM_PATTERN_263_256 0x2250

#4 lore raw

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/dp: Cable type identification for DP2.1

In reply to Animesh Manna
== Series Details ==

== Series Details ==

Series: drm/i915/dp: Cable type identification for DP2.1
URL : https://patchwork.freedesktop.org/series/119109/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13255 -> Patchwork_119109v1
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (34 -> 34)
------------------------------

No changes in participating hosts

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

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

### IGT changes ###

#### Issues hit ####

* igt@i915_selftest@live@gt_pm:
- bat-rpls-2: [PASS][1] -> [DMESG-FAIL][2] ([i915#4258] / [i915#7913])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/bat-rpls-2/igt@i915_selftest@live@gt_pm.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/bat-rpls-2/igt@i915_selftest@live@gt_pm.html

* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][3] -> [ABORT][4] ([i915#4983] / [i915#7461] / [i915#8347] / [i915#8384])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/bat-rpls-1/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/bat-rpls-1/igt@i915_selftest@[email protected]

* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-jsl-1: NOTRUN -> [SKIP][5] ([i915#7828])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/bat-jsl-1/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s0@smem:
- bat-jsl-1: [ABORT][6] ([i915#5122]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/bat-jsl-1/igt@gem_exec_suspend@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/bat-jsl-1/igt@gem_exec_suspend@[email protected]

* igt@i915_selftest@live@mman:
- bat-rpls-2: [TIMEOUT][8] ([i915#6794] / [i915#7392]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/bat-rpls-2/igt@i915_selftest@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/bat-rpls-2/igt@i915_selftest@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- bat-jsl-1: [FAIL][10] ([fdo#103375]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/bat-jsl-1/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/bat-jsl-1/igt@[email protected]

* igt@kms_pipe_crc_basic@nonblocking-crc@pipe-c-dp-1:
- bat-dg2-8: [FAIL][12] ([i915#7932]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/bat-dg2-8/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#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[i915#4258]: https://gitlab.freedesktop.org/drm/intel/issues/4258
[i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#6794]: https://gitlab.freedesktop.org/drm/intel/issues/6794
[i915#7392]: https://gitlab.freedesktop.org/drm/intel/issues/7392
[i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347
[i915#8384]: https://gitlab.freedesktop.org/drm/intel/issues/8384

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

* Linux: CI_DRM_13255 -> Patchwork_119109v1

CI-20190529: 20190529
CI_DRM_13255: a435969faa911169d7d20145246e88342694a09a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7322: 2dd77d6d827a308caae49ce3eba759c2bab394ed @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_119109v1: a435969faa911169d7d20145246e88342694a09a @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

65f7b5ce8b01 drm/i915/dp: Cable type identification for DP2.1

== Logs ==

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

#5 lore raw

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/dp: Cable type identification for DP2.1

In reply to Animesh Manna
== Series Details ==

== Series Details ==

Series: drm/i915/dp: Cable type identification for DP2.1
URL : https://patchwork.freedesktop.org/series/119109/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13255_full -> Patchwork_119109v1_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (7 -> 7)
------------------------------

No changes in participating hosts

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_fair@basic-pace@vcs0:
- shard-glk: [PASS][1] -> [FAIL][2] ([i915#2842])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/shard-glk2/igt@gem_exec_fair@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-glk4/igt@gem_exec_fair@[email protected]

* igt@i915_selftest@live@gt_heartbeat:
- shard-apl: [PASS][3] -> [DMESG-FAIL][4] ([i915#5334])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/shard-apl1/igt@i915_selftest@live@gt_heartbeat.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-apl2/igt@i915_selftest@live@gt_heartbeat.html

* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [PASS][5] -> [FAIL][6] ([i915#2346])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/shard-glk5/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-glk7/igt@[email protected]

* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@bc-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][7] -> [FAIL][8] ([i915#79]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/shard-glk7/igt@kms_flip@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-glk2/igt@kms_flip@[email protected]

* igt@kms_plane_scaling@plane-upscale-with-modifiers-20x20@pipe-b-vga-1:
- shard-snb: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#4579]) +12 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-snb6/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-vga-1:
- shard-snb: NOTRUN -> [SKIP][10] ([fdo#109271]) +15 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-snb4/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-vga-1.html

#### Possible fixes ####

* igt@i915_pm_dc@dc9-dpms:
- {shard-tglu}: [SKIP][11] ([i915#4281]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/shard-tglu-6/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-tglu-4/igt@[email protected]

* igt@i915_pm_rpm@modeset-lpsp-stress:
- {shard-rkl}: [SKIP][13] ([i915#1397]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/shard-rkl-2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-rkl-7/igt@[email protected]

* igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait:
- {shard-dg1}: [SKIP][15] ([i915#1397]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/shard-dg1-19/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-dg1-13/igt@[email protected]

* igt@i915_selftest@live@gt_heartbeat:
- shard-glk: [DMESG-FAIL][17] ([i915#5334]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/shard-glk1/igt@i915_selftest@live@gt_heartbeat.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-glk6/igt@i915_selftest@live@gt_heartbeat.html
- {shard-rkl}: [DMESG-FAIL][19] -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/shard-rkl-2/igt@i915_selftest@live@gt_heartbeat.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-rkl-7/igt@i915_selftest@live@gt_heartbeat.html

* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-apl: [FAIL][21] ([i915#2346]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/shard-apl2/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-apl6/igt@[email protected]

* igt@perf_pmu@most-busy-idle-check-all@bcs0:
- {shard-dg1}: [FAIL][23] ([i915#5234]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13255/shard-dg1-19/igt@perf_pmu@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_119109v1/shard-dg1-13/igt@perf_pmu@[email protected]

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

[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5234]: https://gitlab.freedesktop.org/drm/intel/issues/5234
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
[i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347
[i915#8399]: https://gitlab.freedesktop.org/drm/intel/issues/8399
[i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414
[i915#8502]: https://gitlab.freedesktop.org/drm/intel/issues/8502
[i915#8588]: https://gitlab.freedesktop.org/drm/intel/issues/8588

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

* Linux: CI_DRM_13255 -> Patchwork_119109v1

CI-20190529: 20190529
CI_DRM_13255: a435969faa911169d7d20145246e88342694a09a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7322: 2dd77d6d827a308caae49ce3eba759c2bab394ed @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_119109v1: a435969faa911169d7d20145246e88342694a09a @ 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_119109v1/index.html