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>
This commit is contained in:
Daniel Vetter
2014-03-16 14:49:35 +01:00
parent 9a7609a8e4
commit cc8f0e6e3a
6 changed files with 12 additions and 28 deletions
+2 -5
View File
@@ -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];
+2 -3
View File
@@ -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);