igt/kms_pipe_crc_basic: Print pipe name when skipping
PATCH 1/2 igt/kms_pipe_crc_basic: Print pipe name when skipping
Signed-off-by Gabriel Krisman Bertazi <[email protected]>
--- tests/kms_pipe_crc_basic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
tests/kms_pipe_crc_basic.c +2 -1
@@ -172,7 +172,8 @@ static void test_read_crc(data_t *data, int pipe, unsigned flags) valid_connectors ++; } -igt_require_f (valid_connectors,"No connector found for pipe %i\n" , pipe); +igt_require_f (valid_connectors,"No connector found for pipe %s\n" , +kmstest_pipe_name (pipe)); }data_t data = {0 , };
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/2 igt/kms_pipe_crc_basic: Skip test before system suspend
Do a dummy crc read such that if there are no valid outputs for the pipe, it skip the test before doing a system suspend.
Signed-off-by Gabriel Krisman Bertazi <[email protected]>
--- tests/kms_pipe_crc_basic.c | 3 +++ 1 file changed, 3 insertions(+)
tests/kms_pipe_crc_basic.c +3 -0
@@ -222,6 +222,9 @@ igt_main igt_subtest_f("suspend-read-crc-pipe-%c", 'A'+i) {igt_skip_on (i >= data.display.n_pipes); + +test_read_crc (&data, i,0 ); +igt_system_suspend_autoresume (SUSPEND_STATE_MEM ,SUSPEND_TEST_NONE );
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
The series is
Reviewed-by Petri Latvala <[email protected]>
Quoted 26 lines · Gabriel Krisman Bertazi
Signed-off-by Gabriel Krisman Bertazi <[email protected]>--- tests/kms_pipe_crc_basic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)tests/kms_pipe_crc_basic.c +2
-1@@ -172,7 +172,8 @@ static void test_read_crc(data_t *data, int pipe, unsigned flags) valid_connectors ++; } -igt_require_f (valid_connectors,"No connector found for pipe %i\n" , pipe); +igt_require_f (valid_connectors,"No connector found for pipe %s\n" , +kmstest_pipe_name (pipe)); }data_t data = {0 , };Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx