mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-27 08:00:20 +00:00
lib: make igt_set_vt_graphics_mode never fail
All tests agree that this is a letal failure, so no point to pass it back to callers. Also add some igt_require calls for the drm_fd where I've noticed that it's missing. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
+1
-1
@@ -1493,7 +1493,7 @@ int main(int argc, char **argv)
|
||||
igt_fixture {
|
||||
drm_fd = drm_open_any();
|
||||
|
||||
do_or_die(igt_set_vt_graphics_mode());
|
||||
igt_set_vt_graphics_mode();
|
||||
do_or_die(igt_install_exit_handler(kms_flip_exit_handler));
|
||||
get_timestamp_format();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user