Skip to contentSkip to conversation

drm/client: Use after free and debug improvements

PATCH In review Ville Syrjala 6 participants 41 messages Apr 4, 2024 – Apr 9, 2024

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

cover drm/client: Use after free and debug improvements

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

Various improvements to the drm/client code:
- Fix a use after free (fairly routinely hit by i915 CI)
- Debug print improvements
- Cleanups/etc.

Ville Syrjälä (12):
drm/client: Fully protect modes[] with dev->mode_config.mutex drm/client:
s/drm_connector_has_preferred_mode/drm_connector_preferred_mode/
drm/client: Use drm_mode_destroy()
drm/client: Add a FIXME around crtc->mode usage drm/client: Nuke outdated fastboot comment
drm/client: Constify modes
drm/client: Use array notation for function arguments drm/client: Extract drm_connector_first_mode() drm/client: Switch to per-device debugs
drm/client: Use [CONNECTOR:%d:%s] formatting drm/client: Streamline mode selection debugs drm/probe-helper: Switch to per-device debugs

 drivers/gpu/drm/drm_client_modeset.c | 237 ++++++++++++++-------------
 drivers/gpu/drm/drm_probe_helper.c   |  35 ++--
 2 files changed, 137 insertions(+), 135 deletions(-)
Signature · 1 line
2.43.2
#1 lore raw

PATCH 1/12 drm/client: Fully protect modes[] with dev->mode_config.mutex

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

The modes[] array contains pointers to modes on the connectors' mode lists, which are protected by dev->mode_config.mutex. Thus we need to extend modes[] the same protection or by the time we use it the elements may already be pointing to freed/reused memory.

---
 drivers/gpu/drm/drm_client_modeset.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_client_modeset.c +2 -1
index 871e4e2129d6..0683a129b362 100644
@@ -777,6 +777,7 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 	unsigned int total_modes_count = 0;
 	struct drm_client_offset *offsets;
 	unsigned int connector_count = 0;
+	/* points to modes protected by mode_config.mutex */
 	struct drm_display_mode **modes;
 	struct drm_crtc **crtcs;
 	int i, ret = 0;
@@ -845,7 +846,6 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 		drm_client_pick_crtcs(client, connectors, connector_count,
 				      crtcs, modes, 0, width, height);
 	}
-	mutex_unlock(&dev->mode_config.mutex);
 
 	drm_client_modeset_release(client);
 
@@ -875,6 +875,7 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 			modeset->y = offset->y;
 		}
 	}
+	mutex_unlock(&dev->mode_config.mutex);
 
 	mutex_unlock(&client->modeset_mutex);
 out:
Signature · 1 line
2.43.2
Reviewed-by on v1 1/12
#2 lore raw

Re: [PATCH 01/12] drm/client: Fully protect modes[] with dev->mode_config.mutex

Quoted 11 lines · Ville Syrjala

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

The modes[] array contains pointers to modes on the connectors' mode lists, which are protected by dev->mode_config.mutex. Thus we need to extend modes[] the same protection or by the time we use it the elements may already be pointing to freed/reused memory.

I tried looking for the proper Fixes tag, but it looks like it might be something like 386516744ba4 ("drm/fb: fix fbdev object model + cleanup properly.")

Quoted 35 lines
---
 drivers/gpu/drm/drm_client_modeset.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/drm_client_modeset.c +2 -1
index 871e4e2129d6..0683a129b362 100644
@@ -777,6 +777,7 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 	unsigned int total_modes_count = 0;
 	struct drm_client_offset *offsets;
 	unsigned int connector_count = 0;
+	/* points to modes protected by mode_config.mutex */
 	struct drm_display_mode **modes;
 	struct drm_crtc **crtcs;
 	int i, ret = 0;
@@ -845,7 +846,6 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 		drm_client_pick_crtcs(client, connectors, connector_count,
 				      crtcs, modes, 0, width, height);
 	}
-	mutex_unlock(&dev->mode_config.mutex);
 
 	drm_client_modeset_release(client);
 
@@ -875,6 +875,7 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 			modeset->y = offset->y;
 		}
 	}
+	mutex_unlock(&dev->mode_config.mutex);
 
 	mutex_unlock(&client->modeset_mutex);
 out:
Signature · 1 line
2.43.2
Signature · 2 lines
With best wishes
Dmitry
#3 lore raw

Re: [PATCH 01/12] drm/client: Fully protect modes[] with dev->mode_config.mutex

Quoted 9 lines · Dmitry Baryshkov
Quoted 8 lines · Ville Syrjala

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

The modes[] array contains pointers to modes on the connectors' mode lists, which are protected by dev->mode_config.mutex. Thus we need to extend modes[] the same protection or by the time we use it the elements may already be pointing to freed/reused memory.

Quoted 8 lines
Quoted 3 lines

I tried looking for the proper Fixes tag, but it looks like it might be something like 386516744ba4 ("drm/fb: fix fbdev object model + cleanup properly.")

The history is rather messy. I think it was originally completely
lockless and broken, and got fixed piecemeal later in these:
commit 7394371d8569 ("drm: Take lock around probes for drm_fb_helper_hotplug_event") commit 966a6a13c666 ("drm: Hold mode_config.lock to prevent hotplug whilst setting up crtcs")

commit e13a05831050 ("drm/fb-helper: Stop using mode_config.mutex for internals") looks to me like where the race might have been re-introduced.
But didn't do a thorough analysis so not 100% sure. It's all
rather ancient history by now so a Fixes tag doesn't seem all
that useful anyway.

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

Re: [PATCH 01/12] drm/client: Fully protect modes[] with dev->mode_config.mutex

Quoted 25 lines · Ville Syrjälä
Quoted 9 lines · Dmitry Baryshkov
Quoted 8 lines · Ville Syrjala

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

The modes[] array contains pointers to modes on the connectors' mode lists, which are protected by dev->mode_config.mutex. Thus we need to extend modes[] the same protection or by the time we use it the elements may already be pointing to freed/reused memory.

Quoted 8 lines
Quoted 3 lines

I tried looking for the proper Fixes tag, but it looks like it might be something like 386516744ba4 ("drm/fb: fix fbdev object model + cleanup properly.")

The history is rather messy. I think it was originally completely
lockless and broken, and got fixed piecemeal later in these:
commit 7394371d8569 ("drm: Take lock around probes for drm_fb_helper_hotplug_event") commit 966a6a13c666 ("drm: Hold mode_config.lock to prevent hotplug whilst setting up crtcs")

Quoted 5 lines

commit e13a05831050 ("drm/fb-helper: Stop using mode_config.mutex for internals") looks to me like where the race might have been re-introduced.
But didn't do a thorough analysis so not 100% sure. It's all
rather ancient history by now so a Fixes tag doesn't seem all
that useful anyway.

Well, you have added stable to cc list, so you expect to have this patch backported. Then it should either have a kernel version as a 'starting' point or a Fixes tag to assist the sable team.

Signature · 2 lines
With best wishes
Dmitry
#5 lore raw

Re: [PATCH 01/12] drm/client: Fully protect modes[] with dev->mode_config.mutex

Quoted 33 lines · Dmitry Baryshkov
Quoted 25 lines · Ville Syrjälä
Quoted 9 lines · Dmitry Baryshkov
Quoted 8 lines · Ville Syrjala

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

The modes[] array contains pointers to modes on the connectors' mode lists, which are protected by dev->mode_config.mutex. Thus we need to extend modes[] the same protection or by the time we use it the elements may already be pointing to freed/reused memory.

Quoted 8 lines
Quoted 3 lines

I tried looking for the proper Fixes tag, but it looks like it might be something like 386516744ba4 ("drm/fb: fix fbdev object model + cleanup properly.")

The history is rather messy. I think it was originally completely
lockless and broken, and got fixed piecemeal later in these:
commit 7394371d8569 ("drm: Take lock around probes for drm_fb_helper_hotplug_event") commit 966a6a13c666 ("drm: Hold mode_config.lock to prevent hotplug whilst setting up crtcs")

Quoted 5 lines

commit e13a05831050 ("drm/fb-helper: Stop using mode_config.mutex for internals") looks to me like where the race might have been re-introduced.
But didn't do a thorough analysis so not 100% sure. It's all
rather ancient history by now so a Fixes tag doesn't seem all
that useful anyway.

Quoted 3 lines

Well, you have added stable to cc list, so you expect to have this patch backported. Then it should either have a kernel version as a 'starting' point or a Fixes tag to assist the sable team.

It'll get backported just fine without either.

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

PATCH 2/12 drm/client: s/drm_connector_has_preferred_mode/drm_connector_preferred_mode/

In reply to Ville Syrjala

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

Drop the "has" from drm_connector_has_preferred_mode() to better describe what it does.

---
 drivers/gpu/drm/drm_client_modeset.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +4 -4
index 0683a129b362..1c3aeb2dfa57 100644
@@ -145,7 +145,7 @@ drm_connector_fallback_non_tiled_mode(struct drm_connector *connector)
 }
 
 static struct drm_display_mode *
