All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Alsa-user] hdmi sound rerouted?
@ 2013-11-05  9:49 Dagg Stompler
  0 siblings, 0 replies; 17+ messages in thread
From: Dagg Stompler @ 2013-11-05  9:49 UTC (permalink / raw)
  To: Takashi Iwai, Clemens Ladisch; +Cc: Deucher, Alexander, alsa-user, alsa-devel

> ----- Original Message -----
> From: Takashi Iwai
> Sent: 11/05/13 10:49 AM
> To: Clemens Ladisch
> Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> 
> At Tue, 05 Nov 2013 09:27:10 +0100,
> Clemens Ladisch wrote:
> > 
> > Takashi Iwai wrote:
> > > You wanted to play back via this HDMI and it didn't work?
> > 
> > The ATI card did not show up as "ATI", but the other ATI card without
> > HDMI did: <http://thread.gmane.org/gmane.linux.alsa.user/37732>.
> > 
> > Anyway, let's close this thread:
> > 
> > --8<---------------------------------------------------------------->8--
> > ALSA: hda: add device IDs for AMD Evergreen/Northern Islands HDMI
> > 
> > The device IDs of the AMD Cypress/Juniper/Redwood/Cedar/Cayman/Antilles/
> > Barts/Turks/Caicos HDMI HDA controllers were missing for some reason.
> > Add them so that the name shows up properly as "ATI HDMI" instead of
> > "Generic", and so that the driver does not try to detect nonexistent
> > codecs.
> 
> Well, there is no actual behavior difference between
> AZX_DRIVER_ATIHDMI and AZX_DRIVER_GENERIC about AMD HDMI chips. The
> codec-probing is pretty same. The only difference in the current code
> is the driver name string and the fallback of number of streams, but
> the latter is valid only when GCAP register doesn't give proper
> values, and it shouldn't happen with a proper chip.
> 
> That being said, the entries weren't added intentionally just because
> they aren't needed to be added explicitly. The generic entry suffices
> from the functionality POV.
> 
> But it seems that people misunderstand, so I think it's fine to apply
> your patch to give a more clear name.
> 
> 
> Takashi
> 
> > According to Takashi's tests and the lack of complaints, these devices
> > work fine without disabling snooping.
> > 
> > Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
> > 
> > --- a/sound/pci/hda/hda_intel.c
> > +++ b/sound/pci/hda/hda_intel.c
> > @@ -4079,6 +4079,22 @@
> > .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> > { PCI_DEVICE(0x1002, 0xaa48),
> > .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> > + { PCI_DEVICE(0x1002, 0xaa50),
> > + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> > + { PCI_DEVICE(0x1002, 0xaa58),
> > + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> > + { PCI_DEVICE(0x1002, 0xaa60),
> > + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> > + { PCI_DEVICE(0x1002, 0xaa68),
> > + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> > + { PCI_DEVICE(0x1002, 0xaa80),
> > + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> > + { PCI_DEVICE(0x1002, 0xaa88),
> > + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> > + { PCI_DEVICE(0x1002, 0xaa90),
> > + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> > + { PCI_DEVICE(0x1002, 0xaa98),
> > + .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> > { PCI_DEVICE(0x1002, 0x9902),
> > .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI },
> > { PCI_DEVICE(0x1002, 0xaaa0),
> >

I'll apply the patch against 3.12 and will report back if it works.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user] hdmi sound rerouted?
  2013-11-05  8:27   ` Clemens Ladisch
@ 2013-11-05  8:49     ` Takashi Iwai
  0 siblings, 0 replies; 17+ messages in thread
From: Takashi Iwai @ 2013-11-05  8:49 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: Deucher, Alexander, alsa-user, Dagg Stompler, alsa-devel

At Tue, 05 Nov 2013 09:27:10 +0100,
Clemens Ladisch wrote:
> 
> Takashi Iwai wrote:
> > You wanted to play back via this HDMI and it didn't work?
> 
> The ATI card did not show up as "ATI", but the other ATI card without
> HDMI did: <http://thread.gmane.org/gmane.linux.alsa.user/37732>.
> 
> Anyway, let's close this thread:
> 
> --8<---------------------------------------------------------------->8--
> ALSA: hda: add device IDs for AMD Evergreen/Northern Islands HDMI
> 
> The device IDs of the AMD Cypress/Juniper/Redwood/Cedar/Cayman/Antilles/
> Barts/Turks/Caicos HDMI HDA controllers were missing for some reason.
> Add them so that the name shows up properly as "ATI HDMI" instead of
> "Generic", and so that the driver does not try to detect nonexistent
> codecs.

Well, there is no actual behavior difference between
AZX_DRIVER_ATIHDMI and AZX_DRIVER_GENERIC about AMD HDMI chips.  The
codec-probing is pretty same.  The only difference in the current code
is the driver name string and the fallback of number of streams, but
the latter is valid only when GCAP  register doesn't give proper
values, and it shouldn't happen with a proper chip.

That being said, the entries weren't added intentionally just because
they aren't needed to be added explicitly.  The generic entry suffices
from the functionality POV.

But it seems that people misunderstand, so I think it's fine to apply
your patch to give a more clear name.


Takashi

> According to Takashi's tests and the lack of complaints, these devices
> work fine without disabling snooping.
> 
> Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
> 
> --- a/sound/pci/hda/hda_intel.c
> +++ b/sound/pci/hda/hda_intel.c
> @@ -4079,6 +4079,22 @@
>  	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
>  	{ PCI_DEVICE(0x1002, 0xaa48),
>  	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> +	{ PCI_DEVICE(0x1002, 0xaa50),
> +	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> +	{ PCI_DEVICE(0x1002, 0xaa58),
> +	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> +	{ PCI_DEVICE(0x1002, 0xaa60),
> +	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> +	{ PCI_DEVICE(0x1002, 0xaa68),
> +	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> +	{ PCI_DEVICE(0x1002, 0xaa80),
> +	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> +	{ PCI_DEVICE(0x1002, 0xaa88),
> +	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> +	{ PCI_DEVICE(0x1002, 0xaa90),
> +	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
> +	{ PCI_DEVICE(0x1002, 0xaa98),
> +	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
>  	{ PCI_DEVICE(0x1002, 0x9902),
>  	  .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI },
>  	{ PCI_DEVICE(0x1002, 0xaaa0),
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user] hdmi sound rerouted?
  2013-11-05  7:14 ` Takashi Iwai
@ 2013-11-05  8:27   ` Clemens Ladisch
  2013-11-05  8:49     ` Takashi Iwai
  0 siblings, 1 reply; 17+ messages in thread
From: Clemens Ladisch @ 2013-11-05  8:27 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Deucher, Alexander, alsa-user, Dagg Stompler, alsa-devel

Takashi Iwai wrote:
> You wanted to play back via this HDMI and it didn't work?

The ATI card did not show up as "ATI", but the other ATI card without
HDMI did: <http://thread.gmane.org/gmane.linux.alsa.user/37732>.

Anyway, let's close this thread:

--8<---------------------------------------------------------------->8--
ALSA: hda: add device IDs for AMD Evergreen/Northern Islands HDMI

The device IDs of the AMD Cypress/Juniper/Redwood/Cedar/Cayman/Antilles/
Barts/Turks/Caicos HDMI HDA controllers were missing for some reason.
Add them so that the name shows up properly as "ATI HDMI" instead of
"Generic", and so that the driver does not try to detect nonexistent
codecs.

According to Takashi's tests and the lack of complaints, these devices
work fine without disabling snooping.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -4079,6 +4079,22 @@
 	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
 	{ PCI_DEVICE(0x1002, 0xaa48),
 	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
+	{ PCI_DEVICE(0x1002, 0xaa50),
+	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
+	{ PCI_DEVICE(0x1002, 0xaa58),
+	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
+	{ PCI_DEVICE(0x1002, 0xaa60),
+	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
+	{ PCI_DEVICE(0x1002, 0xaa68),
+	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
+	{ PCI_DEVICE(0x1002, 0xaa80),
+	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
+	{ PCI_DEVICE(0x1002, 0xaa88),
+	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
+	{ PCI_DEVICE(0x1002, 0xaa90),
+	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
+	{ PCI_DEVICE(0x1002, 0xaa98),
+	  .driver_data = AZX_DRIVER_ATIHDMI | AZX_DCAPS_PRESET_ATI_HDMI },
 	{ PCI_DEVICE(0x1002, 0x9902),
 	  .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI },
 	{ PCI_DEVICE(0x1002, 0xaaa0),

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
  2013-11-04 18:53 Dagg Stompler
@ 2013-11-05  7:14 ` Takashi Iwai
  2013-11-05  8:27   ` Clemens Ladisch
  0 siblings, 1 reply; 17+ messages in thread
From: Takashi Iwai @ 2013-11-05  7:14 UTC (permalink / raw)
  To: Dagg Stompler; +Cc: Deucher, Alexander, alsa-user, alsa-devel, Clemens Ladisch

At Mon, 04 Nov 2013 19:53:42 +0100,
Dagg Stompler wrote:
> 
> 
> 
> > ----- Original Message -----
> > From: Takashi Iwai
> > Sent: 11/04/13 04:06 PM
> > To: Deucher, Alexander
> > Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> > 
> > At Mon, 4 Nov 2013 13:47:54 +0000,
> > Deucher, Alexander wrote:
> > > 
> > > > -----Original Message-----
> > > > From: Takashi Iwai [mailto:tiwai@suse.de]
> > > > Sent: Monday, November 04, 2013 8:05 AM
> > > > To: daggs@gmx.com
> > > > Cc: Deucher, Alexander; Clemens Ladisch; alsa-user@lists.sourceforge.net;
> > > > alsa-devel@alsa-project.org
> > > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > > > 
> > > > At Mon, 04 Nov 2013 13:21:25 +0100,
> > > > daggs@gmx.com wrote:
> > > > >
> > > > > the original issue is that wen using an ATI gpu with hdmi in it, rerouting the
> > > > sound via the ati hdmi card doesn't work, only via the generic.
> > > > >
> > > > > alsa devs pointed out that the ati cards listed in intel_hda.c aren't updated
> > > > with latest cards due to insufficient info on about the cards.
> > > > >
> > > > > Alex Deucher from AMD's dev answered that he will query the right team
> > > > in his workplace but no response was received fro him yet.
> > > > 
> > > > OK, then could you alsa-info.sh output?
> > > > 
> > > > The situation in the upstream has changed since we have a lot more
> > > > AMD-specific HDMI codes in the latest driver for 3.13 kernel. So,
> > > > it's not only a matter of snoop flag.
> > > 
> > > I was specifically trying to get clarification on which parts needed the snoop flag. Is there some other larger issue? From the feedback I've seen lately, audio has been working pretty well on AMD GPUs with Anssi's patches.
> > 
> > That's why I started asking :) The recent code should cover known
> > issues of AMD HDMI codecs, at least. But if there is a new chip, we'd
> > need to test and add the corresponding entry.
> > 
> > 
> > Takashi
> 
> alsa info can be found at http://www.alsa-project.org/db/?f=590cb353dd93e9ea5f9da3e072cdcd5d464e8609
> hope it helps

The card shown as "Generic" is actually yet another AMD HDMI chip.
And this should work without the snooping.  Unless you hear any
audible problems, no reason to fix this one.

Another "HDA ATI HDMI" one is tied with a different graphics unit.
I don't know what hardware configuration you have.  Do you have
multiple AMD graphics cards?  Basically each HDMI audio entry is tied
with the dedicated graphics chip (board).  You wanted to play back via
this HDMI and it didn't work?


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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
@ 2013-11-04 18:53 Dagg Stompler
  2013-11-05  7:14 ` Takashi Iwai
  0 siblings, 1 reply; 17+ messages in thread
From: Dagg Stompler @ 2013-11-04 18:53 UTC (permalink / raw)
  To: Takashi Iwai, Deucher, Alexander; +Cc: alsa-user, alsa-devel, Clemens Ladisch



> ----- Original Message -----
> From: Takashi Iwai
> Sent: 11/04/13 04:06 PM
> To: Deucher, Alexander
> Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> 
> At Mon, 4 Nov 2013 13:47:54 +0000,
> Deucher, Alexander wrote:
> > 
> > > -----Original Message-----
> > > From: Takashi Iwai [mailto:tiwai@suse.de]
> > > Sent: Monday, November 04, 2013 8:05 AM
> > > To: daggs@gmx.com
> > > Cc: Deucher, Alexander; Clemens Ladisch; alsa-user@lists.sourceforge.net;
> > > alsa-devel@alsa-project.org
> > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > > 
> > > At Mon, 04 Nov 2013 13:21:25 +0100,
> > > daggs@gmx.com wrote:
> > > >
> > > > the original issue is that wen using an ATI gpu with hdmi in it, rerouting the
> > > sound via the ati hdmi card doesn't work, only via the generic.
> > > >
> > > > alsa devs pointed out that the ati cards listed in intel_hda.c aren't updated
> > > with latest cards due to insufficient info on about the cards.
> > > >
> > > > Alex Deucher from AMD's dev answered that he will query the right team
> > > in his workplace but no response was received fro him yet.
> > > 
> > > OK, then could you alsa-info.sh output?
> > > 
> > > The situation in the upstream has changed since we have a lot more
> > > AMD-specific HDMI codes in the latest driver for 3.13 kernel. So,
> > > it's not only a matter of snoop flag.
> > 
> > I was specifically trying to get clarification on which parts needed the snoop flag. Is there some other larger issue? From the feedback I've seen lately, audio has been working pretty well on AMD GPUs with Anssi's patches.
> 
> That's why I started asking :) The recent code should cover known
> issues of AMD HDMI codecs, at least. But if there is a new chip, we'd
> need to test and add the corresponding entry.
> 
> 
> Takashi

alsa info can be found at http://www.alsa-project.org/db/?f=590cb353dd93e9ea5f9da3e072cdcd5d464e8609
hope it helps
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
  2013-11-04 13:47   ` Deucher, Alexander
@ 2013-11-04 14:06     ` Takashi Iwai
  0 siblings, 0 replies; 17+ messages in thread
From: Takashi Iwai @ 2013-11-04 14:06 UTC (permalink / raw)
  To: Deucher, Alexander; +Cc: alsa-user, daggs, alsa-devel, Clemens Ladisch

At Mon, 4 Nov 2013 13:47:54 +0000,
Deucher, Alexander wrote:
> 
> > -----Original Message-----
> > From: Takashi Iwai [mailto:tiwai@suse.de]
> > Sent: Monday, November 04, 2013 8:05 AM
> > To: daggs@gmx.com
> > Cc: Deucher, Alexander; Clemens Ladisch; alsa-user@lists.sourceforge.net;
> > alsa-devel@alsa-project.org
> > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > 
> > At Mon, 04 Nov 2013 13:21:25 +0100,
> > daggs@gmx.com wrote:
> > >
> > > the original issue is that wen using an ATI gpu with hdmi in it, rerouting the
> > sound via the ati hdmi card doesn't work, only via the generic.
> > >
> > > alsa devs pointed out that the ati cards listed in intel_hda.c aren't updated
> > with latest cards due to insufficient info on about the cards.
> > >
> > > Alex Deucher from AMD's dev answered that he will query the right team
> > in his workplace but no response was received fro him yet.
> > 
> > OK, then could you alsa-info.sh output?
> > 
> > The situation in the upstream has changed since we have a lot more
> > AMD-specific HDMI codes in the latest driver for 3.13 kernel.  So,
> > it's not only a matter of snoop flag.
> 
> I was specifically trying to get clarification on which parts needed the snoop flag.  Is there some other larger issue?  From the feedback I've seen lately, audio has been working pretty well on AMD GPUs with Anssi's patches.

That's why I started asking :)  The recent code should cover known
issues of AMD HDMI codecs, at least.  But if there is a new chip, we'd
need to test and add the corresponding entry.


Takashi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
  2013-11-04 13:04 ` Takashi Iwai
@ 2013-11-04 13:47   ` Deucher, Alexander
  2013-11-04 14:06     ` Takashi Iwai
  0 siblings, 1 reply; 17+ messages in thread
From: Deucher, Alexander @ 2013-11-04 13:47 UTC (permalink / raw)
  To: Takashi Iwai, daggs; +Cc: alsa-user, alsa-devel, Clemens Ladisch

> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de]
> Sent: Monday, November 04, 2013 8:05 AM
> To: daggs@gmx.com
> Cc: Deucher, Alexander; Clemens Ladisch; alsa-user@lists.sourceforge.net;
> alsa-devel@alsa-project.org
> Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> 
> At Mon, 04 Nov 2013 13:21:25 +0100,
> daggs@gmx.com wrote:
> >
> > the original issue is that wen using an ATI gpu with hdmi in it, rerouting the
> sound via the ati hdmi card doesn't work, only via the generic.
> >
> > alsa devs pointed out that the ati cards listed in intel_hda.c aren't updated
> with latest cards due to insufficient info on about the cards.
> >
> > Alex Deucher from AMD's dev answered that he will query the right team
> in his workplace but no response was received fro him yet.
> 
> OK, then could you alsa-info.sh output?
> 
> The situation in the upstream has changed since we have a lot more
> AMD-specific HDMI codes in the latest driver for 3.13 kernel.  So,
> it's not only a matter of snoop flag.

I was specifically trying to get clarification on which parts needed the snoop flag.  Is there some other larger issue?  From the feedback I've seen lately, audio has been working pretty well on AMD GPUs with Anssi's patches.

Alex

> 
> 
> Takashi
> 
> >
> > > ----- Original Message -----
> > > From: Takashi Iwai
> > > Sent: 11/04/13 10:43 AM
> > > To: Dagg Stompler
> > > Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> > >
> > > At Sun, 03 Nov 2013 08:50:55 +0100,
> > > Dagg Stompler wrote:
> > > >
> > > > > ----- Original Message -----
> > > > > From: Deucher, Alexander
> > > > > Sent: 10/19/13 03:59 PM
> > > > > To: Dagg Stompler, Takashi Iwai
> > > > > Subject: RE: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> > > > >
> > > > > > -----Original Message-----
> > > > >
> > > > > > From: Dagg Stompler [mailto:daggs@gmx.com]
> > > > >
> > > > > > Sent: Saturday, October 19, 2013 5:49 AM
> > > > >
> > > > > > To: Takashi Iwai; Deucher, Alexander
> > > > >
> > > > > > Cc: Clemens Ladisch; alsa-user@lists.sourceforge.net; alsa-
> devel@alsa-
> > > > >
> > > > > > project.org
> > > > >
> > > > > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > > > >
> > > > > >
> > > > >
> > > > > > > ----- Original Message -----
> > > > >
> > > > > > > From: Takashi Iwai
> > > > >
> > > > > > > Sent: 10/08/13 10:49 AM
> > > > >
> > > > > > > To: Deucher, Alexander
> > > > >
> > > > > > > Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> > > > >
> > > > > > >
> > > > >
> > > > > > > At Mon, 7 Oct 2013 13:36:24 +0000,
> > > > >
> > > > > > > Deucher, Alexander wrote:
> > > > >
> > > > > > > >
> > > > >
> > > > > > > > > -----Original Message-----
> > > > >
> > > > > > > > > From: Takashi Iwai [mailto:tiwai@suse.de]
> > > > >
> > > > > > > > > Sent: Monday, September 30, 2013 5:18 AM
> > > > >
> > > > > > > > > To: Deucher, Alexander
> > > > >
> > > > > > > > > Cc: Clemens Ladisch; Dagg Stompler; alsa-
> user@lists.sourceforge.net;
> > > > >
> > > > > > alsa-
> > > > >
> > > > > > > > > devel@alsa-project.org
> > > > >
> > > > > > > > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > > > >
> > > > > > > > >
> > > > >
> > > > > > > > > At Mon, 30 Sep 2013 02:23:22 +0000,
> > > > >
> > > > > > > > > Deucher, Alexander wrote:
> > > > >
> > > > > > > > > >
> > > > >
> > > > > > > > > > > -----Original Message-----
> > > > >
> > > > > > > > > > > From: Clemens Ladisch [mailto:cladisch@googlemail.com]
> > > > >
> > > > > > > > > > > Sent: Saturday, September 28, 2013 6:33 PM
> > > > >
> > > > > > > > > > > To: Dagg Stompler
> > > > >
> > > > > > > > > > > Cc: alsa-user@lists.sourceforge.net; Deucher, Alexander;
> alsa-
> > > > >
> > > > > > > > > devel@alsa-
> > > > >
> > > > > > > > > > > project.org
> > > > >
> > > > > > > > > > > Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?
> > > > >
> > > > > > > > > > >
> > > > >
> > > > > > > > > > > Dagg Stompler wrote:
> > > > >
> > > > > > > > > > > >> daggs@gmx.com wrote:
> > > > >
> > > > > > > > > > > >>> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI
> 0]
> > > > >
> > > > > > > > > > > >>> card 1: Generic [HD-Audio Generic], device 3: HDMI 0
> [HDMI 0]
> > > > >
> > > > > > > > > > > >>> card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI
> 0]
> > > > >
> > > > > > > > > > > >>
> > > > >
> > > > > > > > > > > >> The second one is called "Generic" because your kernel
> does not
> > > > >
> > > > > > (yet)
> > > > >
> > > > > > > > > > > >> know the hardware.
> > > > >
> > > > > > > > > > > >>
> > > > >
> > > > > > > > > > > >>> 01:00.1 Audio device: Advanced Micro Devices, Inc.
> [AMD/ATI]
> > > > >
> > > > > > Cedar
> > > > >
> > > > > > > > > > > HDMI Audio [Radeon HD 5400/6300 Series]
> > > > >
> > > > > > > > > > > >>> 06:00.1 Audio device: Advanced Micro Devices, Inc.
> [AMD/ATI]
> > > > >
> > > > > > RV635
> > > > >
> > > > > > > > > > > HDMI Audio [Radeon HD 3600 Series]
> > > > >
> > > > > > > > > > > >>
> > > > >
> > > > > > > > > > > >> These are the HDMI outputs of *two* graphics cards.
> The first
> > > > >
> > > > > > one's
> > > > >
> > > > > > > > > > > >> model is so new that the driver doesn't know it.
> > > > >
> > > > > > > > > > > >
> > > > >
> > > > > > > > > > > > the 3600 doesn't have hdmi socket so I think it is
> irrelevant for my
> > > > >
> > > > > > issue.
> > > > >
> > > > > > > > > > >
> > > > >
> > > > > > > > > > > The RV635 chip does support HDMI outputs (even if none
> are
> > > > >
> > > > > > actually
> > > > >
> > > > > > > > > > > connected), so the corresponding PCI device shows up
> here.
> > > > >
> > > > > > > > > > >
> > > > >
> > > > > > > > > > > >>> If you update the kernel, you will get two devices
> named "HDA
> > > > >
> > > > > > ATI
> > > > >
> > > > > > > > > > > HDMI".
> > > > >
> > > > > > > > > > > >
> > > > >
> > > > > > > > > > > > upgrade to where?
> > > > >
> > > > > > > > > > >
> > > > >
> > > > > > > > > > > Oops. Even the latest driver lacks the PCI IDs of many
> HDMI HDA
> > > > >
> > > > > > devices
> > > > >
> > > > > > > > > > > (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
> > > > >
> > > > > > > > > > > Cypress/Juniper/Redwood/Cedar/
> > > > >
> > > > > > > > > > > Cayman+Antilles/Barts/Turks/Caicos).
> > > > >
> > > > > > > > > > >
> > > > >
> > > > > > > > > > > Alex, are these devices that require disabling snooping?
> > > > >
> > > > > > > > > >
> > > > >
> > > > > > > > > > Sorry what does snooping mean in this context?
> > > > >
> > > > > > > > >
> > > > >
> > > > > > > > > Most of HD-audio controller have a snoop control, but the
> recent AMD
> > > > >
> > > > > > > > > HDMI audio controller don't have the feature, thus the driver
> must use
> > > > >
> > > > > > > > > the non-cached pages. At least, PCI ID 1002:aaa0, aaa8 and
> aab0 are
> > > > >
> > > > > > > > > known to require such.
> > > > >
> > > > > > > > >
> > > > >
> > > > > > > > > Now the question is whether all new chips above (aa50,...)
> require the
> > > > >
> > > > > > > > > same workaround, too. Could you check this or forward the
> inquiry to
> > > > >
> > > > > > > > > someone in AMD?
> > > > >
> > > > > > > >
> > > > >
> > > > > > > > According to our internal teams, disabling snooping is only
> required on
> > > > >
> > > > > > the audio parts included in Evergreen and Northern Islands GPUs.
> Older chips
> > > > >
> > > > > > like R7xx (aa48) and newer chips like Southern Islands (aaa0) are
> able to use
> > > > >
> > > > > > snooping. I'm not real familiar with the audio portions of the GPUs
> so if you
> > > > >
> > > > > > need further clarification, let me know.
> > > > >
> > > > > > >
> > > > >
> > > > > > > Thanks for the information.
> > > > >
> > > > > > >
> > > > >
> > > > > > > Though, it's strange that the information doesn't match with what
> I've
> > > > >
> > > > > > > heard (and also with what I've tested with a laptop). I've heard
> that
> > > > >
> > > > > > > it's Southern Island HDMI that needs the snoop-disablement.
> > > > >
> > > > > > >
> > > > >
> > > > > > > Could you ask again whether it's really Evergreen / Nothern
> Islands?
> > > > >
> > > > > > >
> > > > >
> > > > > > >
> > > > >
> > > > > > > thanks,
> > > > >
> > > > > > >
> > > > >
> > > > > > > Takashi
> > > > >
> > > > > > >
> > > > >
> > > > > > > >
> > > > >
> > > > > > > > Alex
> > > > >
> > > > > > > >
> > > > >
> > > > > > > > >
> > > > >
> > > > > > > > > FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits
> in
> > > > >
> > > > > > > > > driver_data of pci entries in sound/pci/hda/hda_intel.c.
> > > > >
> > > > > > > > >
> > > > >
> > > > > > > > >
> > > > >
> > > > > > > > > thanks,
> > > > >
> > > > > > > > >
> > > > >
> > > > > > > > > Takashi
> > > > >
> > > > > > > >
> > > > >
> > > > > > > >
> > > > >
> > > > > >
> > > > >
> > > > > > any updates on the matter guys?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Haven't heard back. I'll ping them again.
> > > > >
> > > > >
> > > > >
> > > > > Alex
> > > >
> > > > sorry for nudging, any updates?
> > >
> > > Well, what's your original issue?
> > > I wasn't in the loop from the beginning, so I don't know what is the
> > > information you need to know.
> > >
> > > If disablement of the snoop is mandatory on your board, we need to add
> > > the workaround in the driver no matter what spec says.  (The datasheet
> > > is often wrong in practice :)
> > >
> > >
> > > Takashi
> > >
> >

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
  2013-11-04 12:21 daggs
@ 2013-11-04 13:04 ` Takashi Iwai
  2013-11-04 13:47   ` Deucher, Alexander
  0 siblings, 1 reply; 17+ messages in thread
From: Takashi Iwai @ 2013-11-04 13:04 UTC (permalink / raw)
  To: daggs; +Cc: Deucher, Alexander, alsa-user, alsa-devel, Clemens Ladisch

At Mon, 04 Nov 2013 13:21:25 +0100,
daggs@gmx.com wrote:
> 
> the original issue is that wen using an ATI gpu with hdmi in it, rerouting the sound via the ati hdmi card doesn't work, only via the generic.
> 
> alsa devs pointed out that the ati cards listed in intel_hda.c aren't updated with latest cards due to insufficient info on about the cards.
> 
> Alex Deucher from AMD's dev answered that he will query the right team in his workplace but no response was received fro him yet.

OK, then could you alsa-info.sh output?

The situation in the upstream has changed since we have a lot more
AMD-specific HDMI codes in the latest driver for 3.13 kernel.  So,
it's not only a matter of snoop flag.


Takashi

> 
> > ----- Original Message -----
> > From: Takashi Iwai
> > Sent: 11/04/13 10:43 AM
> > To: Dagg Stompler
> > Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> > 
> > At Sun, 03 Nov 2013 08:50:55 +0100,
> > Dagg Stompler wrote:
> > > 
> > > > ----- Original Message -----
> > > > From: Deucher, Alexander
> > > > Sent: 10/19/13 03:59 PM
> > > > To: Dagg Stompler, Takashi Iwai
> > > > Subject: RE: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> > > > 
> > > > > -----Original Message-----
> > > > 
> > > > > From: Dagg Stompler [mailto:daggs@gmx.com]
> > > > 
> > > > > Sent: Saturday, October 19, 2013 5:49 AM
> > > > 
> > > > > To: Takashi Iwai; Deucher, Alexander
> > > > 
> > > > > Cc: Clemens Ladisch; alsa-user@lists.sourceforge.net; alsa-devel@alsa-
> > > > 
> > > > > project.org
> > > > 
> > > > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > > > 
> > > > > 
> > > > 
> > > > > > ----- Original Message -----
> > > > 
> > > > > > From: Takashi Iwai
> > > > 
> > > > > > Sent: 10/08/13 10:49 AM
> > > > 
> > > > > > To: Deucher, Alexander
> > > > 
> > > > > > Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> > > > 
> > > > > >
> > > > 
> > > > > > At Mon, 7 Oct 2013 13:36:24 +0000,
> > > > 
> > > > > > Deucher, Alexander wrote:
> > > > 
> > > > > > >
> > > > 
> > > > > > > > -----Original Message-----
> > > > 
> > > > > > > > From: Takashi Iwai [mailto:tiwai@suse.de]
> > > > 
> > > > > > > > Sent: Monday, September 30, 2013 5:18 AM
> > > > 
> > > > > > > > To: Deucher, Alexander
> > > > 
> > > > > > > > Cc: Clemens Ladisch; Dagg Stompler; alsa-user@lists.sourceforge.net;
> > > > 
> > > > > alsa-
> > > > 
> > > > > > > > devel@alsa-project.org
> > > > 
> > > > > > > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > > > 
> > > > > > > >
> > > > 
> > > > > > > > At Mon, 30 Sep 2013 02:23:22 +0000,
> > > > 
> > > > > > > > Deucher, Alexander wrote:
> > > > 
> > > > > > > > >
> > > > 
> > > > > > > > > > -----Original Message-----
> > > > 
> > > > > > > > > > From: Clemens Ladisch [mailto:cladisch@googlemail.com]
> > > > 
> > > > > > > > > > Sent: Saturday, September 28, 2013 6:33 PM
> > > > 
> > > > > > > > > > To: Dagg Stompler
> > > > 
> > > > > > > > > > Cc: alsa-user@lists.sourceforge.net; Deucher, Alexander; alsa-
> > > > 
> > > > > > > > devel@alsa-
> > > > 
> > > > > > > > > > project.org
> > > > 
> > > > > > > > > > Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?
> > > > 
> > > > > > > > > >
> > > > 
> > > > > > > > > > Dagg Stompler wrote:
> > > > 
> > > > > > > > > > >> daggs@gmx.com wrote:
> > > > 
> > > > > > > > > > >>> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> > > > 
> > > > > > > > > > >>> card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
> > > > 
> > > > > > > > > > >>> card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
> > > > 
> > > > > > > > > > >>
> > > > 
> > > > > > > > > > >> The second one is called "Generic" because your kernel does not
> > > > 
> > > > > (yet)
> > > > 
> > > > > > > > > > >> know the hardware.
> > > > 
> > > > > > > > > > >>
> > > > 
> > > > > > > > > > >>> 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> > > > 
> > > > > Cedar
> > > > 
> > > > > > > > > > HDMI Audio [Radeon HD 5400/6300 Series]
> > > > 
> > > > > > > > > > >>> 06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> > > > 
> > > > > RV635
> > > > 
> > > > > > > > > > HDMI Audio [Radeon HD 3600 Series]
> > > > 
> > > > > > > > > > >>
> > > > 
> > > > > > > > > > >> These are the HDMI outputs of *two* graphics cards. The first
> > > > 
> > > > > one's
> > > > 
> > > > > > > > > > >> model is so new that the driver doesn't know it.
> > > > 
> > > > > > > > > > >
> > > > 
> > > > > > > > > > > the 3600 doesn't have hdmi socket so I think it is irrelevant for my
> > > > 
> > > > > issue.
> > > > 
> > > > > > > > > >
> > > > 
> > > > > > > > > > The RV635 chip does support HDMI outputs (even if none are
> > > > 
> > > > > actually
> > > > 
> > > > > > > > > > connected), so the corresponding PCI device shows up here.
> > > > 
> > > > > > > > > >
> > > > 
> > > > > > > > > > >>> If you update the kernel, you will get two devices named "HDA
> > > > 
> > > > > ATI
> > > > 
> > > > > > > > > > HDMI".
> > > > 
> > > > > > > > > > >
> > > > 
> > > > > > > > > > > upgrade to where?
> > > > 
> > > > > > > > > >
> > > > 
> > > > > > > > > > Oops. Even the latest driver lacks the PCI IDs of many HDMI HDA
> > > > 
> > > > > devices
> > > > 
> > > > > > > > > > (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
> > > > 
> > > > > > > > > > Cypress/Juniper/Redwood/Cedar/
> > > > 
> > > > > > > > > > Cayman+Antilles/Barts/Turks/Caicos).
> > > > 
> > > > > > > > > >
> > > > 
> > > > > > > > > > Alex, are these devices that require disabling snooping?
> > > > 
> > > > > > > > >
> > > > 
> > > > > > > > > Sorry what does snooping mean in this context?
> > > > 
> > > > > > > >
> > > > 
> > > > > > > > Most of HD-audio controller have a snoop control, but the recent AMD
> > > > 
> > > > > > > > HDMI audio controller don't have the feature, thus the driver must use
> > > > 
> > > > > > > > the non-cached pages. At least, PCI ID 1002:aaa0, aaa8 and aab0 are
> > > > 
> > > > > > > > known to require such.
> > > > 
> > > > > > > >
> > > > 
> > > > > > > > Now the question is whether all new chips above (aa50,...) require the
> > > > 
> > > > > > > > same workaround, too. Could you check this or forward the inquiry to
> > > > 
> > > > > > > > someone in AMD?
> > > > 
> > > > > > >
> > > > 
> > > > > > > According to our internal teams, disabling snooping is only required on
> > > > 
> > > > > the audio parts included in Evergreen and Northern Islands GPUs. Older chips
> > > > 
> > > > > like R7xx (aa48) and newer chips like Southern Islands (aaa0) are able to use
> > > > 
> > > > > snooping. I'm not real familiar with the audio portions of the GPUs so if you
> > > > 
> > > > > need further clarification, let me know.
> > > > 
> > > > > >
> > > > 
> > > > > > Thanks for the information.
> > > > 
> > > > > >
> > > > 
> > > > > > Though, it's strange that the information doesn't match with what I've
> > > > 
> > > > > > heard (and also with what I've tested with a laptop). I've heard that
> > > > 
> > > > > > it's Southern Island HDMI that needs the snoop-disablement.
> > > > 
> > > > > >
> > > > 
> > > > > > Could you ask again whether it's really Evergreen / Nothern Islands?
> > > > 
> > > > > >
> > > > 
> > > > > >
> > > > 
> > > > > > thanks,
> > > > 
> > > > > >
> > > > 
> > > > > > Takashi
> > > > 
> > > > > >
> > > > 
> > > > > > >
> > > > 
> > > > > > > Alex
> > > > 
> > > > > > >
> > > > 
> > > > > > > >
> > > > 
> > > > > > > > FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits in
> > > > 
> > > > > > > > driver_data of pci entries in sound/pci/hda/hda_intel.c.
> > > > 
> > > > > > > >
> > > > 
> > > > > > > >
> > > > 
> > > > > > > > thanks,
> > > > 
> > > > > > > >
> > > > 
> > > > > > > > Takashi
> > > > 
> > > > > > >
> > > > 
> > > > > > >
> > > > 
> > > > > 
> > > > 
> > > > > any updates on the matter guys?
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > Haven't heard back. I'll ping them again.
> > > > 
> > > > 
> > > > 
> > > > Alex
> > > 
> > > sorry for nudging, any updates?
> > 
> > Well, what's your original issue?
> > I wasn't in the loop from the beginning, so I don't know what is the
> > information you need to know.
> > 
> > If disablement of the snoop is mandatory on your board, we need to add
> > the workaround in the driver no matter what spec says.  (The datasheet
> > is often wrong in practice :)
> > 
> > 
> > Takashi
> > 
> 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
@ 2013-11-04 12:21 daggs
  2013-11-04 13:04 ` Takashi Iwai
  0 siblings, 1 reply; 17+ messages in thread
From: daggs @ 2013-11-04 12:21 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Deucher, Alexander, alsa-user, alsa-devel, Clemens Ladisch

the original issue is that wen using an ATI gpu with hdmi in it, rerouting the sound via the ati hdmi card doesn't work, only via the generic.

alsa devs pointed out that the ati cards listed in intel_hda.c aren't updated with latest cards due to insufficient info on about the cards.

Alex Deucher from AMD's dev answered that he will query the right team in his workplace but no response was received fro him yet.

> ----- Original Message -----
> From: Takashi Iwai
> Sent: 11/04/13 10:43 AM
> To: Dagg Stompler
> Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> 
> At Sun, 03 Nov 2013 08:50:55 +0100,
> Dagg Stompler wrote:
> > 
> > > ----- Original Message -----
> > > From: Deucher, Alexander
> > > Sent: 10/19/13 03:59 PM
> > > To: Dagg Stompler, Takashi Iwai
> > > Subject: RE: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> > > 
> > > > -----Original Message-----
> > > 
> > > > From: Dagg Stompler [mailto:daggs@gmx.com]
> > > 
> > > > Sent: Saturday, October 19, 2013 5:49 AM
> > > 
> > > > To: Takashi Iwai; Deucher, Alexander
> > > 
> > > > Cc: Clemens Ladisch; alsa-user@lists.sourceforge.net; alsa-devel@alsa-
> > > 
> > > > project.org
> > > 
> > > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > > 
> > > > 
> > > 
> > > > > ----- Original Message -----
> > > 
> > > > > From: Takashi Iwai
> > > 
> > > > > Sent: 10/08/13 10:49 AM
> > > 
> > > > > To: Deucher, Alexander
> > > 
> > > > > Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> > > 
> > > > >
> > > 
> > > > > At Mon, 7 Oct 2013 13:36:24 +0000,
> > > 
> > > > > Deucher, Alexander wrote:
> > > 
> > > > > >
> > > 
> > > > > > > -----Original Message-----
> > > 
> > > > > > > From: Takashi Iwai [mailto:tiwai@suse.de]
> > > 
> > > > > > > Sent: Monday, September 30, 2013 5:18 AM
> > > 
> > > > > > > To: Deucher, Alexander
> > > 
> > > > > > > Cc: Clemens Ladisch; Dagg Stompler; alsa-user@lists.sourceforge.net;
> > > 
> > > > alsa-
> > > 
> > > > > > > devel@alsa-project.org
> > > 
> > > > > > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > > 
> > > > > > >
> > > 
> > > > > > > At Mon, 30 Sep 2013 02:23:22 +0000,
> > > 
> > > > > > > Deucher, Alexander wrote:
> > > 
> > > > > > > >
> > > 
> > > > > > > > > -----Original Message-----
> > > 
> > > > > > > > > From: Clemens Ladisch [mailto:cladisch@googlemail.com]
> > > 
> > > > > > > > > Sent: Saturday, September 28, 2013 6:33 PM
> > > 
> > > > > > > > > To: Dagg Stompler
> > > 
> > > > > > > > > Cc: alsa-user@lists.sourceforge.net; Deucher, Alexander; alsa-
> > > 
> > > > > > > devel@alsa-
> > > 
> > > > > > > > > project.org
> > > 
> > > > > > > > > Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?
> > > 
> > > > > > > > >
> > > 
> > > > > > > > > Dagg Stompler wrote:
> > > 
> > > > > > > > > >> daggs@gmx.com wrote:
> > > 
> > > > > > > > > >>> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> > > 
> > > > > > > > > >>> card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
> > > 
> > > > > > > > > >>> card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
> > > 
> > > > > > > > > >>
> > > 
> > > > > > > > > >> The second one is called "Generic" because your kernel does not
> > > 
> > > > (yet)
> > > 
> > > > > > > > > >> know the hardware.
> > > 
> > > > > > > > > >>
> > > 
> > > > > > > > > >>> 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> > > 
> > > > Cedar
> > > 
> > > > > > > > > HDMI Audio [Radeon HD 5400/6300 Series]
> > > 
> > > > > > > > > >>> 06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> > > 
> > > > RV635
> > > 
> > > > > > > > > HDMI Audio [Radeon HD 3600 Series]
> > > 
> > > > > > > > > >>
> > > 
> > > > > > > > > >> These are the HDMI outputs of *two* graphics cards. The first
> > > 
> > > > one's
> > > 
> > > > > > > > > >> model is so new that the driver doesn't know it.
> > > 
> > > > > > > > > >
> > > 
> > > > > > > > > > the 3600 doesn't have hdmi socket so I think it is irrelevant for my
> > > 
> > > > issue.
> > > 
> > > > > > > > >
> > > 
> > > > > > > > > The RV635 chip does support HDMI outputs (even if none are
> > > 
> > > > actually
> > > 
> > > > > > > > > connected), so the corresponding PCI device shows up here.
> > > 
> > > > > > > > >
> > > 
> > > > > > > > > >>> If you update the kernel, you will get two devices named "HDA
> > > 
> > > > ATI
> > > 
> > > > > > > > > HDMI".
> > > 
> > > > > > > > > >
> > > 
> > > > > > > > > > upgrade to where?
> > > 
> > > > > > > > >
> > > 
> > > > > > > > > Oops. Even the latest driver lacks the PCI IDs of many HDMI HDA
> > > 
> > > > devices
> > > 
> > > > > > > > > (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
> > > 
> > > > > > > > > Cypress/Juniper/Redwood/Cedar/
> > > 
> > > > > > > > > Cayman+Antilles/Barts/Turks/Caicos).
> > > 
> > > > > > > > >
> > > 
> > > > > > > > > Alex, are these devices that require disabling snooping?
> > > 
> > > > > > > >
> > > 
> > > > > > > > Sorry what does snooping mean in this context?
> > > 
> > > > > > >
> > > 
> > > > > > > Most of HD-audio controller have a snoop control, but the recent AMD
> > > 
> > > > > > > HDMI audio controller don't have the feature, thus the driver must use
> > > 
> > > > > > > the non-cached pages. At least, PCI ID 1002:aaa0, aaa8 and aab0 are
> > > 
> > > > > > > known to require such.
> > > 
> > > > > > >
> > > 
> > > > > > > Now the question is whether all new chips above (aa50,...) require the
> > > 
> > > > > > > same workaround, too. Could you check this or forward the inquiry to
> > > 
> > > > > > > someone in AMD?
> > > 
> > > > > >
> > > 
> > > > > > According to our internal teams, disabling snooping is only required on
> > > 
> > > > the audio parts included in Evergreen and Northern Islands GPUs. Older chips
> > > 
> > > > like R7xx (aa48) and newer chips like Southern Islands (aaa0) are able to use
> > > 
> > > > snooping. I'm not real familiar with the audio portions of the GPUs so if you
> > > 
> > > > need further clarification, let me know.
> > > 
> > > > >
> > > 
> > > > > Thanks for the information.
> > > 
> > > > >
> > > 
> > > > > Though, it's strange that the information doesn't match with what I've
> > > 
> > > > > heard (and also with what I've tested with a laptop). I've heard that
> > > 
> > > > > it's Southern Island HDMI that needs the snoop-disablement.
> > > 
> > > > >
> > > 
> > > > > Could you ask again whether it's really Evergreen / Nothern Islands?
> > > 
> > > > >
> > > 
> > > > >
> > > 
> > > > > thanks,
> > > 
> > > > >
> > > 
> > > > > Takashi
> > > 
> > > > >
> > > 
> > > > > >
> > > 
> > > > > > Alex
> > > 
> > > > > >
> > > 
> > > > > > >
> > > 
> > > > > > > FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits in
> > > 
> > > > > > > driver_data of pci entries in sound/pci/hda/hda_intel.c.
> > > 
> > > > > > >
> > > 
> > > > > > >
> > > 
> > > > > > > thanks,
> > > 
> > > > > > >
> > > 
> > > > > > > Takashi
> > > 
> > > > > >
> > > 
> > > > > >
> > > 
> > > > 
> > > 
> > > > any updates on the matter guys?
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Haven't heard back. I'll ping them again.
> > > 
> > > 
> > > 
> > > Alex
> > 
> > sorry for nudging, any updates?
> 
> Well, what's your original issue?
> I wasn't in the loop from the beginning, so I don't know what is the
> information you need to know.
> 
> If disablement of the snoop is mandatory on your board, we need to add
> the workaround in the driver no matter what spec says.  (The datasheet
> is often wrong in practice :)
> 
> 
> Takashi
> 

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
  2013-11-03  7:50 Dagg Stompler
@ 2013-11-04  8:43 ` Takashi Iwai
  0 siblings, 0 replies; 17+ messages in thread
From: Takashi Iwai @ 2013-11-04  8:43 UTC (permalink / raw)
  To: Dagg Stompler; +Cc: Deucher, Alexander, alsa-user, alsa-devel, Clemens Ladisch

At Sun, 03 Nov 2013 08:50:55 +0100,
Dagg Stompler wrote:
> 
> > ----- Original Message -----
> > From: Deucher, Alexander
> > Sent: 10/19/13 03:59 PM
> > To: Dagg Stompler, Takashi Iwai
> > Subject: RE: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> > 
> > > -----Original Message-----
> > 
> > > From: Dagg Stompler [mailto:daggs@gmx.com]
> > 
> > > Sent: Saturday, October 19, 2013 5:49 AM
> > 
> > > To: Takashi Iwai; Deucher, Alexander
> > 
> > > Cc: Clemens Ladisch; alsa-user@lists.sourceforge.net; alsa-devel@alsa-
> > 
> > > project.org
> > 
> > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > 
> > > 
> > 
> > > > ----- Original Message -----
> > 
> > > > From: Takashi Iwai
> > 
> > > > Sent: 10/08/13 10:49 AM
> > 
> > > > To: Deucher, Alexander
> > 
> > > > Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> > 
> > > >
> > 
> > > > At Mon, 7 Oct 2013 13:36:24 +0000,
> > 
> > > > Deucher, Alexander wrote:
> > 
> > > > >
> > 
> > > > > > -----Original Message-----
> > 
> > > > > > From: Takashi Iwai [mailto:tiwai@suse.de]
> > 
> > > > > > Sent: Monday, September 30, 2013 5:18 AM
> > 
> > > > > > To: Deucher, Alexander
> > 
> > > > > > Cc: Clemens Ladisch; Dagg Stompler; alsa-user@lists.sourceforge.net;
> > 
> > > alsa-
> > 
> > > > > > devel@alsa-project.org
> > 
> > > > > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > 
> > > > > >
> > 
> > > > > > At Mon, 30 Sep 2013 02:23:22 +0000,
> > 
> > > > > > Deucher, Alexander wrote:
> > 
> > > > > > >
> > 
> > > > > > > > -----Original Message-----
> > 
> > > > > > > > From: Clemens Ladisch [mailto:cladisch@googlemail.com]
> > 
> > > > > > > > Sent: Saturday, September 28, 2013 6:33 PM
> > 
> > > > > > > > To: Dagg Stompler
> > 
> > > > > > > > Cc: alsa-user@lists.sourceforge.net; Deucher, Alexander; alsa-
> > 
> > > > > > devel@alsa-
> > 
> > > > > > > > project.org
> > 
> > > > > > > > Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?
> > 
> > > > > > > >
> > 
> > > > > > > > Dagg Stompler wrote:
> > 
> > > > > > > > >> daggs@gmx.com wrote:
> > 
> > > > > > > > >>> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> > 
> > > > > > > > >>> card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
> > 
> > > > > > > > >>> card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
> > 
> > > > > > > > >>
> > 
> > > > > > > > >> The second one is called "Generic" because your kernel does not
> > 
> > > (yet)
> > 
> > > > > > > > >> know the hardware.
> > 
> > > > > > > > >>
> > 
> > > > > > > > >>> 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> > 
> > > Cedar
> > 
> > > > > > > > HDMI Audio [Radeon HD 5400/6300 Series]
> > 
> > > > > > > > >>> 06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> > 
> > > RV635
> > 
> > > > > > > > HDMI Audio [Radeon HD 3600 Series]
> > 
> > > > > > > > >>
> > 
> > > > > > > > >> These are the HDMI outputs of *two* graphics cards. The first
> > 
> > > one's
> > 
> > > > > > > > >> model is so new that the driver doesn't know it.
> > 
> > > > > > > > >
> > 
> > > > > > > > > the 3600 doesn't have hdmi socket so I think it is irrelevant for my
> > 
> > > issue.
> > 
> > > > > > > >
> > 
> > > > > > > > The RV635 chip does support HDMI outputs (even if none are
> > 
> > > actually
> > 
> > > > > > > > connected), so the corresponding PCI device shows up here.
> > 
> > > > > > > >
> > 
> > > > > > > > >>> If you update the kernel, you will get two devices named "HDA
> > 
> > > ATI
> > 
> > > > > > > > HDMI".
> > 
> > > > > > > > >
> > 
> > > > > > > > > upgrade to where?
> > 
> > > > > > > >
> > 
> > > > > > > > Oops. Even the latest driver lacks the PCI IDs of many HDMI HDA
> > 
> > > devices
> > 
> > > > > > > > (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
> > 
> > > > > > > > Cypress/Juniper/Redwood/Cedar/
> > 
> > > > > > > > Cayman+Antilles/Barts/Turks/Caicos).
> > 
> > > > > > > >
> > 
> > > > > > > > Alex, are these devices that require disabling snooping?
> > 
> > > > > > >
> > 
> > > > > > > Sorry what does snooping mean in this context?
> > 
> > > > > >
> > 
> > > > > > Most of HD-audio controller have a snoop control, but the recent AMD
> > 
> > > > > > HDMI audio controller don't have the feature, thus the driver must use
> > 
> > > > > > the non-cached pages. At least, PCI ID 1002:aaa0, aaa8 and aab0 are
> > 
> > > > > > known to require such.
> > 
> > > > > >
> > 
> > > > > > Now the question is whether all new chips above (aa50,...) require the
> > 
> > > > > > same workaround, too. Could you check this or forward the inquiry to
> > 
> > > > > > someone in AMD?
> > 
> > > > >
> > 
> > > > > According to our internal teams, disabling snooping is only required on
> > 
> > > the audio parts included in Evergreen and Northern Islands GPUs. Older chips
> > 
> > > like R7xx (aa48) and newer chips like Southern Islands (aaa0) are able to use
> > 
> > > snooping. I'm not real familiar with the audio portions of the GPUs so if you
> > 
> > > need further clarification, let me know.
> > 
> > > >
> > 
> > > > Thanks for the information.
> > 
> > > >
> > 
> > > > Though, it's strange that the information doesn't match with what I've
> > 
> > > > heard (and also with what I've tested with a laptop). I've heard that
> > 
> > > > it's Southern Island HDMI that needs the snoop-disablement.
> > 
> > > >
> > 
> > > > Could you ask again whether it's really Evergreen / Nothern Islands?
> > 
> > > >
> > 
> > > >
> > 
> > > > thanks,
> > 
> > > >
> > 
> > > > Takashi
> > 
> > > >
> > 
> > > > >
> > 
> > > > > Alex
> > 
> > > > >
> > 
> > > > > >
> > 
> > > > > > FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits in
> > 
> > > > > > driver_data of pci entries in sound/pci/hda/hda_intel.c.
> > 
> > > > > >
> > 
> > > > > >
> > 
> > > > > > thanks,
> > 
> > > > > >
> > 
> > > > > > Takashi
> > 
> > > > >
> > 
> > > > >
> > 
> > > 
> > 
> > > any updates on the matter guys?
> > 
> > 
> > 
> > 
> > 
> > Haven't heard back. I'll ping them again.
> > 
> > 
> > 
> > Alex
> 
> sorry for nudging, any updates?

Well, what's your original issue?
I wasn't in the loop from the beginning, so I don't know what is the
information you need to know.

If disablement of the snoop is mandatory on your board, we need to add
the workaround in the driver no matter what spec says.  (The datasheet
is often wrong in practice :)


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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
@ 2013-11-03  7:50 Dagg Stompler
  2013-11-04  8:43 ` Takashi Iwai
  0 siblings, 1 reply; 17+ messages in thread
From: Dagg Stompler @ 2013-11-03  7:50 UTC (permalink / raw)
  To: Deucher, Alexander, Takashi Iwai; +Cc: alsa-user, alsa-devel, Clemens Ladisch

> ----- Original Message -----
> From: Deucher, Alexander
> Sent: 10/19/13 03:59 PM
> To: Dagg Stompler, Takashi Iwai
> Subject: RE: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> 
> > -----Original Message-----
> 
> > From: Dagg Stompler [mailto:daggs@gmx.com]
> 
> > Sent: Saturday, October 19, 2013 5:49 AM
> 
> > To: Takashi Iwai; Deucher, Alexander
> 
> > Cc: Clemens Ladisch; alsa-user@lists.sourceforge.net; alsa-devel@alsa-
> 
> > project.org
> 
> > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> 
> > 
> 
> > > ----- Original Message -----
> 
> > > From: Takashi Iwai
> 
> > > Sent: 10/08/13 10:49 AM
> 
> > > To: Deucher, Alexander
> 
> > > Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> 
> > >
> 
> > > At Mon, 7 Oct 2013 13:36:24 +0000,
> 
> > > Deucher, Alexander wrote:
> 
> > > >
> 
> > > > > -----Original Message-----
> 
> > > > > From: Takashi Iwai [mailto:tiwai@suse.de]
> 
> > > > > Sent: Monday, September 30, 2013 5:18 AM
> 
> > > > > To: Deucher, Alexander
> 
> > > > > Cc: Clemens Ladisch; Dagg Stompler; alsa-user@lists.sourceforge.net;
> 
> > alsa-
> 
> > > > > devel@alsa-project.org
> 
> > > > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> 
> > > > >
> 
> > > > > At Mon, 30 Sep 2013 02:23:22 +0000,
> 
> > > > > Deucher, Alexander wrote:
> 
> > > > > >
> 
> > > > > > > -----Original Message-----
> 
> > > > > > > From: Clemens Ladisch [mailto:cladisch@googlemail.com]
> 
> > > > > > > Sent: Saturday, September 28, 2013 6:33 PM
> 
> > > > > > > To: Dagg Stompler
> 
> > > > > > > Cc: alsa-user@lists.sourceforge.net; Deucher, Alexander; alsa-
> 
> > > > > devel@alsa-
> 
> > > > > > > project.org
> 
> > > > > > > Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?
> 
> > > > > > >
> 
> > > > > > > Dagg Stompler wrote:
> 
> > > > > > > >> daggs@gmx.com wrote:
> 
> > > > > > > >>> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> 
> > > > > > > >>> card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
> 
> > > > > > > >>> card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
> 
> > > > > > > >>
> 
> > > > > > > >> The second one is called "Generic" because your kernel does not
> 
> > (yet)
> 
> > > > > > > >> know the hardware.
> 
> > > > > > > >>
> 
> > > > > > > >>> 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> 
> > Cedar
> 
> > > > > > > HDMI Audio [Radeon HD 5400/6300 Series]
> 
> > > > > > > >>> 06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> 
> > RV635
> 
> > > > > > > HDMI Audio [Radeon HD 3600 Series]
> 
> > > > > > > >>
> 
> > > > > > > >> These are the HDMI outputs of *two* graphics cards. The first
> 
> > one's
> 
> > > > > > > >> model is so new that the driver doesn't know it.
> 
> > > > > > > >
> 
> > > > > > > > the 3600 doesn't have hdmi socket so I think it is irrelevant for my
> 
> > issue.
> 
> > > > > > >
> 
> > > > > > > The RV635 chip does support HDMI outputs (even if none are
> 
> > actually
> 
> > > > > > > connected), so the corresponding PCI device shows up here.
> 
> > > > > > >
> 
> > > > > > > >>> If you update the kernel, you will get two devices named "HDA
> 
> > ATI
> 
> > > > > > > HDMI".
> 
> > > > > > > >
> 
> > > > > > > > upgrade to where?
> 
> > > > > > >
> 
> > > > > > > Oops. Even the latest driver lacks the PCI IDs of many HDMI HDA
> 
> > devices
> 
> > > > > > > (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
> 
> > > > > > > Cypress/Juniper/Redwood/Cedar/
> 
> > > > > > > Cayman+Antilles/Barts/Turks/Caicos).
> 
> > > > > > >
> 
> > > > > > > Alex, are these devices that require disabling snooping?
> 
> > > > > >
> 
> > > > > > Sorry what does snooping mean in this context?
> 
> > > > >
> 
> > > > > Most of HD-audio controller have a snoop control, but the recent AMD
> 
> > > > > HDMI audio controller don't have the feature, thus the driver must use
> 
> > > > > the non-cached pages. At least, PCI ID 1002:aaa0, aaa8 and aab0 are
> 
> > > > > known to require such.
> 
> > > > >
> 
> > > > > Now the question is whether all new chips above (aa50,...) require the
> 
> > > > > same workaround, too. Could you check this or forward the inquiry to
> 
> > > > > someone in AMD?
> 
> > > >
> 
> > > > According to our internal teams, disabling snooping is only required on
> 
> > the audio parts included in Evergreen and Northern Islands GPUs. Older chips
> 
> > like R7xx (aa48) and newer chips like Southern Islands (aaa0) are able to use
> 
> > snooping. I'm not real familiar with the audio portions of the GPUs so if you
> 
> > need further clarification, let me know.
> 
> > >
> 
> > > Thanks for the information.
> 
> > >
> 
> > > Though, it's strange that the information doesn't match with what I've
> 
> > > heard (and also with what I've tested with a laptop). I've heard that
> 
> > > it's Southern Island HDMI that needs the snoop-disablement.
> 
> > >
> 
> > > Could you ask again whether it's really Evergreen / Nothern Islands?
> 
> > >
> 
> > >
> 
> > > thanks,
> 
> > >
> 
> > > Takashi
> 
> > >
> 
> > > >
> 
> > > > Alex
> 
> > > >
> 
> > > > >
> 
> > > > > FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits in
> 
> > > > > driver_data of pci entries in sound/pci/hda/hda_intel.c.
> 
> > > > >
> 
> > > > >
> 
> > > > > thanks,
> 
> > > > >
> 
> > > > > Takashi
> 
> > > >
> 
> > > >
> 
> > 
> 
> > any updates on the matter guys?
> 
> 
> 
> 
> 
> Haven't heard back. I'll ping them again.
> 
> 
> 
> Alex

sorry for nudging, any updates?
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
  2013-10-19  9:49 [alsa-devel] " Dagg Stompler
@ 2013-10-19 12:59 ` Deucher, Alexander
  0 siblings, 0 replies; 17+ messages in thread
From: Deucher, Alexander @ 2013-10-19 12:59 UTC (permalink / raw)
  To: Dagg Stompler, Takashi Iwai; +Cc: alsa-user, alsa-devel, Clemens Ladisch

> -----Original Message-----
> From: Dagg Stompler [mailto:daggs@gmx.com]
> Sent: Saturday, October 19, 2013 5:49 AM
> To: Takashi Iwai; Deucher, Alexander
> Cc: Clemens Ladisch; alsa-user@lists.sourceforge.net; alsa-devel@alsa-
> project.org
> Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> 
> > ----- Original Message -----
> > From: Takashi Iwai
> > Sent: 10/08/13 10:49 AM
> > To: Deucher, Alexander
> > Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?
> >
> > At Mon, 7 Oct 2013 13:36:24 +0000,
> > Deucher, Alexander wrote:
> > >
> > > > -----Original Message-----
> > > > From: Takashi Iwai [mailto:tiwai@suse.de]
> > > > Sent: Monday, September 30, 2013 5:18 AM
> > > > To: Deucher, Alexander
> > > > Cc: Clemens Ladisch; Dagg Stompler; alsa-user@lists.sourceforge.net;
> alsa-
> > > > devel@alsa-project.org
> > > > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > > >
> > > > At Mon, 30 Sep 2013 02:23:22 +0000,
> > > > Deucher, Alexander wrote:
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Clemens Ladisch [mailto:cladisch@googlemail.com]
> > > > > > Sent: Saturday, September 28, 2013 6:33 PM
> > > > > > To: Dagg Stompler
> > > > > > Cc: alsa-user@lists.sourceforge.net; Deucher, Alexander; alsa-
> > > > devel@alsa-
> > > > > > project.org
> > > > > > Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?
> > > > > >
> > > > > > Dagg Stompler wrote:
> > > > > > >> daggs@gmx.com wrote:
> > > > > > >>> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> > > > > > >>> card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
> > > > > > >>> card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
> > > > > > >>
> > > > > > >> The second one is called "Generic" because your kernel does not
> (yet)
> > > > > > >> know the hardware.
> > > > > > >>
> > > > > > >>> 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> Cedar
> > > > > > HDMI Audio [Radeon HD 5400/6300 Series]
> > > > > > >>> 06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> RV635
> > > > > > HDMI Audio [Radeon HD 3600 Series]
> > > > > > >>
> > > > > > >> These are the HDMI outputs of *two* graphics cards. The first
> one's
> > > > > > >> model is so new that the driver doesn't know it.
> > > > > > >
> > > > > > > the 3600 doesn't have hdmi socket so I think it is irrelevant for my
> issue.
> > > > > >
> > > > > > The RV635 chip does support HDMI outputs (even if none are
> actually
> > > > > > connected), so the corresponding PCI device shows up here.
> > > > > >
> > > > > > >>> If you update the kernel, you will get two devices named "HDA
> ATI
> > > > > > HDMI".
> > > > > > >
> > > > > > > upgrade to where?
> > > > > >
> > > > > > Oops. Even the latest driver lacks the PCI IDs of many HDMI HDA
> devices
> > > > > > (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
> > > > > > Cypress/Juniper/Redwood/Cedar/
> > > > > > Cayman+Antilles/Barts/Turks/Caicos).
> > > > > >
> > > > > > Alex, are these devices that require disabling snooping?
> > > > >
> > > > > Sorry what does snooping mean in this context?
> > > >
> > > > Most of HD-audio controller have a snoop control, but the recent AMD
> > > > HDMI audio controller don't have the feature, thus the driver must use
> > > > the non-cached pages. At least, PCI ID 1002:aaa0, aaa8 and aab0 are
> > > > known to require such.
> > > >
> > > > Now the question is whether all new chips above (aa50,...) require the
> > > > same workaround, too. Could you check this or forward the inquiry to
> > > > someone in AMD?
> > >
> > > According to our internal teams, disabling snooping is only required on
> the audio parts included in Evergreen and Northern Islands GPUs. Older chips
> like R7xx (aa48) and newer chips like Southern Islands (aaa0) are able to use
> snooping. I'm not real familiar with the audio portions of the GPUs so if you
> need further clarification, let me know.
> >
> > Thanks for the information.
> >
> > Though, it's strange that the information doesn't match with what I've
> > heard (and also with what I've tested with a laptop). I've heard that
> > it's Southern Island HDMI that needs the snoop-disablement.
> >
> > Could you ask again whether it's really Evergreen / Nothern Islands?
> >
> >
> > thanks,
> >
> > Takashi
> >
> > >
> > > Alex
> > >
> > > >
> > > > FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits in
> > > > driver_data of pci entries in sound/pci/hda/hda_intel.c.
> > > >
> > > >
> > > > thanks,
> > > >
> > > > Takashi
> > >
> > >
> 
> any updates on the matter guys?


Haven't heard back.  I'll ping them again.

Alex

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
  2013-10-07 13:36       ` Deucher, Alexander
@ 2013-10-08  7:49         ` Takashi Iwai
  0 siblings, 0 replies; 17+ messages in thread
From: Takashi Iwai @ 2013-10-08  7:49 UTC (permalink / raw)
  To: Deucher, Alexander; +Cc: alsa-user, Dagg Stompler, alsa-devel, Clemens Ladisch

At Mon, 7 Oct 2013 13:36:24 +0000,
Deucher, Alexander wrote:
> 
> > -----Original Message-----
> > From: Takashi Iwai [mailto:tiwai@suse.de]
> > Sent: Monday, September 30, 2013 5:18 AM
> > To: Deucher, Alexander
> > Cc: Clemens Ladisch; Dagg Stompler; alsa-user@lists.sourceforge.net; alsa-
> > devel@alsa-project.org
> > Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> > 
> > At Mon, 30 Sep 2013 02:23:22 +0000,
> > Deucher, Alexander wrote:
> > >
> > > > -----Original Message-----
> > > > From: Clemens Ladisch [mailto:cladisch@googlemail.com]
> > > > Sent: Saturday, September 28, 2013 6:33 PM
> > > > To: Dagg Stompler
> > > > Cc: alsa-user@lists.sourceforge.net; Deucher, Alexander; alsa-
> > devel@alsa-
> > > > project.org
> > > > Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?
> > > >
> > > > Dagg Stompler wrote:
> > > > >> daggs@gmx.com wrote:
> > > > >>> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> > > > >>> card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
> > > > >>> card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
> > > > >>
> > > > >> The second one is called "Generic" because your kernel does not (yet)
> > > > >> know the hardware.
> > > > >>
> > > > >>> 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar
> > > > HDMI Audio [Radeon HD 5400/6300 Series]
> > > > >>> 06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV635
> > > > HDMI Audio [Radeon HD 3600 Series]
> > > > >>
> > > > >> These are the HDMI outputs of *two* graphics cards. The first one's
> > > > >> model is so new that the driver doesn't know it.
> > > > >
> > > > > the 3600 doesn't have hdmi socket so I think it is irrelevant for my issue.
> > > >
> > > > The RV635 chip does support HDMI outputs (even if none are actually
> > > > connected), so the corresponding PCI device shows up here.
> > > >
> > > > >>> If you update the kernel, you will get two devices named "HDA ATI
> > > > HDMI".
> > > > >
> > > > > upgrade to where?
> > > >
> > > > Oops.  Even the latest driver lacks the PCI IDs of many HDMI HDA devices
> > > > (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
> > > > Cypress/Juniper/Redwood/Cedar/
> > > > Cayman+Antilles/Barts/Turks/Caicos).
> > > >
> > > > Alex, are these devices that require disabling snooping?
> > >
> > > Sorry what does snooping mean in this context?
> > 
> > Most of HD-audio controller have a snoop control, but the recent AMD
> > HDMI audio controller don't have the feature, thus the driver must use
> > the non-cached pages.  At least, PCI ID 1002:aaa0, aaa8 and aab0 are
> > known to require such.
> > 
> > Now the question is whether all new chips above (aa50,...) require the
> > same workaround, too.  Could you check this or forward the inquiry to
> > someone in AMD?
> 
> According to our internal teams, disabling snooping is only required on the audio parts included in Evergreen and Northern Islands GPUs.  Older chips like R7xx (aa48) and newer chips like Southern Islands (aaa0) are able to use snooping.  I'm not real familiar with the audio portions of the GPUs so if you need further clarification, let me know.

Thanks for the information.

Though, it's strange that the information doesn't match with what I've
heard (and also with what I've tested with a laptop).  I've heard that
it's Southern Island HDMI that needs the snoop-disablement.

Could you ask again whether it's really Evergreen / Nothern Islands?


thanks,

Takashi

> 
> Alex
> 
> > 
> > FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits in
> > driver_data of pci entries in sound/pci/hda/hda_intel.c.
> > 
> > 
> > thanks,
> > 
> > Takashi
> 
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
  2013-09-30  9:18     ` Takashi Iwai
@ 2013-10-07 13:36       ` Deucher, Alexander
  2013-10-08  7:49         ` Takashi Iwai
  0 siblings, 1 reply; 17+ messages in thread
From: Deucher, Alexander @ 2013-10-07 13:36 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-user, Dagg Stompler, alsa-devel, Clemens Ladisch

> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@suse.de]
> Sent: Monday, September 30, 2013 5:18 AM
> To: Deucher, Alexander
> Cc: Clemens Ladisch; Dagg Stompler; alsa-user@lists.sourceforge.net; alsa-
> devel@alsa-project.org
> Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?
> 
> At Mon, 30 Sep 2013 02:23:22 +0000,
> Deucher, Alexander wrote:
> >
> > > -----Original Message-----
> > > From: Clemens Ladisch [mailto:cladisch@googlemail.com]
> > > Sent: Saturday, September 28, 2013 6:33 PM
> > > To: Dagg Stompler
> > > Cc: alsa-user@lists.sourceforge.net; Deucher, Alexander; alsa-
> devel@alsa-
> > > project.org
> > > Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?
> > >
> > > Dagg Stompler wrote:
> > > >> daggs@gmx.com wrote:
> > > >>> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> > > >>> card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
> > > >>> card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
> > > >>
> > > >> The second one is called "Generic" because your kernel does not (yet)
> > > >> know the hardware.
> > > >>
> > > >>> 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar
> > > HDMI Audio [Radeon HD 5400/6300 Series]
> > > >>> 06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV635
> > > HDMI Audio [Radeon HD 3600 Series]
> > > >>
> > > >> These are the HDMI outputs of *two* graphics cards. The first one's
> > > >> model is so new that the driver doesn't know it.
> > > >
> > > > the 3600 doesn't have hdmi socket so I think it is irrelevant for my issue.
> > >
> > > The RV635 chip does support HDMI outputs (even if none are actually
> > > connected), so the corresponding PCI device shows up here.
> > >
> > > >>> If you update the kernel, you will get two devices named "HDA ATI
> > > HDMI".
> > > >
> > > > upgrade to where?
> > >
> > > Oops.  Even the latest driver lacks the PCI IDs of many HDMI HDA devices
> > > (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
> > > Cypress/Juniper/Redwood/Cedar/
> > > Cayman+Antilles/Barts/Turks/Caicos).
> > >
> > > Alex, are these devices that require disabling snooping?
> >
> > Sorry what does snooping mean in this context?
> 
> Most of HD-audio controller have a snoop control, but the recent AMD
> HDMI audio controller don't have the feature, thus the driver must use
> the non-cached pages.  At least, PCI ID 1002:aaa0, aaa8 and aab0 are
> known to require such.
> 
> Now the question is whether all new chips above (aa50,...) require the
> same workaround, too.  Could you check this or forward the inquiry to
> someone in AMD?

According to our internal teams, disabling snooping is only required on the audio parts included in Evergreen and Northern Islands GPUs.  Older chips like R7xx (aa48) and newer chips like Southern Islands (aaa0) are able to use snooping.  I'm not real familiar with the audio portions of the GPUs so if you need further clarification, let me know.

Alex

> 
> FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits in
> driver_data of pci entries in sound/pci/hda/hda_intel.c.
> 
> 
> thanks,
> 
> Takashi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
  2013-09-30  2:23   ` [Alsa-user] " Deucher, Alexander
  2013-09-30  7:05     ` Clemens Ladisch
@ 2013-09-30  9:18     ` Takashi Iwai
  2013-10-07 13:36       ` Deucher, Alexander
  1 sibling, 1 reply; 17+ messages in thread
From: Takashi Iwai @ 2013-09-30  9:18 UTC (permalink / raw)
  To: Deucher, Alexander; +Cc: alsa-user, Dagg Stompler, alsa-devel, Clemens Ladisch

At Mon, 30 Sep 2013 02:23:22 +0000,
Deucher, Alexander wrote:
> 
> > -----Original Message-----
> > From: Clemens Ladisch [mailto:cladisch@googlemail.com]
> > Sent: Saturday, September 28, 2013 6:33 PM
> > To: Dagg Stompler
> > Cc: alsa-user@lists.sourceforge.net; Deucher, Alexander; alsa-devel@alsa-
> > project.org
> > Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?
> > 
> > Dagg Stompler wrote:
> > >> daggs@gmx.com wrote:
> > >>> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> > >>> card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
> > >>> card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
> > >>
> > >> The second one is called "Generic" because your kernel does not (yet)
> > >> know the hardware.
> > >>
> > >>> 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar
> > HDMI Audio [Radeon HD 5400/6300 Series]
> > >>> 06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV635
> > HDMI Audio [Radeon HD 3600 Series]
> > >>
> > >> These are the HDMI outputs of *two* graphics cards. The first one's
> > >> model is so new that the driver doesn't know it.
> > >
> > > the 3600 doesn't have hdmi socket so I think it is irrelevant for my issue.
> > 
> > The RV635 chip does support HDMI outputs (even if none are actually
> > connected), so the corresponding PCI device shows up here.
> > 
> > >>> If you update the kernel, you will get two devices named "HDA ATI
> > HDMI".
> > >
> > > upgrade to where?
> > 
> > Oops.  Even the latest driver lacks the PCI IDs of many HDMI HDA devices
> > (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
> > Cypress/Juniper/Redwood/Cedar/
> > Cayman+Antilles/Barts/Turks/Caicos).
> > 
> > Alex, are these devices that require disabling snooping?
> 
> Sorry what does snooping mean in this context?

Most of HD-audio controller have a snoop control, but the recent AMD
HDMI audio controller don't have the feature, thus the driver must use
the non-cached pages.  At least, PCI ID 1002:aaa0, aaa8 and aab0 are
known to require such.

Now the question is whether all new chips above (aa50,...) require the
same workaround, too.  Could you check this or forward the inquiry to
someone in AMD?

FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits in
driver_data of pci entries in sound/pci/hda/hda_intel.c.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
  2013-09-30  2:23   ` [Alsa-user] " Deucher, Alexander
@ 2013-09-30  7:05     ` Clemens Ladisch
  2013-09-30  9:18     ` Takashi Iwai
  1 sibling, 0 replies; 17+ messages in thread
From: Clemens Ladisch @ 2013-09-30  7:05 UTC (permalink / raw)
  To: Deucher, Alexander, Dagg Stompler; +Cc: alsa-user, alsa-devel

Deucher, Alexander wrote:
>> Even the latest driver lacks the PCI IDs of many HDMI HDA devices
>> (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98: Cypress/Juniper/Redwood/Cedar/
>> Cayman+Antilles/Barts/Turks/Caicos).
>>
>> Alex, are these devices that require disabling snooping?
>
> Sorry what does snooping mean in this context?

Coherent memory accesses, i.e., not setting bit 18 in the stream
descriptor control register; the HDA spec says:
| Traffic Priority (TP):  If set to a 1, the stream will be treated as
| preferred traffic if the underlying bus supports it.  If set to a 0,
| the traffic will be handled on a “best effort” basis.  [...]
| On PCI Express, for example, setting the TP bit to a 1 might cause
| the controller to generate non-snooped isochronous traffic, while
| a PCI implementation may ignore this bit.
| It is permitted to implement this bit as RO if there is no
| controllability available.

So "require" might be wrong, this is just an optimization.  Anyway,
devices up to aa48 use snooping, while from aaa0 (Tahiti XT) forward,
the driver sets TP (<http://git.kernel.org/linus/1815b34a6267>).
The question is, what was the first device to support this?


Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Alsa-user]  hdmi sound rerouted?
  2013-09-28 22:32 ` [alsa-devel] " Clemens Ladisch
@ 2013-09-30  2:23   ` Deucher, Alexander
  2013-09-30  7:05     ` Clemens Ladisch
  2013-09-30  9:18     ` Takashi Iwai
  0 siblings, 2 replies; 17+ messages in thread
From: Deucher, Alexander @ 2013-09-30  2:23 UTC (permalink / raw)
  To: Clemens Ladisch, Dagg Stompler; +Cc: alsa-user, alsa-devel

> -----Original Message-----
> From: Clemens Ladisch [mailto:cladisch@googlemail.com]
> Sent: Saturday, September 28, 2013 6:33 PM
> To: Dagg Stompler
> Cc: alsa-user@lists.sourceforge.net; Deucher, Alexander; alsa-devel@alsa-
> project.org
> Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?
> 
> Dagg Stompler wrote:
> >> daggs@gmx.com wrote:
> >>> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
> >>> card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
> >>> card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
> >>
> >> The second one is called "Generic" because your kernel does not (yet)
> >> know the hardware.
> >>
> >>> 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar
> HDMI Audio [Radeon HD 5400/6300 Series]
> >>> 06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV635
> HDMI Audio [Radeon HD 3600 Series]
> >>
> >> These are the HDMI outputs of *two* graphics cards. The first one's
> >> model is so new that the driver doesn't know it.
> >
> > the 3600 doesn't have hdmi socket so I think it is irrelevant for my issue.
> 
> The RV635 chip does support HDMI outputs (even if none are actually
> connected), so the corresponding PCI device shows up here.
> 
> >>> If you update the kernel, you will get two devices named "HDA ATI
> HDMI".
> >
> > upgrade to where?
> 
> Oops.  Even the latest driver lacks the PCI IDs of many HDMI HDA devices
> (aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:
> Cypress/Juniper/Redwood/Cedar/
> Cayman+Antilles/Barts/Turks/Caicos).
> 
> Alex, are these devices that require disabling snooping?

Sorry what does snooping mean in this context?

Alex

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-11-05  9:49 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-05  9:49 [Alsa-user] hdmi sound rerouted? Dagg Stompler
  -- strict thread matches above, loose matches on Subject: below --
2013-11-04 18:53 Dagg Stompler
2013-11-05  7:14 ` Takashi Iwai
2013-11-05  8:27   ` Clemens Ladisch
2013-11-05  8:49     ` Takashi Iwai
2013-11-04 12:21 daggs
2013-11-04 13:04 ` Takashi Iwai
2013-11-04 13:47   ` Deucher, Alexander
2013-11-04 14:06     ` Takashi Iwai
2013-11-03  7:50 Dagg Stompler
2013-11-04  8:43 ` Takashi Iwai
2013-10-19  9:49 [alsa-devel] " Dagg Stompler
2013-10-19 12:59 ` [Alsa-user] " Deucher, Alexander
     [not found] <20130927185045.47660@gmx.com>
2013-09-28 22:32 ` [alsa-devel] " Clemens Ladisch
2013-09-30  2:23   ` [Alsa-user] " Deucher, Alexander
2013-09-30  7:05     ` Clemens Ladisch
2013-09-30  9:18     ` Takashi Iwai
2013-10-07 13:36       ` Deucher, Alexander
2013-10-08  7:49         ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.