Skip to contentSkip to conversation

hdmi sound rerouted?

Alsa-user [email protected] 3 participants 4 messages Nov 4, 2013

lore
Share & tools
lore
#0 lore raw

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.

Quoted 281 lines

----- 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,

Quoted 261 lines · Dagg Stompler
Quoted 261 lines

----- 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?

Quoted 249 lines

-----Original Message-----

From: Dagg Stompler [mailto:[email protected]]

Sent: Saturday, October 19, 2013 5:49 AM

To: Takashi Iwai; Deucher, Alexander

Cc Clemens Ladisch; [email protected]; alsa-devel@alsa-

project.org

Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?

Quoted 8 lines

----- Original Message -----

From: Takashi Iwai

Sent: 10/08/13 10:49 AM

To: Deucher, Alexander

Quoted 19 lines

Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?

At Mon, 7 Oct 2013 13:36:24 +0000,

Quoted 11 lines · Alexander
Quoted 11 lines

-----Original Message-----

From: Takashi Iwai [mailto:[email protected]]

Sent: Monday, September 30, 2013 5:18 AM

To: Deucher, Alexander

Cc Clemens Ladisch; Dagg Stompler; [email protected];

alsa-

Quoted 36 lines
Quoted 35 lines
Quoted 35 lines

[email protected]

Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?

At Mon, 30 Sep 2013 02:23:22 +0000,

Quoted 11 lines · Alexander
Quoted 11 lines

-----Original Message-----

From: Clemens Ladisch [mailto:[email protected]]

Sent: Saturday, September 28, 2013 6:33 PM

To: Dagg Stompler

Cc [email protected]; Deucher, Alexander; alsa-

devel@alsa-

Quoted 11 lines
Quoted 11 lines

project.org

Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?

Quoted 3 lines · Dagg Stompler
Quoted 3 lines
Quoted 1 line · [email protected] wrote:

card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

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)

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

know the hardware.

Quoted 1 line

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]

Cedar

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

HDMI Audio [Radeon HD 5400/6300 Series]

Quoted 1 line
Quoted 1 line
Quoted 1 line

06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]

RV635

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

HDMI Audio [Radeon HD 3600 Series]

Quoted 3 lines
Quoted 3 lines

These are the HDMI outputs of *two* graphics cards. The first

one's

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

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.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

The RV635 chip does support HDMI outputs (even if none are

actually

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

connected), so the corresponding PCI device shows up here.

Quoted 1 line
Quoted 1 line
Quoted 1 line

If you update the kernel, you will get two devices named "HDA

ATI

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

HDMI".

Quoted 3 lines

upgrade to where?

Oops. Even the latest driver lacks the PCI IDs of many HDMI HDA

devices

Quoted 28 lines
Quoted 27 lines
Quoted 27 lines
Quoted 8 lines
Quoted 7 lines

(aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:

Cypress/Juniper/Redwood/Cedar/

Cayman+Antilles/Barts/Turks/Caicos).

Quoted 5 lines
Quoted 1 line

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

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

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.

Quoted 20 lines

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?

Quoted 33 lines

thanks,

Takashi

Quoted 25 lines

Alex

Quoted 15 lines

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?

Quoted 7 lines
Quoted 5 lines

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.

Quoted 7 lines

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
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw

At Mon, 04 Nov 2013 13:21:25 +0100,

Quoted 6 lines · [email protected] 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

Quoted 282 lines
Quoted 282 lines

----- 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,

Quoted 261 lines · Dagg Stompler
Quoted 261 lines

----- 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?

Quoted 249 lines

-----Original Message-----

From: Dagg Stompler [mailto:[email protected]]

Sent: Saturday, October 19, 2013 5:49 AM

To: Takashi Iwai; Deucher, Alexander

Cc Clemens Ladisch; [email protected]; alsa-devel@alsa-

project.org

Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?

Quoted 8 lines

----- Original Message -----

From: Takashi Iwai

Sent: 10/08/13 10:49 AM

To: Deucher, Alexander

Quoted 19 lines

Subject: Re: [alsa-devel] [Alsa-user]  hdmi sound rerouted?

At Mon, 7 Oct 2013 13:36:24 +0000,