-drm_connector_has_preferred_mode(struct drm_connector *connector, int width, int height)
+drm_connector_preferred_mode(struct drm_connector *connector, int width, int height)
 {
 	struct drm_display_mode *mode;
 
@@ -434,7 +434,7 @@ static bool drm_client_target_preferred(struct drm_connector **connectors,
 		if (!modes[i]) {
 			DRM_DEBUG_KMS("looking for preferred mode on connector %d %d\n",
 				      connector->base.id, connector->tile_group ? connector->tile_group->id : 0);
-			modes[i] = drm_connector_has_preferred_mode(connector, width, height);
+			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 		/* No preferred modes, pick one off the list */
 		if (!modes[i] && !list_empty(&connector->modes)) {
@@ -522,7 +522,7 @@ static int drm_client_pick_crtcs(struct drm_client_dev *client,
 		my_score++;
 	if (connector->cmdline_mode.specified)
 		my_score++;
-	if (drm_connector_has_preferred_mode(connector, width, height))
+	if (drm_connector_preferred_mode(connector, width, height))
 		my_score++;
 
 	/*
@@ -675,7 +675,7 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 		if (!modes[i]) {
 			DRM_DEBUG_KMS("looking for preferred mode on connector %s %d\n",
 				      connector->name, connector->has_tile);
-			modes[i] = drm_connector_has_preferred_mode(connector, width, height);
+			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 
 		/* No preferred mode marked by the EDID? Are there any modes? */
Signature · 1 line
2.43.2
Reviewed-by on v1 2/12
#7 lore raw

Re: [PATCH 02/12] drm/client: s/drm_connector_has_preferred_mode/drm_connector_preferred_mode/

Quoted 9 lines · Ville Syrjala

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

Drop the "has" from drm_connector_has_preferred_mode() to better describe what it does.

---
 drivers/gpu/drm/drm_client_modeset.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Signature · 2 lines
With best wishes
Dmitry
#8 lore raw

PATCH 3/12 drm/client: Use drm_mode_destroy()

In reply to Ville Syrjala

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

Prefer drm_mode_destroy() over bare kfree(), for consistency and setting a good example.

---
 drivers/gpu/drm/drm_client_modeset.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +2 -2
index 1c3aeb2dfa57..2b7d0be04911 100644
@@ -329,7 +329,7 @@ static bool drm_client_target_cloned(struct drm_device *dev,
 		if (!modes[i])
 			can_clone = false;
 	}
-	kfree(dmt_mode);
+	drm_mode_destroy(dev, dmt_mode);
 
 	if (can_clone) {
 		DRM_DEBUG_KMS("can clone using 1024x768\n");
@@ -867,7 +867,7 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 				break;
 			}
 
-			kfree(modeset->mode);
+			drm_mode_destroy(dev, modeset->mode);
 			modeset->mode = drm_mode_duplicate(dev, mode);
 			drm_connector_get(connector);
 			modeset->connectors[modeset->num_connectors++] = connector;
Signature · 1 line
2.43.2
Reviewed-by on v1 3/12
#9 lore raw

Re: [PATCH 03/12] drm/client: Use drm_mode_destroy()

Quoted 10 lines · Ville Syrjala

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

Prefer drm_mode_destroy() over bare kfree(), for consistency and setting a good example.

---
 drivers/gpu/drm/drm_client_modeset.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 2 lines
With best wishes
Dmitry
#10 lore raw

PATCH 4/12 drm/client: Add a FIXME around crtc->mode usage

In reply to Ville Syrjala

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

crtc->mode is legacy junk and shouldn't really be used with atomic drivers.

Most (all?) atomic drivers do end up still calling drm_atomic_helper_update_legacy_modeset_state() at some point, so crtc->mode does still get populated, and this does work for now. But eventually would be nice to eliminate all the legacy stuff from atomic drivers.

Switching to crtc->state->mode would require some bigger changes however, as we currently drop the crtc->mutex before we're done using the mode. So leave the junk in for now and just add a FIXME to remind us that this needs fixing.

---
 drivers/gpu/drm/drm_client_modeset.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/drm_client_modeset.c +4 -0
index 2b7d0be04911..8ef03608b424 100644
@@ -699,6 +699,10 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			 *
 			 * This is crtc->mode and not crtc->state->mode for the
 			 * fastboot check to work correctly.
+			 *
+			 * FIXME using legacy crtc->mode with atomic drivers
+			 * is dodgy. Switch to crtc->state->mode, after taking
+			 * care of the resulting locking/lifetime issues.
 			 */
 			DRM_DEBUG_KMS("looking for current mode on connector %s\n",
 				      connector->name);
Signature · 1 line
2.43.2
#11 lore raw

Re: [PATCH 04/12] drm/client: Add a FIXME around crtc->mode usage

Quoted 11 lines · Ville Syrjala

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

crtc->mode is legacy junk and shouldn't really be used with atomic drivers.

Most (all?) atomic drivers do end up still calling drm_atomic_helper_update_legacy_modeset_state() at some point, so crtc->mode does still get populated, and this does work for now. But eventually would be nice to eliminate all the legacy stuff from atomic drivers.

Quoted 5 lines

Switching to crtc->state->mode would require some bigger changes however, as we currently drop the crtc->mutex before we're done using the mode. So leave the junk in for now and just add a FIXME to remind us that this needs fixing.

What about using allocated duplicate modes to fill modes[] array? This requires additional allocations, but it will solve most if not all modes lifetime issues.

Quoted 24 lines
---
 drivers/gpu/drm/drm_client_modeset.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/drm_client_modeset.c +4 -0
index 2b7d0be04911..8ef03608b424 100644
@@ -699,6 +699,10 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			 *
 			 * This is crtc->mode and not crtc->state->mode for the
 			 * fastboot check to work correctly.
+			 *
+			 * FIXME using legacy crtc->mode with atomic drivers
+			 * is dodgy. Switch to crtc->state->mode, after taking
+			 * care of the resulting locking/lifetime issues.
 			 */
 			DRM_DEBUG_KMS("looking for current mode on connector %s\n",
 				      connector->name);
Signature · 1 line
2.43.2
Signature · 2 lines
With best wishes
Dmitry
#12 lore raw

Re: [PATCH 04/12] drm/client: Add a FIXME around crtc->mode usage

Quoted 19 lines · Dmitry Baryshkov
Quoted 11 lines · Ville Syrjala

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

crtc->mode is legacy junk and shouldn't really be used with atomic drivers.

Most (all?) atomic drivers do end up still calling drm_atomic_helper_update_legacy_modeset_state() at some point, so crtc->mode does still get populated, and this does work for now. But eventually would be nice to eliminate all the legacy stuff from atomic drivers.

Quoted 5 lines

Switching to crtc->state->mode would require some bigger changes however, as we currently drop the crtc->mutex before we're done using the mode. So leave the junk in for now and just add a FIXME to remind us that this needs fixing.

Quoted 3 lines

What about using allocated duplicate modes to fill modes[] array? This requires additional allocations, but it will solve most if not all modes lifetime issues.

I think there are two obvious solutions:
1. drm_mode_duplicate() as you suggest
upside: existing 'modes[i] != NULL' checks work as is
downside: introduces more error paths due to potential kmalloc() fails
2. Make modes[] and array of structs rather than pointers up/downsides: the opposite of option 1

So neither is a trivial search and replace job.

Quoted 29 lines
Quoted 25 lines
---
 drivers/gpu/drm/drm_client_modeset.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/drm_client_modeset.c +4 -0
index 2b7d0be04911..8ef03608b424 100644
@@ -699,6 +699,10 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			 *
 			 * This is crtc->mode and not crtc->state->mode for the
 			 * fastboot check to work correctly.
+			 *
+			 * FIXME using legacy crtc->mode with atomic drivers
+			 * is dodgy. Switch to crtc->state->mode, after taking
+			 * care of the resulting locking/lifetime issues.
 			 */
 			DRM_DEBUG_KMS("looking for current mode on connector %s\n",
 				      connector->name);
Signature · 1 line
2.43.2
Signature · 2 lines
With best wishes
Dmitry
Signature · 2 lines
Ville Syrjälä
Intel
#13 lore raw

PATCH 5/12 drm/client: Nuke outdated fastboot comment

In reply to Ville Syrjala

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

Remove the tall tale about fastboot vs. user mode vs. adjusted mode. crtc->mode == crtc->state->mode, so none of this makes any sense. I suppose it may have been true long ago in the past.

---
 drivers/gpu/drm/drm_client_modeset.c | 10 ----------
 1 file changed, 10 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +0 -10
index 8ef03608b424..cf1de06f99aa 100644
@@ -690,16 +690,6 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 		/* last resort: use current mode */
 		if (!modes[i]) {
 			/*
-			 * IMPORTANT: We want to use the adjusted mode (i.e.
-			 * after the panel fitter upscaling) as the initial
-			 * config, not the input mode, which is what crtc->mode
-			 * usually contains. But since our current
-			 * code puts a mode derived from the post-pfit timings
-			 * into crtc->mode this works out correctly.
-			 *
-			 * This is crtc->mode and not crtc->state->mode for the
-			 * fastboot check to work correctly.
-			 *
 			 * FIXME using legacy crtc->mode with atomic drivers
 			 * is dodgy. Switch to crtc->state->mode, after taking
 			 * care of the resulting locking/lifetime issues.
Signature · 1 line
2.43.2
Reviewed-by on v1 5/12
#14 lore raw

Re: [PATCH 05/12] drm/client: Nuke outdated fastboot comment

Quoted 7 lines · Ville Syrjala

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

Remove the tall tale about fastboot vs. user mode vs. adjusted mode. crtc->mode == crtc->state->mode, so none of this makes any sense. I suppose it may have been true long ago in the past.

Quoted 5 lines
---
 drivers/gpu/drm/drm_client_modeset.c | 10 ----------
 1 file changed, 10 deletions(-)
Signature · 2 lines
With best wishes
Dmitry
#15 lore raw

PATCH 6/12 drm/client: Constify modes

In reply to Ville Syrjala

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

The modes used by the client code live on the connectors' mode lists, which are not owned by the client code, and thus it has no business modifying the modes. Mark the modes const to make that fact abundantly clear.

---
 drivers/gpu/drm/drm_client_modeset.c | 36 +++++++++++++++-------------
 1 file changed, 19 insertions(+), 17 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +19 -17
index cf1de06f99aa..384a9f8227a0 100644
@@ -117,10 +117,10 @@ drm_client_find_modeset(struct drm_client_dev *client, struct drm_crtc *crtc)
 	return NULL;
 }
 
-static struct drm_display_mode *
+static const struct drm_display_mode *
 drm_connector_get_tiled_mode(struct drm_connector *connector)
 {
-	struct drm_display_mode *mode;
+	const struct drm_display_mode *mode;
 
 	list_for_each_entry(mode, &connector->modes, head) {
 		if (mode->hdisplay == connector->tile_h_size &&
@@ -130,10 +130,10 @@ drm_connector_get_tiled_mode(struct drm_connector *connector)
 	return NULL;
 }
 
-static struct drm_display_mode *
+static const struct drm_display_mode *
 drm_connector_fallback_non_tiled_mode(struct drm_connector *connector)
 {
-	struct drm_display_mode *mode;
+	const struct drm_display_mode *mode;
 
 	list_for_each_entry(mode, &connector->modes, head) {
 		if (mode->hdisplay == connector->tile_h_size &&
@@ -144,10 +144,10 @@ drm_connector_fallback_non_tiled_mode(struct drm_connector *connector)
 	return NULL;
 }
 
-static struct drm_display_mode *
+static const struct drm_display_mode *
 drm_connector_preferred_mode(struct drm_connector *connector, int width, int height)
 {
-	struct drm_display_mode *mode;
+	const struct drm_display_mode *mode;
 
 	list_for_each_entry(mode, &connector->modes, head) {
 		if (mode->hdisplay > width ||
@@ -159,10 +159,11 @@ drm_connector_preferred_mode(struct drm_connector *connector, int width, int hei
 	return NULL;
 }
 
-static struct drm_display_mode *drm_connector_pick_cmdline_mode(struct drm_connector *connector)
+static const struct drm_display_mode *
+drm_connector_pick_cmdline_mode(struct drm_connector *connector)
 {
-	struct drm_cmdline_mode *cmdline_mode;
-	struct drm_display_mode *mode;
+	const struct drm_cmdline_mode *cmdline_mode;
+	const struct drm_display_mode *mode;
 	bool prefer_non_interlace;
 
 	/*
@@ -258,13 +259,14 @@ static void drm_client_connectors_enabled(struct drm_connector **connectors,
 static bool drm_client_target_cloned(struct drm_device *dev,
 				     struct drm_connector **connectors,
 				     unsigned int connector_count,
-				     struct drm_display_mode **modes,
+				     const struct drm_display_mode **modes,
 				     struct drm_client_offset *offsets,
 				     bool *enabled, int width, int height)
 {
 	int count, i, j;
 	bool can_clone = false;
-	struct drm_display_mode *dmt_mode, *mode;
+	const struct drm_display_mode *mode;
+	struct drm_display_mode *dmt_mode;
 
 	/* only contemplate cloning in the single crtc case */
 	if (dev->mode_config.num_crtc > 1)
@@ -342,7 +344,7 @@ static bool drm_client_target_cloned(struct drm_device *dev,
 
 static int drm_client_get_tile_offsets(struct drm_connector **connectors,
 				       unsigned int connector_count,
-				       struct drm_display_mode **modes,
+				       const struct drm_display_mode **modes,
 				       struct drm_client_offset *offsets,
 				       int idx,
 				       int h_idx, int v_idx)
@@ -375,7 +377,7 @@ static int drm_client_get_tile_offsets(struct drm_connector **connectors,
 
 static bool drm_client_target_preferred(struct drm_connector **connectors,
 					unsigned int connector_count,
-					struct drm_display_mode **modes,
+					const struct drm_display_mode **modes,
 					struct drm_client_offset *offsets,
 					bool *enabled, int width, int height)
 {
@@ -492,7 +494,7 @@ static int drm_client_pick_crtcs(struct drm_client_dev *client,
 				 struct drm_connector **connectors,
 				 unsigned int connector_count,
 				 struct drm_crtc **best_crtcs,
-				 struct drm_display_mode **modes,
+				 const struct drm_display_mode **modes,
 				 int n, int width, int height)
 {
 	struct drm_device *dev = client->dev;
@@ -567,7 +569,7 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 				       struct drm_connector **connectors,
 				       unsigned int connector_count,
 				       struct drm_crtc **crtcs,
-				       struct drm_display_mode **modes,
+				       const struct drm_display_mode **modes,
 				       struct drm_client_offset *offsets,
 				       bool *enabled, int width, int height)
 {
@@ -772,7 +774,7 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 	struct drm_client_offset *offsets;
 	unsigned int connector_count = 0;
 	/* points to modes protected by mode_config.mutex */
-	struct drm_display_mode **modes;
+	const struct drm_display_mode **modes;
 	struct drm_crtc **crtcs;
 	int i, ret = 0;
 	bool *enabled;
@@ -844,7 +846,7 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 	drm_client_modeset_release(client);
 
 	for (i = 0; i < connector_count; i++) {
-		struct drm_display_mode *mode = modes[i];
+		const struct drm_display_mode *mode = modes[i];
 		struct drm_crtc *crtc = crtcs[i];
 		struct drm_client_offset *offset = &offsets[i];
 
Signature · 1 line
2.43.2
#16 lore raw

Re: [PATCH 06/12] drm/client: Constify modes

kernel test robot noticed the following build warnings:

Hi Ville,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-misc/drm-misc-next]
[also build test WARNING on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.9-rc2 next-20240405] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Ville-Syrjala/drm-client-Fully-protect-modes-with-dev-mode_config-mutex/20240405-043540
base:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:    https://lore.kernel.org/r/20240404203336.10454-7-ville.syrjala%40linux.intel.com
patch subject: [PATCH 06/12] drm/client: Constify modes
config: i386-randconfig-012-20240405 (https://download.01.org/0day-ci/archive/20240405/[email protected]/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240405/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

In file included from drivers/gpu/drm/drm_client_modeset.c:1241:0:
drivers/gpu/drm/tests/drm_client_modeset_test.c: In function 'drm_test_pick_cmdline_res_1920_1080_60':

>> drivers/gpu/drm/tests/drm_client_modeset_test.c:108:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     mode = drm_connector_pick_cmdline_mode(connector);
          ^

vim +/const +108 drivers/gpu/drm/tests/drm_client_modeset_test.c

8fc0380f6ba7e9 Maxime Ripard 2022-11-14   84  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   85  static void drm_test_pick_cmdline_res_1920_1080_60(struct kunit *test)
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   86  {
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   87  	struct drm_client_modeset_test_priv *priv = test->priv;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   88  	struct drm_device *drm = priv->drm;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   89  	struct drm_connector *connector = &priv->connector;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   90  	struct drm_cmdline_mode *cmdline_mode = &connector->cmdline_mode;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   91  	struct drm_display_mode *expected_mode, *mode;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   92  	const char *cmdline = "1920x1080@60";
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   93  	int ret;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   94  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   95  	expected_mode = drm_mode_find_dmt(priv->drm, 1920, 1080, 60, false);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   96  	KUNIT_ASSERT_NOT_NULL(test, expected_mode);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   97  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   98  	KUNIT_ASSERT_TRUE(test,
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   99  			  drm_mode_parse_command_line_for_connector(cmdline,
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  100  								    connector,
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  101  								    cmdline_mode));
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  102  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  103  	mutex_lock(&drm->mode_config.mutex);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  104  	ret = drm_helper_probe_single_connector_modes(connector, 1920, 1080);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  105  	mutex_unlock(&drm->mode_config.mutex);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  106  	KUNIT_ASSERT_GT(test, ret, 0);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  107  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14 @108  	mode = drm_connector_pick_cmdline_mode(connector);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  109  	KUNIT_ASSERT_NOT_NULL(test, mode);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  110  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  111  	KUNIT_EXPECT_TRUE(test, drm_mode_equal(expected_mode, mode));
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  112  }
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  113  
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#17 lore raw

Re: [PATCH 06/12] drm/client: Constify modes

In reply to Ville Syrjala
kernel test robot noticed the following build errors:

Hi Ville,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.9-rc2 next-20240405] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Ville-Syrjala/drm-client-Fully-protect-modes-with-dev-mode_config-mutex/20240405-043540
base:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:    https://lore.kernel.org/r/20240404203336.10454-7-ville.syrjala%40linux.intel.com
patch subject: [PATCH 06/12] drm/client: Constify modes
config: hexagon-allyesconfig (https://download.01.org/0day-ci/archive/20240407/[email protected]/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 546dc2245ffc4cccd0b05b58b7a5955e355a3b27)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240407/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

In file included from drivers/gpu/drm/drm_client_modeset.c:16:
In file included from include/drm/drm_atomic.h:31:
In file included from include/drm/drm_crtc.h:32:
In file included from include/drm/drm_modes.h:33:
In file included from include/drm/drm_connector.h:32:
In file included from include/drm/drm_util.h:35:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:11:
In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/hexagon/include/asm/io.h:328:
include/asm-generic/io.h:547:31: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]

     547 |         val = __raw_readb(PCI_IOBASE + addr);
         |                           ~~~~~~~~~~ ^
   include/asm-generic/io.h:560:61: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
     560 |         val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
         |                                                         ~~~~~~~~~~ ^
   include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu'
      37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
         |                                                   ^
   In file included from drivers/gpu/drm/drm_client_modeset.c:16:
   In file included from include/drm/drm_atomic.h:31:
   In file included from include/drm/drm_crtc.h:32:
   In file included from include/drm/drm_modes.h:33:
   In file included from include/drm/drm_connector.h:32:
   In file included from include/drm/drm_util.h:35:
   In file included from include/linux/interrupt.h:11:
   In file included from include/linux/hardirq.h:11:
   In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1:
   In file included from include/asm-generic/hardirq.h:17:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:13:
   In file included from arch/hexagon/include/asm/io.h:328:
   include/asm-generic/io.h:573:61: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
     573 |         val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
         |                                                         ~~~~~~~~~~ ^
   include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu'
      35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
         |                                                   ^
   In file included from drivers/gpu/drm/drm_client_modeset.c:16:
   In file included from include/drm/drm_atomic.h:31:
   In file included from include/drm/drm_crtc.h:32:
   In file included from include/drm/drm_modes.h:33:
   In file included from include/drm/drm_connector.h:32:
   In file included from include/drm/drm_util.h:35:
   In file included from include/linux/interrupt.h:11:
   In file included from include/linux/hardirq.h:11:
   In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1:
   In file included from include/asm-generic/hardirq.h:17:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:13:
   In file included from arch/hexagon/include/asm/io.h:328:
   include/asm-generic/io.h:584:33: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
     584 |         __raw_writeb(value, PCI_IOBASE + addr);
         |                             ~~~~~~~~~~ ^
   include/asm-generic/io.h:594:59: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
     594 |         __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
         |                                                       ~~~~~~~~~~ ^
   include/asm-generic/io.h:604:59: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
     604 |         __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
         |                                                       ~~~~~~~~~~ ^
   In file included from drivers/gpu/drm/drm_client_modeset.c:16:
   In file included from include/drm/drm_atomic.h:31:
   In file included from include/drm/drm_crtc.h:32:
   In file included from include/drm/drm_modes.h:33:
   In file included from include/drm/drm_connector.h:32:
   In file included from include/drm/drm_util.h:36:
   In file included from include/linux/kgdb.h:19:
   In file included from include/linux/kprobes.h:28:
   In file included from include/linux/ftrace.h:13:
   In file included from include/linux/kallsyms.h:13:
   In file included from include/linux/mm.h:2208:
   include/linux/vmstat.h:522:36: error: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Werror,-Wenum-enum-conversion]
     522 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
   In file included from drivers/gpu/drm/drm_client_modeset.c:1241:
>> drivers/gpu/drm/tests/drm_client_modeset_test.c:108:7: error: assigning to 'struct drm_display_mode *' from 'const struct drm_display_mode *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
     108 |         mode = drm_connector_pick_cmdline_mode(connector);
         |              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

8 errors generated.

vim +108 drivers/gpu/drm/tests/drm_client_modeset_test.c

8fc0380f6ba7e9 Maxime Ripard 2022-11-14   84  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   85  static void drm_test_pick_cmdline_res_1920_1080_60(struct kunit *test)
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   86  {
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   87  	struct drm_client_modeset_test_priv *priv = test->priv;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   88  	struct drm_device *drm = priv->drm;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   89  	struct drm_connector *connector = &priv->connector;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   90  	struct drm_cmdline_mode *cmdline_mode = &connector->cmdline_mode;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   91  	struct drm_display_mode *expected_mode, *mode;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   92  	const char *cmdline = "1920x1080@60";
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   93  	int ret;
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   94  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   95  	expected_mode = drm_mode_find_dmt(priv->drm, 1920, 1080, 60, false);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   96  	KUNIT_ASSERT_NOT_NULL(test, expected_mode);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   97  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   98  	KUNIT_ASSERT_TRUE(test,
8fc0380f6ba7e9 Maxime Ripard 2022-11-14   99  			  drm_mode_parse_command_line_for_connector(cmdline,
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  100  								    connector,
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  101  								    cmdline_mode));
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  102  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  103  	mutex_lock(&drm->mode_config.mutex);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  104  	ret = drm_helper_probe_single_connector_modes(connector, 1920, 1080);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  105  	mutex_unlock(&drm->mode_config.mutex);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  106  	KUNIT_ASSERT_GT(test, ret, 0);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  107  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14 @108  	mode = drm_connector_pick_cmdline_mode(connector);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  109  	KUNIT_ASSERT_NOT_NULL(test, mode);
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  110  
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  111  	KUNIT_EXPECT_TRUE(test, drm_mode_equal(expected_mode, mode));
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  112  }
8fc0380f6ba7e9 Maxime Ripard 2022-11-14  113  
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#18 lore raw

PATCH 7/12 drm/client: Use array notation for function arguments

In reply to Ville Syrjala

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

Use the array notation rather that the pointer notation for function arguments. This makes it clear to the reader that we are in fact dealing with an array rather than a single pointer. Functionally the two are equivalent.

---
 drivers/gpu/drm/drm_client_modeset.c | 42 ++++++++++++++--------------
 1 file changed, 21 insertions(+), 21 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +21 -21
index 384a9f8227a0..08fc896885dd 100644
@@ -232,9 +232,9 @@ static bool drm_connector_enabled(struct drm_connector *connector, bool strict)
 	return enable;
 }
 
-static void drm_client_connectors_enabled(struct drm_connector **connectors,
+static void drm_client_connectors_enabled(struct drm_connector *connectors[],
 					  unsigned int connector_count,
-					  bool *enabled)
+					  bool enabled[])
 {
 	bool any_enabled = false;
 	struct drm_connector *connector;
@@ -257,11 +257,11 @@ static void drm_client_connectors_enabled(struct drm_connector **connectors,
 }
 
 static bool drm_client_target_cloned(struct drm_device *dev,
-				     struct drm_connector **connectors,
+				     struct drm_connector *connectors[],
 				     unsigned int connector_count,
-				     const struct drm_display_mode **modes,
-				     struct drm_client_offset *offsets,
-				     bool *enabled, int width, int height)
+				     const struct drm_display_mode *modes[],
+				     struct drm_client_offset offsets[],
+				     bool enabled[], int width, int height)
 {
 	int count, i, j;
 	bool can_clone = false;
@@ -342,10 +342,10 @@ static bool drm_client_target_cloned(struct drm_device *dev,
 	return false;
 }
 
-static int drm_client_get_tile_offsets(struct drm_connector **connectors,
+static int drm_client_get_tile_offsets(struct drm_connector *connectors[],
 				       unsigned int connector_count,
-				       const struct drm_display_mode **modes,
-				       struct drm_client_offset *offsets,
+				       const struct drm_display_mode *modes[],
+				       struct drm_client_offset offsets[],
 				       int idx,
 				       int h_idx, int v_idx)
 {
@@ -375,11 +375,11 @@ static int drm_client_get_tile_offsets(struct drm_connector **connectors,
 	return 0;
 }
 
-static bool drm_client_target_preferred(struct drm_connector **connectors,
+static bool drm_client_target_preferred(struct drm_connector *connectors[],
 					unsigned int connector_count,
-					const struct drm_display_mode **modes,
-					struct drm_client_offset *offsets,
-					bool *enabled, int width, int height)
+					const struct drm_display_mode *modes[],
+					struct drm_client_offset offsets[],
+					bool enabled[], int width, int height)
 {
 	const u64 mask = BIT_ULL(connector_count) - 1;
 	struct drm_connector *connector;
@@ -491,10 +491,10 @@ static bool connector_has_possible_crtc(struct drm_connector *connector,
 }
 
 static int drm_client_pick_crtcs(struct drm_client_dev *client,
-				 struct drm_connector **connectors,
+				 struct drm_connector *connectors[],
 				 unsigned int connector_count,
-				 struct drm_crtc **best_crtcs,
-				 const struct drm_display_mode **modes,
+				 struct drm_crtc *best_crtcs[],
+				 const struct drm_display_mode *modes[],
 				 int n, int width, int height)
 {
 	struct drm_device *dev = client->dev;
@@ -566,12 +566,12 @@ static int drm_client_pick_crtcs(struct drm_client_dev *client,
 
 /* Try to read the BIOS display configuration and use it for the initial config */
 static bool drm_client_firmware_config(struct drm_client_dev *client,
-				       struct drm_connector **connectors,
+				       struct drm_connector *connectors[],
 				       unsigned int connector_count,
-				       struct drm_crtc **crtcs,
-				       const struct drm_display_mode **modes,
-				       struct drm_client_offset *offsets,
-				       bool *enabled, int width, int height)
+				       struct drm_crtc *crtcs[],
+				       const struct drm_display_mode *modes[],
+				       struct drm_client_offset offsets[],
+				       bool enabled[], int width, int height)
 {
 	const int count = min_t(unsigned int, connector_count, BITS_PER_LONG);
 	unsigned long conn_configured, conn_seq, mask;
Signature · 1 line
2.43.2
#19 lore raw

Re: [PATCH 07/12] drm/client: Use array notation for function arguments

Hi

Am 04.04.24 um 22:33 schrieb Ville Syrjala:

Quoted 17 lines

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

Use the array notation rather that the pointer notation for function arguments. This makes it clear to the reader that we are in fact dealing with an array rather than a single pointer. Functionally the two are equivalent.

---
  drivers/gpu/drm/drm_client_modeset.c | 42 ++++++++++++++--------------
  1 file changed, 21 insertions(+), 21 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +0 -0
index 384a9f8227a0..08fc896885dd 100644

drivers/gpu/drm/drm_client_modeset.c static bool drm_connector_enabled(struct drm_connector *connector, bool strict) · line 237

Quoted 8 lines
drivers/gpu/drm/drm_client_modeset.c +2 -2
@@ -232,9 +232,9 @@ static bool drm_connector_enabled(struct drm_connector *connector, bool strict)
  	return enable;
  }
 
-static void drm_client_connectors_enabled(struct drm_connector **connectors,
+static void drm_client_connectors_enabled(struct drm_connector *connectors[],
  					  unsigned int connector_count,
-					  bool *enabled)
+					  bool enabled[])

I like this style, but have been criticized for using it. I hope this has changed.

Best regards
Thomas

Quoted 81 lines
drivers/gpu/drm/drm_client_modeset.c +19 -19
  {
  	bool any_enabled = false;
  	struct drm_connector *connector;
@@ -257,11 +257,11 @@ static void drm_client_connectors_enabled(struct drm_connector **connectors,
  }
 
  static bool drm_client_target_cloned(struct drm_device *dev,
-				     struct drm_connector **connectors,
+				     struct drm_connector *connectors[],
  				     unsigned int connector_count,
-				     const struct drm_display_mode **modes,
-				     struct drm_client_offset *offsets,
-				     bool *enabled, int width, int height)
+				     const struct drm_display_mode *modes[],
+				     struct drm_client_offset offsets[],
+				     bool enabled[], int width, int height)
  {
  	int count, i, j;
  	bool can_clone = false;
@@ -342,10 +342,10 @@ static bool drm_client_target_cloned(struct drm_device *dev,
  	return false;
  }
 
-static int drm_client_get_tile_offsets(struct drm_connector **connectors,
+static int drm_client_get_tile_offsets(struct drm_connector *connectors[],
  				       unsigned int connector_count,
-				       const struct drm_display_mode **modes,
-				       struct drm_client_offset *offsets,
+				       const struct drm_display_mode *modes[],
+				       struct drm_client_offset offsets[],
  				       int idx,
  				       int h_idx, int v_idx)
  {
@@ -375,11 +375,11 @@ static int drm_client_get_tile_offsets(struct drm_connector **connectors,
  	return 0;
  }
 
-static bool drm_client_target_preferred(struct drm_connector **connectors,
+static bool drm_client_target_preferred(struct drm_connector *connectors[],
  					unsigned int connector_count,
-					const struct drm_display_mode **modes,
-					struct drm_client_offset *offsets,
-					bool *enabled, int width, int height)
+					const struct drm_display_mode *modes[],
+					struct drm_client_offset offsets[],
+					bool enabled[], int width, int height)
  {
  	const u64 mask = BIT_ULL(connector_count) - 1;
  	struct drm_connector *connector;
@@ -491,10 +491,10 @@ static bool connector_has_possible_crtc(struct drm_connector *connector,
  }
 
  static int drm_client_pick_crtcs(struct drm_client_dev *client,
-				 struct drm_connector **connectors,
+				 struct drm_connector *connectors[],
  				 unsigned int connector_count,
-				 struct drm_crtc **best_crtcs,
-				 const struct drm_display_mode **modes,
+				 struct drm_crtc *best_crtcs[],
+				 const struct drm_display_mode *modes[],
  				 int n, int width, int height)
  {
  	struct drm_device *dev = client->dev;
@@ -566,12 +566,12 @@ static int drm_client_pick_crtcs(struct drm_client_dev *client,
 
  /* Try to read the BIOS display configuration and use it for the initial config */
  static bool drm_client_firmware_config(struct drm_client_dev *client,
-				       struct drm_connector **connectors,
+				       struct drm_connector *connectors[],
  				       unsigned int connector_count,
-				       struct drm_crtc **crtcs,
-				       const struct drm_display_mode **modes,
-				       struct drm_client_offset *offsets,
-				       bool *enabled, int width, int height)
+				       struct drm_crtc *crtcs[],
+				       const struct drm_display_mode *modes[],
+				       struct drm_client_offset offsets[],
+				       bool enabled[], int width, int height)
  {
  	const int count = min_t(unsigned int, connector_count, BITS_PER_LONG);
  	unsigned long conn_configured, conn_seq, mask;
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
#20 lore raw

PATCH 8/12 drm/client: Extract drm_connector_first_mode()

In reply to Ville Syrjala

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

Use a consistent method for picking the first mode from the connnector's mode list.

---
 drivers/gpu/drm/drm_client_modeset.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +10 -7
index 08fc896885dd..1fba6cd8d761 100644
@@ -159,6 +159,13 @@ drm_connector_preferred_mode(struct drm_connector *connector, int width, int hei
 	return NULL;
 }
 
+static const struct drm_display_mode *
+drm_connector_first_mode(struct drm_connector *connector)
+{
+	return list_first_entry_or_null(&connector->modes,
+					struct drm_display_mode, head);
+}
+
 static const struct drm_display_mode *
 drm_connector_pick_cmdline_mode(struct drm_connector *connector)
 {
@@ -439,10 +446,8 @@ static bool drm_client_target_preferred(struct drm_connector *connectors[],
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 		/* No preferred modes, pick one off the list */
-		if (!modes[i] && !list_empty(&connector->modes)) {
-			list_for_each_entry(modes[i], &connector->modes, head)
-				break;
-		}
+		if (!modes[i])
+			modes[i] = drm_connector_first_mode(connector);
 		/*
 		 * In case of tiled mode if all tiles not present fallback to
 		 * first available non tiled mode.
@@ -684,9 +689,7 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 		if (!modes[i] && !list_empty(&connector->modes)) {
 			DRM_DEBUG_KMS("using first mode listed on connector %s\n",
 				      connector->name);
-			modes[i] = list_first_entry(&connector->modes,
-						    struct drm_display_mode,
-						    head);
+			modes[i] = drm_connector_first_mode(connector);
 		}
 
 		/* last resort: use current mode */
Signature · 1 line
2.43.2
Reviewed-by on v1 8/12
#21 lore raw

Re: [PATCH 08/12] drm/client: Extract drm_connector_first_mode()

Quoted 4 lines · Ville Syrjala

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

Use a consistent method for picking the first mode from the connnector's mode list.

Patches 1-8 inclusive are

Quoted 48 lines
---
 drivers/gpu/drm/drm_client_modeset.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +10 -7
index 08fc896885dd..1fba6cd8d761 100644
@@ -159,6 +159,13 @@ drm_connector_preferred_mode(struct drm_connector *connector, int width, int hei
 	return NULL;
 }
 
+static const struct drm_display_mode *
+drm_connector_first_mode(struct drm_connector *connector)
+{
+	return list_first_entry_or_null(&connector->modes,
+					struct drm_display_mode, head);
+}
+
 static const struct drm_display_mode *
 drm_connector_pick_cmdline_mode(struct drm_connector *connector)
 {
@@ -439,10 +446,8 @@ static bool drm_client_target_preferred(struct drm_connector *connectors[],
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 		/* No preferred modes, pick one off the list */
-		if (!modes[i] && !list_empty(&connector->modes)) {
-			list_for_each_entry(modes[i], &connector->modes, head)
-				break;
-		}
+		if (!modes[i])
+			modes[i] = drm_connector_first_mode(connector);
 		/*
 		 * In case of tiled mode if all tiles not present fallback to
 		 * first available non tiled mode.
@@ -684,9 +689,7 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 		if (!modes[i] && !list_empty(&connector->modes)) {
 			DRM_DEBUG_KMS("using first mode listed on connector %s\n",
 				      connector->name);
-			modes[i] = list_first_entry(&connector->modes,
-						    struct drm_display_mode,
-						    head);
+			modes[i] = drm_connector_first_mode(connector);
 		}
 
 		/* last resort: use current mode */
Signature · 1 line
Jani Nikula, Intel
#22 lore raw

PATCH 9/12 drm/client: Switch to per-device debugs

In reply to Ville Syrjala

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

Use drm_dev_dbg() & co. so that we know which device we're dealing with.

---
 drivers/gpu/drm/drm_client_modeset.c | 117 ++++++++++++++-------------
 1 file changed, 60 insertions(+), 57 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +60 -57
index 1fba6cd8d761..1751162b7d5c 100644
@@ -239,7 +239,8 @@ static bool drm_connector_enabled(struct drm_connector *connector, bool strict)
 	return enable;
 }
 
-static void drm_client_connectors_enabled(struct drm_connector *connectors[],
+static void drm_client_connectors_enabled(struct drm_device *dev,
+					  struct drm_connector *connectors[],
 					  unsigned int connector_count,
 					  bool enabled[])
 {
@@ -250,8 +251,8 @@ static void drm_client_connectors_enabled(struct drm_connector *connectors[],
 	for (i = 0; i < connector_count; i++) {
 		connector = connectors[i];
 		enabled[i] = drm_connector_enabled(connector, true);
-		DRM_DEBUG_KMS("connector %d enabled? %s\n", connector->base.id,
-			      connector->display_info.non_desktop ? "non desktop" : str_yes_no(enabled[i]));
+		drm_dbg_kms(dev, "connector %d enabled? %s\n", connector->base.id,
+			    connector->display_info.non_desktop ? "non desktop" : str_yes_no(enabled[i]));
 
 		any_enabled |= enabled[i];
 	}
@@ -312,7 +313,7 @@ static bool drm_client_target_cloned(struct drm_device *dev,
 	}
 
 	if (can_clone) {
-		DRM_DEBUG_KMS("can clone using command line\n");
+		drm_dbg_kms(dev, "can clone using command line\n");
 		return true;
 	}
 
@@ -341,15 +342,16 @@ static bool drm_client_target_cloned(struct drm_device *dev,
 	drm_mode_destroy(dev, dmt_mode);
 
 	if (can_clone) {
-		DRM_DEBUG_KMS("can clone using 1024x768\n");
+		drm_dbg_kms(dev, "can clone using 1024x768\n");
 		return true;
 	}
 fail:
-	DRM_INFO("kms: can't enable cloning when we probably wanted to.\n");
+	drm_info(dev, "kms: can't enable cloning when we probably wanted to.\n");
 	return false;
 }
 
-static int drm_client_get_tile_offsets(struct drm_connector *connectors[],
+static int drm_client_get_tile_offsets(struct drm_device *dev,
+				       struct drm_connector *connectors[],
 				       unsigned int connector_count,
 				       const struct drm_display_mode *modes[],
 				       struct drm_client_offset offsets[],
@@ -366,8 +368,8 @@ static int drm_client_get_tile_offsets(struct drm_connector *connectors[],
 			continue;
 
 		if (!modes[i] && (h_idx || v_idx)) {
-			DRM_DEBUG_KMS("no modes for connector tiled %d %d\n", i,
-				      connector->base.id);
+			drm_dbg_kms(dev, "no modes for connector tiled %d %d\n",
+				    i, connector->base.id);
 			continue;
 		}
 		if (connector->tile_h_loc < h_idx)
@@ -378,11 +380,12 @@ static int drm_client_get_tile_offsets(struct drm_connector *connectors[],
 	}
 	offsets[idx].x = hoffset;
 	offsets[idx].y = voffset;
-	DRM_DEBUG_KMS("returned %d %d for %d %d\n", hoffset, voffset, h_idx, v_idx);
+	drm_dbg_kms(dev, "returned %d %d for %d %d\n", hoffset, voffset, h_idx, v_idx);
 	return 0;
 }
 
-static bool drm_client_target_preferred(struct drm_connector *connectors[],
+static bool drm_client_target_preferred(struct drm_device *dev,
+					struct drm_connector *connectors[],
 					unsigned int connector_count,
 					const struct drm_display_mode *modes[],
 					struct drm_client_offset offsets[],
@@ -432,17 +435,17 @@ static bool drm_client_target_preferred(struct drm_connector *connectors[],
 			 * find the tile offsets for this pass - need to find
 			 * all tiles left and above
 			 */
-			drm_client_get_tile_offsets(connectors, connector_count, modes, offsets, i,
+			drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,
 						    connector->tile_h_loc, connector->tile_v_loc);
 		}
-		DRM_DEBUG_KMS("looking for cmdline mode on connector %d\n",
-			      connector->base.id);
+		drm_dbg_kms(dev, "looking for cmdline mode on connector %d\n",
+			    connector->base.id);
 
 		/* got for command line mode first */
 		modes[i] = drm_connector_pick_cmdline_mode(connector);
 		if (!modes[i]) {
-			DRM_DEBUG_KMS("looking for preferred mode on connector %d %d\n",
-				      connector->base.id, connector->tile_group ? connector->tile_group->id : 0);
+			drm_dbg_kms(dev, "looking for preferred mode on connector %d %d\n",
+				    connector->base.id, connector->tile_group ? connector->tile_group->id : 0);
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 		/* No preferred modes, pick one off the list */
@@ -462,16 +465,16 @@ static bool drm_client_target_preferred(struct drm_connector *connectors[],
 			    (connector->tile_h_loc == 0 &&
 			     connector->tile_v_loc == 0 &&
 			     !drm_connector_get_tiled_mode(connector))) {
-				DRM_DEBUG_KMS("Falling back to non tiled mode on Connector %d\n",
-					      connector->base.id);
+				drm_dbg_kms(dev, "Falling back to non tiled mode on Connector %d\n",
+					    connector->base.id);
 				modes[i] = drm_connector_fallback_non_tiled_mode(connector);
 			} else {
 				modes[i] = drm_connector_get_tiled_mode(connector);
 			}
 		}
 
-		DRM_DEBUG_KMS("found mode %s\n", modes[i] ? modes[i]->name :
-			  "none");
+		drm_dbg_kms(dev, "found mode %s\n",
+			    modes[i] ? modes[i]->name : "none");
 		conn_configured |= BIT_ULL(i);
 	}
 
@@ -631,15 +634,15 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			num_connectors_detected++;
 
 		if (!enabled[i]) {
-			DRM_DEBUG_KMS("connector %s not enabled, skipping\n",
-				      connector->name);
+			drm_dbg_kms(dev, "connector %s not enabled, skipping\n",
+				    connector->name);
 			conn_configured |= BIT(i);
 			continue;
 		}
 
 		if (connector->force == DRM_FORCE_OFF) {
-			DRM_DEBUG_KMS("connector %s is disabled by user, skipping\n",
-				      connector->name);
+			drm_dbg_kms(dev, "connector %s is disabled by user, skipping\n",
+				    connector->name);
 			enabled[i] = false;
 			continue;
 		}
@@ -649,8 +652,8 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			if (connector->force > DRM_FORCE_OFF)
 				goto bail;
 
-			DRM_DEBUG_KMS("connector %s has no encoder or crtc, skipping\n",
-				      connector->name);
+			drm_dbg_kms(dev, "connector %s has no encoder or crtc, skipping\n",
+				    connector->name);
 			enabled[i] = false;
 			conn_configured |= BIT(i);
 			continue;
@@ -667,28 +670,28 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 		 */
 		for (j = 0; j < count; j++) {
 			if (crtcs[j] == new_crtc) {
-				DRM_DEBUG_KMS("fallback: cloned configuration\n");
+				drm_dbg_kms(dev, "fallback: cloned configuration\n");
 				goto bail;
 			}
 		}
 
-		DRM_DEBUG_KMS("looking for cmdline mode on connector %s\n",
-			      connector->name);
+		drm_dbg_kms(dev, "looking for cmdline mode on connector %s\n",
+			    connector->name);
 
 		/* go for command line mode first */
 		modes[i] = drm_connector_pick_cmdline_mode(connector);
 
 		/* try for preferred next */
 		if (!modes[i]) {
-			DRM_DEBUG_KMS("looking for preferred mode on connector %s %d\n",
-				      connector->name, connector->has_tile);
+			drm_dbg_kms(dev, "looking for preferred mode on connector %s %d\n",
+				    connector->name, connector->has_tile);
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 
 		/* No preferred mode marked by the EDID? Are there any modes? */
 		if (!modes[i] && !list_empty(&connector->modes)) {
-			DRM_DEBUG_KMS("using first mode listed on connector %s\n",
-				      connector->name);
+			drm_dbg_kms(dev, "using first mode listed on connector %s\n",
+				    connector->name);
 			modes[i] = drm_connector_first_mode(connector);
 		}
 
@@ -699,8 +702,8 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			 * is dodgy. Switch to crtc->state->mode, after taking
 			 * care of the resulting locking/lifetime issues.
 			 */
-			DRM_DEBUG_KMS("looking for current mode on connector %s\n",
-				      connector->name);
+			drm_dbg_kms(dev, "looking for current mode on connector %s\n",
+				    connector->name);
 			modes[i] = &connector->state->crtc->mode;
 		}
 		/*
@@ -709,18 +712,18 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 		 */
 		if (connector->has_tile &&
 		    num_tiled_conns < connector->num_h_tile * connector->num_v_tile) {
-			DRM_DEBUG_KMS("Falling back to non tiled mode on Connector %d\n",
-				      connector->base.id);
+			drm_dbg_kms(dev, "Falling back to non tiled mode on Connector %d\n",
+				    connector->base.id);
 			modes[i] = drm_connector_fallback_non_tiled_mode(connector);
 		}
 		crtcs[i] = new_crtc;
 
-		DRM_DEBUG_KMS("connector %s on [CRTC:%d:%s]: %dx%d%s\n",
-			      connector->name,
-			      connector->state->crtc->base.id,
-			      connector->state->crtc->name,
-			      modes[i]->hdisplay, modes[i]->vdisplay,
-			      modes[i]->flags & DRM_MODE_FLAG_INTERLACE ? "i" : "");
+		drm_dbg_kms(dev, "connector %s on [CRTC:%d:%s]: %dx%d%s\n",
+			    connector->name,
+			    connector->state->crtc->base.id,
+			    connector->state->crtc->name,
+			    modes[i]->hdisplay, modes[i]->vdisplay,
+			    modes[i]->flags & DRM_MODE_FLAG_INTERLACE ? "i" : "");
 
 		fallback = false;
 		conn_configured |= BIT(i);
@@ -736,15 +739,15 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 	 */
 	if (num_connectors_enabled != num_connectors_detected &&
 	    num_connectors_enabled < dev->mode_config.num_crtc) {
-		DRM_DEBUG_KMS("fallback: Not all outputs enabled\n");
-		DRM_DEBUG_KMS("Enabled: %i, detected: %i\n", num_connectors_enabled,
-			      num_connectors_detected);
+		drm_dbg_kms(dev, "fallback: Not all outputs enabled\n");
+		drm_dbg_kms(dev, "Enabled: %i, detected: %i\n",
+			    num_connectors_enabled, num_connectors_detected);
 		fallback = true;
 	}
 
 	if (fallback) {
 bail:
-		DRM_DEBUG_KMS("Not using firmware configuration\n");
+		drm_dbg_kms(dev, "Not using firmware configuration\n");
 		memcpy(enabled, save_enabled, count);
 		ret = false;
 	}
@@ -782,7 +785,7 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 	int i, ret = 0;
 	bool *enabled;
 
-	DRM_DEBUG_KMS("\n");
+	drm_dbg_kms(dev, "\n");
 
 	if (!width)
 		width = dev->mode_config.max_width;
@@ -813,7 +816,7 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 	offsets = kcalloc(connector_count, sizeof(*offsets), GFP_KERNEL);
 	enabled = kcalloc(connector_count, sizeof(bool), GFP_KERNEL);
 	if (!crtcs || !modes || !enabled || !offsets) {
-		DRM_ERROR("Memory allocation failed\n");
+		drm_err(dev, "Memory allocation failed\n");
 		ret = -ENOMEM;
 		goto out;
 	}
@@ -824,8 +827,8 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 	for (i = 0; i < connector_count; i++)
 		total_modes_count += connectors[i]->funcs->fill_modes(connectors[i], width, height);
 	if (!total_modes_count)
-		DRM_DEBUG_KMS("No connectors reported connected with modes\n");
-	drm_client_connectors_enabled(connectors, connector_count, enabled);
+		drm_dbg_kms(dev, "No connectors reported connected with modes\n");
+	drm_client_connectors_enabled(dev, connectors, connector_count, enabled);
 
 	if (!drm_client_firmware_config(client, connectors, connector_count, crtcs,
 					modes, offsets, enabled, width, height)) {
@@ -835,12 +838,12 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 
 		if (!drm_client_target_cloned(dev, connectors, connector_count, modes,
 					      offsets, enabled, width, height) &&
-		    !drm_client_target_preferred(connectors, connector_count, modes,
+		    !drm_client_target_preferred(dev, connectors, connector_count, modes,
 						 offsets, enabled, width, height))
-			DRM_ERROR("Unable to find initial modes\n");
+			drm_err(dev, "Unable to find initial modes\n");
 
-		DRM_DEBUG_KMS("picking CRTCs for %dx%d config\n",
-			      width, height);
+		drm_dbg_kms(dev, "picking CRTCs for %dx%d config\n",
+			    width, height);
 
 		drm_client_pick_crtcs(client, connectors, connector_count,
 				      crtcs, modes, 0, width, height);
@@ -857,8 +860,8 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 			struct drm_mode_set *modeset = drm_client_find_modeset(client, crtc);
 			struct drm_connector *connector = connectors[i];
 
-			DRM_DEBUG_KMS("desired mode %s set on crtc %d (%d,%d)\n",
-				      mode->name, crtc->base.id, offset->x, offset->y);
+			drm_dbg_kms(dev, "desired mode %s set on crtc %d (%d,%d)\n",
+				    mode->name, crtc->base.id, offset->x, offset->y);
 
 			if (WARN_ON_ONCE(modeset->num_connectors == DRM_CLIENT_MAX_CLONED_CONNECTORS ||
 					 (dev->mode_config.num_crtc > 1 && modeset->num_connectors == 1))) {
Signature · 1 line
2.43.2
#23 lore raw

PATCH 10/12 drm/client: Use [CONNECTOR:%d:%s] formatting

In reply to Ville Syrjala

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

Switch to the canonical [CONNECTOR:%d:%s] etc. format for printing out kms objects.

---
 drivers/gpu/drm/drm_client_modeset.c | 65 +++++++++++++++-------------
 1 file changed, 35 insertions(+), 30 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +35 -30
index 1751162b7d5c..415d1799337b 100644
@@ -251,8 +251,10 @@ static void drm_client_connectors_enabled(struct drm_device *dev,
 	for (i = 0; i < connector_count; i++) {
 		connector = connectors[i];
 		enabled[i] = drm_connector_enabled(connector, true);
-		drm_dbg_kms(dev, "connector %d enabled? %s\n", connector->base.id,
-			    connector->display_info.non_desktop ? "non desktop" : str_yes_no(enabled[i]));
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] enabled? %s\n",
+			    connector->base.id, connector->name,
+			    connector->display_info.non_desktop ?
+			    "non desktop" : str_yes_no(enabled[i]));
 
 		any_enabled |= enabled[i];
 	}
@@ -368,8 +370,8 @@ static int drm_client_get_tile_offsets(struct drm_device *dev,
 			continue;
 
 		if (!modes[i] && (h_idx || v_idx)) {
-			drm_dbg_kms(dev, "no modes for connector tiled %d %d\n",
-				    i, connector->base.id);
+			drm_dbg_kms(dev, "no modes for tiled [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			continue;
 		}
 		if (connector->tile_h_loc < h_idx)
@@ -438,14 +440,15 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 			drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,
 						    connector->tile_h_loc, connector->tile_v_loc);
 		}
-		drm_dbg_kms(dev, "looking for cmdline mode on connector %d\n",
-			    connector->base.id);
+		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
+			    connector->base.id, connector->name);
 
 		/* got for command line mode first */
 		modes[i] = drm_connector_pick_cmdline_mode(connector);
 		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on connector %d %d\n",
-				    connector->base.id, connector->tile_group ? connector->tile_group->id : 0);
+			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tile group: %d)\n",
+				    connector->base.id, connector->name,
+				    connector->tile_group ? connector->tile_group->id : 0);
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 		/* No preferred modes, pick one off the list */
@@ -465,8 +468,8 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 			    (connector->tile_h_loc == 0 &&
 			     connector->tile_v_loc == 0 &&
 			     !drm_connector_get_tiled_mode(connector))) {
-				drm_dbg_kms(dev, "Falling back to non tiled mode on Connector %d\n",
-					    connector->base.id);
+				drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
+					    connector->base.id, connector->name);
 				modes[i] = drm_connector_fallback_non_tiled_mode(connector);
 			} else {
 				modes[i] = drm_connector_get_tiled_mode(connector);
@@ -634,15 +637,15 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			num_connectors_detected++;
 
 		if (!enabled[i]) {
-			drm_dbg_kms(dev, "connector %s not enabled, skipping\n",
-				    connector->name);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] not enabled, skipping\n",
+				    connector->base.id, connector->name);
 			conn_configured |= BIT(i);
 			continue;
 		}
 
 		if (connector->force == DRM_FORCE_OFF) {
-			drm_dbg_kms(dev, "connector %s is disabled by user, skipping\n",
-				    connector->name);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] is disabled by user, skipping\n",
+				    connector->base.id, connector->name);
 			enabled[i] = false;
 			continue;
 		}
@@ -652,8 +655,8 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			if (connector->force > DRM_FORCE_OFF)
 				goto bail;
 
-			drm_dbg_kms(dev, "connector %s has no encoder or crtc, skipping\n",
-				    connector->name);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] has no encoder or crtc, skipping\n",
+				    connector->base.id, connector->name);
 			enabled[i] = false;
 			conn_configured |= BIT(i);
 			continue;
@@ -675,23 +678,24 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			}
 		}
 
-		drm_dbg_kms(dev, "looking for cmdline mode on connector %s\n",
-			    connector->name);
+		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
+			    connector->base.id, connector->name);
 
 		/* go for command line mode first */
 		modes[i] = drm_connector_pick_cmdline_mode(connector);
 
 		/* try for preferred next */
 		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on connector %s %d\n",
-				    connector->name, connector->has_tile);
+			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tiled? %s)\n",
+				    connector->base.id, connector->name,
+				    str_yes_no(connector->has_tile));
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 
 		/* No preferred mode marked by the EDID? Are there any modes? */
 		if (!modes[i] && !list_empty(&connector->modes)) {
-			drm_dbg_kms(dev, "using first mode listed on connector %s\n",
-				    connector->name);
+			drm_dbg_kms(dev, "using first mode listed on [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			modes[i] = drm_connector_first_mode(connector);
 		}
 
@@ -702,8 +706,8 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			 * is dodgy. Switch to crtc->state->mode, after taking
 			 * care of the resulting locking/lifetime issues.
 			 */
-			drm_dbg_kms(dev, "looking for current mode on connector %s\n",
-				    connector->name);
+			drm_dbg_kms(dev, "looking for current mode on [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			modes[i] = &connector->state->crtc->mode;
 		}
 		/*
@@ -712,14 +716,14 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 		 */
 		if (connector->has_tile &&
 		    num_tiled_conns < connector->num_h_tile * connector->num_v_tile) {
-			drm_dbg_kms(dev, "Falling back to non tiled mode on Connector %d\n",
-				    connector->base.id);
+			drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			modes[i] = drm_connector_fallback_non_tiled_mode(connector);
 		}
 		crtcs[i] = new_crtc;
 
-		drm_dbg_kms(dev, "connector %s on [CRTC:%d:%s]: %dx%d%s\n",
-			    connector->name,
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] on [CRTC:%d:%s]: %dx%d%s\n",
+			    connector->base.id, connector->name,
 			    connector->state->crtc->base.id,
 			    connector->state->crtc->name,
 			    modes[i]->hdisplay, modes[i]->vdisplay,
@@ -860,8 +864,9 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 			struct drm_mode_set *modeset = drm_client_find_modeset(client, crtc);
 			struct drm_connector *connector = connectors[i];
 
-			drm_dbg_kms(dev, "desired mode %s set on crtc %d (%d,%d)\n",
-				    mode->name, crtc->base.id, offset->x, offset->y);
+			drm_dbg_kms(dev, "desired mode %s set on [CRTC:%d:%s] (%d,%d)\n",
+				    mode->name, crtc->base.id, crtc->name,
+				    offset->x, offset->y);
 
 			if (WARN_ON_ONCE(modeset->num_connectors == DRM_CLIENT_MAX_CLONED_CONNECTORS ||
 					 (dev->mode_config.num_crtc > 1 && modeset->num_connectors == 1))) {
Signature · 1 line
2.43.2
#24 lore raw

Re: [PATCH 10/12] drm/client: Use [CONNECTOR:%d:%s] formatting

Quoted 4 lines · Ville Syrjala

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

Switch to the canonical [CONNECTOR:%d:%s] etc. format for printing out kms objects.

I've been pinging for reviews on [1] for a while now. :/

I'm just doing what you do in patches 9-10 in one go, and I very much prefer having the [CONNECTOR:%d:%s] bit as the first thing in the debug. For an individual line your style might read better, but for reading a log with a bunch of consecutive lines, I think having it as a prefix reads better.

BR,
Jani.

[1] https://lore.kernel.org/r/f580f7a20bdea45178cef3940b636d491ae3dd92.1709843865.git.jani.nikula@intel.com

Quoted 169 lines
---
 drivers/gpu/drm/drm_client_modeset.c | 65 +++++++++++++++-------------
 1 file changed, 35 insertions(+), 30 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +35 -30
index 1751162b7d5c..415d1799337b 100644
@@ -251,8 +251,10 @@ static void drm_client_connectors_enabled(struct drm_device *dev,
 	for (i = 0; i < connector_count; i++) {
 		connector = connectors[i];
 		enabled[i] = drm_connector_enabled(connector, true);
-		drm_dbg_kms(dev, "connector %d enabled? %s\n", connector->base.id,
-			    connector->display_info.non_desktop ? "non desktop" : str_yes_no(enabled[i]));
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] enabled? %s\n",
+			    connector->base.id, connector->name,
+			    connector->display_info.non_desktop ?
+			    "non desktop" : str_yes_no(enabled[i]));
 
 		any_enabled |= enabled[i];
 	}
@@ -368,8 +370,8 @@ static int drm_client_get_tile_offsets(struct drm_device *dev,
 			continue;
 
 		if (!modes[i] && (h_idx || v_idx)) {
-			drm_dbg_kms(dev, "no modes for connector tiled %d %d\n",
-				    i, connector->base.id);
+			drm_dbg_kms(dev, "no modes for tiled [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			continue;
 		}
 		if (connector->tile_h_loc < h_idx)
@@ -438,14 +440,15 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 			drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,
 						    connector->tile_h_loc, connector->tile_v_loc);
 		}
-		drm_dbg_kms(dev, "looking for cmdline mode on connector %d\n",
-			    connector->base.id);
+		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
+			    connector->base.id, connector->name);
 
 		/* got for command line mode first */
 		modes[i] = drm_connector_pick_cmdline_mode(connector);
 		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on connector %d %d\n",
-				    connector->base.id, connector->tile_group ? connector->tile_group->id : 0);
+			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tile group: %d)\n",
+				    connector->base.id, connector->name,
+				    connector->tile_group ? connector->tile_group->id : 0);
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 		/* No preferred modes, pick one off the list */
@@ -465,8 +468,8 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 			    (connector->tile_h_loc == 0 &&
 			     connector->tile_v_loc == 0 &&
 			     !drm_connector_get_tiled_mode(connector))) {
-				drm_dbg_kms(dev, "Falling back to non tiled mode on Connector %d\n",
-					    connector->base.id);
+				drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
+					    connector->base.id, connector->name);
 				modes[i] = drm_connector_fallback_non_tiled_mode(connector);
 			} else {
 				modes[i] = drm_connector_get_tiled_mode(connector);
@@ -634,15 +637,15 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			num_connectors_detected++;
 
 		if (!enabled[i]) {
-			drm_dbg_kms(dev, "connector %s not enabled, skipping\n",
-				    connector->name);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] not enabled, skipping\n",
+				    connector->base.id, connector->name);
 			conn_configured |= BIT(i);
 			continue;
 		}
 
 		if (connector->force == DRM_FORCE_OFF) {
-			drm_dbg_kms(dev, "connector %s is disabled by user, skipping\n",
-				    connector->name);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] is disabled by user, skipping\n",
+				    connector->base.id, connector->name);
 			enabled[i] = false;
 			continue;
 		}
@@ -652,8 +655,8 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			if (connector->force > DRM_FORCE_OFF)
 				goto bail;
 
-			drm_dbg_kms(dev, "connector %s has no encoder or crtc, skipping\n",
-				    connector->name);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] has no encoder or crtc, skipping\n",
+				    connector->base.id, connector->name);
 			enabled[i] = false;
 			conn_configured |= BIT(i);
 			continue;
@@ -675,23 +678,24 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			}
 		}
 
-		drm_dbg_kms(dev, "looking for cmdline mode on connector %s\n",
-			    connector->name);
+		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
+			    connector->base.id, connector->name);
 
 		/* go for command line mode first */
 		modes[i] = drm_connector_pick_cmdline_mode(connector);
 
 		/* try for preferred next */
 		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on connector %s %d\n",
-				    connector->name, connector->has_tile);
+			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tiled? %s)\n",
+				    connector->base.id, connector->name,
+				    str_yes_no(connector->has_tile));
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 
 		/* No preferred mode marked by the EDID? Are there any modes? */
 		if (!modes[i] && !list_empty(&connector->modes)) {
-			drm_dbg_kms(dev, "using first mode listed on connector %s\n",
-				    connector->name);
+			drm_dbg_kms(dev, "using first mode listed on [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			modes[i] = drm_connector_first_mode(connector);
 		}
 
@@ -702,8 +706,8 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			 * is dodgy. Switch to crtc->state->mode, after taking
 			 * care of the resulting locking/lifetime issues.
 			 */
-			drm_dbg_kms(dev, "looking for current mode on connector %s\n",
-				    connector->name);
+			drm_dbg_kms(dev, "looking for current mode on [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			modes[i] = &connector->state->crtc->mode;
 		}
 		/*
@@ -712,14 +716,14 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 		 */
 		if (connector->has_tile &&
 		    num_tiled_conns < connector->num_h_tile * connector->num_v_tile) {
-			drm_dbg_kms(dev, "Falling back to non tiled mode on Connector %d\n",
-				    connector->base.id);
+			drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			modes[i] = drm_connector_fallback_non_tiled_mode(connector);
 		}
 		crtcs[i] = new_crtc;
 
-		drm_dbg_kms(dev, "connector %s on [CRTC:%d:%s]: %dx%d%s\n",
-			    connector->name,
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] on [CRTC:%d:%s]: %dx%d%s\n",
+			    connector->base.id, connector->name,
 			    connector->state->crtc->base.id,
 			    connector->state->crtc->name,
 			    modes[i]->hdisplay, modes[i]->vdisplay,
@@ -860,8 +864,9 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 			struct drm_mode_set *modeset = drm_client_find_modeset(client, crtc);
 			struct drm_connector *connector = connectors[i];
 
-			drm_dbg_kms(dev, "desired mode %s set on crtc %d (%d,%d)\n",
-				    mode->name, crtc->base.id, offset->x, offset->y);
+			drm_dbg_kms(dev, "desired mode %s set on [CRTC:%d:%s] (%d,%d)\n",
+				    mode->name, crtc->base.id, crtc->name,
+				    offset->x, offset->y);
 
 			if (WARN_ON_ONCE(modeset->num_connectors == DRM_CLIENT_MAX_CLONED_CONNECTORS ||
 					 (dev->mode_config.num_crtc > 1 && modeset->num_connectors == 1))) {
Signature · 1 line
Jani Nikula, Intel
#25 lore raw

Re: [PATCH 10/12] drm/client: Use [CONNECTOR:%d:%s] formatting

Quoted 14 lines · Jani Nikula
Quoted 4 lines · Ville Syrjala

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

Switch to the canonical [CONNECTOR:%d:%s] etc. format for printing out kms objects.

I've been pinging for reviews on [1] for a while now. :/

I'm just doing what you do in patches 9-10 in one go, and I very much prefer having the [CONNECTOR:%d:%s] bit as the first thing in the debug. For an individual line your style might read better, but for reading a log with a bunch of consecutive lines, I think having it as a prefix reads better.

Quoted 6 lines

BR,
Jani.

[1] https://lore.kernel.org/r/f580f7a20bdea45178cef3940b636d491ae3dd92.1709843865.git.jani.nikula@intel.com

Looks like you have rbs now. I can rebase this
(and see what's left) after your stuff lands.

Quoted 173 lines
Quoted 170 lines
---
 drivers/gpu/drm/drm_client_modeset.c | 65 +++++++++++++++-------------
 1 file changed, 35 insertions(+), 30 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +35 -30
index 1751162b7d5c..415d1799337b 100644
@@ -251,8 +251,10 @@ static void drm_client_connectors_enabled(struct drm_device *dev,
 	for (i = 0; i < connector_count; i++) {
 		connector = connectors[i];
 		enabled[i] = drm_connector_enabled(connector, true);
-		drm_dbg_kms(dev, "connector %d enabled? %s\n", connector->base.id,
-			    connector->display_info.non_desktop ? "non desktop" : str_yes_no(enabled[i]));
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] enabled? %s\n",
+			    connector->base.id, connector->name,
+			    connector->display_info.non_desktop ?
+			    "non desktop" : str_yes_no(enabled[i]));
 
 		any_enabled |= enabled[i];
 	}
@@ -368,8 +370,8 @@ static int drm_client_get_tile_offsets(struct drm_device *dev,
 			continue;
 
 		if (!modes[i] && (h_idx || v_idx)) {
-			drm_dbg_kms(dev, "no modes for connector tiled %d %d\n",
-				    i, connector->base.id);
+			drm_dbg_kms(dev, "no modes for tiled [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			continue;
 		}
 		if (connector->tile_h_loc < h_idx)
@@ -438,14 +440,15 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 			drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,
 						    connector->tile_h_loc, connector->tile_v_loc);
 		}
-		drm_dbg_kms(dev, "looking for cmdline mode on connector %d\n",
-			    connector->base.id);
+		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
+			    connector->base.id, connector->name);
 
 		/* got for command line mode first */
 		modes[i] = drm_connector_pick_cmdline_mode(connector);
 		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on connector %d %d\n",
-				    connector->base.id, connector->tile_group ? connector->tile_group->id : 0);
+			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tile group: %d)\n",
+				    connector->base.id, connector->name,
+				    connector->tile_group ? connector->tile_group->id : 0);
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 		/* No preferred modes, pick one off the list */
@@ -465,8 +468,8 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 			    (connector->tile_h_loc == 0 &&
 			     connector->tile_v_loc == 0 &&
 			     !drm_connector_get_tiled_mode(connector))) {
-				drm_dbg_kms(dev, "Falling back to non tiled mode on Connector %d\n",
-					    connector->base.id);
+				drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
+					    connector->base.id, connector->name);
 				modes[i] = drm_connector_fallback_non_tiled_mode(connector);
 			} else {
 				modes[i] = drm_connector_get_tiled_mode(connector);
@@ -634,15 +637,15 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			num_connectors_detected++;
 
 		if (!enabled[i]) {
-			drm_dbg_kms(dev, "connector %s not enabled, skipping\n",
-				    connector->name);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] not enabled, skipping\n",
+				    connector->base.id, connector->name);
 			conn_configured |= BIT(i);
 			continue;
 		}
 
 		if (connector->force == DRM_FORCE_OFF) {
-			drm_dbg_kms(dev, "connector %s is disabled by user, skipping\n",
-				    connector->name);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] is disabled by user, skipping\n",
+				    connector->base.id, connector->name);
 			enabled[i] = false;
 			continue;
 		}
