Re: CPU hook snd_hda_intel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Takashi,

Am So den  8. Dez 2019 um  9:45 schrieb Takashi Iwai:
> On Sat, 07 Dec 2019 21:06:43 +0100,
> > Find attached the perf output of the relevant event handler.
> 
> Thanks.  So it seems wasting in the busy loop for waiting for the
> response from the codec.
> 
> How about a patch below?  It's untested, might break things, but at
> least avoiding a busy loop.

I'll give it a try. Kernel is compiling right now. It might be hard to
see if the patch is working but I suppose that it do when I don't have
that trouble within a week or so.

> BTW, if your machine is Coffeelake or Cannonlake, this patch wont'
> work on the old branch because of forced polling mode.  It was removed
> in 5.5-rc1, so please test with Linus tree at best.

I hardly have such new Architectures on that laptop. It is a lenovo x61s
so it is from latest 2009. It has a Intel Core 2 Duo LV (Merom). :-)

I actually check it with gentoo kernel source 5.4.2.

Regards
   Klaus
-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@xxxxxxxxx>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux