drm/amd/pm: update the cached dpm feature status
authorEvan Quan <evan.quan@amd.com>
Mon, 7 Dec 2020 07:50:08 +0000 (15:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Jun 2021 20:02:30 +0000 (16:02 -0400)
commit1e75be2b674932b53ed1bdd7df35f89e47585388
treeebe66004b871fc1f1eba286b5dfcbe413d170652
parent415e51bdcfa0e724172f66ce12d8ef7819fdd1c7
drm/amd/pm: update the cached dpm feature status

For some ASICs, the real dpm feature disablement job is handled by
PMFW during baco reset and custom pptable loading. Cached dpm feature
status need to be updated to pair that.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
drivers/gpu/drm/amd/pm/swsmu/smu_internal.h