mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
tests/get_wait_rendering_timeout: fixup the auto-tuner
- start at 1 iterations - actually adjust the number of iterations like the comment claims
This commit is contained in:
parent
cf979c2063
commit
2952feb23f
@ -109,7 +109,7 @@ int main(int argc, char **argv)
|
||||
const bool do_signals = true; /* signals will seem to make the operation
|
||||
* use less process CPU time */
|
||||
bool done = false;
|
||||
int i, iter = 0x100;
|
||||
int i, iter = 1;
|
||||
|
||||
fd = drm_open_any();
|
||||
|
||||
@ -155,8 +155,9 @@ int main(int argc, char **argv)
|
||||
gem_quiescent_gpu(fd);
|
||||
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; i++)
|
||||
for (i = 0; i < iter/2; i++)
|
||||
blt_color_fill(batch, dst2, BUF_PAGES);
|
||||
|
||||
intel_batchbuffer_flush(batch);
|
||||
|
Loading…
x
Reference in New Issue
Block a user