drm/amd/pm: udpate smu v13.0.6 message permission
Subsystems (3)
PATCH 1/1 drm/amd/pm: udpate smu v13.0.6 message permission
update smu v13.0.6 message to allow guest driver set gfx clock.
Signed-off-by Yang Wang <[email protected]>
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +2 -2
@@ -161,8 +161,8 @@ static const struct cmn2asic_msg_mapping smu_v13_0_6_message_map[SMU_MSG_MAX_COUMSG_MAP (GfxDriverResetRecovery, PPSMC_MSG_GfxDriverResetRecovery,0 ),MSG_MAP (GetMinGfxclkFrequency, PPSMC_MSG_GetMinGfxDpmFreq,1 ),MSG_MAP (GetMaxGfxclkFrequency, PPSMC_MSG_GetMaxGfxDpmFreq,1 ), -MSG_MAP (SetSoftMinGfxclk, PPSMC_MSG_SetSoftMinGfxClk,0 ), -MSG_MAP (SetSoftMaxGfxClk, PPSMC_MSG_SetSoftMaxGfxClk,0 ), +MSG_MAP (SetSoftMinGfxclk, PPSMC_MSG_SetSoftMinGfxClk,1 ), +MSG_MAP (SetSoftMaxGfxClk, PPSMC_MSG_SetSoftMaxGfxClk,1 ),MSG_MAP (PrepareMp1ForUnload, PPSMC_MSG_PrepareForDriverUnload,0 ),MSG_MAP (GetCTFLimit, PPSMC_MSG_GetCTFLimit,0 ), MSG_MAP(GetThermalLimit, PPSMC_MSG_ReadThrottlerLimit, 0),
Signature · 1 line
2.34.1
Quoted 3 lines · Yang Wang
update smu v13.0.6 message to allow guest driver set gfx clock.
Signed-off-by Yang Wang <[email protected]>
Reviewed-by Lijo Lazar <[email protected]>
Thanks,
Lijo
Quoted 19 lines
--- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c +2
-2@@ -161,8 +161,8 @@ static const struct cmn2asic_msg_mapping smu_v13_0_6_message_map[SMU_MSG_MAX_COUMSG_MAP (GfxDriverResetRecovery, PPSMC_MSG_GfxDriverResetRecovery,0 ),MSG_MAP (GetMinGfxclkFrequency, PPSMC_MSG_GetMinGfxDpmFreq,1 ),MSG_MAP (GetMaxGfxclkFrequency, PPSMC_MSG_GetMaxGfxDpmFreq,1 ), -MSG_MAP (SetSoftMinGfxclk, PPSMC_MSG_SetSoftMinGfxClk,0 ), -MSG_MAP (SetSoftMaxGfxClk, PPSMC_MSG_SetSoftMaxGfxClk,0 ), +MSG_MAP (SetSoftMinGfxclk, PPSMC_MSG_SetSoftMinGfxClk,1 ), +MSG_MAP (SetSoftMaxGfxClk, PPSMC_MSG_SetSoftMaxGfxClk,1 ),MSG_MAP (PrepareMp1ForUnload, PPSMC_MSG_PrepareForDriverUnload,0 ),MSG_MAP (GetCTFLimit, PPSMC_MSG_GetCTFLimit,0 ), MSG_MAP(GetThermalLimit, PPSMC_MSG_ReadThrottlerLimit, 0),