Re: Context expectations in ALSA

2020-10-22 Thread Maxime Ripard
Hi Mark On Thu, Oct 22, 2020 at 02:50:53PM +0100, Mark Brown wrote: > On Thu, Oct 22, 2020 at 11:50:41AM +0200, Maxime Ripard wrote: > > > This is caused by the HDMI driver polling some status bit that reports > > that the infoframes have been properly sent, and calling usleep_range > > between e

Re: Context expectations in ALSA

2020-10-22 Thread Mark Brown
On Thu, Oct 22, 2020 at 11:50:41AM +0200, Maxime Ripard wrote: > This is caused by the HDMI driver polling some status bit that reports > that the infoframes have been properly sent, and calling usleep_range > between each iteration[1], and that is done in our trigger callback that > seems to be r

Re: Context expectations in ALSA

2020-10-22 Thread Takashi Iwai
On Thu, 22 Oct 2020 15:24:12 +0200, Maxime Ripard wrote: > > Hi Takashi, > > On Thu, Oct 22, 2020 at 03:20:49PM +0200, Takashi Iwai wrote: > > On Thu, 22 Oct 2020 14:57:41 +0200, > > Maxime Ripard wrote: > > > > > > On Thu, Oct 22, 2020 at 12:03:19PM +0200, Jaroslav Kysela wrote: > > > > Dne 22.

Re: Context expectations in ALSA

2020-10-22 Thread Maxime Ripard
Hi Takashi, On Thu, Oct 22, 2020 at 03:20:49PM +0200, Takashi Iwai wrote: > On Thu, 22 Oct 2020 14:57:41 +0200, > Maxime Ripard wrote: > > > > On Thu, Oct 22, 2020 at 12:03:19PM +0200, Jaroslav Kysela wrote: > > > Dne 22. 10. 20 v 11:50 Maxime Ripard napsal(a): > > > > > > > So, I'm not really s

Re: Context expectations in ALSA

2020-10-22 Thread Takashi Iwai
On Thu, 22 Oct 2020 14:57:41 +0200, Maxime Ripard wrote: > > On Thu, Oct 22, 2020 at 12:03:19PM +0200, Jaroslav Kysela wrote: > > Dne 22. 10. 20 v 11:50 Maxime Ripard napsal(a): > > > > > So, I'm not really sure what I'm supposed to do here. The drivers > > > involved don't appear to be doing any

Re: Context expectations in ALSA

2020-10-22 Thread Maxime Ripard
On Thu, Oct 22, 2020 at 12:03:19PM +0200, Jaroslav Kysela wrote: > Dne 22. 10. 20 v 11:50 Maxime Ripard napsal(a): > > > So, I'm not really sure what I'm supposed to do here. The drivers > > involved don't appear to be doing anything extraordinary, but the issues > > lockdep report are definitely

Re: Context expectations in ALSA

2020-10-22 Thread Jaroslav Kysela
Dne 22. 10. 20 v 11:50 Maxime Ripard napsal(a): > So, I'm not really sure what I'm supposed to do here. The drivers > involved don't appear to be doing anything extraordinary, but the issues > lockdep report are definitely valid too. What are the expectations in > terms of context from ALSA when r