[igt-dev] [PATCH i-g-t v2 2/3] lib/igt_debugfs: add DPRX pipe crc source for AMDGPU

Dingchen Zhang dingchen.zhang at amd.com
Tue Jun 25 19:42:17 UTC 2019


Need DPRX CRC source to validate AMDGPU 8bpc bypass mode.

Added AMDGPU DPRX pipe crc source in igt_debugfs.h

v2: dropped the CRTC and AUTO crc sources for AMDGPU (Nicholas)

Cc: Harry Wentland <Harry.Wentland at amd.com>
Cc: Nick Kazlauskas <Nicholas.Kazlauskas at amd.com>
Signed-off-by: Dingchen Zhang <dingchen.zhang at amd.com>
---
 lib/igt_debugfs.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index 52520b3c..36b63817 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -83,6 +83,7 @@ typedef struct {
 } igt_crc_t;
 
 #define INTEL_PIPE_CRC_SOURCE_AUTO "auto"
+#define AMDGPU_PIPE_CRC_SOURCE_DPRX "dprx"
 
 void igt_assert_crc_equal(const igt_crc_t *a, const igt_crc_t *b);
 bool igt_check_crc_equal(const igt_crc_t *a, const igt_crc_t *b);
-- 
2.17.1



More information about the igt-dev mailing list