Skip to content

Commit 7046ca9

Browse files
Li Maalexdeucher
authored andcommitted
drm/amd/swsmu: remove duplicate definition of smu v14_0_0 driver if version
There is a repeated define of smu v14_0_0 driver if version, so delete one in driver if header. Signed-off-by: Li Ma <li.ma@amd.com> Reviewed-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 0c8c0e7 commit 7046ca9

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@
2424
#ifndef SMU14_DRIVER_IF_V14_0_0_H
2525
#define SMU14_DRIVER_IF_V14_0_0_H
2626

27-
// *** IMPORTANT ***
28-
// SMU TEAM: Always increment the interface version if
29-
// any structure is changed in this file
30-
#define PMFW_DRIVER_IF_VERSION 7
31-
3227
typedef struct {
3328
int32_t value;
3429
uint32_t numFractionalBits;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
#include "amdgpu_smu.h"
2727

2828
#define SMU14_DRIVER_IF_VERSION_INV 0xFFFFFFFF
29+
#define SMU14_DRIVER_IF_VERSION_SMU_V14_0_0 0x7
2930
#define SMU14_DRIVER_IF_VERSION_SMU_V14_0_2 0x1
30-
#define SMU14_DRIVER_IF_VERSION_SMU_V14_0_0 0x6
3131

3232
#define FEATURE_MASK(feature) (1ULL << feature)
3333

0 commit comments

Comments
 (0)