summaryrefslogtreecommitdiff
path: root/tests/kms_pipe_crc_basic.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-16 14:49:35 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-17 09:47:50 +0100
commitcc8f0e6e3ab72beb6b296dd866fd27842dec283f (patch)
tree5667f4cea6d2708c41e6199ea5403226420f2705 /tests/kms_pipe_crc_basic.c
parent9a7609a8e48ac69bfd786087abd18c8a858d6ad3 (diff)
lib/igt_debugfs: Remove debugfs from pipe crc functions
All tests have now lost explicit references to igt_debugfs_t! Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_pipe_crc_basic.c')
-rw-r--r--tests/kms_pipe_crc_basic.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index da559736..6b8ff116 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -33,7 +33,6 @@
typedef struct {
int drm_fd;
- igt_debugfs_t debugfs;
igt_display_t display;
struct kmstest_fb fb;
} data_t;
@@ -88,8 +87,7 @@ static void test_read_crc(data_t *data, int pipe, unsigned flags)
igt_display_commit(display);
- pipe_crc = igt_pipe_crc_new(&data->debugfs,
- pipe, INTEL_PIPE_CRC_SOURCE_AUTO);
+ pipe_crc = igt_pipe_crc_new(pipe, INTEL_PIPE_CRC_SOURCE_AUTO);
if (!pipe_crc)
continue;
@@ -139,8 +137,7 @@ igt_main
igt_set_vt_graphics_mode();
- igt_debugfs_init(&data.debugfs);
- igt_pipe_crc_check(&data.debugfs);
+ igt_pipe_crc_check();
igt_display_init(&data.display, data.drm_fd);
}