Skip to content

soundwire: intel_ace2x: keep DACTQE at its reset value for TAS2783 on HP OmniBook Ultra 14 (8EB4) - #6056

Open
jonnyjonjon wants to merge 1 commit into
thesofproject:topic/sof-devfrom
jonnyjonjon:soundwire-intel-ace2x-keep-dactqe
Open

jonnyjonjon wants to merge 1 commit into
thesofproject:topic/sof-devfrom
jonnyjonjon:soundwire-intel-ace2x-keep-dactqe

Conversation

@jonnyjonjon

@jonnyjonjon jonnyjonjon commented Nov 24, 2026 •

Copy link
Copy Markdown

On the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07), the four TI
TAS2783 amplifiers on SoundWire links 1 and 2 fail continuously (parity errors,
firmware download failures) with the ACTMCTL value the driver
programs from the BIOS _DSD timing values plus DACTQE. With DACTQE left at its
reset value (clear) on those two links, all four amplifiers attach and play.

ACTMCTL on links 1/2 Value Result
Before init 0x003A —
Current driver 0x117D amplifiers fail
This patch 0x117C amplifiers work

As explained in review, DACTQE enables the AC timing qualifier, and the
DOAIS/DOAISE and DODS/DODSE fields only take effect when it is set. The timing
values this BIOS provides don't work for these amplifiers, and the proper fix is
suitable _DSD values in the BIOS. Until HP ships one, this PR adds a DMI quirk
as a stopgap:

  • It matches only HP / board 8EB4.
  • It is limited only to links 1 and 2
  • It is applied in sdw_master_read_intel_prop(), next to the timing values
    read from _DSD. The cAVS driver (intel.c) is not changed.

Relation to #5904: #5904 keeps DACTQE set and instead overrides DOAIS and
DOAISE2 on this board's links 1 and 2. This PR leaves the firmware's values
alone and disables the qualifier. The SDCA function type part of #5904 is discussed
separately in #6057.

Testing: HP OmniBook Ultra 14 (8EB4), BIOS F.07: The quirk is reported,
and all four TAS2783 amplifiers attach and play. For testing, the TAS2783 function
type was set to SmartAmp with the change from #6057, which is not part of this PR.

Related: #5732, #5904, #6057

This change and its description were developed with the help of Claude Code;
I reviewed and tested it on the hardware above.

Updates:

  • the first version stopped setting DACTQE on every ACE2.x platform. Following
    review, it is now a DMI quirk applied only to one board, and only on the
    problematic links.
  • Retested on 8EB4 as above.

@sofci

sofci commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

reply test this please to run this test once

@bardliao

Copy link
Copy Markdown
Collaborator

test this please

Comment thread drivers/soundwire/intel_ace2x.c Resolved

@bardliao bardliao left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

DACTQE is not a leftover. It enables the AC timing qualifier on the SoundWire data buffer, and the timing fields such as DOAIS/DOAISE and DODS/DODSE only take effect when DACTQE is set. The reasonable fix is to provide suitable timing values in the BIOS (_DSD) for this board, rather than clearing DACTQE in the driver.

@jonnyjonjon

Copy link
Copy Markdown
Author

DACTQE is not a leftover. It enables the AC timing qualifier on the SoundWire data buffer, and the timing fields such as DOAIS/DOAISE and DODS/DODSE only take effect when DACTQE is set. The reasonable fix is to provide suitable timing values in the BIOS (_DSD) for this board, rather than clearing DACTQE in the driver.

Thank you for the quick explanation! Then agreed, this is simply masking a bad firmware, and should not be applied broadly. I've pushed a second commit to gate this as a quirk for 8EB4.

@jonnyjonjon jonnyjonjon changed the title soundwire: intel_ace2x: keep DACTQE at its reset value soundwire: intel_ace2x: keep DACTQE at its reset value for TAS2783 on HP OmniBook Ultra 14 Nov 24, 2026
@jonnyjonjon
jonnyjonjon requested a review from bardliao November 24, 2026 15:35
@jonnyjonjon jonnyjonjon changed the title soundwire: intel_ace2x: keep DACTQE at its reset value for TAS2783 on HP OmniBook Ultra 14 soundwire: intel_ace2x: keep DACTQE at its reset value for TAS2783 on HP OmniBook Ultra 14 (8EB4) Nov 24, 2026
@bardliao