@@ -652,8 +655,8 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			if (connector->force > DRM_FORCE_OFF)
 				goto bail;
 
-			drm_dbg_kms(dev, "connector %s has no encoder or crtc, skipping\n",
-				    connector->name);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] has no encoder or crtc, skipping\n",
+				    connector->base.id, connector->name);
 			enabled[i] = false;
 			conn_configured |= BIT(i);
 			continue;
@@ -675,23 +678,24 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			}
 		}
 
-		drm_dbg_kms(dev, "looking for cmdline mode on connector %s\n",
-			    connector->name);
+		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
+			    connector->base.id, connector->name);
 
 		/* go for command line mode first */
 		modes[i] = drm_connector_pick_cmdline_mode(connector);
 
 		/* try for preferred next */
 		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on connector %s %d\n",
-				    connector->name, connector->has_tile);
+			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tiled? %s)\n",
+				    connector->base.id, connector->name,
+				    str_yes_no(connector->has_tile));
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 
 		/* No preferred mode marked by the EDID? Are there any modes? */
 		if (!modes[i] && !list_empty(&connector->modes)) {
-			drm_dbg_kms(dev, "using first mode listed on connector %s\n",
-				    connector->name);
+			drm_dbg_kms(dev, "using first mode listed on [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			modes[i] = drm_connector_first_mode(connector);
 		}
 
@@ -702,8 +706,8 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			 * is dodgy. Switch to crtc->state->mode, after taking
 			 * care of the resulting locking/lifetime issues.
 			 */
-			drm_dbg_kms(dev, "looking for current mode on connector %s\n",
-				    connector->name);
+			drm_dbg_kms(dev, "looking for current mode on [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			modes[i] = &connector->state->crtc->mode;
 		}
 		/*
@@ -712,14 +716,14 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 		 */
 		if (connector->has_tile &&
 		    num_tiled_conns < connector->num_h_tile * connector->num_v_tile) {
-			drm_dbg_kms(dev, "Falling back to non tiled mode on Connector %d\n",
-				    connector->base.id);
+			drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
+				    connector->base.id, connector->name);
 			modes[i] = drm_connector_fallback_non_tiled_mode(connector);
 		}
 		crtcs[i] = new_crtc;
 
-		drm_dbg_kms(dev, "connector %s on [CRTC:%d:%s]: %dx%d%s\n",
-			    connector->name,
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] on [CRTC:%d:%s]: %dx%d%s\n",
+			    connector->base.id, connector->name,
 			    connector->state->crtc->base.id,
 			    connector->state->crtc->name,
 			    modes[i]->hdisplay, modes[i]->vdisplay,
@@ -860,8 +864,9 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width,
 			struct drm_mode_set *modeset = drm_client_find_modeset(client, crtc);
 			struct drm_connector *connector = connectors[i];
 
-			drm_dbg_kms(dev, "desired mode %s set on crtc %d (%d,%d)\n",
-				    mode->name, crtc->base.id, offset->x, offset->y);
+			drm_dbg_kms(dev, "desired mode %s set on [CRTC:%d:%s] (%d,%d)\n",
+				    mode->name, crtc->base.id, crtc->name,
+				    offset->x, offset->y);
 
 			if (WARN_ON_ONCE(modeset->num_connectors == DRM_CLIENT_MAX_CLONED_CONNECTORS ||
 					 (dev->mode_config.num_crtc > 1 && modeset->num_connectors == 1))) {
Signature · 1 line
Jani Nikula, Intel
Signature · 2 lines
Ville Syrjälä
Intel
#26 lore raw

PATCH 11/12 drm/client: Streamline mode selection debugs

In reply to Ville Syrjala

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

Get rid of all the redundant debugs and just wait until the end to print which mode (and of which type) we picked.

---
 drivers/gpu/drm/drm_client_modeset.c | 65 +++++++++++++---------------
 1 file changed, 31 insertions(+), 34 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +31 -34
index 415d1799337b..ad88c11037d8 100644
@@ -408,6 +408,8 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 
 retry:
 	for (i = 0; i < connector_count; i++) {
+		const char *mode_type;
+
 		connector = connectors[i];
 
 		if (conn_configured & BIT_ULL(i))
@@ -440,20 +442,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 			drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,
 						    connector->tile_h_loc, connector->tile_v_loc);
 		}
-		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
-			    connector->base.id, connector->name);
 
-		/* got for command line mode first */
+		mode_type = "cmdline";
 		modes[i] = drm_connector_pick_cmdline_mode(connector);
+
 		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tile group: %d)\n",
-				    connector->base.id, connector->name,
-				    connector->tile_group ? connector->tile_group->id : 0);
+			mode_type = "preferred";
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
-		/* No preferred modes, pick one off the list */
-		if (!modes[i])
+
+		if (!modes[i]) {
+			mode_type = "first";
 			modes[i] = drm_connector_first_mode(connector);
+		}
+
 		/*
 		 * In case of tiled mode if all tiles not present fallback to
 		 * first available non tiled mode.
@@ -468,16 +470,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 			    (connector->tile_h_loc == 0 &&
 			     connector->tile_v_loc == 0 &&
 			     !drm_connector_get_tiled_mode(connector))) {
-				drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
-					    connector->base.id, connector->name);
+				mode_type = "non tiled";
 				modes[i] = drm_connector_fallback_non_tiled_mode(connector);
 			} else {
+				mode_type = "tiled";
 				modes[i] = drm_connector_get_tiled_mode(connector);
 			}
 		}
 
-		drm_dbg_kms(dev, "found mode %s\n",
-			    modes[i] ? modes[i]->name : "none");
+		if (!modes[i])
+			mode_type = "no";
+
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found %s mode: %s\n",
+			    connector->base.id, connector->name,
+			    mode_type, modes[i] ? modes[i]->name : "none");
 		conn_configured |= BIT_ULL(i);
 	}
 
@@ -624,6 +630,7 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 		struct drm_connector *connector;
 		struct drm_encoder *encoder;
 		struct drm_crtc *new_crtc;
+		const char *mode_type;
 
 		connector = connectors[i];
 
@@ -673,29 +680,22 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 		 */
 		for (j = 0; j < count; j++) {
 			if (crtcs[j] == new_crtc) {
-				drm_dbg_kms(dev, "fallback: cloned configuration\n");
+				drm_dbg_kms(dev, "[CONNECTOR:%d:%s] fallback: cloned configuration\n",
+					    connector->base.id, connector->name);
 				goto bail;
 			}
 		}
 
-		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
-			    connector->base.id, connector->name);
-
-		/* go for command line mode first */
+		mode_type = "cmdline";
 		modes[i] = drm_connector_pick_cmdline_mode(connector);
 
-		/* try for preferred next */
 		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tiled? %s)\n",
-				    connector->base.id, connector->name,
-				    str_yes_no(connector->has_tile));
+			mode_type = "preferred";
 			modes[i] = drm_connector_preferred_mode(connector, width, height);
 		}
 
-		/* No preferred mode marked by the EDID? Are there any modes? */
-		if (!modes[i] && !list_empty(&connector->modes)) {
-			drm_dbg_kms(dev, "using first mode listed on [CONNECTOR:%d:%s]\n",
-				    connector->base.id, connector->name);
+		if (!modes[i]) {
+			mode_type = "first";
 			modes[i] = drm_connector_first_mode(connector);
 		}
 
@@ -706,28 +706,25 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
 			 * is dodgy. Switch to crtc->state->mode, after taking
 			 * care of the resulting locking/lifetime issues.
 			 */
-			drm_dbg_kms(dev, "looking for current mode on [CONNECTOR:%d:%s]\n",
-				    connector->base.id, connector->name);
+			mode_type = "current";
 			modes[i] = &connector->state->crtc->mode;
 		}
+
 		/*
 		 * In case of tiled modes, if all tiles are not present
 		 * then fallback to a non tiled mode.
 		 */
 		if (connector->has_tile &&
 		    num_tiled_conns < connector->num_h_tile * connector->num_v_tile) {
-			drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
-				    connector->base.id, connector->name);
+			mode_type = "non tiled";
 			modes[i] = drm_connector_fallback_non_tiled_mode(connector);
 		}
 		crtcs[i] = new_crtc;
 
-		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] on [CRTC:%d:%s]: %dx%d%s\n",
+		drm_dbg_kms(dev, "[CONNECTOR::%d:%s] on [CRTC:%d:%s] using %s mode: %s\n",
 			    connector->base.id, connector->name,
-			    connector->state->crtc->base.id,
-			    connector->state->crtc->name,
-			    modes[i]->hdisplay, modes[i]->vdisplay,
-			    modes[i]->flags & DRM_MODE_FLAG_INTERLACE ? "i" : "");
+			    new_crtc->base.id, new_crtc->name,
+			    mode_type, modes[i]->name);
 
 		fallback = false;
 		conn_configured |= BIT(i);
Signature · 1 line
2.43.2
#27 lore raw

Re: [PATCH 11/12] drm/client: Streamline mode selection debugs

Hi

this patch should probably go before [09/12].

Best regards
Thomas

Am 04.04.24 um 22:33 schrieb Ville Syrjala:

Quoted 156 lines

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

Get rid of all the redundant debugs and just wait until the end to print which mode (and of which type) we picked.

---
  drivers/gpu/drm/drm_client_modeset.c | 65 +++++++++++++---------------
  1 file changed, 31 insertions(+), 34 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +31 -34
index 415d1799337b..ad88c11037d8 100644
@@ -408,6 +408,8 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 
  retry:
  	for (i = 0; i < connector_count; i++) {
+		const char *mode_type;
+
  		connector = connectors[i];
 
  		if (conn_configured & BIT_ULL(i))
@@ -440,20 +442,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
  			drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,
  						    connector->tile_h_loc, connector->tile_v_loc);
  		}
-		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
-			    connector->base.id, connector->name);
 
-		/* got for command line mode first */
+		mode_type = "cmdline";
  		modes[i] = drm_connector_pick_cmdline_mode(connector);
+
  		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tile group: %d)\n",
-				    connector->base.id, connector->name,
-				    connector->tile_group ? connector->tile_group->id : 0);
+			mode_type = "preferred";
  			modes[i] = drm_connector_preferred_mode(connector, width, height);
  		}
-		/* No preferred modes, pick one off the list */
-		if (!modes[i])
+
+		if (!modes[i]) {
+			mode_type = "first";
  			modes[i] = drm_connector_first_mode(connector);
+		}
+
  		/*
  		 * In case of tiled mode if all tiles not present fallback to
  		 * first available non tiled mode.
@@ -468,16 +470,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
  			    (connector->tile_h_loc == 0 &&
  			     connector->tile_v_loc == 0 &&
  			     !drm_connector_get_tiled_mode(connector))) {
-				drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
-					    connector->base.id, connector->name);
+				mode_type = "non tiled";
  				modes[i] = drm_connector_fallback_non_tiled_mode(connector);
  			} else {
+				mode_type = "tiled";
  				modes[i] = drm_connector_get_tiled_mode(connector);
  			}
  		}
 
-		drm_dbg_kms(dev, "found mode %s\n",
-			    modes[i] ? modes[i]->name : "none");
+		if (!modes[i])
+			mode_type = "no";
+
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found %s mode: %s\n",
+			    connector->base.id, connector->name,
+			    mode_type, modes[i] ? modes[i]->name : "none");
  		conn_configured |= BIT_ULL(i);
  	}
 
@@ -624,6 +630,7 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
  		struct drm_connector *connector;
  		struct drm_encoder *encoder;
  		struct drm_crtc *new_crtc;
+		const char *mode_type;
 
  		connector = connectors[i];
 
@@ -673,29 +680,22 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
  		 */
  		for (j = 0; j < count; j++) {
  			if (crtcs[j] == new_crtc) {
-				drm_dbg_kms(dev, "fallback: cloned configuration\n");
+				drm_dbg_kms(dev, "[CONNECTOR:%d:%s] fallback: cloned configuration\n",
+					    connector->base.id, connector->name);
  				goto bail;
  			}
  		}
 
-		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
-			    connector->base.id, connector->name);
-
-		/* go for command line mode first */
+		mode_type = "cmdline";
  		modes[i] = drm_connector_pick_cmdline_mode(connector);
 
-		/* try for preferred next */
  		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tiled? %s)\n",
-				    connector->base.id, connector->name,
-				    str_yes_no(connector->has_tile));
+			mode_type = "preferred";
  			modes[i] = drm_connector_preferred_mode(connector, width, height);
  		}
 
-		/* No preferred mode marked by the EDID? Are there any modes? */
-		if (!modes[i] && !list_empty(&connector->modes)) {
-			drm_dbg_kms(dev, "using first mode listed on [CONNECTOR:%d:%s]\n",
-				    connector->base.id, connector->name);
+		if (!modes[i]) {
+			mode_type = "first";
  			modes[i] = drm_connector_first_mode(connector);
  		}
 
@@ -706,28 +706,25 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
  			 * is dodgy. Switch to crtc->state->mode, after taking
  			 * care of the resulting locking/lifetime issues.
  			 */
-			drm_dbg_kms(dev, "looking for current mode on [CONNECTOR:%d:%s]\n",
-				    connector->base.id, connector->name);
+			mode_type = "current";
  			modes[i] = &connector->state->crtc->mode;
  		}
+
  		/*
  		 * In case of tiled modes, if all tiles are not present
  		 * then fallback to a non tiled mode.
  		 */
  		if (connector->has_tile &&
  		    num_tiled_conns < connector->num_h_tile * connector->num_v_tile) {
-			drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
-				    connector->base.id, connector->name);
+			mode_type = "non tiled";
  			modes[i] = drm_connector_fallback_non_tiled_mode(connector);
  		}
  		crtcs[i] = new_crtc;
 
-		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] on [CRTC:%d:%s]: %dx%d%s\n",
+		drm_dbg_kms(dev, "[CONNECTOR::%d:%s] on [CRTC:%d:%s] using %s mode: %s\n",
  			    connector->base.id, connector->name,
-			    connector->state->crtc->base.id,
-			    connector->state->crtc->name,
-			    modes[i]->hdisplay, modes[i]->vdisplay,
-			    modes[i]->flags & DRM_MODE_FLAG_INTERLACE ? "i" : "");
+			    new_crtc->base.id, new_crtc->name,
+			    mode_type, modes[i]->name);
 
  		fallback = false;
  		conn_configured |= BIT(i);
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
#28 lore raw

Re: [PATCH 11/12] drm/client: Streamline mode selection debugs

In reply to Ville Syrjala

Hi

Am 04.04.24 um 22:33 schrieb Ville Syrjala:

Quoted 64 lines

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

Get rid of all the redundant debugs and just wait until the end to print which mode (and of which type) we picked.

---
  drivers/gpu/drm/drm_client_modeset.c | 65 +++++++++++++---------------
  1 file changed, 31 insertions(+), 34 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +12 -10
index 415d1799337b..ad88c11037d8 100644
@@ -408,6 +408,8 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 
  retry:
  	for (i = 0; i < connector_count; i++) {
+		const char *mode_type;
+
  		connector = connectors[i];
 
  		if (conn_configured & BIT_ULL(i))
@@ -440,20 +442,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
  			drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,
  						    connector->tile_h_loc, connector->tile_v_loc);
  		}
-		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
-			    connector->base.id, connector->name);
 
-		/* got for command line mode first */
+		mode_type = "cmdline";
  		modes[i] = drm_connector_pick_cmdline_mode(connector);
+
  		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tile group: %d)\n",
-				    connector->base.id, connector->name,
-				    connector->tile_group ? connector->tile_group->id : 0);
+			mode_type = "preferred";
  			modes[i] = drm_connector_preferred_mode(connector, width, height);
  		}
