Skip to content

Commit 272b981

Browse files
Evan Quanalexdeucher
authored andcommitted
drm/amd/pm: bump SMU13.0.0 driver_if header to version 0x34
To fit the latest PMFW and suppress the warning emerged on driver loading. Signed-off-by: Evan Quan <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] # 6.0, 6.1
1 parent afa6646 commit 272b981

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,9 +522,9 @@ typedef enum {
522522
TEMP_HOTSPOT_M,
523523
TEMP_MEM,
524524
TEMP_VR_GFX,
525+
TEMP_VR_SOC,
525526
TEMP_VR_MEM0,
526527
TEMP_VR_MEM1,
527-
TEMP_VR_SOC,
528528
TEMP_VR_U,
529529
TEMP_LIQUID0,
530530
TEMP_LIQUID1,

drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#define SMU13_DRIVER_IF_VERSION_INV 0xFFFFFFFF
2929
#define SMU13_DRIVER_IF_VERSION_YELLOW_CARP 0x04
3030
#define SMU13_DRIVER_IF_VERSION_ALDE 0x08
31+
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_0 0x34
3132
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_4 0x07
3233
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_5 0x04
3334
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_10 0x32

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ int smu_v13_0_check_fw_version(struct smu_context *smu)
290290
smu->smc_driver_if_version = SMU13_DRIVER_IF_VERSION_ALDE;
291291
break;
292292
case IP_VERSION(13, 0, 0):
293+
smu->smc_driver_if_version = SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_0;
294+
break;
293295
case IP_VERSION(13, 0, 10):
294296
smu->smc_driver_if_version = SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_10;
295297
break;

0 commit comments

Comments
 (0)