mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
lib: make igt_install_exit_handler never fail
Most callers didn't bother checking, so just move the asserts into the function itself. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
+1
-1
@@ -1494,7 +1494,7 @@ int main(int argc, char **argv)
|
||||
drm_fd = drm_open_any();
|
||||
|
||||
igt_set_vt_graphics_mode();
|
||||
do_or_die(igt_install_exit_handler(kms_flip_exit_handler));
|
||||
igt_install_exit_handler(kms_flip_exit_handler);
|
||||
get_timestamp_format();
|
||||
|
||||
bufmgr = drm_intel_bufmgr_gem_init(drm_fd, 4096);
|
||||
|
||||
Reference in New Issue
Block a user