summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-31 14:02:44 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-01 20:43:15 +0100
commit842007154da76dc2684077a4080c875bb3068f32 (patch)
treedb62c34630cb11cbfeef8f9f37569558a43dd32b /lib
parent0b51de8dd02dc2502fa0614c3a29959a066584cc (diff)
tests: use "auto" pipe CRC source
Makes stuff work on DP ports on gmch platforms automatically. Cc: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_debugfs.c3
-rw-r--r--lib/igt_debugfs.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c
index 8311fd1e..167b50ec 100644
--- a/lib/igt_debugfs.c
+++ b/lib/igt_debugfs.c
@@ -154,7 +154,8 @@ static const char *pipe_crc_sources[] = {
"TV",
"DP-B",
"DP-C",
- "DP-D"
+ "DP-D",
+ "auto"
};
static const char *pipe_crc_source_name(enum intel_pipe_crc_source source)
diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index f2873e02..4e82a2cb 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -55,6 +55,7 @@ enum intel_pipe_crc_source {
INTEL_PIPE_CRC_SOURCE_DP_B,
INTEL_PIPE_CRC_SOURCE_DP_C,
INTEL_PIPE_CRC_SOURCE_DP_D,
+ INTEL_PIPE_CRC_SOURCE_AUTO,
INTEL_PIPE_CRC_SOURCE_MAX,
};