Skip to content

Commit 9874cc2

Browse files
Evan Quanalexdeucher
authored andcommitted
drm/amd/pm: bump SMU 13.0.0 driver_if header version
This can suppress the warning caused by version mismatch. Signed-off-by: Evan Quan <[email protected]> Acked-by: Alex Deucher <[email protected]> Acked-by: Guchun Chen <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected] # 6.1.x
1 parent 0e763af commit 9874cc2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@
123123
(1 << FEATURE_DS_FCLK_BIT) | \
124124
(1 << FEATURE_DS_LCLK_BIT) | \
125125
(1 << FEATURE_DS_DCFCLK_BIT) | \
126-
(1 << FEATURE_DS_UCLK_BIT))
126+
(1 << FEATURE_DS_UCLK_BIT) | \
127+
(1ULL << FEATURE_DS_VCN_BIT))
127128

128129
//For use with feature control messages
129130
typedef enum {
@@ -522,9 +523,9 @@ typedef enum {
522523
TEMP_HOTSPOT_M,
523524
TEMP_MEM,
524525
TEMP_VR_GFX,
525-
TEMP_VR_SOC,
526526
TEMP_VR_MEM0,
527527
TEMP_VR_MEM1,
528+
TEMP_VR_SOC,
528529
TEMP_VR_U,
529530
TEMP_LIQUID0,
530531
TEMP_LIQUID1,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +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
31+
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_0 0x37
3232
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_4 0x07
3333
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_5 0x04
3434
#define SMU13_DRIVER_IF_VERSION_SMU_V13_0_0_10 0x32

0 commit comments

Comments
 (0)