summaryrefslogtreecommitdiff
path: root/drivers/accel
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2026-03-04 11:50:12 -0800
committerLizhi Hou <lizhi.hou@amd.com>2026-03-04 12:05:02 -0800
commitf82859c84a9862e242c904e72fb0625fef9b24e7 (patch)
tree7078ed7d4b9c1f615613cc0dad51395495950ae4 /drivers/accel
parenta58d487fb1a52579d3c37544ea371da78ed70c45 (diff)
downloadlinux-f82859c84a9862e242c904e72fb0625fef9b24e7.tar.gz
linux-f82859c84a9862e242c904e72fb0625fef9b24e7.tar.bz2
linux-f82859c84a9862e242c904e72fb0625fef9b24e7.zip
accel/amdxdna: Fix major version check on NPU1 platform
Add the missing major number in npu1_fw_feature_table. Without the major version specified, the firmware feature check fails, preventing new firmware commands from being enabled on the NPU1 platform. With the correct major version populated, the driver properly detects firmware support and enables the new command. Fixes: f1eac46fe5f7 ("accel/amdxdna: Update firmware version check for latest firmware") Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260304195012.3616908-1-lizhi.hou@amd.com
Diffstat (limited to 'drivers/accel')
-rw-r--r--drivers/accel/amdxdna/npu1_regs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/accel/amdxdna/npu1_regs.c b/drivers/accel/amdxdna/npu1_regs.c
index 6e3d3ca69c04..1320e924e548 100644
--- a/drivers/accel/amdxdna/npu1_regs.c
+++ b/drivers/accel/amdxdna/npu1_regs.c
@@ -67,7 +67,7 @@ const struct dpm_clk_freq npu1_dpm_clk_table[] = {
static const struct aie2_fw_feature_tbl npu1_fw_feature_table[] = {
{ .major = 5, .min_minor = 7 },
- { .features = BIT_U64(AIE2_NPU_COMMAND), .min_minor = 8 },
+ { .features = BIT_U64(AIE2_NPU_COMMAND), .major = 5, .min_minor = 8 },
{ 0 }
};