]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
ALSA: hda/intel: increase default bdl_pos_adj for Nvidia controllers
authorPanagiotis Foliadis <pfoliadis@posteo.net>
Wed, 25 Feb 2026 14:53:43 +0000 (14:53 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 25 Feb 2026 14:56:57 +0000 (15:56 +0100)
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.

Cc: stable@vger.kernel.org
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221069
Suggested-by: Charalampos Mitrodimas <charmitro@posteo.net>
Signed-off-by: Panagiotis Foliadis <pfoliadis@posteo.net>
Link: https://patch.msgid.link/20260225-nvidia-audio-fix-v1-1-b1383c37ec49@posteo.net
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/controllers/intel.c

index 6fddf400c4a3d67042e421b81ac3a13607a24bcd..3f434994c18db64019d3b4cfff8a7cc8764b5f26 100644 (file)
@@ -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;
        }