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

Takashi Iwai tiwai at suse.de
Fri Jul 15 07:56:51 CEST 2016


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


More information about the Alsa-devel mailing list