mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
kms_flip: keep drm_fd open for the dpms restore exit handler
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69161 Signed-off-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
parent
2c6c4cf2a1
commit
1ac94b50af
@ -1538,8 +1538,10 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
igt_stop_signal_helper();
|
igt_stop_signal_helper();
|
||||||
|
|
||||||
igt_fixture
|
/*
|
||||||
close(drm_fd);
|
* Let drm_fd leak, since it's needed by the dpms restore
|
||||||
|
* exit_handler and igt_exit() won't return.
|
||||||
|
*/
|
||||||
|
|
||||||
igt_exit();
|
igt_exit();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user