ALSA: hda/intel: increase default bdl_pos_adj for Nvidia controllers
Subsystems (2)
PATCH 1/1 ALSA: hda/intel: increase default bdl_pos_adj for Nvidia controllers
The default bdl_pos_adj of 32 for Nvidia HDA controllers is insufficient on GA102 (and likely other recent Nvidia GPUs) after S3 suspend/resume. The controller's DMA timing degrades after resume, causing premature IRQ detection in azx_position_ok() which results in silent HDMI/DP audio output despite userspace reporting a valid playback state and correct ELD data.
Increase bdl_pos_adj to 64 for AZX_DRIVER_NVIDIA, matching the value already used by Intel Apollo Lake for the same class of timing issue.
--- sound/hda/controllers/intel.c | 2 ++ 1 file changed, 2 insertions(+)
sound/hda/controllers/intel.c +2 -0
@@ -1751,6 +1751,8 @@ static int default_bdl_pos_adj(struct azx *chip)return 1 ;case AZX_DRIVER_ZHAOXINHDMI :return 128 ; +case AZX_DRIVER_NVIDIA : +return 64 ;default :return 32 ; }
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260223-nvidia-audio-fix-76f75db4e7c2
Best regards,
Signature · 1 line
Panagiotis Foliadis <[email protected]>
Takashi Iwai
AppliedQuoted 8 lines · Panagiotis Foliadis
The default
bdl_pos_adjof 32 for Nvidia HDA controllers is insufficient on GA102 (and likely other recent Nvidia GPUs) after S3 suspend/resume. The controller's DMA timing degrades after resume, causing premature IRQ detection inazx_position_ok()which results in silent HDMI/DP audio output despite userspace reporting a valid playback state and correct ELD data.
Quoted 7 lines
Increase
bdl_pos_adjto 64 forAZX_DRIVER_NVIDIA, matching the value already used by Intel Apollo Lake for the same class of timing issue.Suggested-by Charalampos Mitrodimas <[email protected]>Signed-off-by Panagiotis Foliadis <[email protected]>
Thanks, applied now.
Takashi