Skip to content

Commit d85ffff

Browse files
kv2019itiwai
authored andcommitted
ALSA: hda: Add Intel DG2 PCI ID and HDMI codec vid
Add HD Audio PCI ID and HDMI codec vendor ID for Intel DG2. Reviewed-by: Uma Shankar <[email protected]> Signed-off-by: Kai Vehmanen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 65cc4ad commit d85ffff

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

sound/pci/hda/hda_intel.c

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,10 @@ enum {
335335
((pci)->device == 0x0c0c) || \
336336
((pci)->device == 0x0d0c) || \
337337
((pci)->device == 0x160c) || \
338-
((pci)->device == 0x490d))
338+
((pci)->device == 0x490d) || \
339+
((pci)->device == 0x4f90) || \
340+
((pci)->device == 0x4f91) || \
341+
((pci)->device == 0x4f92))
339342

340343
#define IS_BXT(pci) ((pci)->vendor == 0x8086 && (pci)->device == 0x5a98)
341344

@@ -2473,6 +2476,13 @@ static const struct pci_device_id azx_ids[] = {
24732476
/* DG1 */
24742477
{ PCI_DEVICE(0x8086, 0x490d),
24752478
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
2479+
/* DG2 */
2480+
{ PCI_DEVICE(0x8086, 0x4f90),
2481+
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
2482+
{ PCI_DEVICE(0x8086, 0x4f91),
2483+
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
2484+
{ PCI_DEVICE(0x8086, 0x4f92),
2485+
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},
24762486
/* Alderlake-S */
24772487
{ PCI_DEVICE(0x8086, 0x7ad0),
24782488
.driver_data = AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE},

sound/pci/hda/patch_hdmi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4382,6 +4382,7 @@ HDA_CODEC_ENTRY(0x80862814, "DG1 HDMI", patch_i915_tgl_hdmi),
43824382
HDA_CODEC_ENTRY(0x80862815, "Alderlake HDMI", patch_i915_tgl_hdmi),
43834383
HDA_CODEC_ENTRY(0x8086281c, "Alderlake-P HDMI", patch_i915_tgl_hdmi),
43844384
HDA_CODEC_ENTRY(0x80862816, "Rocketlake HDMI", patch_i915_tgl_hdmi),
4385+
HDA_CODEC_ENTRY(0x80862819, "DG2 HDMI", patch_i915_tgl_hdmi),
43854386
HDA_CODEC_ENTRY(0x8086281a, "Jasperlake HDMI", patch_i915_icl_hdmi),
43864387
HDA_CODEC_ENTRY(0x8086281b, "Elkhartlake HDMI", patch_i915_icl_hdmi),
43874388
HDA_CODEC_ENTRY(0x80862880, "CedarTrail HDMI", patch_generic_hdmi),

0 commit comments

Comments
 (0)