[igt-dev] [PATCH i-g-t 7/8] tests/fbcon_fbt: Add and use psr_long_wait_exit() to test updates in PSR

Chris Wilson chris at chris-wilson.co.uk
Mon Jan 7 20:41:59 UTC 2019


Quoting José Roberto de Souza (2019-01-07 19:10:55)
> After getting back to fbcon it tests if PSR had a update but since
> fbcon can take a while it have some big sleep in place, so what it
> is actualy testing is if fbcon is updating the screen.
> In this test the update of the screen comes from the fbcon cursor
> blinking, the problem is that 40ms is a small interval to detect
> cursor blinking and the test can fail some times, so a bigger timeout
> to wait for exit is need.

So what happens if you disable the cursor blink? Do you actually need to
open the fbdev and draw something to ensure the path you want exercised
is?
-Chris


More information about the igt-dev mailing list