mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
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:
@@ -316,7 +316,7 @@ igt_main
|
||||
|
||||
igt_set_vt_graphics_mode();
|
||||
|
||||
igt_pipe_crc_check();
|
||||
igt_require_pipe_crc();
|
||||
|
||||
igt_display_init(&data.display, data.drm_fd);
|
||||
data.pipe_crc = calloc(igt_display_get_n_pipes(&data.display),
|
||||
|
||||
+1
-1
@@ -491,7 +491,7 @@ igt_main
|
||||
|
||||
data.devid = intel_get_drm_devid(data.drm_fd);
|
||||
|
||||
igt_pipe_crc_check();
|
||||
igt_require_pipe_crc();
|
||||
|
||||
status = igt_debugfs_fopen("i915_fbc_status", "r");
|
||||
igt_require_f(status, "No i915_fbc_status found\n");
|
||||
|
||||
@@ -137,7 +137,7 @@ igt_main
|
||||
|
||||
igt_set_vt_graphics_mode();
|
||||
|
||||
igt_pipe_crc_check();
|
||||
igt_require_pipe_crc();
|
||||
|
||||
igt_display_init(&data.display, data.drm_fd);
|
||||
}
|
||||
|
||||
+1
-1
@@ -229,7 +229,7 @@ igt_main
|
||||
|
||||
igt_set_vt_graphics_mode();
|
||||
|
||||
igt_pipe_crc_check();
|
||||
igt_require_pipe_crc();
|
||||
igt_display_init(&data.display, data.drm_fd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user