mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
tests/pm_pc8: skip the test if runtime PM is disabled
The PC8 state won't be entered unless runtime PM is enabled, so support for PC8 residency counters alone is not enough to run this test. Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
e36c896a71
commit
a595a40078
@ -769,7 +769,7 @@ static void setup_environment(void)
|
||||
printf("Runtime PM support: %d\n", has_runtime_pm);
|
||||
printf("PC8 residency support: %d\n", has_pc8);
|
||||
|
||||
igt_require(has_runtime_pm || has_pc8);
|
||||
igt_require(has_runtime_pm);
|
||||
}
|
||||
|
||||
static void teardown_environment(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user