mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 18:06:13 +00:00
tests/kms_flip: don't run blocking relateve vblank waits with interrupts
They simply take forever with the current kernel implementation. And since everyone switched over to the event based interface I don't see much incentive to try to fix that. So just disable them. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
a7e7d08513
commit
db94faede5
@ -1195,6 +1195,13 @@ int main(int argc, char **argv)
|
|||||||
for (i = 0; i < sizeof(tests) / sizeof (tests[0]); i++) {
|
for (i = 0; i < sizeof(tests) / sizeof (tests[0]); i++) {
|
||||||
char name[160];
|
char name[160];
|
||||||
snprintf(name, sizeof(name), "%s-interruptible", tests[i].name);
|
snprintf(name, sizeof(name), "%s-interruptible", tests[i].name);
|
||||||
|
|
||||||
|
/* relative blocking vblank waits that get constantly interrupt
|
||||||
|
* take forver. So don't do them. */
|
||||||
|
if ((tests[i].flags & TEST_VBLANK_BLOCK) &&
|
||||||
|
!(tests[i].flags & TEST_VBLANK_ABSOLUTE))
|
||||||
|
continue;
|
||||||
|
|
||||||
if (drmtest_run_subtest(name)) {
|
if (drmtest_run_subtest(name)) {
|
||||||
printf("running testcase: %s\n", name);
|
printf("running testcase: %s\n", name);
|
||||||
run_test(tests[i].duration, tests[i].flags, name);
|
run_test(tests[i].duration, tests[i].flags, name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user