OSDN Git Service

drm/amd/powerplay: always refetch the enabled features status on dpm enablement
authorEvan Quan <evan.quan@amd.com>
Tue, 11 Feb 2020 04:39:53 +0000 (12:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Feb 2020 17:58:58 +0000 (12:58 -0500)
commitaad4e2dbe543bc1633bc208ac7bddc4f0bb185ba
tree4154fc71035007d41218f4e6611b63fafcaa909e
parentc6f8c440441029d5621ee5153676243234a4b76e
drm/amd/powerplay: always refetch the enabled features status on dpm enablement

Otherwise, the cached dpm features status may be inconsistent under some
case(e.g. baco reset of Navi asic).

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>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c