Skip to content

Commit f82859c

Browse files
committed
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: f1eac46 ("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
1 parent a58d487 commit f82859c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/accel/amdxdna/npu1_regs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const struct dpm_clk_freq npu1_dpm_clk_table[] = {
6767

6868
static const struct aie2_fw_feature_tbl npu1_fw_feature_table[] = {
6969
{ .major = 5, .min_minor = 7 },
70-
{ .features = BIT_U64(AIE2_NPU_COMMAND), .min_minor = 8 },
70+
{ .features = BIT_U64(AIE2_NPU_COMMAND), .major = 5, .min_minor = 8 },
7171
{ 0 }
7272
};
7373

0 commit comments

Comments
 (0)