mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-20 14:26:17 +00:00
kms_flip: Fail the subtest if page flip hang recovery wasn't actually tested
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>
This commit is contained in:
parent
48ba2cdf96
commit
5f190f2d67
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user