Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0071F224895; Mon, 9 Jun 2025 22:54:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749509644; cv=none; b=XNnEPg+ULtM2tuDvWFezcqQnfbSnbZVdw7iwJB7ikE36R+Pmb8DiCHwrDiSrnxxQb7a2RNqeR9I5ld0EG7WuCucNeHWafMT4R6OklAEMAEKfJEWxWB+KV4gJOk/sSSMloYEGjgYDiPebXU/ojOHR2/bUu+kzzahSFCngUq5ytsI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749509644; c=relaxed/simple; bh=vfQrcKybWrkWE2GNtzKsHU6vlXUjf6KGRMTpD7idTD0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=s8gLH0CNKFCIz6YYsE0S6ayLq41meMEJ9Pv+Vda8r2sqEXAC8CmABE4ltN+ySWGVwi/mUF9cAaQHux+NIW/5LmQSJGSrno6QcAobRbmJBBC9uSqtz9yikBCnLkNXzODhRJLgLE97hLDPEeizCt14/HinN+f1uPGU3gfM0V00bdQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rUC93ObJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rUC93ObJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E8F8C4CEEB; Mon, 9 Jun 2025 22:54:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1749509643; bh=vfQrcKybWrkWE2GNtzKsHU6vlXUjf6KGRMTpD7idTD0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rUC93ObJDF1izhlFOoL6Qn+p8k6T+D+BKpOrBghkQW2leyPrnwC7azBSMrXhD8jf+ 9ywCw+eC44HIXm2rup+zRfUEJ7V2AGvDJVz/UTx+uCrCoVy89bTkfKeb/iRqW/qfOr sN9EX22tOrrY0FGQU2f0VwBk6kA6RzLUXUAvnxWeKviF0vmN+hnGKUNgC6GEOI1WZR Ep6TYmzRTYxLhNAqZ40eLEkhb9Oi3PHaGzKQJplC41okPaIY4tYG1KaaZI3ULS21Lx 10YYBDTNPzbBZcSLHfS550YJXueOIVldlUoVXEjX1vEerVkfHWvu+L3dYXlzI+ovfD esElZgq/0oLiQ== From: Sasha Levin To: patches@lists.linux.dev, stable@vger.kernel.org Cc: Vijendar Mukunda , Alex Deucher , Takashi Iwai , Sasha Levin , yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.dev, peter.ujfalusi@linux.intel.com, kai.vehmanen@linux.intel.com, maxtram95@gmail.com, hkallweit1@gmail.com, TonyWWang-oc@zhaoxin.com, phasta@kernel.org Subject: [PATCH AUTOSEL 5.15 2/5] ALSA: hda: Add new pci id for AMD GPU display HD audio controller Date: Mon, 9 Jun 2025 18:53:55 -0400 Message-Id: <20250609225359.1444537-2-sashal@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250609225359.1444537-1-sashal@kernel.org> References: <20250609225359.1444537-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.15.185 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Vijendar Mukunda [ Upstream commit ab72bfce7647522e01a181e3600c3d14ff5c143e ] Add new pci id for AMD GPU display HD audio controller(device id- 0xab40). Signed-off-by: Vijendar Mukunda Reviewed-by: Alex Deucher Link: https://patch.msgid.link/20250529053838.2350071-1-Vijendar.Mukunda@amd.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- Based on my analysis of the commit and the similar historical commits provided, here is my assessment: **YES** This commit should be backported to stable kernel trees based on the following extensive analysis: **1. Hardware Support Fix Pattern:** The commit follows the exact same pattern as the historical commits marked "YES" for backporting (Similar Commits #2, #3, and #4). All of these commits: - Add new PCI device IDs for hardware support - Use identical driver configuration (`AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS | AZX_DCAPS_PM_RUNTIME`) - Are small, self-contained changes with minimal risk **2. Code Analysis:** The change adds exactly one new PCI device entry: ```c { PCI_VDEVICE(ATI, 0xab40), .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS | AZX_DCAPS_PM_RUNTIME }, ``` This entry is inserted in the correct sequential order between existing AMD GPU audio devices (after 0xab38) and follows the exact same pattern as all surrounding entries. The driver data flags used are: - `AZX_DRIVER_ATIHDMI_NS`: Standard ATI HDMI driver - `AZX_DCAPS_PRESET_ATI_HDMI_NS`: ATI HDMI preset capabilities - `AZX_DCAPS_PM_RUNTIME`: Runtime power management support **3. Risk Assessment - Minimal:** - **No algorithmic changes**: Pure PCI ID table addition - **No new code paths**: Uses existing, well-tested driver infrastructure - **No configuration changes**: Same capabilities as neighboring AMD GPU devices - **No architectural impact**: Confined to PCI device recognition - **Regression risk**: Nearly zero - only affects this specific AMD GPU (device ID 0xab40) **4. User Impact - Significant:** This enables HD audio functionality for users with new AMD GPU hardware (device ID 0xab40). Without this change, the audio component of these GPUs would not be recognized by the kernel, leaving users without audio output capabilities on affected systems. **5. Stable Tree Criteria Compliance:** - ✅ **Fixes important bug**: Lack of audio support on new hardware - ✅ **Minimal risk**: PCI ID additions have extremely low regression potential - ✅ **Small and contained**: Single line addition following established pattern - ✅ **No new features**: Pure hardware enablement - ✅ **Clear benefit**: Enables audio on new AMD GPUs **6. Historical Precedent:** Similar Commits #2, #3, and #4 (all marked "YES") demonstrate that AMD/ATI GPU audio PCI ID additions are consistently considered appropriate for stable backporting. The only "NO" examples (Similar Commits #1 and #5) were either preparatory changes for future features or lacked hardware urgency. **7. Maintainer Endorsement:** The commit has proper sign-offs including review by Alex Deucher (AMD maintainer), indicating technical correctness and hardware necessity. This commit perfectly fits the stable tree guidelines: it's a minimal, safe hardware enablement fix that provides significant user benefit with virtually no regression risk. sound/pci/hda/hda_intel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 5f0e7765b8bd6..6433cd2794abc 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2729,6 +2729,9 @@ static const struct pci_device_id azx_ids[] = { { PCI_DEVICE(0x1002, 0xab38), .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS | AZX_DCAPS_PM_RUNTIME }, + { PCI_VDEVICE(ATI, 0xab40), + .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS | + AZX_DCAPS_PM_RUNTIME }, /* GLENFLY */ { PCI_DEVICE(PCI_VENDOR_ID_GLENFLY, PCI_ANY_ID), .class = PCI_CLASS_MULTIMEDIA_HD_AUDIO << 8, -- 2.39.5