Skip to contentSkip to conversation

drm/i915: add spam for force-load-detect

PATCH New Maarten Lankhorst 2 participants 2 messages Mar 1, 2016

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

PATCH 1/1 drm/i915: add spam for force-load-detect

Patch to force CI to reveal why force-load-detect test fails.

---
 drivers/gpu/drm/i915/intel_display.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/intel_display.c +8 -7
index 368d24728b16..7b4c8aed91a6 100644
@@ -10445,7 +10445,7 @@ bool intel_get_load_detect_pipe(struct drm_connector *connector,
 	struct intel_crtc_state *crtc_state;
 	int ret, i = -1;
 
-	DRM_DEBUG_KMS("[CONNECTOR:%d:%s], [ENCODER:%d:%s]\n",
+	DRM_ERROR("[CONNECTOR:%d:%s], [ENCODER:%d:%s]\n",
 		      connector->base.id, connector->name,
 		      encoder->base.id, encoder->name);
 
@@ -10501,7 +10501,7 @@ retry:
 	 * If we didn't find an unused CRTC, don't use any.
 	 */
 	if (!crtc) {
-		DRM_DEBUG_KMS("no pipe available for load-detect\n");
+		DRM_ERROR("no pipe available for load-detect\n");
 		goto fail;
 	}
 
@@ -10552,12 +10552,12 @@ found:
 	 */
 	fb = mode_fits_in_fbdev(dev, mode);
 	if (fb == NULL) {
-		DRM_DEBUG_KMS("creating tmp fb for load-detection\n");
+		DRM_ERROR("creating tmp fb for load-detection\n");
 		fb = intel_framebuffer_create_for_mode(dev, mode, 24, 32);
 	} else
-		DRM_DEBUG_KMS("reusing fbdev for load-detection framebuffer\n");
+		DRM_ERROR("reusing fbdev for load-detection framebuffer\n");
 	if (IS_ERR(fb)) {
-		DRM_DEBUG_KMS("failed to allocate framebuffer for load-detection\n");
+		DRM_ERROR("failed to allocate framebuffer for load-detection\n");
 		goto fail;
 	}
 
@@ -10577,13 +10577,13 @@ found:
 	if (!ret)
 		ret = PTR_ERR_OR_ZERO(drm_atomic_get_plane_state(restore_state, crtc->primary));
 	if (ret) {
-		DRM_DEBUG_KMS("Failed to create a copy of old state to restore: %i\n", ret);
+		DRM_ERROR("Failed to create a copy of old state to restore: %i\n", ret);
 		goto fail;
 	}
 
 	ret = drm_atomic_commit(state);
 	if (ret) {
-		DRM_DEBUG_KMS("failed to set mode on load-detect pipe\n");
+		DRM_ERROR("failed to set mode on load-detect pipe\n");
 		goto fail;
 	}
 
@@ -10602,6 +10602,7 @@ fail:
 		drm_modeset_backoff(ctx);
 		goto retry;
 	}
+	DRM_ERROR("Failed with %i\n", ret);
 
 	return false;
 }
Signature · 6 lines
2.1.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

✗ Fi.CI.BAT: warning for drm/i915: add spam for force-load-detect

== Series Details ==

== Series Details ==

Series: drm/i915: add spam for force-load-detect
URL : https://patchwork.freedesktop.org/series/3964/
State : warning

== Summary ==

Series 3964v1 drm/i915: add spam for force-load-detect
http://patchwork.freedesktop.org/api/1.0/series/3964/revisions/1/mbox/

Test kms_flip:

        Subgroup basic-flip-vs-dpms:
                dmesg-warn -> PASS       (hsw-brixbox)
        Subgroup basic-flip-vs-wf_vblank:
                fail       -> PASS       (snb-x220t)
                pass       -> DMESG-WARN (hsw-brixbox)
Test kms_force_connector_basic:
        Subgroup force-load-detect:
                fail       -> DMESG-FAIL (snb-x220t)
                fail       -> DMESG-FAIL (snb-dellxps)
                fail       -> DMESG-FAIL (hsw-gt2)
                fail       -> DMESG-FAIL (ilk-hp8440p)
                fail       -> DMESG-FAIL (ivb-t430s)
Test kms_pipe_crc_basic:
        Subgroup suspend-read-crc-pipe-a:
                incomplete -> PASS       (hsw-gt2)
Test pm_rpm:
        Subgroup basic-pci-d3-state:
                fail       -> DMESG-FAIL (snb-x220t)
                pass       -> DMESG-WARN (snb-dellxps)
        Subgroup basic-rte:
                pass       -> DMESG-WARN (bsw-nuc-2)
                dmesg-warn -> PASS       (snb-dellxps)
                pass       -> DMESG-WARN (hsw-brixbox)
bdw-nuci7        total:169  pass:158  dwarn:0   dfail:0   fail:0   skip:11 
bdw-ultra        total:169  pass:155  dwarn:0   dfail:0   fail:0   skip:14 
bsw-nuc-2        total:169  pass:137  dwarn:1   dfail:0   fail:1   skip:30 
byt-nuc          total:169  pass:144  dwarn:0   dfail:0   fail:0   skip:25 
hsw-brixbox      total:169  pass:152  dwarn:2   dfail:0   fail:0   skip:15 
hsw-gt2          total:169  pass:158  dwarn:0   dfail:1   fail:0   skip:10 
ilk-hp8440p      total:169  pass:118  dwarn:0   dfail:1   fail:0   skip:50 
ivb-t430s        total:169  pass:153  dwarn:0   dfail:1   fail:0   skip:15 
skl-i5k-2        total:169  pass:153  dwarn:0   dfail:0   fail:0   skip:16 
skl-i7k-2        total:169  pass:153  dwarn:0   dfail:0   fail:0   skip:16 
snb-dellxps      total:169  pass:144  dwarn:1   dfail:1   fail:0   skip:23 
snb-x220t        total:169  pass:144  dwarn:1   dfail:2   fail:0   skip:22 

Results at /archive/results/CI_IGT_test/Patchwork_1501/

deb861ea08c6d5bbf682fb40ea1f0471a448aafd drm-intel-nightly: 2016y-03m-01d-11h-12m-16s UTC integration manifest 2f0b58f1a27fd6a43f3c3a56681a3ba26dcaf773 drm/i915: add spam for force-load-detect

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx