mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
tests/pm_pc8: remove sleep() call when setting up the environment
This sleep was added because sometimes we didn't reach PC8+ residencies, but it was still not enough to prevent the problem every time, and it is really not needed most of the times. I have investigated more and it seems that we only have to wait until after some minutes have past since the machine booted. So just remove the sleep for now since when you run each subtest in a separate process, you end up having to sleep at every subtest. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
parent
c9524235dd
commit
6f288749f4
@ -741,11 +741,6 @@ static void setup_non_graphics_runtime_pm(void)
|
||||
write(fd, "auto\n", 5);
|
||||
close(fd);
|
||||
}
|
||||
|
||||
/* For some yet unknown reason, it takes some time for the machine to
|
||||
* reach PC8+ residencies after we do this. I don't really know how much
|
||||
* we should wait, but this value seems to be working for me. */
|
||||
sleep(10);
|
||||
}
|
||||
|
||||
static void setup_environment(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user