Skip to contentSkip to conversation

drm/i915/audio: Track audio state per-transcoder

PATCH In review Ville Syrjala 4 participants 6 messages Feb 22, 2023 – Feb 23, 2023

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

PATCH 1/1 drm/i915/audio: Track audio state per-transcoder

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

The audio logic lives in the transcoder rather than the pipe, so start tracking it like that.

This is only really important for bigjoiner cases where tracking by pipe doesn't work at all since intel_audio_codec_{enable,disable}() won't even be called for the slave pipe. This means the state checker won't find the ELD for the slave pipe and gets upset. The PD->has_audio readout does currently work since that gets read out from the same transcoder for both pipes.

For other cases this doesn't actually matter since it's only the normal pipe transcoders that are audio capable, whereas the more special transcoders (EDP/DSI) are not.

---
 drivers/gpu/drm/i915/display/intel_audio.c    | 86 +++++++++----------
 .../gpu/drm/i915/display/intel_display_core.h |  2 +-
 .../gpu/drm/i915/display/intel_lpe_audio.c    |  6 +-
 .../gpu/drm/i915/display/intel_lpe_audio.h    |  4 +-
 4 files changed, 48 insertions(+), 50 deletions(-)
drivers/gpu/drm/i915/display/intel_audio.c +42 -44
index a9335c856644..65151f5dcb15 100644
@@ -581,8 +581,7 @@ static void enable_audio_dsc_wa(struct intel_encoder *encoder,
 				const struct intel_crtc_state *crtc_state)
 {
 	struct drm_i915_private *i915 = to_i915(encoder->base.dev);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	enum pipe pipe = crtc->pipe;
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
 	unsigned int hblank_early_prog, samples_room;
 	unsigned int val;
 
@@ -592,32 +591,32 @@ static void enable_audio_dsc_wa(struct intel_encoder *encoder,
 	val = intel_de_read(i915, AUD_CONFIG_BE);
 
 	if (DISPLAY_VER(i915) == 11)
-		val |= HBLANK_EARLY_ENABLE_ICL(pipe);
+		val |= HBLANK_EARLY_ENABLE_ICL(cpu_transcoder);
 	else if (DISPLAY_VER(i915) >= 12)
-		val |= HBLANK_EARLY_ENABLE_TGL(pipe);
+		val |= HBLANK_EARLY_ENABLE_TGL(cpu_transcoder);
 
 	if (crtc_state->dsc.compression_enable &&
 	    crtc_state->hw.adjusted_mode.hdisplay >= 3840 &&
 	    crtc_state->hw.adjusted_mode.vdisplay >= 2160) {
 		/* Get hblank early enable value required */
-		val &= ~HBLANK_START_COUNT_MASK(pipe);
+		val &= ~HBLANK_START_COUNT_MASK(cpu_transcoder);
 		hblank_early_prog = calc_hblank_early_prog(encoder, crtc_state);
 		if (hblank_early_prog < 32)
-			val |= HBLANK_START_COUNT(pipe, HBLANK_START_COUNT_32);
+			val |= HBLANK_START_COUNT(cpu_transcoder, HBLANK_START_COUNT_32);
 		else if (hblank_early_prog < 64)
-			val |= HBLANK_START_COUNT(pipe, HBLANK_START_COUNT_64);
+			val |= HBLANK_START_COUNT(cpu_transcoder, HBLANK_START_COUNT_64);
 		else if (hblank_early_prog < 96)
-			val |= HBLANK_START_COUNT(pipe, HBLANK_START_COUNT_96);
+			val |= HBLANK_START_COUNT(cpu_transcoder, HBLANK_START_COUNT_96);
 		else
-			val |= HBLANK_START_COUNT(pipe, HBLANK_START_COUNT_128);
+			val |= HBLANK_START_COUNT(cpu_transcoder, HBLANK_START_COUNT_128);
 
 		/* Get samples room value required */
-		val &= ~NUMBER_SAMPLES_PER_LINE_MASK(pipe);
+		val &= ~NUMBER_SAMPLES_PER_LINE_MASK(cpu_transcoder);
 		samples_room = calc_samples_room(crtc_state);
 		if (samples_room < 3)
-			val |= NUMBER_SAMPLES_PER_LINE(pipe, samples_room);
+			val |= NUMBER_SAMPLES_PER_LINE(cpu_transcoder, samples_room);
 		else /* Program 0 i.e "All Samples available in buffer" */
-			val |= NUMBER_SAMPLES_PER_LINE(pipe, 0x0);
+			val |= NUMBER_SAMPLES_PER_LINE(cpu_transcoder, 0x0);
 	}
 
 	intel_de_write(i915, AUD_CONFIG_BE, val);
@@ -812,9 +811,9 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,
 	struct i915_audio_component *acomp = i915->display.audio.component;
 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 	struct intel_connector *connector = to_intel_connector(conn_state->connector);
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
 	struct intel_audio_state *audio_state;
 	enum port port = encoder->port;
-	enum pipe pipe = crtc->pipe;
 
 	if (!crtc_state->has_audio)
 		return;
@@ -832,7 +831,7 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,
 
 	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
 	audio_state->encoder = encoder;
 	BUILD_BUG_ON(sizeof(audio_state->eld) != sizeof(crtc_state->eld));
@@ -842,14 +841,14 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,
 
 	if (acomp && acomp->base.audio_ops &&
 	    acomp->base.audio_ops->pin_eld_notify) {
-		/* audio drivers expect pipe = -1 to indicate Non-MST cases */
+		/* audio drivers expect cpu_transcoder = -1 to indicate Non-MST cases */
 		if (!intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST))
-			pipe = -1;
+			cpu_transcoder = -1;
 		acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr,
-						      (int)port, (int)pipe);
+						      (int)port, (int)cpu_transcoder);
 	}
 
-	intel_lpe_audio_notify(i915, pipe, port, crtc_state->eld,
+	intel_lpe_audio_notify(i915, cpu_transcoder, port, crtc_state->eld,
 			       crtc_state->port_clock,
 			       intel_crtc_has_dp_encoder(crtc_state));
 }
@@ -871,9 +870,9 @@ void intel_audio_codec_disable(struct intel_encoder *encoder,
 	struct i915_audio_component *acomp = i915->display.audio.component;
 	struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
 	struct intel_connector *connector = to_intel_connector(old_conn_state->connector);
+	enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder;
 	struct intel_audio_state *audio_state;
 	enum port port = encoder->port;
-	enum pipe pipe = crtc->pipe;
 
 	if (!old_crtc_state->has_audio)
 		return;
@@ -890,7 +889,7 @@ void intel_audio_codec_disable(struct intel_encoder *encoder,
 
 	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
 	audio_state->encoder = NULL;
 	memset(audio_state->eld, 0, sizeof(audio_state->eld));
@@ -899,27 +898,26 @@ void intel_audio_codec_disable(struct intel_encoder *encoder,
 
 	if (acomp && acomp->base.audio_ops &&
 	    acomp->base.audio_ops->pin_eld_notify) {
-		/* audio drivers expect pipe = -1 to indicate Non-MST cases */
+		/* audio drivers expect cpu_transcoder = -1 to indicate Non-MST cases */
 		if (!intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_DP_MST))
-			pipe = -1;
+			cpu_transcoder = -1;
 		acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops->audio_ptr,
-						      (int)port, (int)pipe);
+						      (int)port, (int)cpu_transcoder);
 	}
 
-	intel_lpe_audio_notify(i915, pipe, port, NULL, 0, false);
+	intel_lpe_audio_notify(i915, cpu_transcoder, port, NULL, 0, false);
 }
 
 static void intel_acomp_get_config(struct intel_encoder *encoder,
 				   struct intel_crtc_state *crtc_state)
 {
 	struct drm_i915_private *i915 = to_i915(encoder->base.dev);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
 	struct intel_audio_state *audio_state;
-	enum pipe pipe = crtc->pipe;
 
 	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
 	if (audio_state->encoder)
 		memcpy(crtc_state->eld, audio_state->eld, sizeof(audio_state->eld));
@@ -1147,27 +1145,27 @@ static int i915_audio_component_get_cdclk_freq(struct device *kdev)
 }
 
 /*
- * get the intel audio state according to the parameter port and pipe
- * MST & (pipe >= 0): return the audio.state[pipe].encoder],
+ * get the intel audio state according to the parameter port and cpu_transcoder
+ * MST & (cpu_transcoder >= 0): return the audio.state[cpu_transcoder].encoder],
  *   when port is matched
- * MST & (pipe < 0): this is invalid
- * Non-MST & (pipe >= 0): only pipe = 0 (the first device entry)
+ * MST & (cpu_transcoder < 0): this is invalid
+ * Non-MST & (cpu_transcoder >= 0): only cpu_transcoder = 0 (the first device entry)
  *   will get the right intel_encoder with port matched
- * Non-MST & (pipe < 0): get the right intel_encoder with port matched
+ * Non-MST & (cpu_transcoder < 0): get the right intel_encoder with port matched
  */
 static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915,
