diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/igt_debugfs.c | 7 | ||||
-rw-r--r-- | lib/igt_debugfs.h | 5 |
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); |