[igt-dev] [PATCH i-g-t 2/4] lib/igt_debugfs: add AMDGPU pipe crc sources
Dingchen Zhang
dingchen.zhang at amd.com
Mon Jun 24 14:31:42 UTC 2019
Need different pipe CRC sources to validate AMDGPU
digital bypass mode.
Added available AMDGPU pipe crc sources in igt_debugfs.h
Cc: Harry Wentland <Harry.Wentland at amd.com>
Cc: Nick Kazlauskas <Nicholas.Kazlauskas at amd.com>
Change-Id: Ia6c9ccb7a904ec8a490e519425c006ae2ea95a9b
Signed-off-by: Dingchen Zhang <dingchen.zhang at amd.com>
---
lib/igt_debugfs.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index 52520b3c..b49dd2b6 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -83,6 +83,9 @@ typedef struct {
} igt_crc_t;
#define INTEL_PIPE_CRC_SOURCE_AUTO "auto"
+#define AMDGPU_PIPE_CRC_SOURCE_AUTO "auto"
+#define AMDGPU_PIPE_CRC_SOURCE_CRTC "crtc"
+#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