summaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/igt_debugfs.c7
-rw-r--r--lib/igt_debugfs.h5
2 files changed, 4 insertions, 8 deletions
diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c
index 142c7385..948a94ca 100644
--- a/lib/igt_debugfs.c
+++ b/lib/igt_debugfs.c
@@ -328,13 +328,12 @@ static void pipe_crc_exit_handler(int sig)
/**
* igt_pipe_crc_check:
- * @debugfs: debugfs access structure
*
* Convenience helper to check whether pipe CRC capturing is supported by the
* kernel. Uses igt_skip to automatically skip the test/subtest if this isn't
* the case.
*/
-void igt_pipe_crc_check(igt_debugfs_t *debugfs)
+void igt_pipe_crc_check(void)
{
const char *cmd = "pipe A none";
FILE *ctl;
@@ -354,7 +353,6 @@ void igt_pipe_crc_check(igt_debugfs_t *debugfs)
/**
* igt_pipe_crc_new:
- * @debugfs: debugfs access structure
* @pipe: display pipe to use as source
* @source: CRC tap point to use as source
*
@@ -365,8 +363,7 @@ void igt_pipe_crc_check(igt_debugfs_t *debugfs)
* specific pipe CRC source to function properly.
*/
igt_pipe_crc_t *
-igt_pipe_crc_new(igt_debugfs_t *debugfs, enum pipe pipe,
- enum intel_pipe_crc_source source)
+igt_pipe_crc_new(enum pipe pipe, enum intel_pipe_crc_source source)
{
igt_pipe_crc_t *pipe_crc;
char buf[128];
diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index 6e9cec2b..c207e019 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -100,10 +100,9 @@ bool igt_crc_is_null(igt_crc_t *crc);
bool igt_crc_equal(igt_crc_t *a, igt_crc_t *b);
char *igt_crc_to_string(igt_crc_t *crc);
-void igt_pipe_crc_check(igt_debugfs_t *debugfs);
+void igt_pipe_crc_check(void);
igt_pipe_crc_t *
-igt_pipe_crc_new(igt_debugfs_t *debugfs, enum pipe pipe,
- enum intel_pipe_crc_source source);
+igt_pipe_crc_new(enum pipe pipe, enum intel_pipe_crc_source source);
void igt_pipe_crc_free(igt_pipe_crc_t *pipe_crc);
void igt_pipe_crc_start(igt_pipe_crc_t *pipe_crc);
void igt_pipe_crc_stop(igt_pipe_crc_t *pipe_crc);