summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDingchen Zhang <dingchen.zhang@amd.com>2019-06-25 15:42:17 -0400
committerNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2019-06-27 13:22:16 -0400
commit4a8dfd84138f7b806529aae3de20b55dbd668966 (patch)
tree9ff0d784d3b22b40c958c9b3e715f429636e86db /lib
parent6477ad839fa3f40570ed38442acb4bda9b629266 (diff)
lib/igt_debugfs: add DPRX pipe crc source for AMDGPU
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@amd.com> Cc: Nick Kazlauskas <Nicholas.Kazlauskas@amd.com> Signed-off-by: Dingchen Zhang <dingchen.zhang@amd.com> Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_debugfs.h1
1 files changed, 1 insertions, 0 deletions
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);