Re: [PATCH 2/3] ALSA - hda: Add support for link audio time reporting

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

 



On Fri, 15 Jul 2016 07:50:25 +0200,
Vinod Koul wrote:
> 
> On Fri, Jul 15, 2016 at 07:39:17AM +0200, Takashi Iwai wrote:
> > > 
> > > So dependency is around convert_art_to_tsc() which is x86 API.
> > 
> > How is defined in the spec?  I wonder it because HD-audio spec itself
> > is usually CPU-neutral.
> 
> You are right. HDA spec is not x86 specfic. HDA counter report the value
> of ART counter for a time snapshot.
> 
> The problem is we do not get TSC value from HDA controller :(
> 
> So we need to use asm code for conversion..

OK, then let's cover the relevant code with ifdef CONFIG_X86 as a
temporary workaround until we get a more universal solution.


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



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

  Powered by Linux