mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
tests/kms_pipe_crc_basic: Don't suspend the machine if the pipe is not present.
suspend-read-crc-pipe will perform a suspend and then skip the test in case the pipe is not present or is fused w/ another pipe. Skip the test before doing the suspend. v2: Somehow the subject was trimmed. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
This commit is contained in:
parent
e3e00bae23
commit
f8af3565bd
@ -222,6 +222,7 @@ igt_main
|
||||
test_read_crc(&data, i, TEST_SEQUENCE | TEST_NONBLOCK);
|
||||
|
||||
igt_subtest_f("suspend-read-crc-pipe-%c", 'A'+i) {
|
||||
igt_skip_on(i >= data.display.n_pipes);
|
||||
igt_system_suspend_autoresume();
|
||||
|
||||
test_read_crc(&data, i, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user