]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7c812fed47b5c5829c72555d40a98e896d3b96a
treeebe66004b871fc1f1eba286b5dfcbe413d170652
parent014dc639a2171c8ab8bc1aa6192be6b553b185a8
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