Attention is currently required from: Sean Rhodes, Nico Huber, Tarun Tuli, Subrata Banik, Paul Menzel, Arthur Heymans, Eric Lai.
Michał Żygowski has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/71715 )
Change subject: soc/intel/alderlake: Hook up PchHdaAudioLinkHdaEnable to devicetree
......................................................................
Patch Set 4:
(1 comment)
Patchset:
PS4:
SDI1 doesn't make any difference to me. […]
@Eric the SDI GPIOs is not the only point that ensures proper HDA operation.
In the mentioned PeiCavsInitLib there is a line:
HdaCallbacks->HdaPcrPidDspAndThenOr32 (R_HDA_PCR_CDCCFG, (UINT32)~0, (B_HDA_PCR_CDCCFG_DIS_SDIN0 | B_HDA_PCR_CDCCFG_DIS_SDIN1));
that will be executed if (HdaPreMemConfig->AudioLinkHda.Enable == FALSE)
else if (HdaPreMemConfig->AudioLinkHda.Enable == TRUE) AND (HdaPreMemConfig->AudioLinkHda.SdiEnable[0] == FALSE) then
HdaCallbacks->HdaPcrPidDspAndThenOr32 (R_HDA_PCR_CDCCFG, (UINT32)~0, (B_HDA_PCR_CDCCFG_DIS_SDIN0));
is executed, effectively disabling SDI pins in the HDA private configuration space.
To be clear:
HdaPreMemConfig->AudioLinkHda.Enable = FspmUpd->FspmConfig.PchHdaAudioLinkHdaEnable;
HdaPreMemConfig->AudioLinkHda.SdiEnable[Index] = FspmUpd->FspmConfig.PchHdaSdiEnable[Index];
That is why we need PchHdaAudioLinkHdaEnable and PchHdaSdiEnable to be board-controllable. By default PchHdaSdiEnable[0] and PchHdaAudioLinkHdaEnable UPDs are set to enabled, but coreboot overrides them to disabled in soc code, which make HDA non-functional in my and Sean's cases.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/71715
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6f27f41a4a4b3844a65d45d36aba37c3af1050a0
Gerrit-Change-Number: 71715
Gerrit-PatchSet: 4
Gerrit-Owner: Sean Rhodes
sean@starlabs.systems
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-Reviewer: Subrata Banik
subratabanik@google.com
Gerrit-Reviewer: Tarun Tuli
taruntuli@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Arthur Heymans
arthur@aheymans.xyz
Gerrit-CC: Eric Lai
eric_lai@quanta.corp-partner.google.com
Gerrit-CC: EricR Lai
ericr_lai@compal.corp-partner.google.com
Gerrit-CC: Nico Huber
nico.h@gmx.de
Gerrit-CC: Paul Menzel
paulepanter@mailbox.org
Gerrit-CC: Tim Wawrzynczak
inforichland@gmail.com
Gerrit-Attention: Sean Rhodes
sean@starlabs.systems
Gerrit-Attention: Nico Huber
nico.h@gmx.de
Gerrit-Attention: Tarun Tuli
taruntuli@google.com
Gerrit-Attention: Subrata Banik
subratabanik@google.com
Gerrit-Attention: Paul Menzel
paulepanter@mailbox.org
Gerrit-Attention: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Attention: Eric Lai
eric_lai@quanta.corp-partner.google.com
Gerrit-Comment-Date: Thu, 02 Feb 2023 15:51:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sean Rhodes
sean@starlabs.systems
Comment-In-Reply-To: Michał Żygowski
michal.zygowski@3mdeb.com
Comment-In-Reply-To: Eric Lai
eric_lai@quanta.corp-partner.google.com
Gerrit-MessageType: comment