public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda: Add new pci id for AMD GPU display HD audio controller
@ 2025-05-29  5:38 Vijendar Mukunda
  2025-05-29 20:26 ` Deucher, Alexander
  2025-06-02 14:46 ` Takashi Iwai
  0 siblings, 2 replies; 4+ messages in thread
From: Vijendar Mukunda @ 2025-05-29  5:38 UTC (permalink / raw)
  To: perex, tiwai
  Cc: alsa-devel, Sunil-kumar.Dommati, alexander.deucher, linux-sound,
	linux-kernel, Vijendar Mukunda

Add new pci id for AMD GPU display HD audio controller(device id- 0xab40).

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
---
 sound/pci/hda/hda_intel.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 512fb22f5e5e..3f8b2bf6eab5 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2715,6 +2715,9 @@ static const struct pci_device_id azx_ids[] = {
 	{ PCI_VDEVICE(ATI, 0xab38),
 	  .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS |
 	  AZX_DCAPS_PM_RUNTIME },
+	{ PCI_VDEVICE(ATI, 0xab40),
+	  .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS |
+	  AZX_DCAPS_PM_RUNTIME },
 	/* GLENFLY */
 	{ PCI_DEVICE(PCI_VENDOR_ID_GLENFLY, PCI_ANY_ID),
 	  .class = PCI_CLASS_MULTIMEDIA_HD_AUDIO << 8,
-- 
2.45.2


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

* RE: [PATCH] ALSA: hda: Add new pci id for AMD GPU display HD audio controller
  2025-05-29  5:38 [PATCH] ALSA: hda: Add new pci id for AMD GPU display HD audio controller Vijendar Mukunda
@ 2025-05-29 20:26 ` Deucher, Alexander
  2025-06-02 14:47   ` Takashi Iwai
  2025-06-02 14:46 ` Takashi Iwai
  1 sibling, 1 reply; 4+ messages in thread
From: Deucher, Alexander @ 2025-05-29 20:26 UTC (permalink / raw)
  To: Mukunda, Vijendar, perex@perex.cz, tiwai@suse.com
  Cc: alsa-devel@alsa-project.org, Dommati, Sunil-kumar,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org

[Public]

> -----Original Message-----
> From: Mukunda, Vijendar <Vijendar.Mukunda@amd.com>
> Sent: Thursday, May 29, 2025 1:38 AM
> To: perex@perex.cz; tiwai@suse.com
> Cc: alsa-devel@alsa-project.org; Dommati, Sunil-kumar <Sunil-
> kumar.Dommati@amd.com>; Deucher, Alexander
> <Alexander.Deucher@amd.com>; linux-sound@vger.kernel.org; linux-
> kernel@vger.kernel.org; Mukunda, Vijendar <Vijendar.Mukunda@amd.com>
> Subject: [PATCH] ALSA: hda: Add new pci id for AMD GPU display HD audio
> controller
>
> Add new pci id for AMD GPU display HD audio controller(device id- 0xab40).
>
> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>

Is there a way we can just add a default entry for all ATI HDMI HDA endpoints?  It would avoid then need to add an entry every time we release a new endpoint DID.  Either way:
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  sound/pci/hda/hda_intel.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index
> 512fb22f5e5e..3f8b2bf6eab5 100644
> --- a/sound/pci/hda/hda_intel.c
> +++ b/sound/pci/hda/hda_intel.c
> @@ -2715,6 +2715,9 @@ static const struct pci_device_id azx_ids[] = {
>       { PCI_VDEVICE(ATI, 0xab38),
>         .driver_data = AZX_DRIVER_ATIHDMI_NS |
> AZX_DCAPS_PRESET_ATI_HDMI_NS |
>         AZX_DCAPS_PM_RUNTIME },
> +     { PCI_VDEVICE(ATI, 0xab40),
> +       .driver_data = AZX_DRIVER_ATIHDMI_NS |
> AZX_DCAPS_PRESET_ATI_HDMI_NS |
> +       AZX_DCAPS_PM_RUNTIME },
>       /* GLENFLY */
>       { PCI_DEVICE(PCI_VENDOR_ID_GLENFLY, PCI_ANY_ID),
>         .class = PCI_CLASS_MULTIMEDIA_HD_AUDIO << 8,
> --
> 2.45.2


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

* Re: [PATCH] ALSA: hda: Add new pci id for AMD GPU display HD audio controller
  2025-05-29  5:38 [PATCH] ALSA: hda: Add new pci id for AMD GPU display HD audio controller Vijendar Mukunda
  2025-05-29 20:26 ` Deucher, Alexander
@ 2025-06-02 14:46 ` Takashi Iwai
  1 sibling, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2025-06-02 14:46 UTC (permalink / raw)
  To: Vijendar Mukunda
  Cc: perex, tiwai, alsa-devel, Sunil-kumar.Dommati, alexander.deucher,
	linux-sound, linux-kernel

On Thu, 29 May 2025 07:38:13 +0200,
Vijendar Mukunda wrote:
> 
> Add new pci id for AMD GPU display HD audio controller(device id- 0xab40).
> 
> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>

Applied now.  Thanks.


Takashi

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

* Re: [PATCH] ALSA: hda: Add new pci id for AMD GPU display HD audio controller
  2025-05-29 20:26 ` Deucher, Alexander
@ 2025-06-02 14:47   ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2025-06-02 14:47 UTC (permalink / raw)
  To: Deucher, Alexander
  Cc: Mukunda, Vijendar, perex@perex.cz, tiwai@suse.com,
	alsa-devel@alsa-project.org, Dommati, Sunil-kumar,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org

On Thu, 29 May 2025 22:26:07 +0200,
Deucher, Alexander wrote:
> 
> [Public]
> 
> > -----Original Message-----
> > From: Mukunda, Vijendar <Vijendar.Mukunda@amd.com>
> > Sent: Thursday, May 29, 2025 1:38 AM
> > To: perex@perex.cz; tiwai@suse.com
> > Cc: alsa-devel@alsa-project.org; Dommati, Sunil-kumar <Sunil-
> > kumar.Dommati@amd.com>; Deucher, Alexander
> > <Alexander.Deucher@amd.com>; linux-sound@vger.kernel.org; linux-
> > kernel@vger.kernel.org; Mukunda, Vijendar <Vijendar.Mukunda@amd.com>
> > Subject: [PATCH] ALSA: hda: Add new pci id for AMD GPU display HD audio
> > controller
> >
> > Add new pci id for AMD GPU display HD audio controller(device id- 0xab40).
> >
> > Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
> 
> Is there a way we can just add a default entry for all ATI HDMI HDA
> endpoints?  It would avoid then need to add an entry every time we
> release a new endpoint DID.

We have already catch-all entries for ATI and AMD vendors, but those
are setup without AZX_DRIVER_ATIHDMI_NS, that is, for older chip
models.


Takashi

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

end of thread, other threads:[~2025-06-02 14:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-29  5:38 [PATCH] ALSA: hda: Add new pci id for AMD GPU display HD audio controller Vijendar Mukunda
2025-05-29 20:26 ` Deucher, Alexander
2025-06-02 14:47   ` Takashi Iwai
2025-06-02 14:46 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox