Skip to content

ASoC/SoundWire: add quirk for HP OMEN 16 board 8A4D - #6080

Open
bardliao wants to merge 2 commits into
thesofproject:topic/sof-devfrom
bardliao:fix/hp-omen-16-8a4d
Open

bardliao wants to merge 2 commits into
thesofproject:topic/sof-devfrom
bardliao:fix/hp-omen-16-8a4d

Conversation

@bardliao

@bardliao bardliao commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

This model has the same BIOS ACPI error as the k0005TX: it declares a rt711 on both L0 and L1, but the hardware is a rt711-sdca on L0 and a rt1316 on L3. The existing quirks match on "OMEN by HP Gaming Laptop 16", but this model reports "OMEN by HP Gaming Laptop", so neither quirk applies. The codecs never bind to ACPI, and topology loading fails because iDisp4 is missing.

The HP OMEN Gaming Laptop 16-k0001sa (board 8A4D) has the same incorrect
ACPI description as the HP Omen 16-k0005TX: the BIOS declares a rt711
on link0 and link1, while the hardware actually has a rt711-sdca on
link0 and a rt1316 on link3.

The existing hp_omen_16 remap matches on DMI product name "OMEN by HP
Gaming Laptop 16", but this model reports "OMEN by HP Gaming Laptop",
so the remap is not applied and neither codec is bound to an ACPI node.

Add a board name based match so the remap applies to this model.

Link: thesofproject/sof#11606
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
The HP OMEN Gaming Laptop 16-k0001sa (board 8A4D) reports DMI product
name "OMEN by HP Gaming Laptop", which does not match the existing
"OMEN by HP Gaming Laptop 16" quirk. Without SOF_SDW_TGL_HDMI only 3
iDisp DAI links are created and topology loading fails with:

  can't connect DAI HDA3.OUT stream iDisp4

Add a board name based match with the same quirk as the HP Omen
16-k0005TX.

Link: thesofproject/sof#11606
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the HP OMEN board 8A4D audio-quirk changes.

No open issues 🎉

What changed in this PR

Adds audio quirks for HP OMEN board 8A4D, whose product name does not match the existing OMEN 16 entries.

Changes:

  • Reuses the existing SoundWire address remapping to correct BIOS codec declarations.
  • Applies the existing HDMI and jack-detection settings through a board-specific match.
File Description
sound/​soc/​intel/​boards/​sof_sdw.c Enables HDMI and RT711 jack-detection quirks for board 8A4D.
drivers/​soundwire/​dmi-quirks.c Maps board 8A4D to the existing HP OMEN codec-address correction.

Review effort: Balanced

.callback = sof_sdw_quirk_cb,
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "HP"),
DMI_EXACT_MATCH(DMI_BOARD_NAME, "8A4D"),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add a comment to say which device this is. It's in the commit message but less obvious than in code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants