mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
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:
+2
-5
@@ -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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user