diff mbox

[i-g-t,v2] tests/psr: Dump PSR debugfs contents if PSR entry times out.

Message ID 20171220045852.4001-1-dhinakaran.pandiyan@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dhinakaran Pandiyan Dec. 20, 2017, 4:58 a.m. UTC
(kms_psr_sink_crc:1717) CRITICAL: Failed assertion:
	wait_psr_entry(&data)
	(kms_psr_sink_crc:1717) CRITICAL: Last errno: 25, Inappropriate ioctl
	for device

isn't very useful, the "Enabled" field would have indicated that the
requirements to enable PSR weren't met in this case.

v2: s/Source_OK/Enabled in commit message.(Rodrigo)

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
---
 tests/kms_psr_sink_crc.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c
index 831368b2..c586d6e1 100644
--- a/tests/kms_psr_sink_crc.c
+++ b/tests/kms_psr_sink_crc.c
@@ -223,6 +223,7 @@  static bool wait_psr_entry(data_t *data)
 			return true;
 		sleep(1);
 	}
+	igt_debugfs_dump(data->drm_fd, "i915_edp_psr_status");
 	return false;
 }