drm/amd/powerplay: update OD to take voltage value instead of offset
With the latest SMC fw, we are able to get the voltage value for specific frequency point. So, we update the OD relates to take absolute voltage instead of offset. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Este cometimento está contido em:

cometido por
Alex Deucher

ascendente
8a1304a5b4
cometimento
b1f82cb212
@@ -569,11 +569,11 @@ typedef struct {
|
||||
uint16_t GfxclkFmin;
|
||||
uint16_t GfxclkFmax;
|
||||
uint16_t GfxclkFreq1;
|
||||
int16_t GfxclkOffsetVolt1;
|
||||
uint16_t GfxclkVolt1;
|
||||
uint16_t GfxclkFreq2;
|
||||
int16_t GfxclkOffsetVolt2;
|
||||
uint16_t GfxclkVolt2;
|
||||
uint16_t GfxclkFreq3;
|
||||
int16_t GfxclkOffsetVolt3;
|
||||
uint16_t GfxclkVolt3;
|
||||
uint16_t UclkFmax;
|
||||
int16_t OverDrivePct;
|
||||
uint16_t FanMaximumRpm;
|
||||
|
@@ -117,7 +117,8 @@
|
||||
#define PPSMC_MSG_PrepareMp1ForReset 0x59
|
||||
#define PPSMC_MSG_PrepareMp1ForShutdown 0x5A
|
||||
#define PPSMC_MSG_SetMGpuFanBoostLimitRpm 0x5D
|
||||
#define PPSMC_Message_Count 0x5E
|
||||
#define PPSMC_MSG_GetAVFSVoltageByDpm 0x5F
|
||||
#define PPSMC_Message_Count 0x60
|
||||
|
||||
typedef uint32_t PPSMC_Result;
|
||||
typedef uint32_t PPSMC_Msg;
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador