drm/amd/swsmu: relocate the smu v14_0_0 driver if version define
Subsystems (3)
PATCH 1/1 drm/amd/swsmu: relocate the smu v14_0_0 driver if version define
There is a repeated define of smu v14_0_0 driver if version, so delete one and relocate the other define.
Signed-off-by Li Ma <[email protected]>
--- .../gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0_0.h | 2 +- drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0_0.h +1 -1
@@ -27,7 +27,7 @@// *** IMPORTANT *** // SMU TEAM: Always increment the interface version if // any structure is changed in this file -#define PMFW_DRIVER_IF_VERSION 7 +#define SMU14_DRIVER_IF_VERSION_SMU_V14_0_0 7 typedef struct { int32_t value;
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h +1 -1
@@ -24,10 +24,10 @@#define __SMU_V14_0_H__#include "amdgpu_smu.h" +#include "smu14_driver_if_v14_0_0.h" #define SMU14_DRIVER_IF_VERSION_INV 0xFFFFFFFF#define SMU14_DRIVER_IF_VERSION_SMU_V14_0_2 0x1 -#define SMU14_DRIVER_IF_VERSION_SMU_V14_0_0 0x6#define FEATURE_MASK (feature) (1ULL << feature)
Signature · 1 line
2.25.1