Skip to contentSkip to conversation

drm/i915: Dump hdmi pipe_config state

PATCH In review Daniel Vetter 2 participants 2 messages Nov 20, 2014 – Nov 22, 2014

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

PATCH 1/1 drm/i915: Dump hdmi pipe_config state

Makes it easier to debug infoframe mismatches.

Cc Paulo Zanoni <[email protected]>
Cc Jesse Barnes <[email protected]>
---
 drivers/gpu/drm/i915/intel_display.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/i915/intel_display.c +4 -0
index 9c983e4c33bd..83af88cef296 100644
@@ -10001,6 +10001,10 @@ static void intel_dump_pipe_config(struct intel_crtc *crtc,
 		      pipe_config->dp_m2_n2.link_n,
 		      pipe_config->dp_m2_n2.tu);
 
+	DRM_DEBUG_KMS("audio: %i, infoframes: %i\n",
+		      pipe_config->has_audio,
+		      pipe_config->has_infoframe);
+
 	DRM_DEBUG_KMS("requested mode:\n");
 	drm_mode_debug_printmodeline(&pipe_config->requested_mode);
 	DRM_DEBUG_KMS("adjusted mode:\n");
Signature · 6 lines
2.1.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Tested-by on v1 1/1
#1 lore raw

-------------------------------------Summary-------------------------------------
Platform Delta drm-intel-nightly Series Applied
PNV 367/367 367/367
ILK -1 373/375 372/375
SNB 450/450 450/450

IVB                 -1              502/503              501/503
BYT                 -1              289/289              288/289
HSW                 -3              567/567              564/567
BDW                                  417/417              417/417
-------------------------------------Detailed-------------------------------------
Platform  Test                                drm-intel-nightly          Series Applied
ILK  igt_kms_flip_absolute-wf_vblank      PASS(2, M37)      FAIL(1, M37)
IVB  igt_gem_bad_reloc_negative-reloc-lut      NSPT(2, M21M34)PASS(1, M21)      NSPT(2, M4)
BYT  igt_gem_exec_bad_domains_conflicting-write-domain      PASS(1, M36)      TIMEOUT(1, M31)PASS(1, M31)
HSW  igt_gem_bad_reloc_negative-reloc-lut      PASS(1, M20)      NSPT(2, M40)
HSW  igt_kms_rotation_crc_primary-rotation      PASS(1, M20)      DMESG_WARN(1, M40)PASS(1, M40)
HSW  igt_pm_rc6_residency_rc6-accuracy      PASS(1, M20)      FAIL(1, M40)PASS(1, M40)

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