mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm/swsmu
Arunpravin eb3b425166 drm/amd/pm: store and reinstate swsmu user power configurations
store swsmu user power configurations which include
power limit, clock frequencies, fan speed and fan mode
on suspend and reinstate on resume.

V2: Addressed Lijo's review comments
     added a function to set clock interdependencies
     add check on fan control mode to reapply fan speed

V3: Addressed review comments from Alex
     moved store logic and reinstate function call into swSMU

V4: added a logic to keep off storing configurations in suspend

V5: Addressed review comments from Lijo
     add a restore flag
     give restore priority to mclk comparing fclk and socclk

Signed-off-by: Arunpravin <Arunpravin.PaneerSelvam@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-01-25 17:47:00 -05:00
..
smu11 drm/amd/pm: remove unused message SMU_MSG_SpareX 2021-01-20 16:38:16 -05:00
smu12 drm/amdgpu/pm: no need GPU status set since mmnbif_gpu_BIF_DOORBELL_FENCE_CNTL added in FSDL 2021-01-21 09:53:22 -05:00
amdgpu_smu.c drm/amd/pm: store and reinstate swsmu user power configurations 2021-01-25 17:47:00 -05:00
Makefile
smu_cmn.c drm/amd/pm: print the timeout of smc message 2021-01-21 09:55:05 -05:00
smu_cmn.h drm/amdgpu: revise the mode2 reset for vangogh 2021-01-13 23:48:13 -05:00
smu_internal.h drm/amd/pm: add the fine grain tuning function for vangogh 2020-11-16 12:17:53 -05:00