[igt-dev] [PATCH i-g-t v2] lib/pm: Wait a little for sound module load to complete

Chris Wilson chris at chris-wilson.co.uk
Tue Sep 4 10:06:47 UTC 2018


Quoting Imre Deak (2018-09-04 11:00:26)
> On Mon, Sep 03, 2018 at 02:02:00PM +0100, Chris Wilson wrote:
> > Sometimes we may probe the sound module as it is still being registered
> > and its debugfs not yet fully populated. If we do not find a file we
> > expect to exist, sleep a little and check again.
> > 
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107801
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Imre Deak <imre.deak at linux.com>
> 
> Reviewed-by: Imre Deak <imre.deak at intel.com>
> 
> A different delay is when the snd_hda_intel's probing takes more than 5
> sec (as you noticed in [1]), should we increase the timeout in
> igt_pm_enable_audio_runtime_pm() for that as well?

Just bump it to 10s and only worry if we see a test failure later?
-Chris


More information about the igt-dev mailing list