summaryrefslogtreecommitdiff
path: root/lib/igt_psr.h
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2020-05-28 14:19:13 -0700
committerJosé Roberto de Souza <jose.souza@intel.com>2020-06-02 10:11:07 -0700
commit5648db25034883e1437d28d6a8b89acbb5cb74b2 (patch)
treee4197e7f6765efb349bd468f58582960013eda57 /lib/igt_psr.h
parent82ef7157c5600514d6746d6e5aebf13935b0fbfb (diff)
tests/kms_psr2_su: Print debugfs when skipping test
This tests is being sporadically skipped in CI as it is not due "PSR sink not reliable: yes" lets print the i915_edp_psr_status to find out the reason. This can be reverted afterwards. Reference: https://gitlab.freedesktop.org/drm/intel/-/issues/1911 Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'lib/igt_psr.h')
-rw-r--r--lib/igt_psr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_psr.h b/lib/igt_psr.h
index b2afb611..8368ecb4 100644
--- a/lib/igt_psr.h
+++ b/lib/igt_psr.h
@@ -43,5 +43,6 @@ bool psr_enable(int device, int debugfs_fd, enum psr_mode);
bool psr_disable(int device, int debugfs_fd);
bool psr_sink_support(int device, int debugfs_fd, enum psr_mode mode);
bool psr2_wait_su(int debugfs_fd, uint16_t *num_su_blocks);
+void psr_print_debugfs(int debugfs_fd);
#endif