-		/* No preferred modes, pick one off the list */
-		if (!modes[i])
+
+		if (!modes[i]) {
+			mode_type = "first";
  			modes[i] = drm_connector_first_mode(connector);
+		}
+
  		/*
  		 * In case of tiled mode if all tiles not present fallback to
  		 * first available non tiled mode.
@@ -468,16 +470,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
  			    (connector->tile_h_loc == 0 &&
  			     connector->tile_v_loc == 0 &&
  			     !drm_connector_get_tiled_mode(connector))) {
-				drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
-					    connector->base.id, connector->name);
+				mode_type = "non tiled";
  				modes[i] = drm_connector_fallback_non_tiled_mode(connector);
  			} else {
+				mode_type = "tiled";
  				modes[i] = drm_connector_get_tiled_mode(connector);
  			}

drivers/gpu/drm/drm_client_modeset.c static bool drm_client_target_preferred(struct drm_device *dev, · line 486

Quoted 10 lines
drivers/gpu/drm/drm_client_modeset.c +6 -2
  		}
 
-		drm_dbg_kms(dev, "found mode %s\n",
-			    modes[i] ? modes[i]->name : "none");
+		if (!modes[i])
+			mode_type = "no";
+
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found %s mode: %s\n",
+			    connector->base.id, connector->name,
+			    mode_type, modes[i] ? modes[i]->name : "none");

Instead of tracking the whole mode_type thing, maybe just do

if (!modes[i])
    drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found mode: " DRM_MODE_FMT, DRM_MODE_ARG(modes[i]) );

to print the full mode.

If no mode has been found, the code will later print a warning anyway.

Best regards
Thomas

Quoted 82 lines
drivers/gpu/drm/drm_client_modeset.c +13 -22
  		conn_configured |= BIT_ULL(i);
  	}
 
@@ -624,6 +630,7 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
  		struct drm_connector *connector;
  		struct drm_encoder *encoder;
  		struct drm_crtc *new_crtc;
+		const char *mode_type;
 
  		connector = connectors[i];
 
@@ -673,29 +680,22 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
  		 */
  		for (j = 0; j < count; j++) {
  			if (crtcs[j] == new_crtc) {
-				drm_dbg_kms(dev, "fallback: cloned configuration\n");
+				drm_dbg_kms(dev, "[CONNECTOR:%d:%s] fallback: cloned configuration\n",
+					    connector->base.id, connector->name);
  				goto bail;
  			}
  		}
 
-		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
-			    connector->base.id, connector->name);
-
-		/* go for command line mode first */
+		mode_type = "cmdline";
  		modes[i] = drm_connector_pick_cmdline_mode(connector);
 
-		/* try for preferred next */
  		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tiled? %s)\n",
-				    connector->base.id, connector->name,
-				    str_yes_no(connector->has_tile));
+			mode_type = "preferred";
  			modes[i] = drm_connector_preferred_mode(connector, width, height);
  		}
 
-		/* No preferred mode marked by the EDID? Are there any modes? */
-		if (!modes[i] && !list_empty(&connector->modes)) {
-			drm_dbg_kms(dev, "using first mode listed on [CONNECTOR:%d:%s]\n",
-				    connector->base.id, connector->name);
+		if (!modes[i]) {
+			mode_type = "first";
  			modes[i] = drm_connector_first_mode(connector);
  		}
 
@@ -706,28 +706,25 @@ static bool drm_client_firmware_config(struct drm_client_dev *client,
  			 * is dodgy. Switch to crtc->state->mode, after taking
  			 * care of the resulting locking/lifetime issues.
  			 */
-			drm_dbg_kms(dev, "looking for current mode on [CONNECTOR:%d:%s]\n",
-				    connector->base.id, connector->name);
+			mode_type = "current";
  			modes[i] = &connector->state->crtc->mode;
  		}
+
  		/*
  		 * In case of tiled modes, if all tiles are not present
  		 * then fallback to a non tiled mode.
  		 */
  		if (connector->has_tile &&
  		    num_tiled_conns < connector->num_h_tile * connector->num_v_tile) {
-			drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
-				    connector->base.id, connector->name);
+			mode_type = "non tiled";
  			modes[i] = drm_connector_fallback_non_tiled_mode(connector);
  		}
  		crtcs[i] = new_crtc;
 
-		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] on [CRTC:%d:%s]: %dx%d%s\n",
+		drm_dbg_kms(dev, "[CONNECTOR::%d:%s] on [CRTC:%d:%s] using %s mode: %s\n",
  			    connector->base.id, connector->name,
-			    connector->state->crtc->base.id,
-			    connector->state->crtc->name,
-			    modes[i]->hdisplay, modes[i]->vdisplay,
-			    modes[i]->flags & DRM_MODE_FLAG_INTERLACE ? "i" : "");
+			    new_crtc->base.id, new_crtc->name,
+			    mode_type, modes[i]->name);
 
  		fallback = false;
  		conn_configured |= BIT(i);
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
#29 lore raw

Re: [PATCH 11/12] drm/client: Streamline mode selection debugs

Quoted 80 lines · Thomas Zimmermann

Hi

Am 04.04.24 um 22:33 schrieb Ville Syrjala:

Quoted 64 lines

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

Get rid of all the redundant debugs and just wait until the end to print which mode (and of which type) we picked.

---
  drivers/gpu/drm/drm_client_modeset.c | 65 +++++++++++++---------------
  1 file changed, 31 insertions(+), 34 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +12 -10
index 415d1799337b..ad88c11037d8 100644
@@ -408,6 +408,8 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 
  retry:
  	for (i = 0; i < connector_count; i++) {
+		const char *mode_type;
+
  		connector = connectors[i];
 
  		if (conn_configured & BIT_ULL(i))
@@ -440,20 +442,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
  			drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,
  						    connector->tile_h_loc, connector->tile_v_loc);
  		}
-		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
-			    connector->base.id, connector->name);
 
-		/* got for command line mode first */
+		mode_type = "cmdline";
  		modes[i] = drm_connector_pick_cmdline_mode(connector);
+
  		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tile group: %d)\n",
-				    connector->base.id, connector->name,
-				    connector->tile_group ? connector->tile_group->id : 0);
+			mode_type = "preferred";
  			modes[i] = drm_connector_preferred_mode(connector, width, height);
  		}
-		/* No preferred modes, pick one off the list */
-		if (!modes[i])
+
+		if (!modes[i]) {
+			mode_type = "first";
  			modes[i] = drm_connector_first_mode(connector);
+		}
+
  		/*
  		 * In case of tiled mode if all tiles not present fallback to
  		 * first available non tiled mode.
@@ -468,16 +470,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
  			    (connector->tile_h_loc == 0 &&
  			     connector->tile_v_loc == 0 &&
  			     !drm_connector_get_tiled_mode(connector))) {
-				drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
-					    connector->base.id, connector->name);
+				mode_type = "non tiled";
  				modes[i] = drm_connector_fallback_non_tiled_mode(connector);
  			} else {
+				mode_type = "tiled";
  				modes[i] = drm_connector_get_tiled_mode(connector);
  			}

drivers/gpu/drm/drm_client_modeset.c static bool drm_client_target_preferred(struct drm_device *dev, · line 486

Quoted 10 lines
drivers/gpu/drm/drm_client_modeset.c +6 -2
  		}
 
-		drm_dbg_kms(dev, "found mode %s\n",
-			    modes[i] ? modes[i]->name : "none");
+		if (!modes[i])
+			mode_type = "no";
+
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found %s mode: %s\n",
+			    connector->base.id, connector->name,
+			    mode_type, modes[i] ? modes[i]->name : "none");

Instead of tracking the whole mode_type thing, maybe just do

Quoted 5 lines

if (!modes[i])
    drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found mode: " DRM_MODE_FMT,
DRM_MODE_ARG(modes[i]) );

to print the full mode.

The point of the mode_type is to indicate how we derived that mode. Printing the full modeline doesn't help with that.

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

Re: [PATCH 11/12] drm/client: Streamline mode selection debugs

Hi

Am 05.04.24 um 21:58 schrieb Ville Syrjälä:

Quoted 80 lines · Thomas Zimmermann
Quoted 79 lines

Hi

Am 04.04.24 um 22:33 schrieb Ville Syrjala:

Quoted 64 lines

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

Get rid of all the redundant debugs and just wait until the end to print which mode (and of which type) we picked.

---
   drivers/gpu/drm/drm_client_modeset.c | 65 +++++++++++++---------------
   1 file changed, 31 insertions(+), 34 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +12 -10
index 415d1799337b..ad88c11037d8 100644
@@ -408,6 +408,8 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 
   retry:
   	for (i = 0; i < connector_count; i++) {
+		const char *mode_type;
+
   		connector = connectors[i];
 
   		if (conn_configured & BIT_ULL(i))
@@ -440,20 +442,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
   			drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,
   						    connector->tile_h_loc, connector->tile_v_loc);
   		}
-		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
-			    connector->base.id, connector->name);
 
-		/* got for command line mode first */
+		mode_type = "cmdline";
   		modes[i] = drm_connector_pick_cmdline_mode(connector);
+
   		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tile group: %d)\n",
-				    connector->base.id, connector->name,
-				    connector->tile_group ? connector->tile_group->id : 0);
+			mode_type = "preferred";
   			modes[i] = drm_connector_preferred_mode(connector, width, height);
   		}
-		/* No preferred modes, pick one off the list */
-		if (!modes[i])
+
+		if (!modes[i]) {
+			mode_type = "first";
   			modes[i] = drm_connector_first_mode(connector);
+		}
+
   		/*
   		 * In case of tiled mode if all tiles not present fallback to
   		 * first available non tiled mode.
@@ -468,16 +470,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
   			    (connector->tile_h_loc == 0 &&
   			     connector->tile_v_loc == 0 &&
   			     !drm_connector_get_tiled_mode(connector))) {
-				drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
-					    connector->base.id, connector->name);
+				mode_type = "non tiled";
   				modes[i] = drm_connector_fallback_non_tiled_mode(connector);
   			} else {
+				mode_type = "tiled";
   				modes[i] = drm_connector_get_tiled_mode(connector);
   			}

drivers/gpu/drm/drm_client_modeset.c static bool drm_client_target_preferred(struct drm_device *dev, · line 486

Quoted 10 lines
drivers/gpu/drm/drm_client_modeset.c +6 -2
   		}
 
-		drm_dbg_kms(dev, "found mode %s\n",
-			    modes[i] ? modes[i]->name : "none");
+		if (!modes[i])
+			mode_type = "no";
+
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found %s mode: %s\n",
+			    connector->base.id, connector->name,
+			    mode_type, modes[i] ? modes[i]->name : "none");

Instead of tracking the whole mode_type thing, maybe just do

Quoted 7 lines
Quoted 5 lines

if (!modes[i])
    drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found mode: " DRM_MODE_FMT,
DRM_MODE_ARG(modes[i]) );

to print the full mode.

The point of the mode_type is to indicate how we derived that mode. Printing the full modeline doesn't help with that.

But do we care where the mode comes from? At least from my experience, it's much more important to know which modes had been available.

If the source of the mode is really important, the old messages seem preferable to me. Debugging code should be trivial and not add logic or flow control to a function IMHO.

Best regards
Thomas

Quoted 1 line
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
#31 lore raw

Re: [PATCH 11/12] drm/client: Streamline mode selection debugs

Quoted 87 lines · Thomas Zimmermann

Hi

Am 05.04.24 um 21:58 schrieb Ville Syrjälä:

Quoted 84 lines · Thomas Zimmermann
Quoted 83 lines

Hi

Am 04.04.24 um 22:33 schrieb Ville Syrjala:

Quoted 64 lines

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

Get rid of all the redundant debugs and just wait until the end to print which mode (and of which type) we picked.

---
   drivers/gpu/drm/drm_client_modeset.c | 65 +++++++++++++---------------
   1 file changed, 31 insertions(+), 34 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +12 -10
index 415d1799337b..ad88c11037d8 100644
@@ -408,6 +408,8 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 
   retry:
   	for (i = 0; i < connector_count; i++) {
+		const char *mode_type;
+
   		connector = connectors[i];
 
   		if (conn_configured & BIT_ULL(i))
@@ -440,20 +442,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
   			drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,
   						    connector->tile_h_loc, connector->tile_v_loc);
   		}
-		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
-			    connector->base.id, connector->name);
 
-		/* got for command line mode first */
+		mode_type = "cmdline";
   		modes[i] = drm_connector_pick_cmdline_mode(connector);
+
   		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tile group: %d)\n",
-				    connector->base.id, connector->name,
-				    connector->tile_group ? connector->tile_group->id : 0);
+			mode_type = "preferred";
   			modes[i] = drm_connector_preferred_mode(connector, width, height);
   		}
-		/* No preferred modes, pick one off the list */
-		if (!modes[i])
+
+		if (!modes[i]) {
+			mode_type = "first";
   			modes[i] = drm_connector_first_mode(connector);
+		}
+
   		/*
   		 * In case of tiled mode if all tiles not present fallback to
   		 * first available non tiled mode.
@@ -468,16 +470,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
   			    (connector->tile_h_loc == 0 &&
   			     connector->tile_v_loc == 0 &&
   			     !drm_connector_get_tiled_mode(connector))) {
-				drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
-					    connector->base.id, connector->name);
+				mode_type = "non tiled";
   				modes[i] = drm_connector_fallback_non_tiled_mode(connector);
   			} else {
+				mode_type = "tiled";
   				modes[i] = drm_connector_get_tiled_mode(connector);
   			}

drivers/gpu/drm/drm_client_modeset.c static bool drm_client_target_preferred(struct drm_device *dev, · line 486

Quoted 10 lines
drivers/gpu/drm/drm_client_modeset.c +6 -2
   		}
 
-		drm_dbg_kms(dev, "found mode %s\n",
-			    modes[i] ? modes[i]->name : "none");
+		if (!modes[i])
+			mode_type = "no";
+
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found %s mode: %s\n",
+			    connector->base.id, connector->name,
+			    mode_type, modes[i] ? modes[i]->name : "none");

Instead of tracking the whole mode_type thing, maybe just do

if (!modes[i])
    drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found mode: " DRM_MODE_FMT,
DRM_MODE_ARG(modes[i]) );

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

to print the full mode.

The point of the mode_type is to indicate how we derived that mode. Printing the full modeline doesn't help with that.

But do we care where the mode comes from? At least from my experience, it's much more important to know which modes had been available.

The tiled vs. not-tiled at least could be quite interesting. We know there are actual bugs in this code where some tiled connectors seem to incorrectly think they aren't tiled while others correctly think they are tiled. Seeing that spelled out more clearly in the logs might help with triage.

Quoted 3 lines

If the source of the mode is really important, the old messages seem preferable to me.

The old debugs were somewhat crap. They basically just said "looking for mode via <method X>", and then the last one of those you saw in the log you assumed was the method used in the end. But not all methods even had that debug print. So basically you could never be sure what method was used in the end.

Quoted 2 lines

Debugging code should be trivial and not add logic or flow control to a function IMHO.

It doesn't add anything of the sort. The control flow is 100% based on mode==NULL.

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

Re: [PATCH 11/12] drm/client: Streamline mode selection debugs

Hi

Am 08.04.24 um 19:26 schrieb Ville Syrjälä:

Quoted 107 lines · Thomas Zimmermann
Quoted 87 lines

Hi

Am 05.04.24 um 21:58 schrieb Ville Syrjälä:

Quoted 84 lines · Thomas Zimmermann
Quoted 83 lines

Hi

Am 04.04.24 um 22:33 schrieb Ville Syrjala:

Quoted 64 lines

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

Get rid of all the redundant debugs and just wait until the end to print which mode (and of which type) we picked.

---
    drivers/gpu/drm/drm_client_modeset.c | 65 +++++++++++++---------------
    1 file changed, 31 insertions(+), 34 deletions(-)
drivers/gpu/drm/drm_client_modeset.c +12 -10
index 415d1799337b..ad88c11037d8 100644
@@ -408,6 +408,8 @@ static bool drm_client_target_preferred(struct drm_device *dev,
 
    retry:
    	for (i = 0; i < connector_count; i++) {
+		const char *mode_type;
+
    		connector = connectors[i];
 
    		if (conn_configured & BIT_ULL(i))
@@ -440,20 +442,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
    			drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,
    						    connector->tile_h_loc, connector->tile_v_loc);
    		}
-		drm_dbg_kms(dev, "looking for cmdline mode on [CONNECTOR:%d:%s]\n",
-			    connector->base.id, connector->name);
 
-		/* got for command line mode first */
+		mode_type = "cmdline";
    		modes[i] = drm_connector_pick_cmdline_mode(connector);
+
    		if (!modes[i]) {
-			drm_dbg_kms(dev, "looking for preferred mode on [CONNECTOR:%d:%s] (tile group: %d)\n",
-				    connector->base.id, connector->name,
-				    connector->tile_group ? connector->tile_group->id : 0);
+			mode_type = "preferred";
    			modes[i] = drm_connector_preferred_mode(connector, width, height);
    		}
