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:
48ba2cd
)
kms_flip: Fail the subtest if page flip hang recovery wasn't actually tested
author
Ville Syrjälä
<ville.syrjala@linux.intel.com>
Fri, 21 Feb 2014 14:08:28 +0000
(16:08 +0200)
committer
Ville Syrjälä
<ville.syrjala@linux.intel.com>
Fri, 21 Feb 2014 14:19:12 +0000
(16:19 +0200)
Context banning can prevent the page flip hang tests from actaully
testing anything, so make the relevant subtests fail in that case.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
tests/kms_flip.c
patch
|
blob
|
history
diff --git
a/tests/kms_flip.c
b/tests/kms_flip.c
index
b06933c
..
bb105c8
100644
(file)
--- a/
tests/kms_flip.c
+++ b/
tests/kms_flip.c
@@
-922,6
+922,9
@@
static unsigned int run_test_step(struct test_output *o)
if (hang)
unhang_gpu(drm_fd, hang);
+ igt_assert_f(!(do_flip && (o->flags & TEST_HANG)) || hang,
+ "failed to exercise page flip hang recovery\n");
+
return completed_events;
}