Quoted 11 lines · Alexander
Quoted 11 lines

-----Original Message-----

From: Takashi Iwai [mailto:[email protected]]

Sent: Monday, September 30, 2013 5:18 AM

To: Deucher, Alexander

Cc Clemens Ladisch; Dagg Stompler; [email protected];

alsa-

Quoted 36 lines
Quoted 35 lines
Quoted 35 lines

[email protected]

Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?

At Mon, 30 Sep 2013 02:23:22 +0000,

Quoted 11 lines · Alexander
Quoted 11 lines

-----Original Message-----

From: Clemens Ladisch [mailto:[email protected]]

Sent: Saturday, September 28, 2013 6:33 PM

To: Dagg Stompler

Cc [email protected]; Deucher, Alexander; alsa-

devel@alsa-

Quoted 11 lines
Quoted 11 lines

project.org

Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?

Quoted 3 lines · Dagg Stompler
Quoted 3 lines
Quoted 1 line · [email protected] wrote:

card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

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)

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

know the hardware.

Quoted 1 line

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]

Cedar

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

HDMI Audio [Radeon HD 5400/6300 Series]

Quoted 1 line
Quoted 1 line
Quoted 1 line

06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]

RV635

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

HDMI Audio [Radeon HD 3600 Series]

Quoted 3 lines
Quoted 3 lines

These are the HDMI outputs of *two* graphics cards. The first

one's

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

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.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

The RV635 chip does support HDMI outputs (even if none are

actually

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

connected), so the corresponding PCI device shows up here.

Quoted 1 line
Quoted 1 line
Quoted 1 line

If you update the kernel, you will get two devices named "HDA

ATI

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

HDMI".

Quoted 3 lines

upgrade to where?

Oops. Even the latest driver lacks the PCI IDs of many HDMI HDA

devices

Quoted 28 lines
Quoted 27 lines
Quoted 27 lines
Quoted 8 lines
Quoted 7 lines

(aa50/aa58/aa60/aa68/aa80/aa88/aa90/aa98:

Cypress/Juniper/Redwood/Cedar/

Cayman+Antilles/Barts/Turks/Caicos).

Quoted 5 lines
Quoted 1 line

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

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

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.

Quoted 20 lines

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?

Quoted 33 lines

thanks,

Takashi

Quoted 25 lines

Alex

Quoted 15 lines

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?

Quoted 7 lines
Quoted 5 lines

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.

Quoted 8 lines
Quoted 7 lines

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
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw
Quoted 17 lines

-----Original Message-----
From: Takashi Iwai [mailto:[email protected]]
Sent: Monday, November 04, 2013 8:05 AM
To: [email protected]
Cc: Deucher, Alexander; Clemens Ladisch; [email protected]; [email protected]
Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?

At Mon, 04 Nov 2013 13:21:25 +0100,

Quoted 2 lines · [email protected] 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.

Quoted 2 lines

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.

Quoted 1 line
Quoted 8 lines
Quoted 1 line

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

Quoted 269 lines

Takashi

Quoted 18 lines
Quoted 18 lines

----- 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,

Quoted 9 lines · Dagg Stompler
Quoted 9 lines

----- 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?

Quoted 1 line

-----Original Message-----

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

From: Dagg Stompler [mailto:[email protected]]

Sent: Saturday, October 19, 2013 5:49 AM

To: Takashi Iwai; Deucher, Alexander

Cc Clemens Ladisch; [email protected]; alsa-

devel@alsa-

Quoted 27 lines
Quoted 27 lines
Quoted 27 lines
Quoted 27 lines
Quoted 26 lines

project.org

Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?

Quoted 19 lines

----- 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,

Quoted 3 lines · Alexander
Quoted 3 lines

-----Original Message-----

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

From: Takashi Iwai [mailto:[email protected]]

Sent: Monday, September 30, 2013 5:18 AM

To: Deucher, Alexander

Cc Clemens Ladisch; Dagg Stompler; alsa-

[email protected];

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 16 lines

alsa-

Quoted 13 lines
Quoted 13 lines
Quoted 13 lines

[email protected]

Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?

At Mon, 30 Sep 2013 02:23:22 +0000,