-		/* No preferred modes, pick one off the list */
-		if (!modes[i])
+
+		if (!modes[i]) {
+			mode_type = "first";
    			modes[i] = drm_connector_first_mode(connector);
+		}
+
    		/*
    		 * In case of tiled mode if all tiles not present fallback to
    		 * first available non tiled mode.
@@ -468,16 +470,20 @@ static bool drm_client_target_preferred(struct drm_device *dev,
    			    (connector->tile_h_loc == 0 &&
    			     connector->tile_v_loc == 0 &&
    			     !drm_connector_get_tiled_mode(connector))) {
-				drm_dbg_kms(dev, "Falling back to non tiled mode on [CONNECTOR:%d:%s]\n",
-					    connector->base.id, connector->name);
+				mode_type = "non tiled";
    				modes[i] = drm_connector_fallback_non_tiled_mode(connector);
    			} else {
+				mode_type = "tiled";
    				modes[i] = drm_connector_get_tiled_mode(connector);
    			}

drivers/gpu/drm/drm_client_modeset.c static bool drm_client_target_preferred(struct drm_device *dev, · line 486

Quoted 10 lines
drivers/gpu/drm/drm_client_modeset.c +6 -2
    		}
 
-		drm_dbg_kms(dev, "found mode %s\n",
-			    modes[i] ? modes[i]->name : "none");
+		if (!modes[i])
+			mode_type = "no";
+
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found %s mode: %s\n",
+			    connector->base.id, connector->name,
+			    mode_type, modes[i] ? modes[i]->name : "none");

Instead of tracking the whole mode_type thing, maybe just do

if (!modes[i])
    drm_dbg_kms(dev, "[CONNECTOR:%d:%s] found mode: " DRM_MODE_FMT,
DRM_MODE_ARG(modes[i]) );

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

to print the full mode.

The point of the mode_type is to indicate how we derived that mode. Printing the full modeline doesn't help with that.

But do we care where the mode comes from? At least from my experience, it's much more important to know which modes had been available.

The tiled vs. not-tiled at least could be quite interesting. We know there are actual bugs in this code where some tiled connectors seem to incorrectly think they aren't tiled while others correctly think they are tiled. Seeing that spelled out more clearly in the logs might help with triage.

Quoted 2 lines

If the source of the mode is really important, the old messages seem preferable to me.

The old debugs were somewhat crap. They basically just said "looking for mode via <method X>", and then the last one of those you saw in the log you assumed was the method used in the end. But not all methods even had that debug print. So basically you could never be sure what method was used in the end.

Quoted 4 lines
Quoted 2 lines

Debugging code should be trivial and not add logic or flow control to a function IMHO.

It doesn't add anything of the sort. The control flow is 100% based on mode==NULL.

Well, you have my r-b for whatever version you want to commit.

Best regards
Thomas

Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
#33 lore raw

PATCH 12/12 drm/probe-helper: Switch to per-device debugs

In reply to Ville Syrjala

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

Switch to per-device debugs so that we know which
device we're dealing with.

---
 drivers/gpu/drm/drm_probe_helper.c | 35 ++++++++++++++----------------
 1 file changed, 16 insertions(+), 19 deletions(-)
drivers/gpu/drm/drm_probe_helper.c +16 -19
index 968a3ee66b1e..0860f7367511 100644
@@ -567,8 +567,8 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
 
 	drm_modeset_acquire_init(&ctx, 0);
 
-	DRM_DEBUG_KMS("[CONNECTOR:%d:%s]\n", connector->base.id,
-			connector->name);
+	drm_dbg_kms(dev, "[CONNECTOR:%d:%s]\n",
+		    connector->base.id, connector->name);
 
 retry:
 	ret = drm_modeset_lock(&dev->mode_config.connection_mutex, &ctx);
@@ -611,11 +611,10 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
 	 * check here, and if anything changed start the hotplug code.
 	 */
 	if (old_status != connector->status) {
-		DRM_DEBUG_KMS("[CONNECTOR:%d:%s] status updated from %s to %s\n",
-			      connector->base.id,
-			      connector->name,
-			      drm_get_connector_status_name(old_status),
-			      drm_get_connector_status_name(connector->status));
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] status updated from %s to %s\n",
+			    connector->base.id, connector->name,
+			    drm_get_connector_status_name(old_status),
+			    drm_get_connector_status_name(connector->status));
 
 		/*
 		 * The hotplug event code might call into the fb
@@ -638,8 +637,8 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
 		drm_kms_helper_poll_enable(dev);
 
 	if (connector->status == connector_status_disconnected) {
-		DRM_DEBUG_KMS("[CONNECTOR:%d:%s] disconnected\n",
-			connector->base.id, connector->name);
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] disconnected\n",
+			    connector->base.id, connector->name);
 		drm_connector_update_edid_property(connector, NULL);
 		drm_mode_prune_invalid(dev, &connector->modes, false);
 		goto exit;
@@ -697,8 +696,8 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
 
 	drm_mode_sort(&connector->modes);
 
-	DRM_DEBUG_KMS("[CONNECTOR:%d:%s] probed modes :\n", connector->base.id,
-			connector->name);
+	drm_dbg_kms(dev, "[CONNECTOR:%d:%s] probed modes :\n",
+		    connector->base.id, connector->name);
 	list_for_each_entry(mode, &connector->modes, head) {
 		drm_mode_set_crtcinfo(mode, CRTC_INTERLACE_HALVE_V);
 		drm_mode_debug_printmodeline(mode);
@@ -834,14 +833,12 @@ static void output_poll_execute(struct work_struct *work)
 			old = drm_get_connector_status_name(old_status);
 			new = drm_get_connector_status_name(connector->status);
 
-			DRM_DEBUG_KMS("[CONNECTOR:%d:%s] "
-				      "status updated from %s to %s\n",
-				      connector->base.id,
-				      connector->name,
-				      old, new);
-			DRM_DEBUG_KMS("[CONNECTOR:%d:%s] epoch counter %llu -> %llu\n",
-				      connector->base.id, connector->name,
-				      old_epoch_counter, connector->epoch_counter);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] status updated from %s to %s\n",
+				    connector->base.id, connector->name,
+				    old, new);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] epoch counter %llu -> %llu\n",
+				    connector->base.id, connector->name,
+				    old_epoch_counter, connector->epoch_counter);
 
 			changed = true;
 		}
Signature · 1 line
2.43.2
#34 lore raw

Re: [PATCH 12/12] drm/probe-helper: Switch to per-device debugs

Quoted 4 lines · Ville Syrjala

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

Switch to per-device debugs so that we know which
device we're dealing with.

Again see the first handful of patches in the series [1]. It cleans up the mode printing as well.

BR,
Jani.

[1] https://lore.kernel.org/r/[email protected]

Quoted 80 lines
---
 drivers/gpu/drm/drm_probe_helper.c | 35 ++++++++++++++----------------
 1 file changed, 16 insertions(+), 19 deletions(-)
drivers/gpu/drm/drm_probe_helper.c +16 -19
index 968a3ee66b1e..0860f7367511 100644
@@ -567,8 +567,8 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
 
 	drm_modeset_acquire_init(&ctx, 0);
 
-	DRM_DEBUG_KMS("[CONNECTOR:%d:%s]\n", connector->base.id,
-			connector->name);
+	drm_dbg_kms(dev, "[CONNECTOR:%d:%s]\n",
+		    connector->base.id, connector->name);
 
 retry:
 	ret = drm_modeset_lock(&dev->mode_config.connection_mutex, &ctx);
@@ -611,11 +611,10 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
 	 * check here, and if anything changed start the hotplug code.
 	 */
 	if (old_status != connector->status) {
-		DRM_DEBUG_KMS("[CONNECTOR:%d:%s] status updated from %s to %s\n",
-			      connector->base.id,
-			      connector->name,
-			      drm_get_connector_status_name(old_status),
-			      drm_get_connector_status_name(connector->status));
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] status updated from %s to %s\n",
+			    connector->base.id, connector->name,
+			    drm_get_connector_status_name(old_status),
+			    drm_get_connector_status_name(connector->status));
 
 		/*
 		 * The hotplug event code might call into the fb
@@ -638,8 +637,8 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
 		drm_kms_helper_poll_enable(dev);
 
 	if (connector->status == connector_status_disconnected) {
-		DRM_DEBUG_KMS("[CONNECTOR:%d:%s] disconnected\n",
-			connector->base.id, connector->name);
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] disconnected\n",
+			    connector->base.id, connector->name);
 		drm_connector_update_edid_property(connector, NULL);
 		drm_mode_prune_invalid(dev, &connector->modes, false);
 		goto exit;
@@ -697,8 +696,8 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
 
 	drm_mode_sort(&connector->modes);
 
-	DRM_DEBUG_KMS("[CONNECTOR:%d:%s] probed modes :\n", connector->base.id,
-			connector->name);
+	drm_dbg_kms(dev, "[CONNECTOR:%d:%s] probed modes :\n",
+		    connector->base.id, connector->name);
 	list_for_each_entry(mode, &connector->modes, head) {
 		drm_mode_set_crtcinfo(mode, CRTC_INTERLACE_HALVE_V);
 		drm_mode_debug_printmodeline(mode);
@@ -834,14 +833,12 @@ static void output_poll_execute(struct work_struct *work)
 			old = drm_get_connector_status_name(old_status);
 			new = drm_get_connector_status_name(connector->status);
 
-			DRM_DEBUG_KMS("[CONNECTOR:%d:%s] "
-				      "status updated from %s to %s\n",
-				      connector->base.id,
-				      connector->name,
-				      old, new);
-			DRM_DEBUG_KMS("[CONNECTOR:%d:%s] epoch counter %llu -> %llu\n",
-				      connector->base.id, connector->name,
-				      old_epoch_counter, connector->epoch_counter);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] status updated from %s to %s\n",
+				    connector->base.id, connector->name,
+				    old, new);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] epoch counter %llu -> %llu\n",
+				    connector->base.id, connector->name,
+				    old_epoch_counter, connector->epoch_counter);
 
 			changed = true;
 		}
Signature · 1 line
Jani Nikula, Intel
#35 lore raw

Re: [PATCH 12/12] drm/probe-helper: Switch to per-device debugs

Hi

Am 05.04.24 um 10:25 schrieb Jani Nikula:

Quoted 7 lines · Ville Syrjala
Quoted 4 lines

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

Switch to per-device debugs so that we know which
device we're dealing with.

Again see the first handful of patches in the series [1]. It cleans up the mode printing as well.

This apparently got lost. I'll take a look.

Best regards
Thomas

Quoted 87 lines

BR,
Jani.

[1] https://lore.kernel.org/r/[email protected]

Quoted 79 lines
---
  drivers/gpu/drm/drm_probe_helper.c | 35 ++++++++++++++----------------
  1 file changed, 16 insertions(+), 19 deletions(-)
drivers/gpu/drm/drm_probe_helper.c +16 -19
index 968a3ee66b1e..0860f7367511 100644
@@ -567,8 +567,8 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
 
  	drm_modeset_acquire_init(&ctx, 0);
 
-	DRM_DEBUG_KMS("[CONNECTOR:%d:%s]\n", connector->base.id,
-			connector->name);
+	drm_dbg_kms(dev, "[CONNECTOR:%d:%s]\n",
+		    connector->base.id, connector->name);
 
  retry:
  	ret = drm_modeset_lock(&dev->mode_config.connection_mutex, &ctx);
@@ -611,11 +611,10 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
  	 * check here, and if anything changed start the hotplug code.
  	 */
  	if (old_status != connector->status) {
-		DRM_DEBUG_KMS("[CONNECTOR:%d:%s] status updated from %s to %s\n",
-			      connector->base.id,
-			      connector->name,
-			      drm_get_connector_status_name(old_status),
-			      drm_get_connector_status_name(connector->status));
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] status updated from %s to %s\n",
+			    connector->base.id, connector->name,
+			    drm_get_connector_status_name(old_status),
+			    drm_get_connector_status_name(connector->status));
 
  		/*
  		 * The hotplug event code might call into the fb
@@ -638,8 +637,8 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
  		drm_kms_helper_poll_enable(dev);
 
  	if (connector->status == connector_status_disconnected) {
-		DRM_DEBUG_KMS("[CONNECTOR:%d:%s] disconnected\n",
-			connector->base.id, connector->name);
+		drm_dbg_kms(dev, "[CONNECTOR:%d:%s] disconnected\n",
+			    connector->base.id, connector->name);
  		drm_connector_update_edid_property(connector, NULL);
  		drm_mode_prune_invalid(dev, &connector->modes, false);
  		goto exit;
@@ -697,8 +696,8 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
 
  	drm_mode_sort(&connector->modes);
 
-	DRM_DEBUG_KMS("[CONNECTOR:%d:%s] probed modes :\n", connector->base.id,
-			connector->name);
+	drm_dbg_kms(dev, "[CONNECTOR:%d:%s] probed modes :\n",
+		    connector->base.id, connector->name);
  	list_for_each_entry(mode, &connector->modes, head) {
  		drm_mode_set_crtcinfo(mode, CRTC_INTERLACE_HALVE_V);
  		drm_mode_debug_printmodeline(mode);
@@ -834,14 +833,12 @@ static void output_poll_execute(struct work_struct *work)
  			old = drm_get_connector_status_name(old_status);
  			new = drm_get_connector_status_name(connector->status);
 
-			DRM_DEBUG_KMS("[CONNECTOR:%d:%s] "
-				      "status updated from %s to %s\n",
-				      connector->base.id,
-				      connector->name,
-				      old, new);
-			DRM_DEBUG_KMS("[CONNECTOR:%d:%s] epoch counter %llu -> %llu\n",
-				      connector->base.id, connector->name,
-				      old_epoch_counter, connector->epoch_counter);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] status updated from %s to %s\n",
+				    connector->base.id, connector->name,
+				    old, new);
+			drm_dbg_kms(dev, "[CONNECTOR:%d:%s] epoch counter %llu -> %llu\n",
+				    connector->base.id, connector->name,
+				    old_epoch_counter, connector->epoch_counter);
 
  			changed = true;
  		}
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
#36 lore raw

✗ Fi.CI.CHECKPATCH: warning for drm/client: Use after free and debug improvements

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: drm/client: Use after free and debug improvements
URL : https://patchwork.freedesktop.org/series/132050/
State : warning

== Summary ==

Error: dim checkpatch failed
8d2ac6e9d5da drm/client: Fully protect modes[] with dev->mode_config.mutex 014b518172bd drm/client: s/drm_connector_has_preferred_mode/drm_connector_preferred_mode/ 28c42d9c02c8 drm/client: Use drm_mode_destroy()
8dbddec1606f drm/client: Add a FIXME around crtc->mode usage
674fada5c421 drm/client: Nuke outdated fastboot comment
d0eaf419e0b7 drm/client: Constify modes
1a58deeca6d5 drm/client: Use array notation for function arguments 4448f55578cd drm/client: Extract drm_connector_first_mode()
035fff826184 drm/client: Switch to per-device debugs
-:35: WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#35: FILE: drivers/gpu/drm/drm_client_modeset.c:255:
+ connector->display_info.non_desktop ? "non desktop" : str_yes_no(enabled[i]));

-:99: WARNING:LONG_LINE: line length of 104 exceeds 100 columns #99: FILE: drivers/gpu/drm/drm_client_modeset.c:438:
+ drm_client_get_tile_offsets(dev, connectors, connector_count, modes, offsets, i,

-:113: WARNING:LONG_LINE: line length of 111 exceeds 100 columns #113: FILE: drivers/gpu/drm/drm_client_modeset.c:448:
+ connector->base.id, connector->tile_group ? connector->tile_group->id : 0);

total: 0 errors, 3 warnings, 0 checks, 283 lines checked 5c5d8ca215a3 drm/client: Use [CONNECTOR:%d:%s] formatting e0e87e44b782 drm/client: Streamline mode selection debugs f233b082ffaf drm/probe-helper: Switch to per-device debugs

#37 lore raw

✗ Fi.CI.SPARSE: warning for drm/client: Use after free and debug improvements

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: drm/client: Use after free and debug improvements
URL : https://patchwork.freedesktop.org/series/132050/
State : warning

== Summary ==

Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately. +./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:155:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:155:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:173:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:175:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:179:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:181:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:181:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:185:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:187:9: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:191:35: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:194:16: warning: unreplaced symbol 'oldbit' +./arch/x86/include/asm/bitops.h:194:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:236:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:238:9: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:66:1: warning: unreplaced symbol 'return' +./arch/x86/include/asm/bitops.h:92:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:100:17: warning: unreplaced symbol 'old' +./include/asm-generic/bitops/generic-non-atomic.h:100:23: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:100:9: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:105:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:107:9: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:108:9: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:109:9: warning: unreplaced symbol 'old' +./include/asm-generic/bitops/generic-non-atomic.h:111:10: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:111:14: warning: unreplaced symbol 'old' +./include/asm-generic/bitops/generic-non-atomic.h:111:20: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:112:17: warning: unreplaced symbol 'old' +./include/asm-generic/bitops/generic-non-atomic.h:112:23: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:112:9: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:121:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:128:9: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:166:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:168:9: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:169:9: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:170:9: warning: unreplaced symbol 'val' +./include/asm-generic/bitops/generic-non-atomic.h:172:19: warning: unreplaced symbol 'val' +./include/asm-generic/bitops/generic-non-atomic.h:172:25: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:172:9: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:28:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:30:9: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:31:9: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:33:10: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:33:16: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:37:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:39:9: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:40:9: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:42:10: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:42:16: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:55:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:57:9: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:58:9: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:60:10: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:60:15: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:73:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:75:9: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:76:9: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:77:9: warning: unreplaced symbol 'old' +./include/asm-generic/bitops/generic-non-atomic.h:79:10: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:79:14: warning: unreplaced symbol 'old' +./include/asm-generic/bitops/generic-non-atomic.h:79:20: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:80:17: warning: unreplaced symbol 'old' +./include/asm-generic/bitops/generic-non-atomic.h:80:23: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:80:9: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:93:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/generic-non-atomic.h:95:9: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/generic-non-atomic.h:96:9: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:97:9: warning: unreplaced symbol 'old' +./include/asm-generic/bitops/generic-non-atomic.h:99:10: warning: unreplaced symbol 'p' +./include/asm-generic/bitops/generic-non-atomic.h:99:14: warning: unreplaced symbol 'old' +./include/asm-generic/bitops/generic-non-atomic.h:99:21: warning: unreplaced symbol 'mask' +./include/asm-generic/bitops/instrumented-non-atomic.h:100:9: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/instrumented-non-atomic.h:112:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/instrumented-non-atomic.h:115:9: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/instrumented-non-atomic.h:127:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/instrumented-non-atomic.h:130:9: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/instrumented-non-atomic.h:139:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/instrumented-non-atomic.h:142:9: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/instrumented-non-atomic.h:26:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/instrumented-non-atomic.h:42:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/instrumented-non-atomic.h:58:1: warning: unreplaced symbol 'return' +./include/asm-generic/bitops/instrumented-non-atomic.h:97:1: warning: unreplaced symbol 'return'

#38 lore raw

✓ Fi.CI.BAT: success for drm/client: Use after free and debug improvements

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: drm/client: Use after free and debug improvements
URL : https://patchwork.freedesktop.org/series/132050/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_14528 -> Patchwork_132050v1
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

Participating hosts (39 -> 36)
------------------------------

Missing (3): fi-blb-e6850 fi-snb-2520m fi-kbl-8809g

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_lmem_swapping@verify-random:
- bat-arls-2: NOTRUN -> [SKIP][1] ([i915#10213]) +3 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

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

* igt@gem_mmap_gtt@basic:
- bat-arls-2: NOTRUN -> [SKIP][3] ([i915#10196] / [i915#4077]) +2 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

* igt@gem_render_tiled_blits@basic:
- bat-arls-2: NOTRUN -> [SKIP][4] ([i915#10197] / [i915#10211] / [i915#4079])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

* igt@gem_tiled_pread_basic:
- bat-arls-2: NOTRUN -> [SKIP][5] ([i915#10206] / [i915#4079])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@gem_tiled_pread_basic.html

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

* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-arls-2: NOTRUN -> [SKIP][7] ([i915#10200]) +9 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-arls-2: NOTRUN -> [SKIP][8] ([i915#10202]) +1 other test skip
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

* igt@kms_dsc@dsc-basic:
- bat-arls-2: NOTRUN -> [SKIP][9] ([i915#9886])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- bat-arls-2: NOTRUN -> [SKIP][10] ([i915#10207])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

* igt@kms_psr@psr-primary-mmap-gtt@edp-1:
- bat-arls-2: NOTRUN -> [SKIP][11] ([i915#10196] / [i915#4077] / [i915#9688])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@kms_psr@[email protected]

* igt@kms_setmode@basic-clone-single-crtc:
- bat-arls-2: NOTRUN -> [SKIP][12] ([i915#10208] / [i915#8809])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

* igt@prime_vgem@basic-fence-mmap:
- bat-arls-2: NOTRUN -> [SKIP][13] ([i915#10196] / [i915#3708] / [i915#4077]) +1 other test skip
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

* igt@prime_vgem@basic-fence-read:
- bat-arls-2: NOTRUN -> [SKIP][14] ([i915#10212] / [i915#3708])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

* igt@prime_vgem@basic-read:
- bat-arls-2: NOTRUN -> [SKIP][15] ([i915#10214] / [i915#3708])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

* igt@prime_vgem@basic-write:
- bat-arls-2: NOTRUN -> [SKIP][16] ([i915#10216] / [i915#3708])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

#### Possible fixes ####

* igt@gem_close_race@basic-threads:
- bat-arls-2: [ABORT][17] -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/bat-arls-2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-arls-2/igt@[email protected]

* igt@i915_selftest@live@late_gt_pm:
- bat-dg2-8: [ABORT][19] ([i915#10366]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/bat-dg2-8/igt@i915_selftest@live@late_gt_pm.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/bat-dg2-8/igt@i915_selftest@live@late_gt_pm.html

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

[i915#10196]: https://gitlab.freedesktop.org/drm/intel/issues/10196
[i915#10197]: https://gitlab.freedesktop.org/drm/intel/issues/10197
[i915#10200]: https://gitlab.freedesktop.org/drm/intel/issues/10200
[i915#10202]: https://gitlab.freedesktop.org/drm/intel/issues/10202
[i915#10206]: https://gitlab.freedesktop.org/drm/intel/issues/10206
[i915#10207]: https://gitlab.freedesktop.org/drm/intel/issues/10207
[i915#10208]: https://gitlab.freedesktop.org/drm/intel/issues/10208
[i915#10209]: https://gitlab.freedesktop.org/drm/intel/issues/10209
[i915#10211]: https://gitlab.freedesktop.org/drm/intel/issues/10211
[i915#10212]: https://gitlab.freedesktop.org/drm/intel/issues/10212
[i915#10213]: https://gitlab.freedesktop.org/drm/intel/issues/10213
[i915#10214]: https://gitlab.freedesktop.org/drm/intel/issues/10214
[i915#10216]: https://gitlab.freedesktop.org/drm/intel/issues/10216
[i915#10366]: https://gitlab.freedesktop.org/drm/intel/issues/10366
[i915#10436]: https://gitlab.freedesktop.org/drm/intel/issues/10436
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[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#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809
[i915#9688]: https://gitlab.freedesktop.org/drm/intel/issues/9688
[i915#9886]: https://gitlab.freedesktop.org/drm/intel/issues/9886

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

* Linux: CI_DRM_14528 -> Patchwork_132050v1

CI-20190529: 20190529
CI_DRM_14528: 7392b2b6f33eb4d279abf14e33e73f491f7f9191 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7799: 7799
Patchwork_132050v1: 7392b2b6f33eb4d279abf14e33e73f491f7f9191 @ git://anongit.freedesktop.org/gfx-ci/linux

### Linux commits

a7e0aedbc2b2 drm/probe-helper: Switch to per-device debugs
04ad83c6ca9b drm/client: Streamline mode selection debugs
e46614ca3232 drm/client: Use [CONNECTOR:%d:%s] formatting
9892d25b787c drm/client: Switch to per-device debugs
4453dd637bc4 drm/client: Extract drm_connector_first_mode()
71fd2ed18330 drm/client: Use array notation for function arguments 395133e15dcf drm/client: Constify modes
a0995b94f6e2 drm/client: Nuke outdated fastboot comment
ac021c817e31 drm/client: Add a FIXME around crtc->mode usage
24744f7c166d drm/client: Use drm_mode_destroy()
ebb5cd95ff94 drm/client: s/drm_connector_has_preferred_mode/drm_connector_preferred_mode/ b6501d31f979 drm/client: Fully protect modes[] with dev->mode_config.mutex

== Logs ==

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

maintainer Reviewed-by on the v1 series
#39 lore raw
In reply to Ville Syrjala

Hi

for the whole series.

Best regards
Thomas

Am 04.04.24 um 22:33 schrieb Ville Syrjala:

Quoted 26 lines

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

Various improvements to the drm/client code:
- Fix a use after free (fairly routinely hit by i915 CI)
- Debug print improvements
- Cleanups/etc.

Ville Syrjälä (12):
drm/client: Fully protect modes[] with dev->mode_config.mutex drm/client:
s/drm_connector_has_preferred_mode/drm_connector_preferred_mode/
drm/client: Use drm_mode_destroy()
drm/client: Add a FIXME around crtc->mode usage drm/client: Nuke outdated fastboot comment
drm/client: Constify modes
drm/client: Use array notation for function arguments drm/client: Extract drm_connector_first_mode() drm/client: Switch to per-device debugs
drm/client: Use [CONNECTOR:%d:%s] formatting drm/client: Streamline mode selection debugs drm/probe-helper: Switch to per-device debugs

  drivers/gpu/drm/drm_client_modeset.c | 237 ++++++++++++++-------------
  drivers/gpu/drm/drm_probe_helper.c   |  35 ++--
  2 files changed, 137 insertions(+), 135 deletions(-)
Signature · 7 lines
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
#40 lore raw

✗ Fi.CI.IGT: failure for drm/client: Use after free and debug improvements

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: drm/client: Use after free and debug improvements
URL : https://patchwork.freedesktop.org/series/132050/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_14528_full -> Patchwork_132050v1_full
====================================================

Summary
-------

**FAILURE**

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

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

Participating hosts (9 -> 9)
------------------------------

No changes in participating hosts

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

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

### IGT changes ###

#### Possible regressions ####

* igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ab-vga1-hdmi-a1:
- shard-snb: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-snb7/igt@kms_flip@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-snb1/igt@kms_flip@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@debugfs_test@basic-hwmon:
- shard-tglu: NOTRUN -> [SKIP][3] ([i915#9318])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@[email protected]

* igt@device_reset@cold-reset-bound:
- shard-mtlp: NOTRUN -> [SKIP][4] ([i915#7701])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@drm_fdinfo@busy-idle@vcs1:
- shard-dg1: NOTRUN -> [SKIP][5] ([i915#8414]) +6 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@drm_fdinfo@[email protected]

* igt@drm_fdinfo@isolation@rcs0:
- shard-mtlp: NOTRUN -> [SKIP][6] ([i915#8414]) +11 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@drm_fdinfo@[email protected]

* igt@drm_fdinfo@virtual-busy-all:
- shard-dg2: NOTRUN -> [SKIP][7] ([i915#8414])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@gem_ccs@block-multicopy-compressed:
- shard-dg1: NOTRUN -> [SKIP][8] ([i915#9323])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][9] ([i915#9323])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@[email protected]

* igt@gem_ccs@ctrl-surf-copy:
- shard-mtlp: NOTRUN -> [SKIP][10] ([i915#3555] / [i915#9323]) +1 other test skip
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@gem_ctx_exec@basic-nohangcheck:
- shard-rkl: NOTRUN -> [FAIL][11] ([i915#6268])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]

* igt@gem_ctx_persistence@heartbeat-many:
- shard-dg1: NOTRUN -> [SKIP][12] ([i915#8555])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@[email protected]
- shard-dg2: NOTRUN -> [SKIP][13] ([i915#8555])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@gem_ctx_sseu@engines:
- shard-mtlp: NOTRUN -> [SKIP][14] ([i915#280])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@gem_eio@reset-stress:
- shard-dg1: [PASS][15] -> [FAIL][16] ([i915#5784])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg1-17/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-16/igt@[email protected]

* igt@gem_exec_balancer@bonded-false-hang:
- shard-dg2: NOTRUN -> [SKIP][17] ([i915#4812])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@gem_exec_balancer@hog:
- shard-dg1: NOTRUN -> [SKIP][18] ([i915#4812])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@gem_exec_balancer@invalid-bonds:
- shard-mtlp: NOTRUN -> [SKIP][19] ([i915#4036])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@gem_exec_balancer@parallel-contexts:
- shard-rkl: NOTRUN -> [SKIP][20] ([i915#4525])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]

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

* igt@gem_exec_capture@many-4k-incremental:
- shard-dg2: NOTRUN -> [FAIL][22] ([i915#9606])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@gem_exec_capture@many-4k-zero:
- shard-glk: NOTRUN -> [FAIL][23] ([i915#9606])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-glk5/igt@[email protected]

* igt@gem_exec_endless@dispatch@bcs0:
- shard-dg2: [PASS][24] -> [TIMEOUT][25] ([i915#3778] / [i915#7016])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg2-6/igt@gem_exec_endless@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@gem_exec_endless@[email protected]

* igt@gem_exec_fair@basic-deadline:
- shard-mtlp: NOTRUN -> [SKIP][26] ([i915#4473] / [i915#4771])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-tglu: [PASS][27] -> [FAIL][28] ([i915#2842])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-tglu-9/igt@gem_exec_fair@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-4/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-rkl: NOTRUN -> [FAIL][29] ([i915#2842])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@rcs0:
- shard-glk: NOTRUN -> [FAIL][30] ([i915#2842]) +2 other tests fail
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-glk4/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vecs0:
- shard-rkl: [PASS][31] -> [FAIL][32] ([i915#2842])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-rkl-4/igt@gem_exec_fair@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-sync:
- shard-dg1: NOTRUN -> [SKIP][33] ([i915#3539]) +1 other test skip
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@[email protected]

* igt@gem_exec_fair@basic-throttle:
- shard-dg2: NOTRUN -> [SKIP][34] ([i915#3539]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@gem_exec_fence@submit:
- shard-mtlp: NOTRUN -> [SKIP][35] ([i915#4812]) +1 other test skip
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@gem_exec_flush@basic-wb-rw-before-default:
- shard-dg1: NOTRUN -> [SKIP][36] ([i915#3539] / [i915#4852]) +5 other tests skip
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@[email protected]

* igt@gem_exec_flush@basic-wb-set-default:
- shard-dg2: NOTRUN -> [SKIP][37] ([i915#3539] / [i915#4852]) +1 other test skip
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@gem_exec_reloc@basic-concurrent0:
- shard-dg1: NOTRUN -> [SKIP][38] ([i915#3281]) +9 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@[email protected]

* igt@gem_exec_reloc@basic-gtt:
- shard-dg2: NOTRUN -> [SKIP][39] ([i915#3281]) +5 other tests skip
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@gem_exec_reloc@basic-gtt-read-noreloc:
- shard-rkl: NOTRUN -> [SKIP][40] ([i915#3281]) +12 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-2/igt@[email protected]

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

* igt@gem_exec_schedule@preempt-queue-contexts-chain:
- shard-mtlp: NOTRUN -> [SKIP][42] ([i915#4537] / [i915#4812])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@gem_exec_suspend@basic-s4-devices@smem:
- shard-rkl: NOTRUN -> [ABORT][43] ([i915#7975] / [i915#8213]) +1 other test abort
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-5/igt@gem_exec_suspend@[email protected]

* igt@gem_fence_thrash@bo-write-verify-x:
- shard-dg2: NOTRUN -> [SKIP][44] ([i915#4860]) +1 other test skip
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@gem_fenced_exec_thrash@no-spare-fences-busy:
- shard-dg1: NOTRUN -> [SKIP][45] ([i915#4860]) +3 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@gem_fenced_exec_thrash@too-many-fences:
- shard-mtlp: NOTRUN -> [SKIP][46] ([i915#4860])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- shard-rkl: NOTRUN -> [SKIP][47] ([i915#4613]) +4 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]

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

* igt@gem_lmem_swapping@heavy-random@lmem0:
- shard-dg1: NOTRUN -> [FAIL][49] ([i915#10378])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@gem_lmem_swapping@[email protected]

* igt@gem_lmem_swapping@heavy-verify-multi-ccs:
- shard-glk: NOTRUN -> [SKIP][50] ([i915#4613]) +9 other tests skip
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-glk5/igt@[email protected]

* igt@gem_lmem_swapping@heavy-verify-random@lmem0:
- shard-dg2: [PASS][51] -> [FAIL][52] ([i915#10378]) +1 other test fail
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg2-11/igt@gem_lmem_swapping@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-7/igt@gem_lmem_swapping@[email protected]

* igt@gem_lmem_swapping@parallel-random:
- shard-mtlp: NOTRUN -> [SKIP][53] ([i915#4613])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@gem_mmap_gtt@basic:
- shard-mtlp: NOTRUN -> [SKIP][54] ([i915#4077]) +7 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@gem_mmap_gtt@basic-read-write-distinct:
- shard-dg2: NOTRUN -> [SKIP][55] ([i915#4077]) +1 other test skip
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@gem_mmap_gtt@close-race:
- shard-dg1: NOTRUN -> [SKIP][56] ([i915#4077]) +6 other tests skip
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@[email protected]

* igt@gem_mmap_wc@close:
- shard-mtlp: NOTRUN -> [SKIP][57] ([i915#4083])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@gem_mmap_wc@invalid-flags:
- shard-dg1: NOTRUN -> [SKIP][58] ([i915#4083]) +1 other test skip
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@[email protected]

* igt@gem_partial_pwrite_pread@reads:
- shard-dg2: NOTRUN -> [SKIP][59] ([i915#3282]) +4 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@gem_partial_pwrite_pread@writes-after-reads:
- shard-rkl: NOTRUN -> [SKIP][60] ([i915#3282]) +5 other tests skip
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][61] ([i915#3282]) +5 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@gem_pread@exhaustion:
- shard-glk: NOTRUN -> [WARN][62] ([i915#2658])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-glk4/igt@[email protected]
- shard-mtlp: NOTRUN -> [SKIP][63] ([i915#3282]) +1 other test skip
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@gem_pxp@protected-encrypted-src-copy-not-readible:
- shard-mtlp: NOTRUN -> [SKIP][64] ([i915#4270]) +1 other test skip
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@gem_pxp@reject-modify-context-protection-off-2:
- shard-tglu: NOTRUN -> [SKIP][65] ([i915#4270]) +1 other test skip
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@[email protected]

* igt@gem_pxp@verify-pxp-execution-after-suspend-resume:
- shard-rkl: NOTRUN -> [SKIP][66] ([i915#4270]) +4 other tests skip
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][67] ([i915#4270]) +3 other tests skip
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@gem_render_copy@linear-to-vebox-y-tiled:
- shard-mtlp: NOTRUN -> [SKIP][68] ([i915#8428]) +2 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@gem_render_copy@yf-tiled-to-vebox-y-tiled:
- shard-dg2: NOTRUN -> [SKIP][69] ([i915#5190] / [i915#8428]) +2 other tests skip
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@gem_set_tiling_vs_blt@tiled-to-untiled:
- shard-rkl: NOTRUN -> [SKIP][70] ([i915#8411]) +1 other test skip
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-2/igt@[email protected]

* igt@gem_set_tiling_vs_gtt:
- shard-dg1: NOTRUN -> [SKIP][71] ([i915#4079]) +1 other test skip
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@gem_set_tiling_vs_gtt.html

* igt@gem_softpin@evict-snoop-interruptible:
- shard-dg1: NOTRUN -> [SKIP][72] ([i915#4885])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@[email protected]

* igt@gem_tiled_pread_pwrite:
- shard-dg2: NOTRUN -> [SKIP][73] ([i915#4079]) +1 other test skip
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@gem_tiled_pread_pwrite.html

* igt@gem_unfence_active_buffers:
- shard-mtlp: NOTRUN -> [SKIP][74] ([i915#4879])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@gem_unfence_active_buffers.html

* igt@gem_userptr_blits@coherency-unsync:
- shard-mtlp: NOTRUN -> [SKIP][75] ([i915#3297])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@gem_userptr_blits@create-destroy-unsync:
- shard-dg2: NOTRUN -> [SKIP][76] ([i915#3297])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-sync:
- shard-glk: NOTRUN -> [SKIP][77] ([i915#3323])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-glk5/igt@[email protected]

* igt@gem_userptr_blits@forbidden-operations:
- shard-dg2: NOTRUN -> [SKIP][78] ([i915#3282] / [i915#3297])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@gem_userptr_blits@map-fixed-invalidate:
- shard-dg1: NOTRUN -> [SKIP][79] ([i915#3297] / [i915#4880]) +1 other test skip
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@[email protected]

* igt@gem_userptr_blits@map-fixed-invalidate-busy:
- shard-dg2: NOTRUN -> [SKIP][80] ([i915#3297] / [i915#4880])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@gem_userptr_blits@unsync-unmap-cycles:
- shard-rkl: NOTRUN -> [SKIP][81] ([i915#3297])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-2/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][82] ([i915#3297]) +1 other test skip
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][83] ([i915#3297])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@[email protected]

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

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

* igt@gen9_exec_parse@batch-zero-length:
- shard-mtlp: NOTRUN -> [SKIP][86] ([i915#2856]) +1 other test skip
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@gen9_exec_parse@bb-oversize:
- shard-dg1: NOTRUN -> [SKIP][87] ([i915#2527]) +1 other test skip
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@gen9_exec_parse@bb-start-cmd:
- shard-dg2: NOTRUN -> [SKIP][88] ([i915#2856])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@gen9_exec_parse@unaligned-access:
- shard-rkl: NOTRUN -> [SKIP][89] ([i915#2527]) +2 other tests skip
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]

* igt@i915_module_load@reload-with-fault-injection:
- shard-dg2: [PASS][90] -> [INCOMPLETE][91] ([i915#9820] / [i915#9849])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg2-8/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@i915_pm_freq_api@freq-suspend:
- shard-rkl: NOTRUN -> [SKIP][92] ([i915#8399]) +1 other test skip
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]

* igt@i915_pm_freq_mult@media-freq@gt0:
- shard-rkl: NOTRUN -> [SKIP][93] ([i915#6590])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@i915_pm_freq_mult@[email protected]
- shard-dg1: NOTRUN -> [SKIP][94] ([i915#6590])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@i915_pm_freq_mult@[email protected]

* igt@i915_pm_rps@thresholds-idle-park@gt0:
- shard-mtlp: NOTRUN -> [SKIP][95] ([i915#8925])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@i915_pm_rps@[email protected]

* igt@i915_pm_rps@thresholds-idle-park@gt1:
- shard-mtlp: NOTRUN -> [SKIP][96] ([i915#3555] / [i915#8925])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@i915_pm_rps@[email protected]

* igt@i915_pm_rps@thresholds-idle@gt0:
- shard-dg2: NOTRUN -> [SKIP][97] ([i915#8925])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@i915_pm_rps@[email protected]
- shard-dg1: NOTRUN -> [SKIP][98] ([i915#8925])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@i915_pm_rps@[email protected]

* igt@i915_power@sanity:
- shard-rkl: NOTRUN -> [SKIP][99] ([i915#7984])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]

* igt@i915_selftest@live@gem_contexts:
- shard-dg1: [PASS][100] -> [INCOMPLETE][101] ([i915#10461])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg1-16/igt@i915_selftest@live@gem_contexts.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-13/igt@i915_selftest@live@gem_contexts.html

* igt@i915_selftest@mock@memory_region:
- shard-dg2: NOTRUN -> [DMESG-WARN][102] ([i915#9311])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@i915_selftest@mock@memory_region.html

* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- shard-mtlp: NOTRUN -> [SKIP][103] ([i915#5190])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@kms_addfb_basic@tile-pitch-mismatch:
- shard-dg1: NOTRUN -> [SKIP][104] ([i915#4212]) +1 other test skip
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@kms_async_flips@async-flip-with-page-flip-events@pipe-b-hdmi-a-2-y-rc-ccs-cc:
- shard-rkl: NOTRUN -> [SKIP][105] ([i915#8709]) +3 other tests skip
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@kms_async_flips@async-flip-with-page-flip-events@pipe-b-hdmi-a-2-y-rc-ccs-cc.html

* igt@kms_async_flips@async-flip-with-page-flip-events@pipe-b-hdmi-a-4-y-rc-ccs:
- shard-dg1: NOTRUN -> [SKIP][106] ([i915#8709]) +7 other tests skip
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@kms_async_flips@[email protected]

* igt@kms_async_flips@async-flip-with-page-flip-events@pipe-d-hdmi-a-2-4-mc-ccs:
- shard-dg2: NOTRUN -> [SKIP][107] ([i915#8709]) +11 other tests skip
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-2/igt@kms_async_flips@[email protected]

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

* igt@kms_big_fb@4-tiled-8bpp-rotate-180:
- shard-dg1: NOTRUN -> [SKIP][109] ([i915#4538] / [i915#5286]) +2 other tests skip
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][110] ([i915#5286]) +1 other test skip
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@[email protected]

* igt@kms_big_fb@4-tiled-addfb-size-overflow:
- shard-dg1: NOTRUN -> [SKIP][111] ([i915#5286]) +1 other test skip
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@[email protected]

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

* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-mtlp: [PASS][113] -> [FAIL][114] ([i915#5138])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-mtlp-5/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-4/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-tglu: NOTRUN -> [FAIL][115] ([i915#3743])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@[email protected]

* igt@kms_big_fb@y-tiled-64bpp-rotate-270:
- shard-rkl: NOTRUN -> [SKIP][116] ([i915#3638]) +3 other tests skip
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][117] ([i915#3638]) +1 other test skip
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@kms_big_fb@y-tiled-8bpp-rotate-0:
- shard-dg2: NOTRUN -> [SKIP][118] ([i915#4538] / [i915#5190]) +5 other tests skip
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@kms_big_fb@y-tiled-addfb-size-overflow:
- shard-mtlp: NOTRUN -> [SKIP][119] ([i915#6187])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
- shard-tglu: [PASS][120] -> [FAIL][121] ([i915#3743])
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-tglu-8/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-7/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html

* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-dg1: NOTRUN -> [SKIP][122] ([i915#4538]) +2 other tests skip
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@[email protected]

* igt@kms_ccs@bad-pixel-format-4-tiled-dg2-rc-ccs@pipe-a-hdmi-a-1:
- shard-rkl: NOTRUN -> [SKIP][123] ([i915#6095]) +81 other tests skip
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-4/igt@kms_ccs@[email protected]

* igt@kms_ccs@crc-primary-basic-y-tiled-ccs@pipe-d-edp-1:
- shard-mtlp: NOTRUN -> [SKIP][124] ([i915#6095]) +23 other tests skip
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@kms_ccs@[email protected]

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

* igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-mc-ccs@pipe-c-hdmi-a-4:
- shard-dg1: NOTRUN -> [SKIP][126] ([i915#6095]) +91 other tests skip
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-mc-ccs@pipe-c-hdmi-a-4.html

* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-mc-ccs@pipe-a-hdmi-a-3:
- shard-dg2: NOTRUN -> [SKIP][127] ([i915#10307] / [i915#6095]) +120 other tests skip
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-5/igt@kms_ccs@[email protected]

* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-xe2-ccs:
- shard-rkl: NOTRUN -> [SKIP][128] ([i915#10278])
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]

* igt@kms_ccs@random-ccs-data-4-tiled-xe2-ccs:
- shard-mtlp: NOTRUN -> [SKIP][129] ([i915#10278])
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

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

* igt@kms_cdclk@mode-transition-all-outputs:
- shard-mtlp: NOTRUN -> [SKIP][131] ([i915#7213] / [i915#9010])
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

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

* igt@kms_cdclk@plane-scaling@pipe-d-hdmi-a-1:
- shard-dg2: NOTRUN -> [SKIP][133] ([i915#4087]) +3 other tests skip
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-8/igt@kms_cdclk@[email protected]

* igt@kms_chamelium_audio@hdmi-audio-edid:
- shard-dg1: NOTRUN -> [SKIP][134] ([i915#7828]) +8 other tests skip
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@kms_chamelium_edid@dp-edid-stress-resolution-non-4k:
- shard-dg2: NOTRUN -> [SKIP][135] ([i915#7828]) +3 other tests skip
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@kms_chamelium_hpd@dp-hpd-storm-disable:
- shard-tglu: NOTRUN -> [SKIP][136] ([i915#7828]) +2 other tests skip
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@[email protected]

* igt@kms_chamelium_hpd@vga-hpd-for-each-pipe:
- shard-rkl: NOTRUN -> [SKIP][137] ([i915#7828]) +9 other tests skip
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-2/igt@[email protected]

* igt@kms_chamelium_hpd@vga-hpd-without-ddc:
- shard-mtlp: NOTRUN -> [SKIP][138] ([i915#7828]) +3 other tests skip
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@kms_content_protection@content-type-change:
- shard-tglu: NOTRUN -> [SKIP][139] ([i915#6944] / [i915#9424])
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@[email protected]
- shard-dg2: NOTRUN -> [SKIP][140] ([i915#9424])
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][141] ([i915#9424])
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@[email protected]

* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-dg1: NOTRUN -> [SKIP][142] ([i915#3299])
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@kms_content_protection@dp-mst-type-0:
- shard-mtlp: NOTRUN -> [SKIP][143] ([i915#3299])
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@kms_content_protection@legacy:
- shard-tglu: NOTRUN -> [SKIP][144] ([i915#6944] / [i915#7116] / [i915#7118] / [i915#9424])
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@[email protected]
- shard-rkl: NOTRUN -> [SKIP][145] ([i915#7118] / [i915#9424])
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-2/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][146] ([i915#7116] / [i915#9424])
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@[email protected]

* igt@kms_content_protection@srm:
- shard-dg2: NOTRUN -> [SKIP][147] ([i915#7118])
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@kms_cursor_crc@cursor-offscreen-32x32:
- shard-dg1: NOTRUN -> [SKIP][148] ([i915#3555]) +7 other tests skip
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][149] ([i915#3555]) +1 other test skip
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@[email protected]

* igt@kms_cursor_crc@cursor-offscreen-512x170:
- shard-tglu: NOTRUN -> [SKIP][150] ([i915#3359]) +1 other test skip
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][151] ([i915#3359])
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@[email protected]

* igt@kms_cursor_crc@cursor-random-512x170:
- shard-dg2: NOTRUN -> [SKIP][152] ([i915#3359]) +1 other test skip
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

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

* igt@kms_cursor_crc@cursor-rapid-movement-512x512:
- shard-rkl: NOTRUN -> [SKIP][154] ([i915#3359])
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]

* igt@kms_cursor_crc@cursor-rapid-movement-max-size:
- shard-rkl: NOTRUN -> [SKIP][155] ([i915#3555]) +4 other tests skip
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]

* igt@kms_cursor_crc@cursor-sliding-256x85:
- shard-mtlp: NOTRUN -> [SKIP][156] ([i915#8814])
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size:
- shard-rkl: NOTRUN -> [SKIP][157] ([i915#4103]) +1 other test skip
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-5/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size.html
- shard-dg1: NOTRUN -> [SKIP][158] ([i915#4103] / [i915#4213])
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size.html
- shard-dg2: NOTRUN -> [SKIP][159] ([i915#4103] / [i915#4213]) +1 other test skip
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size.html

* igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size:
- shard-mtlp: NOTRUN -> [SKIP][160] ([i915#4213])
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size.html

* igt@kms_dirtyfb@fbc-dirtyfb-ioctl@a-hdmi-a-1:
- shard-dg2: NOTRUN -> [SKIP][161] ([i915#9227])
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-8/igt@kms_dirtyfb@[email protected]
- shard-tglu: NOTRUN -> [SKIP][162] ([i915#9723])
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@kms_dirtyfb@[email protected]

* igt@kms_dirtyfb@fbc-dirtyfb-ioctl@a-hdmi-a-4:
- shard-dg1: NOTRUN -> [SKIP][163] ([i915#9723])
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@kms_dirtyfb@[email protected]

* igt@kms_dirtyfb@psr-dirtyfb-ioctl:
- shard-rkl: NOTRUN -> [SKIP][164] ([i915#9723]) +1 other test skip
[164]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]

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

* igt@kms_draw_crc@draw-method-mmap-gtt:
- shard-dg2: NOTRUN -> [SKIP][166] ([i915#8812])
[166]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@kms_dsc@dsc-fractional-bpp:
- shard-rkl: NOTRUN -> [SKIP][167] ([i915#3840])
[167]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]

* igt@kms_dsc@dsc-fractional-bpp-with-bpc:
- shard-mtlp: NOTRUN -> [SKIP][168] ([i915#3840])
[168]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@kms_dsc@dsc-with-bpc-formats:
- shard-dg1: NOTRUN -> [SKIP][169] ([i915#3555] / [i915#3840]) +1 other test skip
[169]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@kms_dsc@dsc-with-formats:
- shard-tglu: NOTRUN -> [SKIP][170] ([i915#3555] / [i915#3840])
[170]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@[email protected]
- shard-dg2: NOTRUN -> [SKIP][171] ([i915#3555] / [i915#3840]) +1 other test skip
[171]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@kms_fbcon_fbt@psr:
- shard-rkl: NOTRUN -> [SKIP][172] ([i915#3955])
[172]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]

* igt@kms_fbcon_fbt@psr-suspend:
- shard-dg2: NOTRUN -> [SKIP][173] ([i915#3469])
[173]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@kms_fence_pin_leak:
- shard-dg1: NOTRUN -> [SKIP][174] ([i915#4881])
[174]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@kms_fence_pin_leak.html

* igt@kms_flip@2x-absolute-wf_vblank:
- shard-dg2: NOTRUN -> [SKIP][175] +9 other tests skip
[175]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@kms_flip@2x-absolute-wf_vblank.html

* igt@kms_flip@2x-flip-vs-panning-vs-hang:
- shard-tglu: NOTRUN -> [SKIP][176] ([i915#3637])
[176]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@[email protected]

* igt@kms_flip@2x-modeset-vs-vblank-race-interruptible:
- shard-mtlp: NOTRUN -> [SKIP][177] ([i915#3637]) +5 other tests skip
[177]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

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

* igt@kms_flip@flip-vs-fences:
- shard-mtlp: NOTRUN -> [SKIP][179] ([i915#8381])
[179]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-default-mode:
- shard-mtlp: NOTRUN -> [SKIP][180] ([i915#2672]) +1 other test skip
[180]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-default-mode.html

* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-upscaling@pipe-a-valid-mode:
- shard-rkl: NOTRUN -> [SKIP][181] ([i915#2672]) +3 other tests skip
[181]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-upscaling@pipe-a-valid-mode.html

* igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling@pipe-a-valid-mode:
- shard-dg2: NOTRUN -> [SKIP][182] ([i915#2672]) +2 other tests skip
[182]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling@pipe-a-valid-mode.html
- shard-dg1: NOTRUN -> [SKIP][183] ([i915#2587] / [i915#2672]) +2 other tests skip
[183]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling@pipe-a-valid-mode.html

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-default-mode:
- shard-mtlp: NOTRUN -> [SKIP][184] ([i915#2672] / [i915#3555])
[184]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-default-mode.html

* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-valid-mode:
- shard-tglu: NOTRUN -> [SKIP][185] ([i915#2587] / [i915#2672])
[185]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-upscaling@pipe-a-valid-mode.html

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

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-dg2: [PASS][187] -> [FAIL][188] ([i915#6880])
[187]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg2-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html
[188]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@fbc-2p-rte:
- shard-dg2: NOTRUN -> [SKIP][189] ([i915#5354]) +17 other tests skip
[189]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-onoff:
- shard-tglu: NOTRUN -> [SKIP][190] +35 other tests skip
[190]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-shrfb-pgflip-blt:
- shard-dg1: NOTRUN -> [SKIP][191] +46 other tests skip
[191]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-tiling-4:
- shard-rkl: NOTRUN -> [SKIP][192] ([i915#5439])
[192]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][193] ([i915#5439])
[193]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-pwrite:
- shard-dg1: NOTRUN -> [SKIP][194] ([i915#3458]) +16 other tests skip
[194]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-pwrite.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-mmap-cpu:
- shard-mtlp: NOTRUN -> [SKIP][195] ([i915#1825]) +15 other tests skip
[195]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-shrfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-cpu:
- shard-rkl: NOTRUN -> [SKIP][196] ([i915#1825]) +38 other tests skip
[196]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-shrfb-fliptrack-mmap-gtt:
- shard-dg2: NOTRUN -> [SKIP][197] ([i915#8708]) +7 other tests skip
[197]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-tiling-y:
- shard-mtlp: NOTRUN -> [SKIP][198] ([i915#10055])
[198]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-mmap-gtt:
- shard-dg1: NOTRUN -> [SKIP][199] ([i915#8708]) +16 other tests skip
[199]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-mmap-gtt.html

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

* igt@kms_frontbuffer_tracking@psr-1p-rte:
- shard-dg2: NOTRUN -> [SKIP][201] ([i915#3458]) +9 other tests skip
[201]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@kms_hdr@invalid-hdr:
- shard-dg2: NOTRUN -> [SKIP][202] ([i915#3555] / [i915#8228]) +1 other test skip
[202]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][203] ([i915#3555] / [i915#8228])
[203]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@[email protected]

* igt@kms_hdr@invalid-metadata-sizes:
- shard-rkl: NOTRUN -> [SKIP][204] ([i915#3555] / [i915#8228]) +1 other test skip
[204]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][205] ([i915#3555] / [i915#8228]) +1 other test skip
[205]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@kms_panel_fitting@atomic-fastset:
- shard-tglu: NOTRUN -> [SKIP][206] ([i915#6301])
[206]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@[email protected]
- shard-rkl: NOTRUN -> [SKIP][207] ([i915#6301])
[207]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-2/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][208] ([i915#6301])
[208]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@[email protected]

* igt@kms_plane@pixel-format-source-clamping@pipe-a:
- shard-mtlp: [PASS][209] -> [ABORT][210] ([i915#10650])
[209]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-mtlp-2/igt@kms_plane@[email protected]
[210]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-4/igt@kms_plane@[email protected]

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

* igt@kms_plane_alpha_blend@alpha-transparent-fb@pipe-a-hdmi-a-1:
- shard-glk: NOTRUN -> [FAIL][212] ([i915#10647]) +1 other test fail
[212]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-glk4/igt@kms_plane_alpha_blend@[email protected]

* igt@kms_plane_scaling@2x-scaler-multi-pipe:
- shard-mtlp: NOTRUN -> [SKIP][213] ([i915#9809]) +1 other test skip
[213]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

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

* igt@kms_plane_scaling@plane-downscale-factor-0-75-with-rotation@pipe-d-hdmi-a-1:
- shard-tglu: NOTRUN -> [SKIP][215] ([i915#9423]) +3 other tests skip
[215]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@plane-scaler-unity-scaling-with-rotation@pipe-a-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][216] ([i915#9423]) +9 other tests skip
[216]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-b-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][217] ([i915#5176] / [i915#9423]) +1 other test skip
[217]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-6/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-b-hdmi-a-2.html

* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-25@pipe-a-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][218] ([i915#5235]) +7 other tests skip
[218]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@kms_plane_scaling@[email protected]

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-dp-4:
- shard-dg2: NOTRUN -> [SKIP][219] ([i915#5235] / [i915#9423]) +7 other tests skip
[219]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-dp-4.html

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-1:
- shard-tglu: NOTRUN -> [SKIP][220] ([i915#5235]) +3 other tests skip
[220]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-1.html

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-4:
- shard-dg1: NOTRUN -> [SKIP][221] ([i915#5235]) +11 other tests skip
[221]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-4.html

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75@pipe-a-edp-1:
- shard-mtlp: NOTRUN -> [SKIP][222] ([i915#5235]) +5 other tests skip
[222]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75@pipe-a-edp-1.html

* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75@pipe-d-edp-1:
- shard-mtlp: NOTRUN -> [SKIP][223] ([i915#3555] / [i915#5235]) +1 other test skip
[223]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75@pipe-d-edp-1.html

* igt@kms_pm_backlight@basic-brightness:
- shard-rkl: NOTRUN -> [SKIP][224] ([i915#5354])
[224]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]

* igt@kms_pm_dc@dc6-psr:
- shard-rkl: NOTRUN -> [SKIP][225] ([i915#9685])
[225]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-2/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][226] ([i915#9685])
[226]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][227] ([i915#9685])
[227]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@[email protected]

* igt@kms_pm_rpm@i2c:
- shard-dg2: [PASS][228] -> [FAIL][229] ([i915#8717])
[228]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg2-10/igt@[email protected]
[229]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-2/igt@[email protected]

* igt@kms_pm_rpm@modeset-lpsp-stress:
- shard-rkl: [PASS][230] -> [SKIP][231] ([i915#9519]) +1 other test skip
[230]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-rkl-2/igt@[email protected]
[231]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][232] ([i915#9519])
[232]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@kms_pm_rpm@modeset-non-lpsp:
- shard-mtlp: NOTRUN -> [SKIP][233] ([i915#9519])
[233]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@kms_pm_rpm@modeset-non-lpsp-stress:
- shard-rkl: NOTRUN -> [SKIP][234] ([i915#9519]) +1 other test skip
[234]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-5/igt@[email protected]

* igt@kms_pm_rpm@modeset-non-lpsp-stress-no-wait:
- shard-dg2: [PASS][235] -> [SKIP][236] ([i915#9519])
[235]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg2-2/igt@[email protected]
[236]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@kms_prime@basic-crc-hybrid:
- shard-tglu: NOTRUN -> [SKIP][237] ([i915#6524])
[237]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@[email protected]

* igt@kms_prime@basic-modeset-hybrid:
- shard-rkl: NOTRUN -> [SKIP][238] ([i915#6524]) +1 other test skip
[238]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][239] ([i915#6524]) +1 other test skip
[239]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-mtlp: NOTRUN -> [SKIP][240] ([i915#4348]) +1 other test skip
[240]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@kms_psr2_su@page_flip-nv12:
- shard-rkl: NOTRUN -> [SKIP][241] ([i915#9683])
[241]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@kms_psr2_su@page_flip-nv12.html
- shard-dg1: NOTRUN -> [SKIP][242] ([i915#9683])
[242]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@kms_psr2_su@page_flip-nv12.html

* igt@kms_psr@fbc-psr-primary-mmap-cpu@edp-1:
- shard-mtlp: NOTRUN -> [SKIP][243] ([i915#9688]) +5 other tests skip
[243]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@kms_psr@[email protected]

* igt@kms_psr@fbc-psr2-cursor-mmap-gtt:
- shard-glk: NOTRUN -> [SKIP][244] +881 other tests skip
[244]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-glk4/igt@[email protected]

* igt@kms_psr@fbc-psr2-dpms:
- shard-dg2: NOTRUN -> [SKIP][245] ([i915#1072] / [i915#9732]) +3 other tests skip
[245]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@kms_psr@fbc-psr2-sprite-render:
- shard-rkl: NOTRUN -> [SKIP][246] ([i915#1072] / [i915#9732]) +24 other tests skip
[246]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]

* igt@kms_psr@psr-primary-render:
- shard-tglu: NOTRUN -> [SKIP][247] ([i915#9732]) +10 other tests skip
[247]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-3/igt@[email protected]

* igt@kms_psr@psr2-cursor-plane-onoff:
- shard-dg2: NOTRUN -> [SKIP][248] ([i915#1072] / [i915#9673] / [i915#9732]) +4 other tests skip
[248]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@kms_psr@psr2-sprite-mmap-gtt:
- shard-dg1: NOTRUN -> [SKIP][249] ([i915#1072] / [i915#9732]) +21 other tests skip
[249]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@kms_rotation_crc@bad-pixel-format:
- shard-mtlp: NOTRUN -> [SKIP][250] ([i915#4235])
[250]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

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

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

* igt@kms_setmode@invalid-clone-single-crtc-stealing:
- shard-dg2: NOTRUN -> [SKIP][253] ([i915#3555])
[253]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@kms_universal_plane@cursor-fb-leak@pipe-a-hdmi-a-1:
- shard-tglu: [PASS][254] -> [FAIL][255] ([i915#9196])
[254]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-tglu-3/igt@kms_universal_plane@[email protected]
[255]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-7/igt@kms_universal_plane@[email protected]

* igt@kms_vrr@flip-basic-fastset:
- shard-rkl: NOTRUN -> [SKIP][256] ([i915#9906]) +1 other test skip
[256]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]

* igt@kms_vrr@max-min:
- shard-dg1: NOTRUN -> [SKIP][257] ([i915#9906]) +1 other test skip
[257]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]

* igt@kms_vrr@seamless-rr-switch-vrr:
- shard-mtlp: NOTRUN -> [SKIP][258] ([i915#8808] / [i915#9906])
[258]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@kms_writeback@writeback-check-output:
- shard-rkl: NOTRUN -> [SKIP][259] ([i915#2437])
[259]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]

* igt@kms_writeback@writeback-fb-id:
- shard-glk: NOTRUN -> [SKIP][260] ([i915#2437]) +1 other test skip
[260]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-glk3/igt@[email protected]

* igt@kms_writeback@writeback-invalid-parameters:
- shard-dg2: NOTRUN -> [SKIP][261] ([i915#2437])
[261]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@[email protected]

* igt@kms_writeback@writeback-pixel-formats:
- shard-rkl: NOTRUN -> [SKIP][262] ([i915#2437] / [i915#9412])
[262]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@[email protected]

* igt@perf@gen8-unprivileged-single-ctx-counters:
- shard-mtlp: NOTRUN -> [SKIP][263] ([i915#7387])
[263]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@perf@non-zero-reason@0-rcs0:
- shard-dg2: NOTRUN -> [FAIL][264] ([i915#9100])
[264]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@perf@[email protected]

* igt@perf_pmu@frequency@gt0:
- shard-dg1: NOTRUN -> [FAIL][265] ([i915#6806])
[265]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@perf_pmu@[email protected]

* igt@perf_pmu@most-busy-idle-check-all@rcs0:
- shard-rkl: NOTRUN -> [FAIL][266] ([i915#4349])
[266]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-3/igt@perf_pmu@[email protected]

* igt@prime_vgem@fence-flip-hang:
- shard-dg1: NOTRUN -> [SKIP][267] ([i915#3708])
[267]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@[email protected]
- shard-rkl: NOTRUN -> [SKIP][268] ([i915#3708])
[268]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@[email protected]

* igt@prime_vgem@fence-read-hang:
- shard-mtlp: NOTRUN -> [SKIP][269] ([i915#3708])
[269]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@sriov_basic@enable-vfs-autoprobe-off:
- shard-mtlp: NOTRUN -> [SKIP][270] ([i915#9917])
[270]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@sriov_basic@enable-vfs-autoprobe-on:
- shard-tglu: NOTRUN -> [SKIP][271] ([i915#9917])
[271]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@[email protected]
- shard-dg2: NOTRUN -> [SKIP][272] ([i915#9917])
[272]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]
- shard-dg1: NOTRUN -> [SKIP][273] ([i915#9917])
[273]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-18/igt@[email protected]

* igt@syncobj_timeline@invalid-wait-zero-handles:
- shard-glk: NOTRUN -> [FAIL][274] ([i915#9781])
[274]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-glk4/igt@[email protected]

* igt@v3d/v3d_get_bo_offset@get-bad-handle:
- shard-dg2: NOTRUN -> [SKIP][275] ([i915#2575]) +4 other tests skip
[275]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-10/igt@v3d/[email protected]

* igt@v3d/v3d_perfmon@destroy-invalid-perfmon:
- shard-mtlp: NOTRUN -> [SKIP][276] ([i915#2575]) +4 other tests skip
[276]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@v3d/[email protected]

* igt@v3d/v3d_perfmon@get-values-valid-perfmon:
- shard-rkl: NOTRUN -> [SKIP][277] +40 other tests skip
[277]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@v3d/[email protected]

* igt@v3d/v3d_submit_cl@job-perfmon:
- shard-dg1: NOTRUN -> [SKIP][278] ([i915#2575]) +9 other tests skip
[278]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@v3d/[email protected]

* igt@vc4/vc4_create_bo@create-bo-zeroed:
- shard-mtlp: NOTRUN -> [SKIP][279] ([i915#7711]) +3 other tests skip
[279]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@vc4/[email protected]

* igt@vc4/vc4_mmap@mmap-bad-handle:
- shard-dg1: NOTRUN -> [SKIP][280] ([i915#7711]) +8 other tests skip
[280]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-17/igt@vc4/[email protected]

* igt@vc4/vc4_perfmon@create-single-perfmon:
- shard-tglu: NOTRUN -> [SKIP][281] ([i915#2575]) +6 other tests skip
[281]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@vc4/[email protected]

* igt@vc4/vc4_tiling@set-bad-handle:
- shard-rkl: NOTRUN -> [SKIP][282] ([i915#7711]) +7 other tests skip
[282]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@vc4/[email protected]

* igt@vc4/vc4_wait_seqno@bad-seqno-1ns:
- shard-dg2: NOTRUN -> [SKIP][283] ([i915#7711]) +4 other tests skip
[283]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@vc4/[email protected]

#### Possible fixes ####

* igt@gem_ctx_exec@basic-nohangcheck:
- shard-tglu: [FAIL][284] ([i915#6268]) -> [PASS][285]
[284]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-tglu-9/igt@[email protected]
[285]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-4/igt@[email protected]

* igt@gem_exec_fair@basic-none@bcs0:
- shard-rkl: [FAIL][286] ([i915#2842]) -> [PASS][287] +1 other test pass
[286]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-rkl-4/igt@gem_exec_fair@[email protected]
[287]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-1/igt@gem_exec_fair@[email protected]

* igt@gem_exec_suspend@basic-s4-devices@smem:
- shard-tglu: [ABORT][288] ([i915#7975] / [i915#8213]) -> [PASS][289]
[288]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-tglu-10/igt@gem_exec_suspend@[email protected]
[289]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@gem_exec_suspend@[email protected]

* igt@i915_pm_rc6_residency@rc6-idle@gt0-vcs0:
- shard-dg1: [FAIL][290] ([i915#3591]) -> [PASS][291]
[290]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg1-14/igt@i915_pm_rc6_residency@[email protected]
[291]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-16/igt@i915_pm_rc6_residency@[email protected]

* igt@i915_power@sanity:
- shard-mtlp: [SKIP][292] ([i915#7984]) -> [PASS][293]
[292]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-mtlp-2/igt@[email protected]
[293]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-8/igt@[email protected]

* igt@i915_suspend@basic-s3-without-i915:
- shard-rkl: [FAIL][294] ([i915#10031]) -> [PASS][295]
[294]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-rkl-4/igt@[email protected]
[295]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-2/igt@[email protected]

* igt@kms_async_flips@alternate-sync-async-flip@pipe-a-hdmi-a-1:
- shard-snb: [FAIL][296] ([i915#2521]) -> [PASS][297]
[296]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-snb6/igt@kms_async_flips@[email protected]
[297]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-snb7/igt@kms_async_flips@[email protected]

* igt@kms_flip@flip-vs-blocking-wf-vblank@a-hdmi-a4:
- shard-dg1: [FAIL][298] ([i915#2122]) -> [PASS][299] +1 other test pass
[298]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg1-16/igt@kms_flip@[email protected]
[299]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-15/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-pgflip-blt:
- shard-dg2: [FAIL][300] ([i915#6880]) -> [PASS][301]
[300]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg2-11/igt@[email protected]
[301]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@kms_plane@pixel-format@pipe-a:
- shard-tglu: [INCOMPLETE][302] -> [PASS][303]
[302]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-tglu-5/igt@kms_plane@[email protected]
[303]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-9/igt@kms_plane@[email protected]

* igt@kms_pm_rpm@dpms-mode-unset-non-lpsp:
- shard-dg2: [SKIP][304] ([i915#9519]) -> [PASS][305]
[304]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg2-8/igt@[email protected]
[305]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-6/igt@[email protected]

* igt@kms_pm_rpm@modeset-lpsp:
- shard-rkl: [SKIP][306] ([i915#9519]) -> [PASS][307]
[306]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-rkl-3/igt@[email protected]
[307]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-rkl-5/igt@[email protected]

* igt@kms_universal_plane@cursor-fb-leak@pipe-b-edp-1:
- shard-mtlp: [FAIL][308] ([i915#9196]) -> [PASS][309]
[308]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-mtlp-7/igt@kms_universal_plane@[email protected]
[309]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-7/igt@kms_universal_plane@[email protected]

* igt@kms_universal_plane@cursor-fb-leak@pipe-b-hdmi-a-1:
- shard-tglu: [FAIL][310] ([i915#9196]) -> [PASS][311]
[310]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-tglu-3/igt@kms_universal_plane@[email protected]
[311]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-7/igt@kms_universal_plane@[email protected]

#### Warnings ####

* igt@i915_module_load@reload-with-fault-injection:
- shard-dg1: [INCOMPLETE][312] ([i915#4391] / [i915#4423] / [i915#9820] / [i915#9849]) -> [INCOMPLETE][313] ([i915#9820] / [i915#9849])
[312]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg1-15/igt@[email protected]
[313]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg1-14/igt@[email protected]
- shard-mtlp: [ABORT][314] ([i915#10131] / [i915#9697]) -> [ABORT][315] ([i915#10131] / [i915#9820])
[314]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-mtlp-6/igt@[email protected]
[315]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-mtlp-2/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-idle@gt0-bcs0:
- shard-tglu: [FAIL][316] ([i915#3591]) -> [WARN][317] ([i915#2681])
[316]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-tglu-6/igt@i915_pm_rc6_residency@[email protected]
[317]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-tglu-8/igt@i915_pm_rc6_residency@[email protected]

* igt@kms_psr@fbc-psr-primary-page-flip:
- shard-dg2: [SKIP][318] ([i915#1072] / [i915#9732]) -> [SKIP][319] ([i915#1072] / [i915#9673] / [i915#9732]) +5 other tests skip
[318]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg2-6/igt@[email protected]
[319]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-11/igt@[email protected]

* igt@kms_psr@psr2-primary-mmap-gtt:
- shard-dg2: [SKIP][320] ([i915#1072] / [i915#9673] / [i915#9732]) -> [SKIP][321] ([i915#1072] / [i915#9732]) +5 other tests skip
[320]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg2-11/igt@[email protected]
[321]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-7/igt@[email protected]

* igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem:
- shard-dg2: [CRASH][322] ([i915#9351]) -> [INCOMPLETE][323] ([i915#5493])
[322]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14528/shard-dg2-3/igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem.html
[323]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_132050v1/shard-dg2-5/igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem.html

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

[i915#10031]: https://gitlab.freedesktop.org/drm/intel/issues/10031
[i915#10055]: https://gitlab.freedesktop.org/drm/intel/issues/10055
[i915#10131]: https://gitlab.freedesktop.org/drm/intel/issues/10131
[i915#10278]: https://gitlab.freedesktop.org/drm/intel/issues/10278
[i915#10307]: https://gitlab.freedesktop.org/drm/intel/issues/10307
[i915#10378]: https://gitlab.freedesktop.org/drm/intel/issues/10378
[i915#10434]: https://gitlab.freedesktop.org/drm/intel/issues/10434
[i915#10461]: https://gitlab.freedesktop.org/drm/intel/issues/10461
[i915#10647]: https://gitlab.freedesktop.org/drm/intel/issues/10647
[i915#10650]: https://gitlab.freedesktop.org/drm/intel/issues/10650
[i915#10656]: https://gitlab.freedesktop.org/drm/intel/issues/10656
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[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#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
[i915#3778]: https://gitlab.freedesktop.org/drm/intel/issues/3778
[i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#4036]: https://gitlab.freedesktop.org/drm/intel/issues/4036
[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#4087]: https://gitlab.freedesktop.org/drm/intel/issues/4087
[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#4235]: https://gitlab.freedesktop.org/drm/intel/issues/4235
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4348]: https://gitlab.freedesktop.org/drm/intel/issues/4348
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
[i915#4473]: https://gitlab.freedesktop.org/drm/intel/issues/4473
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4537]: https://gitlab.freedesktop.org/drm/intel/issues/4537
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4879]: https://gitlab.freedesktop.org/drm/intel/issues/4879
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885
[i915#5138]: https://gitlab.freedesktop.org/drm/intel/issues/5138
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6187]: https://gitlab.freedesktop.org/drm/intel/issues/6187
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590
[i915#6806]: https://gitlab.freedesktop.org/drm/intel/issues/6806
[i915#6880]: https://gitlab.freedesktop.org/drm/intel/issues/6880
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#7016]: https://gitlab.freedesktop.org/drm/intel/issues/7016
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7213]: https://gitlab.freedesktop.org/drm/intel/issues/7213
[i915#7387]: https://gitlab.freedesktop.org/drm/intel/issues/7387
[i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7862]: https://gitlab.freedesktop.org/drm/intel/issues/7862
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#7984]: https://gitlab.freedesktop.org/drm/intel/issues/7984
[i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
[i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
[i915#8381]: https://gitlab.freedesktop.org/drm/intel/issues/8381
[i915#8399]: https://gitlab.freedesktop.org/drm/intel/issues/8399
[i915#8411]: https://gitlab.freedesktop.org/drm/intel/issues/8411
[i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414
[i915#8428]: https://gitlab.freedesktop.org/drm/intel/issues/8428
[i915#8555]: https://gitlab.freedesktop.org/drm/intel/issues/8555
[i915#8708]: https://gitlab.freedesktop.org/drm/intel/issues/8708
[i915#8709]: https://gitlab.freedesktop.org/drm/intel/issues/8709
[i915#8717]: https://gitlab.freedesktop.org/drm/intel/issues/8717
[i915#8808]: https://gitlab.freedesktop.org/drm/intel/issues/8808
[i915#8812]: https://gitlab.freedesktop.org/drm/intel/issues/8812
[i915#8814]: https://gitlab.freedesktop.org/drm/intel/issues/8814
[i915#8925]: https://gitlab.freedesktop.org/drm/intel/issues/8925
[i915#9010]: https://gitlab.freedesktop.org/drm/intel/issues/9010
[i915#9100]: https://gitlab.freedesktop.org/drm/intel/issues/9100
[i915#9196]: https://gitlab.freedesktop.org/drm/intel/issues/9196
[i915#9227]: https://gitlab.freedesktop.org/drm/intel/issues/9227
[i915#9311]: https://gitlab.freedesktop.org/drm/intel/issues/9311
[i915#9318]: https://gitlab.freedesktop.org/drm/intel/issues/9318
[i915#9323]: https://gitlab.freedesktop.org/drm/intel/issues/9323
[i915#9351]: https://gitlab.freedesktop.org/drm/intel/issues/9351
[i915#9412]: https://gitlab.freedesktop.org/drm/intel/issues/9412
[i915#9423]: https://gitlab.freedesktop.org/drm/intel/issues/9423
[i915#9424]: https://gitlab.freedesktop.org/drm/intel/issues/9424
[i915#9519]: https://gitlab.freedesktop.org/drm/intel/issues/9519
[i915#9606]: https://gitlab.freedesktop.org/drm/intel/issues/9606
[i915#9673]: https://gitlab.freedesktop.org/drm/intel/issues/9673
[i915#9683]: https://gitlab.freedesktop.org/drm/intel/issues/9683
[i915#9685]: https://gitlab.freedesktop.org/drm/intel/issues/9685
[i915#9688]: https://gitlab.freedesktop.org/drm/intel/issues/9688
[i915#9697]: https://gitlab.freedesktop.org/drm/intel/issues/9697
[i915#9723]: https://gitlab.freedesktop.org/drm/intel/issues/9723
[i915#9732]: https://gitlab.freedesktop.org/drm/intel/issues/9732
[i915#9781]: https://gitlab.freedesktop.org/drm/intel/issues/9781
[i915#9809]: https://gitlab.freedesktop.org/drm/intel/issues/9809
[i915#9820]: https://gitlab.freedesktop.org/drm/intel/issues/9820
[i915#9849]: https://gitlab.freedesktop.org/drm/intel/issues/9849
[i915#9906]: https://gitlab.freedesktop.org/drm/intel/issues/9906
[i915#9917]: https://gitlab.freedesktop.org/drm/intel/issues/9917
[i915#9934]: https://gitlab.freedesktop.org/drm/intel/issues/9934

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

* Linux: CI_DRM_14528 -> Patchwork_132050v1

CI-20190529: 20190529
CI_DRM_14528: 7392b2b6f33eb4d279abf14e33e73f491f7f9191 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7799: 7799
Patchwork_132050v1: 7392b2b6f33eb4d279abf14e33e73f491f7f9191 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

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