Skip to contentSkip to conversation

drm/i915/display: Do both crawl and squash when changing cdclk

PATCH In review Anusha Srivatsa 3 participants 6 messages Sep 28, 2022 – Sep 29, 2022

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

PATCH 1/2 drm/i915/display: Do both crawl and squash when changing cdclk

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

For MTL, changing cdclk from between certain frequencies has both squash and crawl. Use the current cdclk config and the new(desired) cdclk config to construtc a mid cdclk config. Set the cdclk twice:
- Current cdclk -> mid cdclk
- mid cdclk -> desired cdclk

v2: Add check in intel_modeset_calc_cdclk() to avoid cdclk change via modeset for platforms that support squash_crawl sequences(Ville)

---
 drivers/gpu/drm/i915/display/intel_cdclk.c | 144 +++++++++++++++++----
 1 file changed, 116 insertions(+), 28 deletions(-)
drivers/gpu/drm/i915/display/intel_cdclk.c +116 -28
index a12e86d92783..f7bc1013b149 100644
@@ -1689,37 +1689,68 @@ static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
 	return 0xffff;
 }
 
-static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
-			  const struct intel_cdclk_config *cdclk_config,
-			  enum pipe pipe)
+static int cdclk_squash_divider(u16 waveform)
+{
+	return hweight16(waveform ?: 0xffff);
+}
+
+static bool cdclk_crawl_and_squash(struct drm_i915_private *i915,
+				   const struct intel_cdclk_config *old_cdclk_config,
+				   const struct intel_cdclk_config *new_cdclk_config,
+				   struct intel_cdclk_config *mid_cdclk_config)
+{
+	u16 old_waveform = cdclk_squash_waveform(i915, old_cdclk_config->cdclk);
+	u16 new_waveform = cdclk_squash_waveform(i915, new_cdclk_config->cdclk);
+	u16 mid_waveform;
+	int size = 16;
+	int div = 2;
+
+	/* Return if Squash only or Crawl only is the desired action */
+	if (old_cdclk_config->vco <= 0 || new_cdclk_config->vco <= 0 ||
+	    old_cdclk_config->vco == new_cdclk_config->vco ||
+	    old_waveform == new_waveform)
+		return false;
+
+	*mid_cdclk_config = *new_cdclk_config;
+
+	/* If moving to a higher cdclk(squash) the mid cdclk config
+	 * should have the new (squash) waveform.
+	 * If moving to a lower cdclk (crawl) the mid cdclk config
+	 * should have the new vco.
+	 */
+
+	if (cdclk_squash_divider(new_waveform) > cdclk_squash_divider(old_waveform)) {
+		mid_cdclk_config->vco = old_cdclk_config->vco;
+		mid_waveform = new_waveform;
+	} else {
+		mid_cdclk_config->vco = new_cdclk_config->vco;
+		mid_waveform = old_waveform;
+	}
+
+	mid_cdclk_config->cdclk = DIV_ROUND_CLOSEST(cdclk_squash_divider(mid_waveform) *
+						    mid_cdclk_config->vco, size * div);
+
+	/* make sure the mid clock came out sane */
+
+	drm_WARN_ON(&i915->drm, mid_cdclk_config->cdclk <
+		    min(old_cdclk_config->cdclk, new_cdclk_config->cdclk));
+	drm_WARN_ON(&i915->drm, mid_cdclk_config->cdclk >
+		    i915->display.cdclk.max_cdclk_freq);
+	drm_WARN_ON(&i915->drm, cdclk_squash_waveform(i915, mid_cdclk_config->cdclk) !=
+		    mid_waveform);
+
+	return true;
+}
+
+static void _bxt_set_cdclk(struct drm_i915_private *dev_priv,
+			   const struct intel_cdclk_config *cdclk_config,
+			   enum pipe pipe)
 {
 	int cdclk = cdclk_config->cdclk;
 	int vco = cdclk_config->vco;
 	u32 val;
 	u16 waveform;
 	int clock;
-	int ret;
-
-	/* Inform power controller of upcoming frequency change. */
-	if (DISPLAY_VER(dev_priv) >= 11)
-		ret = skl_pcode_request(&dev_priv->uncore, SKL_PCODE_CDCLK_CONTROL,
-					SKL_CDCLK_PREPARE_FOR_CHANGE,
-					SKL_CDCLK_READY_FOR_CHANGE,
-					SKL_CDCLK_READY_FOR_CHANGE, 3);
-	else
-		/*
-		 * BSpec requires us to wait up to 150usec, but that leads to
-		 * timeouts; the 2ms used here is based on experiment.
-		 */
-		ret = snb_pcode_write_timeout(&dev_priv->uncore,
-					      HSW_PCODE_DE_WRITE_FREQ_REQ,
-					      0x80000000, 150, 2);
-	if (ret) {
-		drm_err(&dev_priv->drm,
-			"Failed to inform PCU about cdclk change (err %d, freq %d)\n",
-			ret, cdclk);
-		return;
-	}
 
 	if (HAS_CDCLK_CRAWL(dev_priv) && dev_priv->display.cdclk.hw.vco > 0 && vco > 0) {
 		if (dev_priv->display.cdclk.hw.vco != vco)
@@ -1772,6 +1803,44 @@ static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
 
 	if (pipe != INVALID_PIPE)
 		intel_crtc_wait_for_next_vblank(intel_crtc_for_pipe(dev_priv, pipe));
+}
+
+static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
+			  const struct intel_cdclk_config *cdclk_config,
+			  enum pipe pipe)
+{
+	struct intel_cdclk_config mid_cdclk_config;
+	int cdclk = cdclk_config->cdclk;
+	int ret;
+
+	/* Inform power controller of upcoming frequency change. */
+	if (DISPLAY_VER(dev_priv) >= 11)
+		ret = skl_pcode_request(&dev_priv->uncore, SKL_PCODE_CDCLK_CONTROL,
+					SKL_CDCLK_PREPARE_FOR_CHANGE,
+					SKL_CDCLK_READY_FOR_CHANGE,
+					SKL_CDCLK_READY_FOR_CHANGE, 3);
+	else
+		/*
+		 * BSpec requires us to wait up to 150usec, but that leads to
+		 * timeouts; the 2ms used here is based on experiment.
+		 */
+		ret = snb_pcode_write_timeout(&dev_priv->uncore,
+					      HSW_PCODE_DE_WRITE_FREQ_REQ,
+					      0x80000000, 150, 2);
+	if (ret) {
+		drm_err(&dev_priv->drm,
+			"Failed to inform PCU about cdclk change (err %d, freq %d)\n",
+			ret, cdclk);
+		return;
+	}
+
+	if (cdclk_crawl_and_squash(dev_priv, &dev_priv->display.cdclk.hw,
+				   cdclk_config, &mid_cdclk_config)) {
+		_bxt_set_cdclk(dev_priv, &mid_cdclk_config, pipe);
+		_bxt_set_cdclk(dev_priv, cdclk_config, pipe);
+	} else {
+		_bxt_set_cdclk(dev_priv, cdclk_config, pipe);
+	}
 
 	if (DISPLAY_VER(dev_priv) >= 11) {
 		ret = snb_pcode_write(&dev_priv->uncore, SKL_PCODE_CDCLK_CONTROL,
@@ -1944,6 +2013,20 @@ void intel_cdclk_uninit_hw(struct drm_i915_private *i915)
 		skl_cdclk_uninit_hw(i915);
 }
 
+static bool intel_cdclk_can_crawl_and_squash(struct drm_i915_private *i915,
+					     const struct intel_cdclk_config *a,
+					     const struct intel_cdclk_config *b)
+{
+	u16 old_waveform = cdclk_squash_waveform(i915, a->cdclk);
+	u16 new_waveform = cdclk_squash_waveform(i915, b->cdclk);
+
+	if (!HAS_CDCLK_CRAWL(i915) || !has_cdclk_squasher(i915))
+		return false;
+
+	return a->vco != b->vco &&
+	       old_waveform == new_waveform;
+}
+
 static bool intel_cdclk_can_crawl(struct drm_i915_private *dev_priv,
 				  const struct intel_cdclk_config *a,
 				  const struct intel_cdclk_config *b)
@@ -2750,9 +2833,14 @@ int intel_modeset_calc_cdclk(struct intel_atomic_state *state)
 			pipe = INVALID_PIPE;
 	}
 
-	if (intel_cdclk_can_squash(dev_priv,
-				   &old_cdclk_state->actual,
-				   &new_cdclk_state->actual)) {
+	if (intel_cdclk_can_crawl_and_squash(dev_priv,
+					     &old_cdclk_state->actual,
+					     &new_cdclk_state->actual)) {
+		drm_dbg_kms(&dev_priv->drm,
+			    "Can change cdclk via crawler and squasher\n");
+	} else if (intel_cdclk_can_squash(dev_priv,
+					&old_cdclk_state->actual,
+					&new_cdclk_state->actual)) {
 		drm_dbg_kms(&dev_priv->drm,
 			    "Can change cdclk via squasher\n");
 	} else if (intel_cdclk_can_crawl(dev_priv,
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 drm/i915/display: Add CDCLK Support for MTL

As per bSpec MTL has 38.4 MHz Reference clock. MTL does support squasher like DG2 but only for lower frequencies. Change the has_cdclk_squasher() helper to reflect this.

bxt_get_cdclk() is not properly calculating HW clock for MTL, because the squash formula is only prepared for DG2. Apart from adding the cdclk table, align cdclk support with the new cdclk_crawl_and_squash() introduced in previous patch.

BSpec: 65243

Cc Radhakrishna Sripada <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_cdclk.c | 95 +++++++++++++++++++++-
 1 file changed, 93 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_cdclk.c +93 -2
index f7bc1013b149..6271eed0d7cf 100644
@@ -1222,7 +1222,7 @@ static void skl_cdclk_uninit_hw(struct drm_i915_private *dev_priv)
 
 static bool has_cdclk_squasher(struct drm_i915_private *i915)
 {
-	return IS_DG2(i915);
+	return DISPLAY_VER(i915) >= 14 || IS_DG2(i915);
 }
 
 struct intel_cdclk_vals {
@@ -1350,6 +1350,16 @@ static const struct intel_cdclk_vals dg2_cdclk_table[] = {
 	{}
 };
 
+static const struct intel_cdclk_vals mtl_cdclk_table[] = {
+	{ .refclk = 38400, .cdclk = 172800, .divider = 2, .ratio = 16, .waveform = 0xad5a },
+	{ .refclk = 38400, .cdclk = 192000, .divider = 2, .ratio = 16, .waveform = 0xb6b6 },
+	{ .refclk = 38400, .cdclk = 307200, .divider = 2, .ratio = 16, .waveform = 0x0000 },
+	{ .refclk = 38400, .cdclk = 480000, .divider = 2, .ratio = 25, .waveform = 0x0000 },
+	{ .refclk = 38400, .cdclk = 556800, .divider = 2, .ratio = 29, .waveform = 0x0000 },
+	{ .refclk = 38400, .cdclk = 652800, .divider = 2, .ratio = 34, .waveform = 0x0000 },
+	{}
+};
+
 static int bxt_calc_cdclk(struct drm_i915_private *dev_priv, int min_cdclk)
 {
 	const struct intel_cdclk_vals *table = dev_priv->display.cdclk.table;
@@ -1479,6 +1489,76 @@ static void bxt_de_pll_readout(struct drm_i915_private *dev_priv,
 	cdclk_config->vco = ratio * cdclk_config->ref;
 }
 
+static void mtl_get_cdclk(struct drm_i915_private *i915,
+			  struct intel_cdclk_config *cdclk_config)
+{
+	const struct intel_cdclk_vals *table = i915->display.cdclk.table;
+	u32 squash_ctl, divider, waveform;
+	int div, i, ratio;
+
+	bxt_de_pll_readout(i915, cdclk_config);
+
+	cdclk_config->bypass = cdclk_config->ref / 2;
+
+	if (cdclk_config->vco == 0) {
+		cdclk_config->cdclk = cdclk_config->bypass;
+		goto out;
+	}
+
+	divider = intel_de_read(i915, CDCLK_CTL) & BXT_CDCLK_CD2X_DIV_SEL_MASK;
+	switch (divider) {
+	case BXT_CDCLK_CD2X_DIV_SEL_1:
+		div = 2;
+		break;
+	case BXT_CDCLK_CD2X_DIV_SEL_1_5:
+		div = 3;
+		break;
+	case BXT_CDCLK_CD2X_DIV_SEL_2:
+		div = 4;
+		break;
+	case BXT_CDCLK_CD2X_DIV_SEL_4:
+		div = 8;
+		break;
+	default:
+		MISSING_CASE(divider);
+		return;
+	}
+
+	squash_ctl = intel_de_read(i915, CDCLK_SQUASH_CTL);
+	if (squash_ctl & CDCLK_SQUASH_ENABLE)
+		waveform = squash_ctl & CDCLK_SQUASH_WAVEFORM_MASK;
+	else
+		waveform = 0;
+
+	ratio = cdclk_config->vco / cdclk_config->ref;
+
+	for (i = 0, cdclk_config->cdclk = 0; table[i].refclk; i++) {
+		if (table[i].refclk != cdclk_config->ref)
+			continue;
+
+		if (table[i].divider != div)
+			continue;
+
+		if (table[i].waveform != waveform)
+			continue;
+
+		if (table[i].ratio != ratio)
+			continue;
+
+		cdclk_config->cdclk = table[i].cdclk;
+		break;
+	}
+
+out:
+	/*
+	 * Can't read this out :( Let's assume it's
+	 * at least what the CDCLK frequency requires.
+	 */
+	cdclk_config->voltage_level =
+		intel_cdclk_calc_voltage_level(i915, cdclk_config->cdclk);
+}
+
+
 static void bxt_get_cdclk(struct drm_i915_private *dev_priv,
 			  struct intel_cdclk_config *cdclk_config)
 {
@@ -3138,6 +3218,13 @@ u32 intel_read_rawclk(struct drm_i915_private *dev_priv)
 	return freq;
 }
 
+static const struct intel_cdclk_funcs mtl_cdclk_funcs = {
+	.get_cdclk = mtl_get_cdclk,
+	.set_cdclk = bxt_set_cdclk,
+	.modeset_calc_cdclk = bxt_modeset_calc_cdclk,
+	.calc_voltage_level = tgl_calc_voltage_level,
+};
+
 static const struct intel_cdclk_funcs tgl_cdclk_funcs = {
 	.get_cdclk = bxt_get_cdclk,
 	.set_cdclk = bxt_set_cdclk,
@@ -3273,7 +3360,11 @@ static const struct intel_cdclk_funcs i830_cdclk_funcs = {
  */
 void intel_init_cdclk_hooks(struct drm_i915_private *dev_priv)
 {
-	if (IS_DG2(dev_priv)) {
+
+	if (IS_METEORLAKE(dev_priv)) {
+		dev_priv->display.funcs.cdclk = &mtl_cdclk_funcs;
+		dev_priv->display.cdclk.table = mtl_cdclk_table;
+	} else if (IS_DG2(dev_priv)) {
 		dev_priv->display.funcs.cdclk = &tgl_cdclk_funcs;
 		dev_priv->display.cdclk.table = dg2_cdclk_table;
 	} else if (IS_ALDERLAKE_P(dev_priv)) {
Signature · 1 line
2.25.1
#2 lore raw

Re: [Intel-gfx] [PATCH 2/2] drm/i915/display: Add CDCLK Support for MTL

Quoted 100 lines · Anusha Srivatsa

As per bSpec MTL has 38.4 MHz Reference clock. MTL does support squasher like DG2 but only for lower frequencies. Change the has_cdclk_squasher() helper to reflect this.

bxt_get_cdclk() is not properly calculating HW clock for MTL, because the squash formula is only prepared for DG2. Apart from adding the cdclk table, align cdclk support with the new cdclk_crawl_and_squash() introduced in previous patch.

BSpec: 65243

Cc Radhakrishna Sripada <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_cdclk.c | 95 +++++++++++++++++++++-
 1 file changed, 93 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_cdclk.c +60 -1
index f7bc1013b149..6271eed0d7cf 100644
@@ -1222,7 +1222,7 @@ static void skl_cdclk_uninit_hw(struct drm_i915_private *dev_priv)
 
 static bool has_cdclk_squasher(struct drm_i915_private *i915)
 {
-	return IS_DG2(i915);
+	return DISPLAY_VER(i915) >= 14 || IS_DG2(i915);
 }
 
 struct intel_cdclk_vals {
@@ -1350,6 +1350,16 @@ static const struct intel_cdclk_vals dg2_cdclk_table[] = {
 	{}
 };
 
+static const struct intel_cdclk_vals mtl_cdclk_table[] = {
+	{ .refclk = 38400, .cdclk = 172800, .divider = 2, .ratio = 16, .waveform = 0xad5a },
+	{ .refclk = 38400, .cdclk = 192000, .divider = 2, .ratio = 16, .waveform = 0xb6b6 },
+	{ .refclk = 38400, .cdclk = 307200, .divider = 2, .ratio = 16, .waveform = 0x0000 },
+	{ .refclk = 38400, .cdclk = 480000, .divider = 2, .ratio = 25, .waveform = 0x0000 },
+	{ .refclk = 38400, .cdclk = 556800, .divider = 2, .ratio = 29, .waveform = 0x0000 },
+	{ .refclk = 38400, .cdclk = 652800, .divider = 2, .ratio = 34, .waveform = 0x0000 },
+	{}
+};
+
 static int bxt_calc_cdclk(struct drm_i915_private *dev_priv, int min_cdclk)
 {
 	const struct intel_cdclk_vals *table = dev_priv->display.cdclk.table;
@@ -1479,6 +1489,76 @@ static void bxt_de_pll_readout(struct drm_i915_private *dev_priv,
 	cdclk_config->vco = ratio * cdclk_config->ref;
 }
 
+static void mtl_get_cdclk(struct drm_i915_private *i915,
+			  struct intel_cdclk_config *cdclk_config)
+{
+	const struct intel_cdclk_vals *table = i915->display.cdclk.table;
+	u32 squash_ctl, divider, waveform;
+	int div, i, ratio;
+
+	bxt_de_pll_readout(i915, cdclk_config);
+
+	cdclk_config->bypass = cdclk_config->ref / 2;
+
+	if (cdclk_config->vco == 0) {
+		cdclk_config->cdclk = cdclk_config->bypass;
+		goto out;
+	}
+
+	divider = intel_de_read(i915, CDCLK_CTL) & BXT_CDCLK_CD2X_DIV_SEL_MASK;
+	switch (divider) {
+	case BXT_CDCLK_CD2X_DIV_SEL_1:
+		div = 2;
+		break;
+	case BXT_CDCLK_CD2X_DIV_SEL_1_5:
+		div = 3;
+		break;
+	case BXT_CDCLK_CD2X_DIV_SEL_2:
+		div = 4;
+		break;
+	case BXT_CDCLK_CD2X_DIV_SEL_4:
+		div = 8;
+		break;
+	default:
+		MISSING_CASE(divider);
+		return;
+	}
+
+	squash_ctl = intel_de_read(i915, CDCLK_SQUASH_CTL);
+	if (squash_ctl & CDCLK_SQUASH_ENABLE)
+		waveform = squash_ctl & CDCLK_SQUASH_WAVEFORM_MASK;
+	else
+		waveform = 0;
+
+	ratio = cdclk_config->vco / cdclk_config->ref;
+
+	for (i = 0, cdclk_config->cdclk = 0; table[i].refclk; i++) {
+		if (table[i].refclk != cdclk_config->ref)
+			continue;
+
+		if (table[i].divider != div)
+			continue;

drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_de_pll_readout(struct drm_i915_private *dev_priv, · line 1550

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10 -0
+
+		if (table[i].waveform != waveform)
+			continue;
+
+		if (table[i].ratio != ratio)
+			continue;
+
+		cdclk_config->cdclk = table[i].cdclk;
+		break;
+	}

NAK. Readout must not depend on these tables. Otherwise it's not proper readout and bugs can slip through. What is the supposed problem with the already existing code?

Quoted 42 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +22 -1
+out:
+	/*
+	 * Can't read this out :( Let's assume it's
+	 * at least what the CDCLK frequency requires.
+	 */
+	cdclk_config->voltage_level =
+		intel_cdclk_calc_voltage_level(i915, cdclk_config->cdclk);
+}
+
+
 static void bxt_get_cdclk(struct drm_i915_private *dev_priv,
 			  struct intel_cdclk_config *cdclk_config)
 {
@@ -3138,6 +3218,13 @@ u32 intel_read_rawclk(struct drm_i915_private *dev_priv)
 	return freq;
 }
 
+static const struct intel_cdclk_funcs mtl_cdclk_funcs = {
+	.get_cdclk = mtl_get_cdclk,
+	.set_cdclk = bxt_set_cdclk,
+	.modeset_calc_cdclk = bxt_modeset_calc_cdclk,
+	.calc_voltage_level = tgl_calc_voltage_level,
+};
+
 static const struct intel_cdclk_funcs tgl_cdclk_funcs = {
 	.get_cdclk = bxt_get_cdclk,
 	.set_cdclk = bxt_set_cdclk,
@@ -3273,7 +3360,11 @@ static const struct intel_cdclk_funcs i830_cdclk_funcs = {
  */
 void intel_init_cdclk_hooks(struct drm_i915_private *dev_priv)
 {
-	if (IS_DG2(dev_priv)) {
+
+	if (IS_METEORLAKE(dev_priv)) {
+		dev_priv->display.funcs.cdclk = &mtl_cdclk_funcs;
+		dev_priv->display.cdclk.table = mtl_cdclk_table;
+	} else if (IS_DG2(dev_priv)) {
 		dev_priv->display.funcs.cdclk = &tgl_cdclk_funcs;
 		dev_priv->display.cdclk.table = dg2_cdclk_table;
 	} else if (IS_ALDERLAKE_P(dev_priv)) {
Signature · 1 line
2.25.1
Signature · 2 lines
Ville Syrjälä
Intel
#3 lore raw

Re: [Intel-gfx] [PATCH 2/2] drm/i915/display: Add CDCLK Support for MTL

Quoted 126 lines

-----Original Message-----
From: Ville Syrjälä <[email protected]>
Sent: Wednesday, September 28, 2022 12:24 PM
To: Srivatsa, Anusha <[email protected]>
Cc: [email protected]
Subject: Re: [Intel-gfx] [PATCH 2/2] drm/i915/display: Add CDCLK Support for MTL

drivers/gpu/drm/i915/display/intel_cdclk.c static const struct intel_cdclk_vals

Quoted 32 lines · Anusha Srivatsa

As per bSpec MTL has 38.4 MHz Reference clock.
MTL does support squasher like DG2 but only for lower frequencies. Change the has_cdclk_squasher() helper to reflect this.

bxt_get_cdclk() is not properly calculating HW clock for MTL, because the squash formula is only prepared for DG2.
Apart from adding the cdclk table, align cdclk support with the new cdclk_crawl_and_squash() introduced in previous patch.

BSpec: 65243

Cc Radhakrishna Sripada <[email protected]>
---
 drivers/gpu/drm/i915/display/intel_cdclk.c | 95
+++++++++++++++++++++-
 1 file changed, 93 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_cdclk.c +1 -1
index f7bc1013b149..6271eed0d7cf 100644
@@ -1222,7 +1222,7 @@ static void skl_cdclk_uninit_hw(struct
 drm_i915_private *dev_priv)
 
 static bool has_cdclk_squasher(struct drm_i915_private *i915)  {
-	return IS_DG2(i915);
+	return DISPLAY_VER(i915) >= 14 || IS_DG2(i915);
 }
 
 struct intel_cdclk_vals {
@@ -1350,6 +1350,16 @@ static const struct intel_cdclk_vals

dg2_cdclk_table[] = {

drivers/gpu/drm/i915/display/intel_cdclk.c static const struct intel_cdclk_vals dg2_cdclk_table[] = {

Quoted 5 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +2 -0
 	{}
 };
 
+static const struct intel_cdclk_vals mtl_cdclk_table[] = {
+	{ .refclk = 38400, .cdclk = 172800, .divider = 2, .ratio = 16, .waveform

= 0xad5a },

drivers/gpu/drm/i915/display/intel_cdclk.c static const struct intel_cdclk_vals · line 1355

Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1 -0
+	{ .refclk = 38400, .cdclk = 192000, .divider = 2, .ratio = 16, .waveform

= 0xb6b6 },

drivers/gpu/drm/i915/display/intel_cdclk.c static const struct intel_cdclk_vals · line 1356

Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1 -0
+	{ .refclk = 38400, .cdclk = 307200, .divider = 2, .ratio = 16, .waveform

= 0x0000 },

drivers/gpu/drm/i915/display/intel_cdclk.c static const struct intel_cdclk_vals · line 1357

Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1 -0
+	{ .refclk = 38400, .cdclk = 480000, .divider = 2, .ratio = 25, .waveform

= 0x0000 },

drivers/gpu/drm/i915/display/intel_cdclk.c static const struct intel_cdclk_vals · line 1358

Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1 -0
+	{ .refclk = 38400, .cdclk = 556800, .divider = 2, .ratio = 29, .waveform

= 0x0000 },

drivers/gpu/drm/i915/display/intel_cdclk.c static const struct intel_cdclk_vals · line 1359

Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1 -0
+	{ .refclk = 38400, .cdclk = 652800, .divider = 2, .ratio = 34, .waveform

= 0x0000 },

Quoted 7 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +3 -0
+	{}
+};
+
 static int bxt_calc_cdclk(struct drm_i915_private *dev_priv, int
 min_cdclk)  {
 	const struct intel_cdclk_vals *table =

dev_priv->display.cdclk.table; @@ -1479,6 +1489,76 @@ static void

bxt_de_pll_readout(struct drm_i915_private *dev_priv,

Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +6 -0
 	cdclk_config->vco = ratio * cdclk_config->ref;  }
 
+static void mtl_get_cdclk(struct drm_i915_private *i915,
+			  struct intel_cdclk_config *cdclk_config) {
+	const struct intel_cdclk_vals *table = i915->display.cdclk.table;
+	u32 squash_ctl, divider, waveform;
+	int div, i, ratio;
+

drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_de_pll_readout(struct drm_i915_private *dev_priv,

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10 -0
+	bxt_de_pll_readout(i915, cdclk_config);
+
+	cdclk_config->bypass = cdclk_config->ref / 2;
+
+	if (cdclk_config->vco == 0) {
+		cdclk_config->cdclk = cdclk_config->bypass;
+		goto out;
+	}
+
+	divider = intel_de_read(i915, CDCLK_CTL) &

BXT_CDCLK_CD2X_DIV_SEL_MASK;

Quoted 11 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +11 -0
+	switch (divider) {
+	case BXT_CDCLK_CD2X_DIV_SEL_1:
+		div = 2;
+		break;
+	case BXT_CDCLK_CD2X_DIV_SEL_1_5:
+		div = 3;
+		break;
+	case BXT_CDCLK_CD2X_DIV_SEL_2:
+		div = 4;
+		break;
+	case BXT_CDCLK_CD2X_DIV_SEL_4:

drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_de_pll_readout(struct drm_i915_private *dev_priv,

Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10 -0
+		div = 8;
+		break;
+	default:
+		MISSING_CASE(divider);
+		return;
+	}
+
+	squash_ctl = intel_de_read(i915, CDCLK_SQUASH_CTL);
+	if (squash_ctl & CDCLK_SQUASH_ENABLE)
+		waveform = squash_ctl &

CDCLK_SQUASH_WAVEFORM_MASK;

Quoted 17 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +17 -0
+	else
+		waveform = 0;
+
+	ratio = cdclk_config->vco / cdclk_config->ref;
+
+	for (i = 0, cdclk_config->cdclk = 0; table[i].refclk; i++) {
+		if (table[i].refclk != cdclk_config->ref)
+			continue;
+
+		if (table[i].divider != div)
+			continue;
+
+		if (table[i].waveform != waveform)
+			continue;
+
+		if (table[i].ratio != ratio)
+			continue;
Quoted 8 lines

drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_de_pll_readout(struct drm_i915_private *dev_priv, · line 1550

Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +4 -0
+
+		cdclk_config->cdclk = table[i].cdclk;
+		break;
+	}

NAK. Readout must not depend on these tables. Otherwise it's not proper readout and bugs can slip through. What is the supposed problem with the already existing code?

IIRC we were getting wrong values with the existing mathematical calculations for cdclk. This way we force to pick an entry from the table.

Anusha

Quoted 44 lines

drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_de_pll_readout(struct drm_i915_private *dev_priv,

Quoted 11 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +9 -0
+out:
+	/*
+	 * Can't read this out :( Let's assume it's
+	 * at least what the CDCLK frequency requires.
+	 */
+	cdclk_config->voltage_level =
+		intel_cdclk_calc_voltage_level(i915, cdclk_config->cdclk); }
+
+
 static void bxt_get_cdclk(struct drm_i915_private *dev_priv,
 			  struct intel_cdclk_config *cdclk_config)  { @@ -

3138,6 +3218,13

drivers/gpu/drm/i915/display/intel_cdclk.c static const struct intel_cdclk_funcs

Quoted 14 lines

@@ u32 intel_read_rawclk(struct drm_i915_private *dev_priv)

drivers/gpu/drm/i915/display/intel_cdclk.c +6 -0
 	return freq;
 }
 
+static const struct intel_cdclk_funcs mtl_cdclk_funcs = {
+	.get_cdclk = mtl_get_cdclk,
+	.set_cdclk = bxt_set_cdclk,
+	.modeset_calc_cdclk = bxt_modeset_calc_cdclk,
+	.calc_voltage_level = tgl_calc_voltage_level, };
+
 static const struct intel_cdclk_funcs tgl_cdclk_funcs = {
 	.get_cdclk = bxt_get_cdclk,
 	.set_cdclk = bxt_set_cdclk,
@@ -3273,7 +3360,11 @@ static const struct intel_cdclk_funcs

i830_cdclk_funcs = {

Quoted 12 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +5 -2
  */
 void intel_init_cdclk_hooks(struct drm_i915_private *dev_priv)  {
-	if (IS_DG2(dev_priv)) {
+
+	if (IS_METEORLAKE(dev_priv)) {
+		dev_priv->display.funcs.cdclk = &mtl_cdclk_funcs;
+		dev_priv->display.cdclk.table = mtl_cdclk_table;
+	} else if (IS_DG2(dev_priv)) {
 		dev_priv->display.funcs.cdclk = &tgl_cdclk_funcs;
 		dev_priv->display.cdclk.table = dg2_cdclk_table;
 	} else if (IS_ALDERLAKE_P(dev_priv)) {
--
Quoted 1 line

2.25.1

--
Ville Syrjälä
Intel

#4 lore raw

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915/display: Do both crawl and squash when changing cdclk

In reply to Anusha Srivatsa
== Series Details ==

== Series Details ==

Series: series starting with [1/2] drm/i915/display: Do both crawl and squash when changing cdclk
URL : https://patchwork.freedesktop.org/series/109204/
State : warning

== Summary ==

Error: dim checkpatch failed
06e3f42ef6a2 drm/i915/display: Do both crawl and squash when changing cdclk 5a52f335b39b drm/i915/display: Add CDCLK Support for MTL
-:123: CHECK:LINE_SPACING: Please don't use multiple blank lines #123: FILE: drivers/gpu/drm/i915/display/intel_cdclk.c:1561:
+
+

-:146: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #146: FILE: drivers/gpu/drm/i915/display/intel_cdclk.c:3363:
{
+

total: 0 errors, 0 warnings, 2 checks, 125 lines checked

#5 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915/display: Do both crawl and squash when changing cdclk

In reply to Anusha Srivatsa
== Series Details ==

== Series Details ==

Series: series starting with [1/2] drm/i915/display: Do both crawl and squash when changing cdclk
URL : https://patchwork.freedesktop.org/series/109204/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_12197 -> Patchwork_109204v1
====================================================

Summary
-------

**FAILURE**

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

If you think the reported changes have nothing to do with the changes introduced in Patchwork_109204v1, 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_109204v1/index.html

Participating hosts (45 -> 46)
------------------------------

Additional (3): fi-rkl-guc bat-adls-5 fi-tgl-dsi
Missing (2): fi-icl-u2 fi-bdw-samus

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

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

### IGT changes ###

#### Possible regressions ####

* igt@i915_hangman@error-state-basic:
- fi-blb-e6850: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-blb-e6850/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-blb-e6850/igt@[email protected]
- fi-pnv-d510: [PASS][3] -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-pnv-d510/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-pnv-d510/igt@[email protected]

* igt@i915_module_load@load:
- fi-skl-6700k2: [PASS][5] -> [INCOMPLETE][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-skl-6700k2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-skl-6700k2/igt@[email protected]
- fi-cfl-guc: [PASS][7] -> [INCOMPLETE][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-cfl-guc/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-cfl-guc/igt@[email protected]
- fi-bdw-5557u: [PASS][9] -> [INCOMPLETE][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-bdw-5557u/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-bdw-5557u/igt@[email protected]
- fi-cfl-8109u: [PASS][11] -> [INCOMPLETE][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-cfl-8109u/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-cfl-8109u/igt@[email protected]
- fi-ilk-650: [PASS][13] -> [INCOMPLETE][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-ilk-650/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-ilk-650/igt@[email protected]
- fi-cfl-8700k: [PASS][15] -> [INCOMPLETE][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-cfl-8700k/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-cfl-8700k/igt@[email protected]
- fi-bsw-kefka: [PASS][17] -> [INCOMPLETE][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-bsw-kefka/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-bsw-kefka/igt@[email protected]
- fi-snb-2600: [PASS][19] -> [INCOMPLETE][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-snb-2600/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-snb-2600/igt@[email protected]

* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-adl-ddr5: [PASS][21] -> [DMESG-WARN][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-adl-ddr5/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-adl-ddr5/igt@[email protected]
- fi-rkl-guc: NOTRUN -> [DMESG-WARN][23]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-rkl-guc/igt@[email protected]
- fi-tgl-u2: [PASS][24] -> [DMESG-WARN][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-tgl-u2/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-tgl-u2/igt@[email protected]
- fi-bxt-dsi: [PASS][26] -> [DMESG-WARN][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-bxt-dsi/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-bxt-dsi/igt@[email protected]
- fi-glk-j4005: [PASS][28] -> [DMESG-WARN][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-glk-j4005/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-glk-j4005/igt@[email protected]
- fi-rkl-11600: [PASS][30] -> [DMESG-WARN][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-rkl-11600/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-rkl-11600/igt@[email protected]
- bat-dg1-5: [PASS][32] -> [DMESG-WARN][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/bat-dg1-5/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-dg1-5/igt@[email protected]

* igt@kms_busy@basic@flip:
- fi-elk-e7500: [PASS][34] -> [INCOMPLETE][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-elk-e7500/igt@kms_busy@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-elk-e7500/igt@kms_busy@[email protected]
- fi-hsw-g3258: [PASS][36] -> [INCOMPLETE][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-hsw-g3258/igt@kms_busy@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-hsw-g3258/igt@kms_busy@[email protected]
- fi-hsw-4770: [PASS][38] -> [INCOMPLETE][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-hsw-4770/igt@kms_busy@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-hsw-4770/igt@kms_busy@[email protected]
- fi-ivb-3770: [PASS][40] -> [INCOMPLETE][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-ivb-3770/igt@kms_busy@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-ivb-3770/igt@kms_busy@[email protected]
- fi-skl-6600u: [PASS][42] -> [INCOMPLETE][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-skl-6600u/igt@kms_busy@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-skl-6600u/igt@kms_busy@[email protected]

* igt@kms_force_connector_basic@force-connector-state:
- fi-kbl-7567u: [PASS][44] -> [DMESG-WARN][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-kbl-7567u/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-kbl-7567u/igt@[email protected]
- fi-bdw-gvtdvm: [PASS][46] -> [DMESG-WARN][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-bdw-gvtdvm/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-bdw-gvtdvm/igt@[email protected]

#### 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:
- {fi-ehl-2}: [PASS][48] -> [DMESG-WARN][49]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-ehl-2/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-ehl-2/igt@[email protected]
- {bat-adlp-6}: [PASS][50] -> [DMESG-WARN][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/bat-adlp-6/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-adlp-6/igt@[email protected]
- {bat-jsl-3}: [PASS][52] -> [DMESG-WARN][53]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/bat-jsl-3/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-jsl-3/igt@[email protected]
- {bat-dg2-11}: [PASS][54] -> [DMESG-WARN][55]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/bat-dg2-11/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-dg2-11/igt@[email protected]
- {bat-dg2-8}: [PASS][56] -> [DMESG-WARN][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/bat-dg2-8/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-dg2-8/igt@[email protected]
- {bat-adlm-1}: [PASS][58] -> [DMESG-WARN][59]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/bat-adlm-1/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-adlm-1/igt@[email protected]
- {bat-jsl-1}: [PASS][60] -> [DMESG-WARN][61]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/bat-jsl-1/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-jsl-1/igt@[email protected]
- {fi-jsl-1}: [PASS][62] -> [DMESG-WARN][63]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-jsl-1/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-jsl-1/igt@[email protected]
- {bat-rpls-1}: [PASS][64] -> [DMESG-WARN][65]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/bat-rpls-1/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-rpls-1/igt@[email protected]
- {bat-rplp-1}: [PASS][66] -> [DMESG-WARN][67]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/bat-rplp-1/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-rplp-1/igt@[email protected]
- {bat-adls-5}: NOTRUN -> [DMESG-WARN][68]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-adls-5/igt@[email protected]
- {bat-dg2-9}: [PASS][69] -> [DMESG-WARN][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/bat-dg2-9/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-dg2-9/igt@[email protected]
- {bat-adln-1}: [PASS][71] -> [DMESG-WARN][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/bat-adln-1/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/bat-adln-1/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_suspend@basic-s0@smem:
- fi-bsw-nick: [PASS][73] -> [INCOMPLETE][74] ([i915#4831])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-bsw-nick/igt@gem_exec_suspend@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-bsw-nick/igt@gem_exec_suspend@[email protected]

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

* igt@i915_pm_backlight@basic-brightness:
- fi-rkl-guc: NOTRUN -> [SKIP][76] ([i915#3012])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-rkl-guc/igt@[email protected]

* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-glk-dsi: [PASS][77] -> [DMESG-WARN][78] ([i915#1982])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-glk-dsi/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-glk-dsi/igt@[email protected]

* igt@kms_busy@basic@flip:
- fi-snb-2520m: [PASS][79] -> [INCOMPLETE][80] ([i915#1982])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-snb-2520m/igt@kms_busy@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-snb-2520m/igt@kms_busy@[email protected]

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

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- fi-rkl-guc: NOTRUN -> [SKIP][82] ([i915#4103])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-rkl-guc/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- fi-rkl-guc: NOTRUN -> [SKIP][83] ([fdo#109285])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-rkl-guc/igt@[email protected]

* igt@kms_psr@sprite_plane_onoff:
- fi-rkl-guc: NOTRUN -> [SKIP][84] ([i915#1072]) +3 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-rkl-guc/igt@kms_psr@sprite_plane_onoff.html

* igt@kms_setmode@basic-clone-single-crtc:
- fi-rkl-guc: NOTRUN -> [SKIP][85] ([i915#3555] / [i915#4098])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-rkl-guc/igt@[email protected]

* igt@runner@aborted:
- fi-ivb-3770: NOTRUN -> [FAIL][86] ([i915#4312])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-ivb-3770/igt@[email protected]
- fi-elk-e7500: NOTRUN -> [FAIL][87] ([i915#4312])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-elk-e7500/igt@[email protected]
- fi-snb-2600: NOTRUN -> [FAIL][88] ([i915#4312])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-snb-2600/igt@[email protected]
- fi-tgl-u2: NOTRUN -> [FAIL][89] ([i915#4312])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-tgl-u2/igt@[email protected]
- fi-bxt-dsi: NOTRUN -> [FAIL][90] ([i915#4312])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-bxt-dsi/igt@[email protected]
- fi-glk-dsi: NOTRUN -> [FAIL][91] ([i915#4312])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-glk-dsi/igt@[email protected]
- fi-glk-j4005: NOTRUN -> [FAIL][92] ([i915#4312])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-glk-j4005/igt@[email protected]
- fi-kbl-7567u: NOTRUN -> [FAIL][93] ([i915#4312])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-kbl-7567u/igt@[email protected]
- fi-rkl-11600: NOTRUN -> [FAIL][94] ([i915#4312])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-rkl-11600/igt@[email protected]
- fi-adl-ddr5: NOTRUN -> [FAIL][95] ([i915#4312])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-adl-ddr5/igt@[email protected]
- fi-cfl-guc: NOTRUN -> [FAIL][96] ([i915#4312])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-cfl-guc/igt@[email protected]
- fi-skl-6700k2: NOTRUN -> [FAIL][97] ([i915#4312])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-skl-6700k2/igt@[email protected]
- fi-cfl-8109u: NOTRUN -> [FAIL][98] ([i915#4312])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-cfl-8109u/igt@[email protected]
- fi-ilk-650: NOTRUN -> [FAIL][99] ([i915#4312])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-ilk-650/igt@[email protected]
- fi-skl-6600u: NOTRUN -> [FAIL][100] ([i915#4312])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-skl-6600u/igt@[email protected]
- fi-bdw-5557u: NOTRUN -> [FAIL][101] ([i915#4312])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-bdw-5557u/igt@[email protected]
- fi-snb-2520m: NOTRUN -> [FAIL][102] ([i915#4312])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-snb-2520m/igt@[email protected]
- fi-rkl-guc: NOTRUN -> [FAIL][103] ([i915#4312])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-rkl-guc/igt@[email protected]
- fi-cfl-8700k: NOTRUN -> [FAIL][104] ([i915#4312])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-cfl-8700k/igt@[email protected]
- fi-hsw-g3258: NOTRUN -> [FAIL][105] ([i915#4312])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-hsw-g3258/igt@[email protected]
- fi-bdw-gvtdvm: NOTRUN -> [FAIL][106] ([i915#4312])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-bdw-gvtdvm/igt@[email protected]
- fi-bsw-kefka: NOTRUN -> [FAIL][107] ([i915#4312])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-bsw-kefka/igt@[email protected]

#### Warnings ####

* igt@runner@aborted:
- fi-hsw-4770: [FAIL][108] ([fdo#109271] / [i915#4312] / [i915#5594]) -> [FAIL][109] ([i915#4312] / [i915#5594])
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12197/fi-hsw-4770/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109204v1/fi-hsw-4770/igt@[email protected]

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

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4831]: https://gitlab.freedesktop.org/drm/intel/issues/4831
[i915#5594]: https://gitlab.freedesktop.org/drm/intel/issues/5594

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

* Linux: CI_DRM_12197 -> Patchwork_109204v1

CI-20190529: 20190529
CI_DRM_12197: cafa326de8e7860d45639e61bf66ec9c218207b1 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6668: 5f29c9369550164b35b65baaaeba4b370f434cf1 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_109204v1: cafa326de8e7860d45639e61bf66ec9c218207b1 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

e60dbb650cbb drm/i915/display: Add CDCLK Support for MTL b522ea90cbc5 drm/i915/display: Do both crawl and squash when changing cdclk

== Logs ==

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