Quoted 3 lines · Alexander
Quoted 3 lines

-----Original Message-----

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

From: Clemens Ladisch [mailto:[email protected]]

Sent: Saturday, September 28, 2013 6:33 PM

To: Dagg Stompler

Cc [email protected]; Deucher, Alexander;

alsa-

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

devel@alsa-

Quoted 5 lines
Quoted 5 lines

project.org

Subject: Re: [Alsa-user] [alsa-devel] hdmi sound rerouted?

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines · Dagg Stompler
Quoted 3 lines

[email protected] wrote:

card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI

0]

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

card 1: Generic [HD-Audio Generic], device 3: HDMI 0

[HDMI 0]

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI

0]

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

The second one is called "Generic" because your kernel

does not

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

(yet)

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

know the hardware.

01:00.1 Audio device: Advanced Micro Devices, Inc.

[AMD/ATI]

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Cedar

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

HDMI Audio [Radeon HD 5400/6300 Series]

Quoted 1 line
Quoted 1 line

06:00.1 Audio device: Advanced Micro Devices, Inc.

[AMD/ATI]

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

RV635

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

HDMI Audio [Radeon HD 3600 Series]

Quoted 3 lines
Quoted 3 lines

These are the HDMI outputs of *two* graphics cards.

The first

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

one's

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

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

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

issue.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

The RV635 chip does support HDMI outputs (even if none

are

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

actually

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

connected), so the corresponding PCI device shows up

here.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

If you update the kernel, you will get two devices

named "HDA

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

ATI

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

HDMI".

Quoted 1 line
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

upgrade to where?

Oops. Even the latest driver lacks the PCI IDs of many

HDMI HDA

Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 14 lines

devices

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 9 lines

(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?

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

Sorry what does snooping mean in this context?

Most of HD-audio controller have a snoop control, but the

recent AMD

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

HDMI audio controller don't have the feature, thus the driver

must use

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

the non-cached pages. At least, PCI ID 1002:aaa0, aaa8 and

aab0 are

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

known to require such.

Now the question is whether all new chips above (aa50,...)

require the

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

same workaround, too. Could you check this or forward the

inquiry to

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines

someone in AMD?

According to our internal teams, disabling snooping is only

required on

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

the audio parts included in Evergreen and Northern Islands GPUs.

Older chips

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

like R7xx (aa48) and newer chips like Southern Islands (aaa0) are

able to use

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

snooping. I'm not real familiar with the audio portions of the GPUs

so if you

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

need further clarification, let me know.

Quoted 7 lines

Thanks for the information.

Though, it's strange that the information doesn't match with what

I've

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

heard (and also with what I've tested with a laptop). I've heard

that

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

it's Southern Island HDMI that needs the snoop-disablement.

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

Islands?

Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines
Quoted 14 lines
Quoted 14 lines

thanks,

Takashi

Quoted 1 line
Quoted 53 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Alex

Quoted 3 lines

FWIW, such a chip needs to set AZX_DRIVER_ATIHDMI_NS bits

in

Quoted 45 lines
Quoted 44 lines
Quoted 25 lines
Quoted 25 lines
Quoted 20 lines
Quoted 11 lines
Quoted 10 lines
Quoted 10 lines

driver_data of pci entries in sound/pci/hda/hda_intel.c.

thanks,

Quoted 5 lines
Quoted 5 lines
Quoted 1 line

Takashi

any updates on the matter guys?

Quoted 7 lines
Quoted 5 lines

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
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw

At Mon, 4 Nov 2013 13:47:54 +0000,

Quoted 21 lines · Alexander
Quoted 21 lines

-----Original Message-----
From: Takashi Iwai [mailto:[email protected]]
Sent: Monday, November 04, 2013 8:05 AM
To: [email protected]
Cc: Deucher, Alexander; Clemens Ladisch; [email protected]; [email protected]
Subject: Re: [alsa-devel] [Alsa-user] hdmi sound rerouted?

At Mon, 04 Nov 2013 13:21:25 +0100,

Quoted 2 lines · [email protected] 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.

Quoted 2 lines

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.

Quoted 2 lines

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.

Quoted 7 lines
Quoted 5 lines

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