-						  int port, int pipe)
+						  int port, int cpu_transcoder)
 {
 	/* MST */
-	if (pipe >= 0) {
+	if (cpu_transcoder >= 0) {
 		struct intel_audio_state *audio_state;
 		struct intel_encoder *encoder;
 
 		if (drm_WARN_ON(&i915->drm,
-				pipe >= ARRAY_SIZE(i915->display.audio.state)))
+				cpu_transcoder >= ARRAY_SIZE(i915->display.audio.state)))
 			return NULL;
 
-		audio_state = &i915->display.audio.state[pipe];
+		audio_state = &i915->display.audio.state[cpu_transcoder];
 		encoder = audio_state->encoder;
 
 		if (encoder && encoder->port == port &&
@@ -1176,14 +1174,14 @@ static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915,
 	}
 
 	/* Non-MST */
-	if (pipe > 0)
+	if (cpu_transcoder > 0)
 		return NULL;
 
-	for_each_pipe(i915, pipe) {
+	for_each_cpu_transcoder(i915, cpu_transcoder) {
 		struct intel_audio_state *audio_state;
 		struct intel_encoder *encoder;
 
-		audio_state = &i915->display.audio.state[pipe];
+		audio_state = &i915->display.audio.state[cpu_transcoder];
 		encoder = audio_state->encoder;
 
 		if (encoder && encoder->port == port &&
@@ -1195,7 +1193,7 @@ static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915,
 }
 
 static int i915_audio_component_sync_audio_rate(struct device *kdev, int port,
-						int pipe, int rate)
+						int cpu_transcoder, int rate)
 {
 	struct drm_i915_private *i915 = kdev_to_i915(kdev);
 	struct i915_audio_component *acomp = i915->display.audio.component;
@@ -1211,7 +1209,7 @@ static int i915_audio_component_sync_audio_rate(struct device *kdev, int port,
 	cookie = i915_audio_component_get_power(kdev);
 	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = find_audio_state(i915, port, pipe);
+	audio_state = find_audio_state(i915, port, cpu_transcoder);
 	if (!audio_state) {
 		drm_dbg_kms(&i915->drm, "Not valid for port %c\n", port_name(port));
 		err = -ENODEV;
@@ -1223,7 +1221,7 @@ static int i915_audio_component_sync_audio_rate(struct device *kdev, int port,
 	/* FIXME stop using the legacy crtc pointer */
 	crtc = to_intel_crtc(encoder->base.crtc);
 
-	/* port must be valid now, otherwise the pipe will be invalid */
+	/* port must be valid now, otherwise the cpu_transcoder will be invalid */
 	acomp->aud_sample_rate[port] = rate;
 
 	/* FIXME get rid of the crtc->config stuff */
@@ -1236,7 +1234,7 @@ static int i915_audio_component_sync_audio_rate(struct device *kdev, int port,
 }
 
 static int i915_audio_component_get_eld(struct device *kdev, int port,
-					int pipe, bool *enabled,
+					int cpu_transcoder, bool *enabled,
 					unsigned char *buf, int max_bytes)
 {
 	struct drm_i915_private *i915 = kdev_to_i915(kdev);
@@ -1245,7 +1243,7 @@ static int i915_audio_component_get_eld(struct device *kdev, int port,
 
 	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = find_audio_state(i915, port, pipe);
+	audio_state = find_audio_state(i915, port, cpu_transcoder);
 	if (!audio_state) {
 		drm_dbg_kms(&i915->drm, "Not valid for port %c\n", port_name(port));
 		mutex_unlock(&i915->display.audio.mutex);
drivers/gpu/drm/i915/display/intel_display_core.h +1 -1
index b870f7f47f2b..631a7b17899e 100644
@@ -103,7 +103,7 @@ struct intel_audio {
 	u32 freq_cntrl;
 
 	/* current audio state for the audio component hooks */
-	struct intel_audio_state state[I915_MAX_PIPES];
+	struct intel_audio_state state[I915_MAX_TRANSCODERS];
 
 	/* necessary resource sharing with HDMI LPE audio driver. */
 	struct {
drivers/gpu/drm/i915/display/intel_lpe_audio.c +3 -3
index 8aaaef4d7856..20c8581f4868 100644
@@ -315,7 +315,7 @@ void intel_lpe_audio_teardown(struct drm_i915_private *dev_priv)
  * intel_lpe_audio_notify() - notify lpe audio event
  * audio driver and i915
  * @dev_priv: the i915 drm device private data
- * @pipe: pipe
+ * @cpt_transocer: CPU transcoder
  * @port: port
  * @eld : ELD data
  * @ls_clock: Link symbol clock in kHz
@@ -324,7 +324,7 @@ void intel_lpe_audio_teardown(struct drm_i915_private *dev_priv)
  * Notify lpe audio driver of eld change.
  */
 void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,
-			    enum pipe pipe, enum port port,
+			    enum transcoder cpu_transcoder, enum port port,
 			    const void *eld, int ls_clock, bool dp_output)
 {
 	unsigned long irqflags;
@@ -344,7 +344,7 @@ void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,
 
 	if (eld != NULL) {
 		memcpy(ppdata->eld, eld, HDMI_MAX_ELD_BYTES);
-		ppdata->pipe = pipe;
+		ppdata->pipe = cpu_transcoder;
 		ppdata->ls_clock = ls_clock;
 		ppdata->dp_output = dp_output;
 
drivers/gpu/drm/i915/display/intel_lpe_audio.h +2 -2
index f848c5038714..0beecac267ae 100644
@@ -8,15 +8,15 @@
 
 #include <linux/types.h>
 
-enum pipe;
 enum port;
+enum transcoder;
 struct drm_i915_private;
 
 int  intel_lpe_audio_init(struct drm_i915_private *dev_priv);
 void intel_lpe_audio_teardown(struct drm_i915_private *dev_priv);
 void intel_lpe_audio_irq_handler(struct drm_i915_private *dev_priv);
 void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,
-			    enum pipe pipe, enum port port,
+			    enum transcoder cpu_transcoder, enum port port,
 			    const void *eld, int ls_clock, bool dp_output);
 
 #endif /* __INTEL_LPE_AUDIO_H__ */
Signature · 1 line
2.39.2
#1 lore raw

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/audio: Track audio state per-transcoder

== Series Details ==

== Series Details ==

Series: drm/i915/audio: Track audio state per-transcoder
URL : https://patchwork.freedesktop.org/series/114258/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12768 -> Patchwork_114258v1
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

Additional (2): bat-atsm-1 bat-adls-5
Missing (2): fi-snb-2520m fi-kbl-8809g

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

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

### IGT changes ###

#### Issues hit ####

* igt@debugfs_test@basic-hwmon:
- bat-adls-5: NOTRUN -> [SKIP][1] ([i915#7456])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-adls-5/igt@[email protected]

* igt@fbdev@eof:
- bat-atsm-1: NOTRUN -> [SKIP][2] ([i915#2582]) +4 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- fi-apl-guc: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#4613]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/fi-apl-guc/igt@[email protected]

* igt@gem_lmem_swapping@random-engines:
- bat-adls-5: NOTRUN -> [SKIP][4] ([i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-adls-5/igt@[email protected]

* igt@gem_mmap@basic:
- bat-atsm-1: NOTRUN -> [SKIP][5] ([i915#4083])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

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

* igt@gem_tiled_pread_basic:
- bat-adls-5: NOTRUN -> [SKIP][7] ([i915#3282])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-adls-5/igt@gem_tiled_pread_basic.html
- bat-atsm-1: NOTRUN -> [SKIP][8] ([i915#4079]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@gem_tiled_pread_basic.html

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

* igt@i915_selftest@live@hangcheck:
- bat-adls-5: NOTRUN -> [DMESG-WARN][10] ([i915#5591])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-adls-5/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@requests:
- bat-rpls-2: [PASS][11] -> [ABORT][12] ([i915#7982])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/bat-rpls-2/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-rpls-2/igt@i915_selftest@[email protected]

* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][13] -> [ABORT][14] ([i915#4983])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/bat-rpls-1/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-rpls-1/igt@i915_selftest@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- bat-atsm-1: NOTRUN -> [SKIP][15] ([i915#6645])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

* igt@kms_addfb_basic@size-max:
- bat-atsm-1: NOTRUN -> [SKIP][16] ([i915#6077]) +36 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- fi-apl-guc: NOTRUN -> [SKIP][17] ([fdo#109271])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/fi-apl-guc/igt@[email protected]

* igt@kms_chamelium_hpd@vga-hpd-fast:
- bat-adls-5: NOTRUN -> [SKIP][18] ([i915#7828]) +8 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-adls-5/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- bat-adls-5: NOTRUN -> [SKIP][19] ([i915#4103])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-adls-5/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-after-cursor:
- bat-atsm-1: NOTRUN -> [SKIP][20] ([i915#6078]) +14 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

* igt@kms_flip@basic-plain-flip:
- bat-atsm-1: NOTRUN -> [SKIP][21] ([i915#6166]) +3 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- bat-adls-5: NOTRUN -> [SKIP][22] ([fdo#109285])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-adls-5/igt@[email protected]

* igt@kms_force_connector_basic@prune-stale-modes:
- bat-atsm-1: NOTRUN -> [SKIP][23] ([i915#6093]) +3 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

* igt@kms_pipe_crc_basic@hang-read-crc:
- bat-atsm-1: NOTRUN -> [SKIP][24] ([i915#1836]) +6 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

* igt@kms_prop_blob@basic:
- bat-atsm-1: NOTRUN -> [SKIP][25] ([i915#7357])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

* igt@kms_psr@sprite_plane_onoff:
- bat-atsm-1: NOTRUN -> [SKIP][26] ([i915#1072]) +3 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@kms_psr@sprite_plane_onoff.html

* igt@kms_setmode@basic-clone-single-crtc:
- bat-adls-5: NOTRUN -> [SKIP][27] ([i915#3555])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-adls-5/igt@[email protected]
- bat-atsm-1: NOTRUN -> [SKIP][28] ([i915#6094])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

* igt@prime_vgem@basic-fence-flip:
- bat-atsm-1: NOTRUN -> [SKIP][29] ([fdo#109295] / [i915#6078])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

* igt@prime_vgem@basic-fence-mmap:
- bat-atsm-1: NOTRUN -> [SKIP][30] ([fdo#109295] / [i915#4077]) +1 similar issue
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

* igt@prime_vgem@basic-read:
- bat-adls-5: NOTRUN -> [SKIP][31] ([fdo#109295] / [i915#3291]) +2 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-adls-5/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- bat-adls-5: NOTRUN -> [SKIP][32] ([fdo#109295] / [i915#3301])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-adls-5/igt@[email protected]

* igt@prime_vgem@basic-write:
- bat-atsm-1: NOTRUN -> [SKIP][33] ([fdo#109295]) +3 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/bat-atsm-1/igt@[email protected]

#### Possible fixes ####

* igt@core_hotunplug@unbind-rebind:
- fi-apl-guc: [ABORT][34] -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/fi-apl-guc/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/fi-apl-guc/igt@[email protected]

[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
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1836]: https://gitlab.freedesktop.org/drm/intel/issues/1836
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[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#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591
[i915#6077]: https://gitlab.freedesktop.org/drm/intel/issues/6077
[i915#6078]: https://gitlab.freedesktop.org/drm/intel/issues/6078
[i915#6093]: https://gitlab.freedesktop.org/drm/intel/issues/6093
[i915#6094]: https://gitlab.freedesktop.org/drm/intel/issues/6094
[i915#6166]: https://gitlab.freedesktop.org/drm/intel/issues/6166
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#7357]: https://gitlab.freedesktop.org/drm/intel/issues/7357
[i915#7456]: https://gitlab.freedesktop.org/drm/intel/issues/7456
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7982]: https://gitlab.freedesktop.org/drm/intel/issues/7982

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

* Linux: CI_DRM_12768 -> Patchwork_114258v1

CI-20190529: 20190529
CI_DRM_12768: d9a0aa492e367314a1681974bf178363a4b5587a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7168: 165df656261863684067cd53f95c3a301e67fa24 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_114258v1: d9a0aa492e367314a1681974bf178363a4b5587a @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

b22a8bdf51f7 drm/i915/audio: Track audio state per-transcoder

== Logs ==

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

#2 lore raw

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/audio: Track audio state per-transcoder

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: drm/i915/audio: Track audio state per-transcoder
URL : https://patchwork.freedesktop.org/series/114258/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_12768_full -> Patchwork_114258v1_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

Additional (1): shard-rkl0

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

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

### IGT changes ###

#### Suppressed ####

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

* {igt@kms_plane_scaling@planes-downscale-factor-0-5-upscale-20x20@pipe-a-edp-1}:
- {shard-rkl}: NOTRUN -> [SKIP][1] +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-6/igt@kms_plane_scaling@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@feature_discovery@chamelium:
- shard-tglu-9: NOTRUN -> [SKIP][2] ([fdo#111827]) +1 similar issue
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@feature_discovery@display-2x:
- shard-tglu-9: NOTRUN -> [SKIP][3] ([i915#1839])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@gem_ccs@block-copy-compressed:
- shard-tglu-10: NOTRUN -> [SKIP][4] ([i915#3555] / [i915#5325])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@gem_ccs@block-copy-inplace:
- shard-tglu-9: NOTRUN -> [SKIP][5] ([i915#3555] / [i915#5325])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@gem_ccs@ctrl-surf-copy-new-ctx:
- shard-tglu-9: NOTRUN -> [SKIP][6] ([i915#5325])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@gem_exec_capture@capture-invisible@smem0:
- shard-tglu-10: NOTRUN -> [SKIP][7] ([i915#6334])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@gem_exec_capture@[email protected]

* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-tglu-9: NOTRUN -> [FAIL][8] ([i915#2842]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@rcs0:
- shard-tglu-10: NOTRUN -> [FAIL][9] ([i915#2842]) +4 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-apl: [PASS][10] -> [FAIL][11] ([i915#2842])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-apl2/igt@gem_exec_fair@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-apl4/igt@gem_exec_fair@[email protected]

* igt@gem_lmem_swapping@heavy-verify-multi:
- shard-tglu-10: NOTRUN -> [SKIP][12] ([i915#4613]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@gem_pxp@create-protected-buffer:
- shard-tglu-9: NOTRUN -> [SKIP][13] ([i915#4270]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@gem_pxp@verify-pxp-key-change-after-suspend-resume:
- shard-tglu-10: NOTRUN -> [SKIP][14] ([i915#4270]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@gem_softpin@evict-snoop-interruptible:
- shard-tglu-9: NOTRUN -> [SKIP][15] ([fdo#109312])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-unsync:
- shard-tglu-9: NOTRUN -> [SKIP][16] ([i915#3297])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@gen7_exec_parse@chained-batch:
- shard-tglu-9: NOTRUN -> [SKIP][17] ([fdo#109289]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@gen7_exec_parse@oacontrol-tracking:
- shard-tglu-10: NOTRUN -> [SKIP][18] ([fdo#109289])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@gen9_exec_parse@batch-zero-length:
- shard-tglu-10: NOTRUN -> [SKIP][19] ([i915#2527] / [i915#2856]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@gen9_exec_parse@bb-large:
- shard-tglu-9: NOTRUN -> [SKIP][20] ([i915#2527] / [i915#2856])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@i915_hwmon@hwmon-read:
- shard-tglu-9: NOTRUN -> [SKIP][21] ([i915#7707])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@i915_module_load@resize-bar:
- shard-tglu-10: NOTRUN -> [SKIP][22] ([i915#6412])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@i915_pm_dc@dc6-dpms:
- shard-tglu-10: NOTRUN -> [FAIL][23] ([i915#3989] / [i915#454])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@i915_pm_rpm@gem-execbuf-stress-pc8:
- shard-tglu-9: NOTRUN -> [SKIP][24] ([fdo#109506])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@i915_pm_rpm@modeset-non-lpsp:
- shard-tglu-9: NOTRUN -> [SKIP][25] ([fdo#111644] / [i915#1397]) +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@i915_query@test-query-geometry-subslices:
- shard-tglu-10: NOTRUN -> [SKIP][26] ([i915#5723])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_big_fb@4-tiled-16bpp-rotate-270:
- shard-tglu-10: NOTRUN -> [SKIP][27] ([i915#5286]) +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_big_fb@yf-tiled-64bpp-rotate-0:
- shard-tglu-10: NOTRUN -> [SKIP][28] ([fdo#111615]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_big_fb@yf-tiled-8bpp-rotate-90:
- shard-tglu-9: NOTRUN -> [SKIP][29] ([fdo#111615] / [i915#1845] / [i915#7651]) +2 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@kms_big_joiner@invalid-modeset:
- shard-tglu-10: NOTRUN -> [SKIP][30] ([i915#2705])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_ccs@pipe-a-crc-primary-rotation-180-4_tiled_dg2_mc_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][31] ([i915#3689] / [i915#6095]) +3 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@kms_ccs@pipe-a-crc-primary-rotation-180-4_tiled_dg2_mc_ccs.html

* igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][32] ([fdo#109271] / [i915#3886]) +1 similar issue
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-apl6/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_mc_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][33] ([i915#3689] / [i915#3886])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-c-bad-pixel-format-yf_tiled_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][34] ([fdo#111615] / [i915#3689]) +2 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@kms_ccs@pipe-c-bad-pixel-format-yf_tiled_ccs.html

* igt@kms_ccs@pipe-c-crc-primary-rotation-180-4_tiled_dg2_rc_ccs:
- shard-tglu-9: NOTRUN -> [SKIP][35] ([i915#1845] / [i915#7651]) +47 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@kms_ccs@pipe-c-crc-primary-rotation-180-4_tiled_dg2_rc_ccs.html

* igt@kms_ccs@pipe-c-random-ccs-data-4_tiled_dg2_rc_ccs_cc:
- shard-tglu-10: NOTRUN -> [SKIP][36] ([i915#6095]) +3 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@kms_ccs@pipe-c-random-ccs-data-4_tiled_dg2_rc_ccs_cc.html

* igt@kms_ccs@pipe-d-bad-rotation-90-4_tiled_dg2_rc_ccs:
- shard-tglu-10: NOTRUN -> [SKIP][37] ([i915#3689]) +2 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@kms_ccs@pipe-d-bad-rotation-90-4_tiled_dg2_rc_ccs.html

* igt@kms_cdclk@mode-transition-all-outputs:
- shard-tglu-10: NOTRUN -> [SKIP][38] ([i915#3742])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_chamelium_audio@dp-audio:
- shard-tglu-10: NOTRUN -> [SKIP][39] ([i915#7828]) +4 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_chamelium_audio@hdmi-audio-edid:
- shard-tglu-9: NOTRUN -> [SKIP][40] ([i915#7828]) +4 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@kms_color@ctm-0-75:
- shard-tglu-9: NOTRUN -> [SKIP][41] ([i915#3546]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@kms_content_protection@atomic-dpms:
- shard-tglu-10: NOTRUN -> [SKIP][42] ([i915#6944] / [i915#7116] / [i915#7118])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_cursor_crc@cursor-offscreen-512x512:
- shard-tglu-10: NOTRUN -> [SKIP][43] ([i915#3359])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_cursor_crc@cursor-offscreen-max-size:
- shard-tglu-9: NOTRUN -> [SKIP][44] ([i915#1845]) +8 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@kms_cursor_crc@cursor-rapid-movement-32x10:
- shard-tglu-10: NOTRUN -> [SKIP][45] ([i915#3555]) +2 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipb@atomic-transitions-varying-size:
- shard-tglu-10: NOTRUN -> [SKIP][46] ([fdo#109274]) +6 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@kms_cursor_legacy@[email protected]

* igt@kms_dp_tiled_display@basic-test-pattern:
- shard-tglu-10: NOTRUN -> [SKIP][47] ([i915#426])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_flip@2x-absolute-wf_vblank:
- shard-tglu-10: NOTRUN -> [SKIP][48] ([fdo#109274] / [i915#3637] / [i915#3966])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@kms_flip@2x-absolute-wf_vblank.html

* igt@kms_flip@2x-flip-vs-blocking-wf-vblank:
- shard-tglu-9: NOTRUN -> [SKIP][49] ([fdo#109274] / [i915#3637])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@kms_flip@2x-plain-flip-ts-check-interruptible:
- shard-tglu-10: NOTRUN -> [SKIP][50] ([fdo#109274] / [i915#3637]) +4 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_flip@plain-flip-ts-check-interruptible:
- shard-tglu-9: NOTRUN -> [SKIP][51] ([i915#3637]) +5 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling@pipe-a-valid-mode:
- shard-tglu-10: NOTRUN -> [SKIP][52] ([i915#2587] / [i915#2672])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling@pipe-a-valid-mode.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-cpu:
- shard-apl: NOTRUN -> [SKIP][53] ([fdo#109271]) +25 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-apl6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-onoff:
- shard-tglu-10: NOTRUN -> [SKIP][54] ([fdo#109280]) +18 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-mmap-wc:
- shard-tglu-10: NOTRUN -> [SKIP][55] ([fdo#110189]) +13 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-tglu-9: NOTRUN -> [SKIP][56] ([i915#1849]) +37 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-gtt.html

* igt@kms_plane@pixel-format@pipe-b-planes:
- shard-tglu-9: NOTRUN -> [SKIP][57] ([i915#1849] / [i915#3558]) +1 similar issue
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@kms_plane@[email protected]

* igt@kms_plane_scaling@plane-scaler-with-modifiers-unity-scaling:
- shard-tglu-9: NOTRUN -> [SKIP][58] ([i915#3555]) +8 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-a-hdmi-a-1:
- shard-tglu-10: NOTRUN -> [SKIP][59] ([i915#5235]) +3 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5:
- shard-tglu-9: NOTRUN -> [SKIP][60] ([i915#6953] / [i915#8152])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5.html

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5@pipe-a-hdmi-a-1:
- shard-snb: NOTRUN -> [SKIP][61] ([fdo#109271]) +26 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-snb1/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5@pipe-a-hdmi-a-1.html

* igt@kms_psr2_sf@overlay-plane-move-continuous-sf:
- shard-tglu-10: NOTRUN -> [SKIP][62] ([i915#658]) +1 similar issue
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@kms_psr2_su@page_flip-nv12:
- shard-tglu-9: NOTRUN -> [SKIP][63] ([fdo#109642] / [fdo#111068] / [i915#658])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@kms_psr2_su@page_flip-nv12.html

* igt@kms_psr@psr2_basic:
- shard-tglu-9: NOTRUN -> [SKIP][64] ([fdo#110189]) +3 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@kms_psr@psr2_basic.html

* igt@kms_setmode@basic@pipe-a-vga-1:
- shard-snb: NOTRUN -> [FAIL][65] ([i915#5465]) +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-snb2/igt@kms_setmode@[email protected]

* igt@kms_universal_plane@universal-plane-pipe-d-functional:
- shard-tglu-9: NOTRUN -> [SKIP][66] ([fdo#109274])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@kms_writeback@writeback-fb-id:
- shard-tglu-9: NOTRUN -> [SKIP][67] ([i915#2437])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@perf@polling-small-buf:
- shard-tglu-9: NOTRUN -> [FAIL][68] ([i915#1722])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@[email protected]

* igt@prime_vgem@basic-userptr:
- shard-tglu-10: NOTRUN -> [SKIP][69] ([fdo#109295] / [i915#3301])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@[email protected]

* igt@tools_test@sysfs_l3_parity:
- shard-tglu-10: NOTRUN -> [SKIP][70] ([fdo#109307])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@tools_test@sysfs_l3_parity.html

* igt@v3d/v3d_get_param@base-params:
- shard-tglu-10: NOTRUN -> [SKIP][71] ([fdo#109315] / [i915#2575]) +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@v3d/[email protected]

* igt@v3d/v3d_perfmon@get-values-invalid-perfmon:
- shard-tglu-9: NOTRUN -> [SKIP][72] ([fdo#109315] / [i915#2575])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@v3d/[email protected]

* igt@vc4/vc4_create_bo@create-bo-4096:
- shard-tglu-10: NOTRUN -> [SKIP][73] ([i915#2575]) +4 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-10/igt@vc4/[email protected]

* igt@vc4/vc4_purgeable_bo@mark-unpurgeable-twice:
- shard-tglu-9: NOTRUN -> [SKIP][74] ([i915#2575]) +2 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-9/igt@vc4/[email protected]

#### Possible fixes ####

* igt@fbdev@pan:
- {shard-rkl}: [SKIP][75] ([i915#2582]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-4/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-6/igt@[email protected]

* igt@gem_ctx_exec@basic-nohangcheck:
- {shard-rkl}: [FAIL][77] ([i915#6268]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-4/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-5/igt@[email protected]

* igt@gem_exec_fair@basic-none@vcs0:
- {shard-rkl}: [FAIL][79] ([i915#2842]) -> [PASS][80] +2 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-3/igt@gem_exec_fair@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-5/igt@gem_exec_fair@[email protected]

* igt@gem_exec_reloc@basic-gtt-read-noreloc:
- {shard-rkl}: [SKIP][81] ([i915#3281]) -> [PASS][82] +7 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-2/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-5/igt@[email protected]

* igt@gem_exec_suspend@basic-s0@smem:
- {shard-rkl}: [FAIL][83] ([fdo#103375]) -> [PASS][84] +1 similar issue
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-3/igt@gem_exec_suspend@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-5/igt@gem_exec_suspend@[email protected]

* igt@gem_pread@bench:
- {shard-rkl}: [SKIP][85] ([i915#3282]) -> [PASS][86] +3 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-4/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-5/igt@[email protected]

* igt@gen9_exec_parse@shadow-peek:
- {shard-rkl}: [SKIP][87] ([i915#2527]) -> [PASS][88] +3 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-4/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-5/igt@[email protected]

* igt@i915_pm_rpm@system-suspend-devices:
- {shard-rkl}: [FAIL][89] ([i915#7052]) -> [PASS][90]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-3/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-5/igt@[email protected]

* igt@i915_pm_rpm@system-suspend-modeset:
- {shard-rkl}: [SKIP][91] ([fdo#109308]) -> [PASS][92] +1 similar issue
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-4/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-6/igt@[email protected]

* igt@i915_pm_rps@engine-order:
- shard-apl: [FAIL][93] ([i915#6537]) -> [PASS][94]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-apl6/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-apl1/igt@[email protected]

* igt@i915_selftest@live@gt_heartbeat:
- shard-apl: [DMESG-FAIL][95] ([i915#5334]) -> [PASS][96]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-apl1/igt@i915_selftest@live@gt_heartbeat.html
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-apl7/igt@i915_selftest@live@gt_heartbeat.html

* igt@i915_suspend@sysfs-reader:
- {shard-tglu}: [ABORT][97] ([i915#5122]) -> [PASS][98]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-tglu-1/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-tglu-4/igt@[email protected]

* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [FAIL][99] ([i915#4767]) -> [PASS][100]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-apl1/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-apl1/igt@[email protected]

* igt@kms_fbcon_fbt@psr:
- {shard-rkl}: [SKIP][101] ([fdo#110189] / [i915#3955]) -> [PASS][102]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-1/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-6/igt@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible@c-dp1:
- shard-apl: [ABORT][103] -> [PASS][104]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-apl6/igt@kms_flip@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-apl6/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@psr-modesetfrombusy:
- {shard-rkl}: [SKIP][105] ([i915#1849] / [i915#4098]) -> [PASS][106] +16 similar issues
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-1/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-6/igt@[email protected]

* igt@kms_plane@pixel-format@pipe-b-planes:
- {shard-rkl}: [SKIP][107] ([i915#1849]) -> [PASS][108] +2 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-1/igt@kms_plane@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-6/igt@kms_plane@[email protected]

* igt@kms_psr@cursor_mmap_cpu:
- {shard-rkl}: [SKIP][109] ([i915#1072]) -> [PASS][110] +1 similar issue
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-1/igt@kms_psr@cursor_mmap_cpu.html
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-6/igt@kms_psr@cursor_mmap_cpu.html

* igt@kms_vblank@pipe-b-ts-continuation-idle:
- {shard-rkl}: [SKIP][111] ([i915#1845] / [i915#4098]) -> [PASS][112] +24 similar issues
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-1/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-6/igt@[email protected]

* igt@prime_vgem@basic-read:
- {shard-rkl}: [SKIP][113] ([fdo#109295] / [i915#3291] / [i915#3708]) -> [PASS][114]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-4/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-5/igt@[email protected]

* igt@testdisplay:
- {shard-rkl}: [SKIP][115] ([i915#4098]) -> [PASS][116] +1 similar issue
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12768/shard-rkl-1/[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114258v1/shard-rkl-6/[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#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[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#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1722]: https://gitlab.freedesktop.org/drm/intel/issues/1722
[i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#3966]: https://gitlab.freedesktop.org/drm/intel/issues/3966
[i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[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#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#5115]: https://gitlab.freedesktop.org/drm/intel/issues/5115
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5465]: https://gitlab.freedesktop.org/drm/intel/issues/5465
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6247]: https://gitlab.freedesktop.org/drm/intel/issues/6247
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252
[i915#6258]: https://gitlab.freedesktop.org/drm/intel/issues/6258
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6333]: https://gitlab.freedesktop.org/drm/intel/issues/6333
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6403]: https://gitlab.freedesktop.org/drm/intel/issues/6403
[i915#6412]: https://gitlab.freedesktop.org/drm/intel/issues/6412
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#6537]: https://gitlab.freedesktop.org/drm/intel/issues/6537
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7037]: https://gitlab.freedesktop.org/drm/intel/issues/7037
[i915#7052]: https://gitlab.freedesktop.org/drm/intel/issues/7052
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7707]: https://gitlab.freedesktop.org/drm/intel/issues/7707
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949
[i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957
[i915#8018]: https://gitlab.freedesktop.org/drm/intel/issues/8018
[i915#8151]: https://gitlab.freedesktop.org/drm/intel/issues/8151
[i915#8152]: https://gitlab.freedesktop.org/drm/intel/issues/8152

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

* Linux: CI_DRM_12768 -> Patchwork_114258v1

CI-20190529: 20190529
CI_DRM_12768: d9a0aa492e367314a1681974bf178363a4b5587a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7168: 165df656261863684067cd53f95c3a301e67fa24 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_114258v1: d9a0aa492e367314a1681974bf178363a4b5587a @ git://anongit.freedesktop.org/gfx-ci/linux

== Logs ==

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

Reviewed-by on v1 1/1
#3 lore raw
In reply to Ville Syrjala
Quoted 20 lines

-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Wednesday, February 22, 2023 8:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH] drm/i915/audio: Track audio state per-transcoder

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

The audio logic lives in the transcoder rather than the pipe, so start tracking it like that.

This is only really important for bigjoiner cases where tracking by pipe doesn't work at all since intel_audio_codec_{enable,disable}()
won't even be called for the slave pipe. This means the state checker won't find the ELD for the slave pipe and gets upset.
The PD->has_audio readout does currently work since that gets read out from the same transcoder for both pipes.

Quoted 3 lines

For other cases this doesn't actually matter since it's only the normal pipe transcoders that are audio capable, whereas the more special transcoders (EDP/DSI) are not.

Change Looks Good to me.

Quoted 360 lines
---
 drivers/gpu/drm/i915/display/intel_audio.c    | 86 +++++++++----------
 .../gpu/drm/i915/display/intel_display_core.h |  2 +-
 .../gpu/drm/i915/display/intel_lpe_audio.c    |  6 +-
 .../gpu/drm/i915/display/intel_lpe_audio.h    |  4 +-
 4 files changed, 48 insertions(+), 50 deletions(-)
drivers/gpu/drm/i915/display/intel_audio.c +10 -11
index a9335c856644..65151f5dcb15 100644
@@ -581,8 +581,7 @@ static void enable_audio_dsc_wa(struct intel_encoder
 *encoder,
 				const struct intel_crtc_state *crtc_state)  {
 	struct drm_i915_private *i915 = to_i915(encoder->base.dev);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	enum pipe pipe = crtc->pipe;
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
 	unsigned int hblank_early_prog, samples_room;
 	unsigned int val;
 
@@ -592,32 +591,32 @@ static void enable_audio_dsc_wa(struct intel_encoder
 *encoder,
 	val = intel_de_read(i915, AUD_CONFIG_BE);
 
 	if (DISPLAY_VER(i915) == 11)
-		val |= HBLANK_EARLY_ENABLE_ICL(pipe);
+		val |= HBLANK_EARLY_ENABLE_ICL(cpu_transcoder);
 	else if (DISPLAY_VER(i915) >= 12)
-		val |= HBLANK_EARLY_ENABLE_TGL(pipe);
+		val |= HBLANK_EARLY_ENABLE_TGL(cpu_transcoder);
 
 	if (crtc_state->dsc.compression_enable &&
 	    crtc_state->hw.adjusted_mode.hdisplay >= 3840 &&
 	    crtc_state->hw.adjusted_mode.vdisplay >= 2160) {
 		/* Get hblank early enable value required */
-		val &= ~HBLANK_START_COUNT_MASK(pipe);
+		val &= ~HBLANK_START_COUNT_MASK(cpu_transcoder);
 		hblank_early_prog = calc_hblank_early_prog(encoder, crtc_state);
 		if (hblank_early_prog < 32)
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_32);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_32);
 		else if (hblank_early_prog < 64)
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_64);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_64);
 		else if (hblank_early_prog < 96)
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_96);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_96);
 		else
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_128);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_128);
 
 		/* Get samples room value required */
-		val &= ~NUMBER_SAMPLES_PER_LINE_MASK(pipe);
+		val &= ~NUMBER_SAMPLES_PER_LINE_MASK(cpu_transcoder);
 		samples_room = calc_samples_room(crtc_state);
 		if (samples_room < 3)
-			val |= NUMBER_SAMPLES_PER_LINE(pipe, samples_room);
+			val |= NUMBER_SAMPLES_PER_LINE(cpu_transcoder,

samples_room);

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
 		else /* Program 0 i.e "All Samples available in buffer" */
-			val |= NUMBER_SAMPLES_PER_LINE(pipe, 0x0);
+			val |= NUMBER_SAMPLES_PER_LINE(cpu_transcoder, 0x0);
 	}
 
 	intel_de_write(i915, AUD_CONFIG_BE, val); @@ -812,9 +811,9 @@ void

intel_audio_codec_enable(struct intel_encoder *encoder,

drivers/gpu/drm/i915/display/intel_audio.c +0 -0
 	struct i915_audio_component *acomp = i915->display.audio.component;
 	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
 	struct intel_connector *connector = to_intel_connector(conn_state-
Quoted 1 line

connector);

drivers/gpu/drm/i915/display/intel_audio.c +2 -2
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
 	struct intel_audio_state *audio_state;
 	enum port port = encoder->port;
-	enum pipe pipe = crtc->pipe;
 
 	if (!crtc_state->has_audio)
 		return;
@@ -832,7 +831,7 @@ void intel_audio_codec_enable(struct intel_encoder
 *encoder,
 
 	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
 	audio_state->encoder = encoder;

BUILD_BUG_ON(sizeof(audio_state->eld) != sizeof(crtc_state->eld)); @@ -
842,14 +841,14 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
 	if (acomp && acomp->base.audio_ops &&
 	    acomp->base.audio_ops->pin_eld_notify) {
-		/* audio drivers expect pipe = -1 to indicate Non-MST cases */
+		/* audio drivers expect cpu_transcoder = -1 to indicate Non-MST

cases

drivers/gpu/drm/i915/display/intel_audio.c +2 -1
+*/
 		if (!intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST))
-			pipe = -1;
+			cpu_transcoder = -1;
 		acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops-
Quoted 1 line

audio_ptr,

drivers/gpu/drm/i915/display/intel_audio.c +3 -3
-						      (int)port, (int)pipe);
+						      (int)port, (int)cpu_transcoder);
 	}
 
-	intel_lpe_audio_notify(i915, pipe, port, crtc_state->eld,
+	intel_lpe_audio_notify(i915, cpu_transcoder, port, crtc_state->eld,
 			       crtc_state->port_clock,
 			       intel_crtc_has_dp_encoder(crtc_state));
 }
@@ -871,9 +870,9 @@ void intel_audio_codec_disable(struct intel_encoder
 *encoder,
 	struct i915_audio_component *acomp = i915->display.audio.component;
 	struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
 	struct intel_connector *connector = to_intel_connector(old_conn_state-
 >connector);
+	enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder;
 	struct intel_audio_state *audio_state;
 	enum port port = encoder->port;
-	enum pipe pipe = crtc->pipe;
 
drivers/gpu/drm/i915/display/intel_audio.c +1 -1
 	if (!old_crtc_state->has_audio)
 		return;
@@ -890,7 +889,7 @@ void intel_audio_codec_disable(struct intel_encoder
 *encoder,
 
 	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
 	audio_state->encoder = NULL;
drivers/gpu/drm/i915/display/intel_audio.c +2 -1
 	memset(audio_state->eld, 0, sizeof(audio_state->eld)); @@ -899,27
+898,26 @@ void intel_audio_codec_disable(struct intel_encoder *encoder,
 
 	if (acomp && acomp->base.audio_ops &&
 	    acomp->base.audio_ops->pin_eld_notify) {
-		/* audio drivers expect pipe = -1 to indicate Non-MST cases */
+		/* audio drivers expect cpu_transcoder = -1 to indicate Non-MST

cases

drivers/gpu/drm/i915/display/intel_audio.c +2 -1
+*/
 		if (!intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_DP_MST))
-			pipe = -1;
+			cpu_transcoder = -1;
 		acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops-
Quoted 1 line

audio_ptr,

drivers/gpu/drm/i915/display/intel_audio.c +4 -5
-						      (int)port, (int)pipe);
+						      (int)port, (int)cpu_transcoder);
 	}
 
-	intel_lpe_audio_notify(i915, pipe, port, NULL, 0, false);
+	intel_lpe_audio_notify(i915, cpu_transcoder, port, NULL, 0, false);
 }
 
 static void intel_acomp_get_config(struct intel_encoder *encoder,
 				   struct intel_crtc_state *crtc_state)  {
 	struct drm_i915_private *i915 = to_i915(encoder->base.dev);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
 	struct intel_audio_state *audio_state;
-	enum pipe pipe = crtc->pipe;
 
 	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
 	if (audio_state->encoder)
 		memcpy(crtc_state->eld, audio_state->eld, sizeof(audio_state-
Quoted 1 line

eld)); @@ -1147,27 +1145,27 @@ static int

i915_audio_component_get_cdclk_freq(struct device *kdev) }

/*
- * get the intel audio state according to the parameter port and pipe
- * MST & (pipe >= 0): return the audio.state[pipe].encoder],
+ * get the intel audio state according to the parameter port and
+ cpu_transcoder
+ * MST & (cpu_transcoder >= 0): return the
+ audio.state[cpu_transcoder].encoder],
* when port is matched
- * MST & (pipe < 0): this is invalid
- * Non-MST & (pipe >= 0): only pipe = 0 (the first device entry)
+ * MST & (cpu_transcoder < 0): this is invalid
+ * Non-MST & (cpu_transcoder >= 0): only cpu_transcoder = 0 (the first
+ device entry)
* will get the right intel_encoder with port matched
- * Non-MST & (pipe < 0): get the right intel_encoder with port matched
+ * Non-MST & (cpu_transcoder < 0): get the right intel_encoder with
+ port matched
*/
static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915,

drivers/gpu/drm/i915/display/intel_audio.c +3 -3
-						  int port, int pipe)
+						  int port, int cpu_transcoder)
 {
 	/* MST */
-	if (pipe >= 0) {
+	if (cpu_transcoder >= 0) {
 		struct intel_audio_state *audio_state;
 		struct intel_encoder *encoder;
 
 		if (drm_WARN_ON(&i915->drm,
-				pipe >= ARRAY_SIZE(i915->display.audio.state)))
+				cpu_transcoder >= ARRAY_SIZE(i915-
Quoted 1 line

display.audio.state)))

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
 			return NULL;
 
-		audio_state = &i915->display.audio.state[pipe];
+		audio_state = &i915->display.audio.state[cpu_transcoder];
 		encoder = audio_state->encoder;
 
 		if (encoder && encoder->port == port && @@ -1176,14 +1174,14

@@ static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915,

drivers/gpu/drm/i915/display/intel_audio.c +3 -3
 	}
 
 	/* Non-MST */
-	if (pipe > 0)
+	if (cpu_transcoder > 0)
 		return NULL;
 
-	for_each_pipe(i915, pipe) {
+	for_each_cpu_transcoder(i915, cpu_transcoder) {
 		struct intel_audio_state *audio_state;
 		struct intel_encoder *encoder;
 
-		audio_state = &i915->display.audio.state[pipe];
+		audio_state = &i915->display.audio.state[cpu_transcoder];
 		encoder = audio_state->encoder;
 
 		if (encoder && encoder->port == port && @@ -1195,7 +1193,7 @@

static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915, }

static int i915_audio_component_sync_audio_rate(struct device *kdev, int port,

drivers/gpu/drm/i915/display/intel_audio.c +2 -2
-						int pipe, int rate)
+						int cpu_transcoder, int rate)
 {
 	struct drm_i915_private *i915 = kdev_to_i915(kdev);
 	struct i915_audio_component *acomp = i915->display.audio.component;
@@ -1211,7 +1209,7 @@ static int i915_audio_component_sync_audio_rate(struct
 device *kdev, int port,
 	cookie = i915_audio_component_get_power(kdev);
 	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = find_audio_state(i915, port, pipe);
+	audio_state = find_audio_state(i915, port, cpu_transcoder);
 	if (!audio_state) {
 		drm_dbg_kms(&i915->drm, "Not valid for port %c\n",

port_name(port));

drivers/gpu/drm/i915/display/intel_audio.c +2 -1
 		err = -ENODEV;
@@ -1223,7 +1221,7 @@ static int i915_audio_component_sync_audio_rate(struct
 device *kdev, int port,
 	/* FIXME stop using the legacy crtc pointer */
 	crtc = to_intel_crtc(encoder->base.crtc);
 
-	/* port must be valid now, otherwise the pipe will be invalid */
+	/* port must be valid now, otherwise the cpu_transcoder will be
+invalid */
 	acomp->aud_sample_rate[port] = rate;
 
 	/* FIXME get rid of the crtc->config stuff */ @@ -1236,7 +1234,7 @@ static

int i915_audio_component_sync_audio_rate(struct device *kdev, int port, }

static int i915_audio_component_get_eld(struct device *kdev, int port,

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-					int pipe, bool *enabled,
+					int cpu_transcoder, bool *enabled,
 					unsigned char *buf, int max_bytes)  {
 	struct drm_i915_private *i915 = kdev_to_i915(kdev); @@ -1245,7 +1243,7

@@ static int i915_audio_component_get_eld(struct device *kdev, int port,

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
 	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = find_audio_state(i915, port, pipe);
+	audio_state = find_audio_state(i915, port, cpu_transcoder);
 	if (!audio_state) {
 		drm_dbg_kms(&i915->drm, "Not valid for port %c\n",

port_name(port));

drivers/gpu/drm/i915/display/intel_audio.c +0 -0
 		mutex_unlock(&i915->display.audio.mutex);
drivers/gpu/drm/i915/display/intel_display_core.h +1 -1
index b870f7f47f2b..631a7b17899e 100644
@@ -103,7 +103,7 @@ struct intel_audio {
 	u32 freq_cntrl;
 
 	/* current audio state for the audio component hooks */
-	struct intel_audio_state state[I915_MAX_PIPES];
+	struct intel_audio_state state[I915_MAX_TRANSCODERS];
 
 	/* necessary resource sharing with HDMI LPE audio driver. */
 	struct {
drivers/gpu/drm/i915/display/intel_lpe_audio.c +1 -1
index 8aaaef4d7856..20c8581f4868 100644
@@ -315,7 +315,7 @@ void intel_lpe_audio_teardown(struct drm_i915_private
 *dev_priv)
  * intel_lpe_audio_notify() - notify lpe audio event
  * audio driver and i915
  * @dev_priv: the i915 drm device private data
- * @pipe: pipe
+ * @cpt_transocer: CPU transcoder
  * @port: port
  * @eld : ELD data

* @ls_clock: Link symbol clock in kHz

drivers/gpu/drm/i915/display/intel_lpe_audio.c +2 -2
@@ -324,7 +324,7 @@ void intel_lpe_audio_teardown(struct drm_i915_private
 *dev_priv)
  * Notify lpe audio driver of eld change.
  */
 void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,
-			    enum pipe pipe, enum port port,
+			    enum transcoder cpu_transcoder, enum port port,
 			    const void *eld, int ls_clock, bool dp_output)  {
 	unsigned long irqflags;
@@ -344,7 +344,7 @@ void intel_lpe_audio_notify(struct drm_i915_private
 *dev_priv,
 
 	if (eld != NULL) {
 		memcpy(ppdata->eld, eld, HDMI_MAX_ELD_BYTES);
-		ppdata->pipe = pipe;
+		ppdata->pipe = cpu_transcoder;
 		ppdata->ls_clock = ls_clock;
 		ppdata->dp_output = dp_output;
drivers/gpu/drm/i915/display/intel_lpe_audio.h +1 -1
index f848c5038714..0beecac267ae 100644
@@ -8,15 +8,15 @@
 
 #include <linux/types.h>
 
-enum pipe;
 enum port;
+enum transcoder;
 struct drm_i915_private;
 
 int  intel_lpe_audio_init(struct drm_i915_private *dev_priv);  void

intel_lpe_audio_teardown(struct drm_i915_private *dev_priv); void intel_lpe_audio_irq_handler(struct drm_i915_private *dev_priv); void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,

drivers/gpu/drm/i915/display/intel_lpe_audio.h +1 -2
-			    enum pipe pipe, enum port port,
+			    enum transcoder cpu_transcoder, enum port port,
 			    const void *eld, int ls_clock, bool dp_output);
 
 #endif /* __INTEL_LPE_AUDIO_H__ */
--

2.39.2

#4 lore raw

Hi Ville,

Please add closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8222

Quoted 388 lines · Uma
Quoted 20 lines

-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Wednesday, February 22, 2023 8:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH] drm/i915/audio: Track audio state per-transcoder

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

The audio logic lives in the transcoder rather than the pipe, so start tracking it like that.

This is only really important for bigjoiner cases where tracking by pipe doesn't work at all since intel_audio_codec_{enable,disable}()
won't even be called for the slave pipe. This means the state checker won't find the ELD for the slave pipe and gets upset.
The PD->has_audio readout does currently work since that gets read out from the same transcoder for both pipes.

Quoted 3 lines

For other cases this doesn't actually matter since it's only the normal pipe transcoders that are audio capable, whereas the more special transcoders (EDP/DSI) are not.

Change Looks Good to me.

Quoted 360 lines
---
  drivers/gpu/drm/i915/display/intel_audio.c    | 86 +++++++++----------
  .../gpu/drm/i915/display/intel_display_core.h |  2 +-
  .../gpu/drm/i915/display/intel_lpe_audio.c    |  6 +-
  .../gpu/drm/i915/display/intel_lpe_audio.h    |  4 +-
  4 files changed, 48 insertions(+), 50 deletions(-)
drivers/gpu/drm/i915/display/intel_audio.c +10 -11
index a9335c856644..65151f5dcb15 100644
@@ -581,8 +581,7 @@ static void enable_audio_dsc_wa(struct intel_encoder
 *encoder,
  				const struct intel_crtc_state *crtc_state)  {
  	struct drm_i915_private *i915 = to_i915(encoder->base.dev);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	enum pipe pipe = crtc->pipe;
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
  	unsigned int hblank_early_prog, samples_room;
  	unsigned int val;
 
@@ -592,32 +591,32 @@ static void enable_audio_dsc_wa(struct intel_encoder
 *encoder,
  	val = intel_de_read(i915, AUD_CONFIG_BE);
 
  	if (DISPLAY_VER(i915) == 11)
-		val |= HBLANK_EARLY_ENABLE_ICL(pipe);
+		val |= HBLANK_EARLY_ENABLE_ICL(cpu_transcoder);
  	else if (DISPLAY_VER(i915) >= 12)
-		val |= HBLANK_EARLY_ENABLE_TGL(pipe);
+		val |= HBLANK_EARLY_ENABLE_TGL(cpu_transcoder);
 
  	if (crtc_state->dsc.compression_enable &&
  	    crtc_state->hw.adjusted_mode.hdisplay >= 3840 &&
  	    crtc_state->hw.adjusted_mode.vdisplay >= 2160) {
  		/* Get hblank early enable value required */
-		val &= ~HBLANK_START_COUNT_MASK(pipe);
+		val &= ~HBLANK_START_COUNT_MASK(cpu_transcoder);
  		hblank_early_prog = calc_hblank_early_prog(encoder, crtc_state);
  		if (hblank_early_prog < 32)
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_32);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_32);
  		else if (hblank_early_prog < 64)
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_64);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_64);
  		else if (hblank_early_prog < 96)
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_96);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_96);
  		else
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_128);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_128);
 
  		/* Get samples room value required */
-		val &= ~NUMBER_SAMPLES_PER_LINE_MASK(pipe);
+		val &= ~NUMBER_SAMPLES_PER_LINE_MASK(cpu_transcoder);
  		samples_room = calc_samples_room(crtc_state);
  		if (samples_room < 3)
-			val |= NUMBER_SAMPLES_PER_LINE(pipe, samples_room);
+			val |= NUMBER_SAMPLES_PER_LINE(cpu_transcoder,

samples_room);
else /* Program 0 i.e "All Samples available in buffer" */

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-			val |= NUMBER_SAMPLES_PER_LINE(pipe, 0x0);
+			val |= NUMBER_SAMPLES_PER_LINE(cpu_transcoder, 0x0);
  	}
 
  	intel_de_write(i915, AUD_CONFIG_BE, val); @@ -812,9 +811,9 @@ void

intel_audio_codec_enable(struct intel_encoder *encoder,
struct i915_audio_component *acomp = i915->display.audio.component; struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); struct intel_connector *connector = to_intel_connector(conn_state-

Quoted 1 line

connector);

drivers/gpu/drm/i915/display/intel_audio.c +2 -2
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
  	struct intel_audio_state *audio_state;
  	enum port port = encoder->port;
-	enum pipe pipe = crtc->pipe;
 
  	if (!crtc_state->has_audio)
  		return;
@@ -832,7 +831,7 @@ void intel_audio_codec_enable(struct intel_encoder
 *encoder,
 
  	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
  	audio_state->encoder = encoder;

BUILD_BUG_ON(sizeof(audio_state->eld) != sizeof(crtc_state->eld)); @@ -
842,14 +841,14 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,

  	if (acomp && acomp->base.audio_ops &&
  	    acomp->base.audio_ops->pin_eld_notify) {
drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-		/* audio drivers expect pipe = -1 to indicate Non-MST cases */
+		/* audio drivers expect cpu_transcoder = -1 to indicate Non-MST

cases

drivers/gpu/drm/i915/display/intel_audio.c +2 -1
+*/
  		if (!intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST))
-			pipe = -1;
+			cpu_transcoder = -1;
  		acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops-
Quoted 1 line

audio_ptr,

drivers/gpu/drm/i915/display/intel_audio.c +3 -3
-						      (int)port, (int)pipe);
+						      (int)port, (int)cpu_transcoder);
  	}
 
-	intel_lpe_audio_notify(i915, pipe, port, crtc_state->eld,
+	intel_lpe_audio_notify(i915, cpu_transcoder, port, crtc_state->eld,
  			       crtc_state->port_clock,
  			       intel_crtc_has_dp_encoder(crtc_state));
  }
@@ -871,9 +870,9 @@ void intel_audio_codec_disable(struct intel_encoder
 *encoder,
  	struct i915_audio_component *acomp = i915->display.audio.component;
  	struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
  	struct intel_connector *connector = to_intel_connector(old_conn_state-
 > connector);
+	enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder;
  	struct intel_audio_state *audio_state;
  	enum port port = encoder->port;
-	enum pipe pipe = crtc->pipe;
 

if (!old_crtc_state->has_audio)
return;

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
@@ -890,7 +889,7 @@ void intel_audio_codec_disable(struct intel_encoder
 *encoder,
 
  	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
  	audio_state->encoder = NULL;

memset(audio_state->eld, 0, sizeof(audio_state->eld)); @@ -899,27
+898,26 @@ void intel_audio_codec_disable(struct intel_encoder *encoder,

  	if (acomp && acomp->base.audio_ops &&
  	    acomp->base.audio_ops->pin_eld_notify) {
drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-		/* audio drivers expect pipe = -1 to indicate Non-MST cases */
+		/* audio drivers expect cpu_transcoder = -1 to indicate Non-MST

cases

drivers/gpu/drm/i915/display/intel_audio.c +2 -1
+*/
  		if (!intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_DP_MST))
-			pipe = -1;
+			cpu_transcoder = -1;
  		acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops-
Quoted 1 line

audio_ptr,

drivers/gpu/drm/i915/display/intel_audio.c +4 -5
-						      (int)port, (int)pipe);
+						      (int)port, (int)cpu_transcoder);
  	}
 
-	intel_lpe_audio_notify(i915, pipe, port, NULL, 0, false);
+	intel_lpe_audio_notify(i915, cpu_transcoder, port, NULL, 0, false);
  }
 
  static void intel_acomp_get_config(struct intel_encoder *encoder,
  				   struct intel_crtc_state *crtc_state)  {
  	struct drm_i915_private *i915 = to_i915(encoder->base.dev);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
  	struct intel_audio_state *audio_state;
-	enum pipe pipe = crtc->pipe;
 
  	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
  	if (audio_state->encoder)
  		memcpy(crtc_state->eld, audio_state->eld, sizeof(audio_state-
Quoted 1 line

eld)); @@ -1147,27 +1145,27 @@ static int

i915_audio_component_get_cdclk_freq(struct device *kdev) }

/*
- * get the intel audio state according to the parameter port and pipe
- * MST & (pipe >= 0): return the audio.state[pipe].encoder],
+ * get the intel audio state according to the parameter port and
+ cpu_transcoder
+ * MST & (cpu_transcoder >= 0): return the
+ audio.state[cpu_transcoder].encoder],
* when port is matched
- * MST & (pipe < 0): this is invalid
- * Non-MST & (pipe >= 0): only pipe = 0 (the first device entry)
+ * MST & (cpu_transcoder < 0): this is invalid
+ * Non-MST & (cpu_transcoder >= 0): only cpu_transcoder = 0 (the first
+ device entry)
* will get the right intel_encoder with port matched
- * Non-MST & (pipe < 0): get the right intel_encoder with port matched
+ * Non-MST & (cpu_transcoder < 0): get the right intel_encoder with
+ port matched
*/
static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915,

drivers/gpu/drm/i915/display/intel_audio.c +3 -3
-						  int port, int pipe)
+						  int port, int cpu_transcoder)
  {
  	/* MST */
-	if (pipe >= 0) {
+	if (cpu_transcoder >= 0) {
  		struct intel_audio_state *audio_state;
  		struct intel_encoder *encoder;
 
  		if (drm_WARN_ON(&i915->drm,
-				pipe >= ARRAY_SIZE(i915->display.audio.state)))
+				cpu_transcoder >= ARRAY_SIZE(i915-
Quoted 1 line

display.audio.state)))

return NULL;

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-		audio_state = &i915->display.audio.state[pipe];
+		audio_state = &i915->display.audio.state[cpu_transcoder];
  		encoder = audio_state->encoder;
 
  		if (encoder && encoder->port == port && @@ -1176,14 +1174,14

@@ static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915,
}

/* Non-MST */

drivers/gpu/drm/i915/display/intel_audio.c +3 -3
-	if (pipe > 0)
+	if (cpu_transcoder > 0)
  		return NULL;
 
-	for_each_pipe(i915, pipe) {
+	for_each_cpu_transcoder(i915, cpu_transcoder) {
  		struct intel_audio_state *audio_state;
  		struct intel_encoder *encoder;
 
-		audio_state = &i915->display.audio.state[pipe];
+		audio_state = &i915->display.audio.state[cpu_transcoder];
  		encoder = audio_state->encoder;
 
  		if (encoder && encoder->port == port && @@ -1195,7 +1193,7 @@

static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915, }

static int i915_audio_component_sync_audio_rate(struct device *kdev, int port,

drivers/gpu/drm/i915/display/intel_audio.c +2 -2
-						int pipe, int rate)
+						int cpu_transcoder, int rate)
  {
  	struct drm_i915_private *i915 = kdev_to_i915(kdev);
  	struct i915_audio_component *acomp = i915->display.audio.component;
@@ -1211,7 +1209,7 @@ static int i915_audio_component_sync_audio_rate(struct
 device *kdev, int port,
  	cookie = i915_audio_component_get_power(kdev);
  	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = find_audio_state(i915, port, pipe);
+	audio_state = find_audio_state(i915, port, cpu_transcoder);
  	if (!audio_state) {
  		drm_dbg_kms(&i915->drm, "Not valid for port %c\n",

port_name(port));
err = -ENODEV;

drivers/gpu/drm/i915/display/intel_audio.c +2 -1
@@ -1223,7 +1221,7 @@ static int i915_audio_component_sync_audio_rate(struct
 device *kdev, int port,
  	/* FIXME stop using the legacy crtc pointer */
  	crtc = to_intel_crtc(encoder->base.crtc);
 
-	/* port must be valid now, otherwise the pipe will be invalid */
+	/* port must be valid now, otherwise the cpu_transcoder will be
+invalid */
  	acomp->aud_sample_rate[port] = rate;
 
  	/* FIXME get rid of the crtc->config stuff */ @@ -1236,7 +1234,7 @@ static

int i915_audio_component_sync_audio_rate(struct device *kdev, int port, }

static int i915_audio_component_get_eld(struct device *kdev, int port,

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-					int pipe, bool *enabled,
+					int cpu_transcoder, bool *enabled,
  					unsigned char *buf, int max_bytes)  {
  	struct drm_i915_private *i915 = kdev_to_i915(kdev); @@ -1245,7 +1243,7

@@ static int i915_audio_component_get_eld(struct device *kdev, int port,

  	mutex_lock(&i915->display.audio.mutex);
drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-	audio_state = find_audio_state(i915, port, pipe);
+	audio_state = find_audio_state(i915, port, cpu_transcoder);
  	if (!audio_state) {
  		drm_dbg_kms(&i915->drm, "Not valid for port %c\n",

port_name(port));
mutex_unlock(&i915->display.audio.mutex);

drivers/gpu/drm/i915/display/intel_display_core.h +1 -1
index b870f7f47f2b..631a7b17899e 100644
@@ -103,7 +103,7 @@ struct intel_audio {
  	u32 freq_cntrl;
 
  	/* current audio state for the audio component hooks */
-	struct intel_audio_state state[I915_MAX_PIPES];
+	struct intel_audio_state state[I915_MAX_TRANSCODERS];
 
  	/* necessary resource sharing with HDMI LPE audio driver. */
  	struct {
drivers/gpu/drm/i915/display/intel_lpe_audio.c +1 -1
index 8aaaef4d7856..20c8581f4868 100644
@@ -315,7 +315,7 @@ void intel_lpe_audio_teardown(struct drm_i915_private
 *dev_priv)
   * intel_lpe_audio_notify() - notify lpe audio event
   * audio driver and i915
   * @dev_priv: the i915 drm device private data
- * @pipe: pipe
+ * @cpt_transocer: CPU transcoder
   * @port: port
   * @eld : ELD data

* @ls_clock: Link symbol clock in kHz

drivers/gpu/drm/i915/display/intel_lpe_audio.c +2 -2
@@ -324,7 +324,7 @@ void intel_lpe_audio_teardown(struct drm_i915_private
 *dev_priv)
   * Notify lpe audio driver of eld change.
   */
  void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,
-			    enum pipe pipe, enum port port,
+			    enum transcoder cpu_transcoder, enum port port,
  			    const void *eld, int ls_clock, bool dp_output)  {
  	unsigned long irqflags;
@@ -344,7 +344,7 @@ void intel_lpe_audio_notify(struct drm_i915_private
 *dev_priv,
 
  	if (eld != NULL) {
  		memcpy(ppdata->eld, eld, HDMI_MAX_ELD_BYTES);
-		ppdata->pipe = pipe;
+		ppdata->pipe = cpu_transcoder;
  		ppdata->ls_clock = ls_clock;
  		ppdata->dp_output = dp_output;
drivers/gpu/drm/i915/display/intel_lpe_audio.h +1 -1
index f848c5038714..0beecac267ae 100644
@@ -8,15 +8,15 @@
 
  #include <linux/types.h>
 
-enum pipe;
  enum port;
+enum transcoder;
  struct drm_i915_private;
 
  int  intel_lpe_audio_init(struct drm_i915_private *dev_priv);  void

intel_lpe_audio_teardown(struct drm_i915_private *dev_priv); void intel_lpe_audio_irq_handler(struct drm_i915_private *dev_priv); void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,

drivers/gpu/drm/i915/display/intel_lpe_audio.h +1 -2
-			    enum pipe pipe, enum port port,
+			    enum transcoder cpu_transcoder, enum port port,
  			    const void *eld, int ls_clock, bool dp_output);
 
  #endif /* __INTEL_LPE_AUDIO_H__ */
--

2.39.2

Signature · 1 line
~Swati Sharma
#5 lore raw
Quoted 3 lines · Swati Sharma

Hi Ville,

Please add closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8222

Added, and pushed.

Thanks for the review Uma.

Quoted 393 lines · Uma
Quoted 388 lines
Quoted 20 lines

-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Wednesday, February 22, 2023 8:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH] drm/i915/audio: Track audio state per-transcoder

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

The audio logic lives in the transcoder rather than the pipe, so start tracking it like that.

This is only really important for bigjoiner cases where tracking by pipe doesn't work at all since intel_audio_codec_{enable,disable}()
won't even be called for the slave pipe. This means the state checker won't find the ELD for the slave pipe and gets upset.
The PD->has_audio readout does currently work since that gets read out from the same transcoder for both pipes.

Quoted 3 lines

For other cases this doesn't actually matter since it's only the normal pipe transcoders that are audio capable, whereas the more special transcoders (EDP/DSI) are not.

Change Looks Good to me.

Quoted 360 lines
---
  drivers/gpu/drm/i915/display/intel_audio.c    | 86 +++++++++----------
  .../gpu/drm/i915/display/intel_display_core.h |  2 +-
  .../gpu/drm/i915/display/intel_lpe_audio.c    |  6 +-
  .../gpu/drm/i915/display/intel_lpe_audio.h    |  4 +-
  4 files changed, 48 insertions(+), 50 deletions(-)
drivers/gpu/drm/i915/display/intel_audio.c +10 -11
index a9335c856644..65151f5dcb15 100644
@@ -581,8 +581,7 @@ static void enable_audio_dsc_wa(struct intel_encoder
 *encoder,
  				const struct intel_crtc_state *crtc_state)  {
  	struct drm_i915_private *i915 = to_i915(encoder->base.dev);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
-	enum pipe pipe = crtc->pipe;
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
  	unsigned int hblank_early_prog, samples_room;
  	unsigned int val;
 
@@ -592,32 +591,32 @@ static void enable_audio_dsc_wa(struct intel_encoder
 *encoder,
  	val = intel_de_read(i915, AUD_CONFIG_BE);
 
  	if (DISPLAY_VER(i915) == 11)
-		val |= HBLANK_EARLY_ENABLE_ICL(pipe);
+		val |= HBLANK_EARLY_ENABLE_ICL(cpu_transcoder);
  	else if (DISPLAY_VER(i915) >= 12)
-		val |= HBLANK_EARLY_ENABLE_TGL(pipe);
+		val |= HBLANK_EARLY_ENABLE_TGL(cpu_transcoder);
 
  	if (crtc_state->dsc.compression_enable &&
  	    crtc_state->hw.adjusted_mode.hdisplay >= 3840 &&
  	    crtc_state->hw.adjusted_mode.vdisplay >= 2160) {
  		/* Get hblank early enable value required */
-		val &= ~HBLANK_START_COUNT_MASK(pipe);
+		val &= ~HBLANK_START_COUNT_MASK(cpu_transcoder);
  		hblank_early_prog = calc_hblank_early_prog(encoder, crtc_state);
  		if (hblank_early_prog < 32)
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_32);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_32);
  		else if (hblank_early_prog < 64)
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_64);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_64);
  		else if (hblank_early_prog < 96)
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_96);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_96);
  		else
-			val |= HBLANK_START_COUNT(pipe,
 HBLANK_START_COUNT_128);
+			val |= HBLANK_START_COUNT(cpu_transcoder,
 HBLANK_START_COUNT_128);
 
  		/* Get samples room value required */
-		val &= ~NUMBER_SAMPLES_PER_LINE_MASK(pipe);
+		val &= ~NUMBER_SAMPLES_PER_LINE_MASK(cpu_transcoder);
  		samples_room = calc_samples_room(crtc_state);
  		if (samples_room < 3)
-			val |= NUMBER_SAMPLES_PER_LINE(pipe, samples_room);
+			val |= NUMBER_SAMPLES_PER_LINE(cpu_transcoder,

samples_room);
else /* Program 0 i.e "All Samples available in buffer" */

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-			val |= NUMBER_SAMPLES_PER_LINE(pipe, 0x0);
+			val |= NUMBER_SAMPLES_PER_LINE(cpu_transcoder, 0x0);
  	}
 
  	intel_de_write(i915, AUD_CONFIG_BE, val); @@ -812,9 +811,9 @@ void

intel_audio_codec_enable(struct intel_encoder *encoder,
struct i915_audio_component *acomp = i915->display.audio.component; struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc); struct intel_connector *connector = to_intel_connector(conn_state-

Quoted 1 line

connector);

drivers/gpu/drm/i915/display/intel_audio.c +2 -2
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
  	struct intel_audio_state *audio_state;
  	enum port port = encoder->port;
-	enum pipe pipe = crtc->pipe;
 
  	if (!crtc_state->has_audio)
  		return;
@@ -832,7 +831,7 @@ void intel_audio_codec_enable(struct intel_encoder
 *encoder,
 
  	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
  	audio_state->encoder = encoder;

BUILD_BUG_ON(sizeof(audio_state->eld) != sizeof(crtc_state->eld)); @@ -
842,14 +841,14 @@ void intel_audio_codec_enable(struct intel_encoder *encoder,

  	if (acomp && acomp->base.audio_ops &&
  	    acomp->base.audio_ops->pin_eld_notify) {
drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-		/* audio drivers expect pipe = -1 to indicate Non-MST cases */
+		/* audio drivers expect cpu_transcoder = -1 to indicate Non-MST

cases

drivers/gpu/drm/i915/display/intel_audio.c +2 -1
+*/
  		if (!intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST))
-			pipe = -1;
+			cpu_transcoder = -1;
  		acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops-
Quoted 1 line

audio_ptr,

drivers/gpu/drm/i915/display/intel_audio.c +3 -3
-						      (int)port, (int)pipe);
+						      (int)port, (int)cpu_transcoder);
  	}
 
-	intel_lpe_audio_notify(i915, pipe, port, crtc_state->eld,
+	intel_lpe_audio_notify(i915, cpu_transcoder, port, crtc_state->eld,
  			       crtc_state->port_clock,
  			       intel_crtc_has_dp_encoder(crtc_state));
  }
@@ -871,9 +870,9 @@ void intel_audio_codec_disable(struct intel_encoder
 *encoder,
  	struct i915_audio_component *acomp = i915->display.audio.component;
  	struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
  	struct intel_connector *connector = to_intel_connector(old_conn_state-
 > connector);
+	enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder;
  	struct intel_audio_state *audio_state;
  	enum port port = encoder->port;
-	enum pipe pipe = crtc->pipe;
 

if (!old_crtc_state->has_audio)
return;

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
@@ -890,7 +889,7 @@ void intel_audio_codec_disable(struct intel_encoder
 *encoder,
 
  	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
  	audio_state->encoder = NULL;

memset(audio_state->eld, 0, sizeof(audio_state->eld)); @@ -899,27
+898,26 @@ void intel_audio_codec_disable(struct intel_encoder *encoder,

  	if (acomp && acomp->base.audio_ops &&
  	    acomp->base.audio_ops->pin_eld_notify) {
drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-		/* audio drivers expect pipe = -1 to indicate Non-MST cases */
+		/* audio drivers expect cpu_transcoder = -1 to indicate Non-MST

cases

drivers/gpu/drm/i915/display/intel_audio.c +2 -1
+*/
  		if (!intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_DP_MST))
-			pipe = -1;
+			cpu_transcoder = -1;
  		acomp->base.audio_ops->pin_eld_notify(acomp->base.audio_ops-
Quoted 1 line

audio_ptr,

drivers/gpu/drm/i915/display/intel_audio.c +4 -5
-						      (int)port, (int)pipe);
+						      (int)port, (int)cpu_transcoder);
  	}
 
-	intel_lpe_audio_notify(i915, pipe, port, NULL, 0, false);
+	intel_lpe_audio_notify(i915, cpu_transcoder, port, NULL, 0, false);
  }
 
  static void intel_acomp_get_config(struct intel_encoder *encoder,
  				   struct intel_crtc_state *crtc_state)  {
  	struct drm_i915_private *i915 = to_i915(encoder->base.dev);
-	struct intel_crtc *crtc = to_intel_crtc(crtc_state->uapi.crtc);
+	enum transcoder cpu_transcoder = crtc_state->cpu_transcoder;
  	struct intel_audio_state *audio_state;
-	enum pipe pipe = crtc->pipe;
 
  	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = &i915->display.audio.state[pipe];
+	audio_state = &i915->display.audio.state[cpu_transcoder];
 
  	if (audio_state->encoder)
  		memcpy(crtc_state->eld, audio_state->eld, sizeof(audio_state-
Quoted 1 line

eld)); @@ -1147,27 +1145,27 @@ static int

i915_audio_component_get_cdclk_freq(struct device *kdev) }

/*
- * get the intel audio state according to the parameter port and pipe
- * MST & (pipe >= 0): return the audio.state[pipe].encoder],
+ * get the intel audio state according to the parameter port and
+ cpu_transcoder
+ * MST & (cpu_transcoder >= 0): return the
+ audio.state[cpu_transcoder].encoder],
* when port is matched
- * MST & (pipe < 0): this is invalid
- * Non-MST & (pipe >= 0): only pipe = 0 (the first device entry)
+ * MST & (cpu_transcoder < 0): this is invalid
+ * Non-MST & (cpu_transcoder >= 0): only cpu_transcoder = 0 (the first
+ device entry)
* will get the right intel_encoder with port matched
- * Non-MST & (pipe < 0): get the right intel_encoder with port matched
+ * Non-MST & (cpu_transcoder < 0): get the right intel_encoder with
+ port matched
*/
static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915,

drivers/gpu/drm/i915/display/intel_audio.c +3 -3
-						  int port, int pipe)
+						  int port, int cpu_transcoder)
  {
  	/* MST */
-	if (pipe >= 0) {
+	if (cpu_transcoder >= 0) {
  		struct intel_audio_state *audio_state;
  		struct intel_encoder *encoder;
 
  		if (drm_WARN_ON(&i915->drm,
-				pipe >= ARRAY_SIZE(i915->display.audio.state)))
+				cpu_transcoder >= ARRAY_SIZE(i915-
Quoted 1 line

display.audio.state)))

return NULL;

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-		audio_state = &i915->display.audio.state[pipe];
+		audio_state = &i915->display.audio.state[cpu_transcoder];
  		encoder = audio_state->encoder;
 
  		if (encoder && encoder->port == port && @@ -1176,14 +1174,14

@@ static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915,
}

/* Non-MST */

drivers/gpu/drm/i915/display/intel_audio.c +3 -3
-	if (pipe > 0)
+	if (cpu_transcoder > 0)
  		return NULL;
 
-	for_each_pipe(i915, pipe) {
+	for_each_cpu_transcoder(i915, cpu_transcoder) {
  		struct intel_audio_state *audio_state;
  		struct intel_encoder *encoder;
 
-		audio_state = &i915->display.audio.state[pipe];
+		audio_state = &i915->display.audio.state[cpu_transcoder];
  		encoder = audio_state->encoder;
 
  		if (encoder && encoder->port == port && @@ -1195,7 +1193,7 @@

static struct intel_audio_state *find_audio_state(struct drm_i915_private *i915, }

static int i915_audio_component_sync_audio_rate(struct device *kdev, int port,

drivers/gpu/drm/i915/display/intel_audio.c +2 -2
-						int pipe, int rate)
+						int cpu_transcoder, int rate)
  {
  	struct drm_i915_private *i915 = kdev_to_i915(kdev);
  	struct i915_audio_component *acomp = i915->display.audio.component;
@@ -1211,7 +1209,7 @@ static int i915_audio_component_sync_audio_rate(struct
 device *kdev, int port,
  	cookie = i915_audio_component_get_power(kdev);
  	mutex_lock(&i915->display.audio.mutex);
 
-	audio_state = find_audio_state(i915, port, pipe);
+	audio_state = find_audio_state(i915, port, cpu_transcoder);
  	if (!audio_state) {
  		drm_dbg_kms(&i915->drm, "Not valid for port %c\n",

port_name(port));
err = -ENODEV;

drivers/gpu/drm/i915/display/intel_audio.c +2 -1
@@ -1223,7 +1221,7 @@ static int i915_audio_component_sync_audio_rate(struct
 device *kdev, int port,
  	/* FIXME stop using the legacy crtc pointer */
  	crtc = to_intel_crtc(encoder->base.crtc);
 
-	/* port must be valid now, otherwise the pipe will be invalid */
+	/* port must be valid now, otherwise the cpu_transcoder will be
+invalid */
  	acomp->aud_sample_rate[port] = rate;
 
  	/* FIXME get rid of the crtc->config stuff */ @@ -1236,7 +1234,7 @@ static

int i915_audio_component_sync_audio_rate(struct device *kdev, int port, }

static int i915_audio_component_get_eld(struct device *kdev, int port,

drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-					int pipe, bool *enabled,
+					int cpu_transcoder, bool *enabled,
  					unsigned char *buf, int max_bytes)  {
  	struct drm_i915_private *i915 = kdev_to_i915(kdev); @@ -1245,7 +1243,7

@@ static int i915_audio_component_get_eld(struct device *kdev, int port,

  	mutex_lock(&i915->display.audio.mutex);
drivers/gpu/drm/i915/display/intel_audio.c +1 -1
-	audio_state = find_audio_state(i915, port, pipe);
+	audio_state = find_audio_state(i915, port, cpu_transcoder);
  	if (!audio_state) {
  		drm_dbg_kms(&i915->drm, "Not valid for port %c\n",

port_name(port));
mutex_unlock(&i915->display.audio.mutex);

drivers/gpu/drm/i915/display/intel_display_core.h +1 -1
index b870f7f47f2b..631a7b17899e 100644
@@ -103,7 +103,7 @@ struct intel_audio {
  	u32 freq_cntrl;
 
  	/* current audio state for the audio component hooks */
-	struct intel_audio_state state[I915_MAX_PIPES];
+	struct intel_audio_state state[I915_MAX_TRANSCODERS];
 
  	/* necessary resource sharing with HDMI LPE audio driver. */
  	struct {
drivers/gpu/drm/i915/display/intel_lpe_audio.c +1 -1
index 8aaaef4d7856..20c8581f4868 100644
@@ -315,7 +315,7 @@ void intel_lpe_audio_teardown(struct drm_i915_private
 *dev_priv)
   * intel_lpe_audio_notify() - notify lpe audio event
   * audio driver and i915
   * @dev_priv: the i915 drm device private data
- * @pipe: pipe
+ * @cpt_transocer: CPU transcoder
   * @port: port
   * @eld : ELD data

* @ls_clock: Link symbol clock in kHz

drivers/gpu/drm/i915/display/intel_lpe_audio.c +2 -2
@@ -324,7 +324,7 @@ void intel_lpe_audio_teardown(struct drm_i915_private
 *dev_priv)
   * Notify lpe audio driver of eld change.
   */
  void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,
-			    enum pipe pipe, enum port port,
+			    enum transcoder cpu_transcoder, enum port port,
  			    const void *eld, int ls_clock, bool dp_output)  {
  	unsigned long irqflags;
@@ -344,7 +344,7 @@ void intel_lpe_audio_notify(struct drm_i915_private
 *dev_priv,
 
  	if (eld != NULL) {
  		memcpy(ppdata->eld, eld, HDMI_MAX_ELD_BYTES);
-		ppdata->pipe = pipe;
+		ppdata->pipe = cpu_transcoder;
  		ppdata->ls_clock = ls_clock;
  		ppdata->dp_output = dp_output;
drivers/gpu/drm/i915/display/intel_lpe_audio.h +1 -1
index f848c5038714..0beecac267ae 100644
@@ -8,15 +8,15 @@
 
  #include <linux/types.h>
 
-enum pipe;
  enum port;
+enum transcoder;
  struct drm_i915_private;
 
  int  intel_lpe_audio_init(struct drm_i915_private *dev_priv);  void

intel_lpe_audio_teardown(struct drm_i915_private *dev_priv); void intel_lpe_audio_irq_handler(struct drm_i915_private *dev_priv); void intel_lpe_audio_notify(struct drm_i915_private *dev_priv,

drivers/gpu/drm/i915/display/intel_lpe_audio.h +1 -2
-			    enum pipe pipe, enum port port,
+			    enum transcoder cpu_transcoder, enum port port,
  			    const void *eld, int ls_clock, bool dp_output);
 
  #endif /* __INTEL_LPE_AUDIO_H__ */
--

2.39.2

Signature · 1 line
~Swati Sharma
Signature · 2 lines
Ville Syrjälä
Intel