projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58633cf
)
lib: install exit handler only on success for prefault control
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 11 Feb 2014 23:07:11 +0000
(
00:07
+0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 11 Feb 2014 23:07:19 +0000
(
00:07
+0100)
Otherwise we'll hit an igt_skip in the exit handler, which upsets
the new in_fixture||in_subtests checks.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/drmtest.c
patch
|
blob
|
history
diff --git
a/lib/drmtest.c
b/lib/drmtest.c
index
28651ce
..
f6e6ccb
100644
(file)
--- a/
lib/drmtest.c
+++ b/
lib/drmtest.c
@@
-1672,9
+1672,9
@@
static void enable_prefault_at_exit(int sig)
void igt_disable_prefault(void)
{
- igt_install_exit_handler(enable_prefault_at_exit);
-
igt_prefault_control(false);
+
+ igt_install_exit_handler(enable_prefault_at_exit);
}
void igt_enable_prefault(void)