lib/igt_debugfs: s/igt_pipe_crc_check/igt_require_pipe_crc/

Functions which provide feature checks through igt_skip should be of
the form <prefix>_require_<feature>.

Otoh feature checks which return in a boolean whether the feature is
available should be of the form <prefix>_has_<feature>, e.g.
gem_has_blt.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-03-16 15:09:22 +01:00
parent dcf947aa4f
commit f2e5dc0114
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -321,13 +321,13 @@ static void pipe_crc_exit_handler(int sig)
}
/**
* igt_pipe_crc_check:
* igt_require_pipe_crc:
*
* 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(void)
void igt_require_pipe_crc(void)
{
const char *cmd = "pipe A none";
FILE *ctl;