Copy link
Copy Markdown
Collaborator

Looks much better now. Can you merge the 2 commits?

@jonnyjonjon
jonnyjonjon force-pushed the soundwire-intel-ace2x-keep-dactqe branch 5 times, most recently from 53e00a6 to a33bc7f Compare November 26, 2026 07:04
@jonnyjonjon

jonnyjonjon commented Nov 26, 2026 •

Copy link
Copy Markdown
Author

Looks much better now. Can you merge the 2 commits?

Merged the commits.

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.

🟡 Changes recommended

The quirk also disables DACTQE on link 3’s unaffected RT712 headset codec, bypassing its BIOS timing configuration instead of being restricted to TAS2783 links 1 and 2.

1 open issue
What changed in this PR

This PR adds a board-specific SoundWire workaround for TAS2783 amplifier failures on the HP OmniBook Ultra 14 (8EB4), pending corrected BIOS timing values. It addresses the timing issue separately from the SDCA function-type fix in #6057.

Changes:

  • Adds an HP/8EB4 DMI quirk and a property to suppress enabling the AC timing qualifier.
  • Updates ACE2.x initialization to honor that property while leaving BIOS timing values and the cAVS driver unchanged.
File Description
drivers/​soundwire/​intel.h Adds the no_dactqe property.
drivers/​soundwire/​intel_auxdevice.c Detects HP/8EB4 and sets the timing-qualifier quirk.
drivers/​soundwire/​intel_ace2x.c Skips enabling DACTQE when the quirk is set.

Review effort: Balanced

Comment thread drivers/soundwire/intel_auxdevice.c Outdated
"intel-sdw-dods",
&intel_prop->dods);

if (dmi_check_system(intel_no_dactqe_quirk_table)) {

@jonnyjonjon jonnyjonjon Nov 26, 2026 •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Just amended with link id gating via the quirk table.

Tested, speakers still work, and the only log output is:
soundwire sdw-master-0-1: quirk: leaving AC timing qualifier disabled
soundwire sdw-master-0-2: quirk: leaving AC timing qualifier disabled

@jonnyjonjon
jonnyjonjon force-pushed the soundwire-intel-ace2x-keep-dactqe branch from a33bc7f to 12c3988 Compare November 26, 2026 15:49
On the HP OmniBook Ultra 14 (board 8EB4, Panther Lake, BIOS F.07),
links 1 and 2 each carry two TI TAS2783 amplifiers. intel_shim_vs_init()
programs ACTMCTL = 0x117D on those links (the BIOS _DSD timing values,
plus DACTQE), and the amplifiers keep failing: parity errors and
firmware download failures, tens of thousands of log lines per boot.

DACTQE enables the AC timing qualifier, and the DOAIS/DOAISE and
DODS/DODSE timing fields only take effect when it is set. The timing
values the BIOS provides do not work for these amplifiers. The proper
fix is suitable _DSD timing values in the BIOS. Until one is available,
add a DMI quirk that leaves DACTQE at its reset value (clear) on links
1 and 2 of this board, which gives ACTMCTL = 0x117C there. All four
amplifiers then attach and play. Link 3 (a single RT712) is unaffected.

The quirk is applied in sdw_master_read_intel_prop(), next to the other
timing values read from _DSD. It matches only this vendor and board
name, and its driver_data holds the mask of affected links, so no other
link or platform changes behaviour.

Tested on HP OmniBook Ultra 14 (8EB4), BIOS F.07: all four TAS2783
amplifiers attach and play. This BIOS also does not declare the SDCA
function type of the TAS2783 amplifiers, so for testing, the function
type was set to SmartAmp with a separate local change. A fix for that
is out of scope here.

This patch was developed with the help of Claude Code (Claude Opus
5.5). I reviewed the change and tested it on the hardware above.

Link: thesofproject#5732
Signed-off-by: jonnyjonjon <jonnyjonjon42@gmail.com>
@jonnyjonjon
jonnyjonjon force-pushed the soundwire-intel-ace2x-keep-dactqe branch from 12c3988 to 5f311fa Compare November 26, 2026 17:10
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