mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
tests/gem_wait_rendering_timeout: needs more fudge
Due to the way we calculate the workload by doubling it each time we might end up with almost twice as much as we want. Hence increase our fudge by 1.5 to account for that. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50666
This commit is contained in:
parent
c6fe31bc47
commit
76b53ef68d
@ -167,8 +167,10 @@ int main(int argc, char **argv)
|
||||
if (do_signals)
|
||||
drmtest_fork_signal_helper();
|
||||
|
||||
/* We should be able to do half as much work in the same amount of time */
|
||||
for (i = 0; i < iter/2; i++)
|
||||
/* We should be able to do half as much work in the same amount of time,
|
||||
* but because we might schedule almost twice as much as required, we
|
||||
* might accidentally time out. Hence add some fudge. */
|
||||
for (i = 0; i < iter/3; i++)
|
||||
blt_color_fill(batch, dst2, BUF_PAGES);
|
||||
|
||||
intel_batchbuffer_flush(batch);
|
||||
|
Loading…
x
Reference in New Issue
Block a user