kms_psr_sink_crc: Reduce our time out for PSR active.
PATCH 1/2 kms_psr_sink_crc: Reduce our time out for PSR active.
Using same timeout value as kms_fronbuffer_tracking and for same reasons exposed at 'commit 83582f9b ("kms_frontbuffer_tracking:
Increase the time we wait for PSR.")'
Signed-off-by Rodrigo Vivi <[email protected]>
--- tests/kms_psr_sink_crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_psr_sink_crc.c +1 -1
@@ -260,7 +260,7 @@ static bool psr_active(data_t *data)static bool wait_psr_entry (data_t *data) { -int timeout =10 ; +int timeout =5 ;while (timeout--) {if (psr_active (data))return true;
Signature · 6 lines
2.4.3 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/2 kms_psr_sink_crc: Add BAT test for PSR active.
It takes from 2 to 5 seconds to run.
Cc Daniel Vetter <[email protected]>
Signed-off-by Rodrigo Vivi <[email protected]>
--- tests/kms_psr_sink_crc.c | 5 +++++ 1 file changed, 5 insertions(+)
tests/kms_psr_sink_crc.c +5 -0
@@ -569,6 +569,11 @@ int main(int argc, char *argv[])display_init (&data); } + igt_subtest("psr_basic") { +setup_test_plane (&data); +igt_assert (wait_psr_entry (&data)); + } +for (op =PAGE_FLIP ; op <=RENDER ; op++) { igt_subtest_f("primary_%s", op_str(op)) { data.test_plane =PRIMARY ;
Signature · 6 lines
2.4.3 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx