drm/amd/powerplay: update cached feature enablement status V3
authorEvan Quan <evan.quan@amd.com>
Wed, 21 Aug 2019 09:19:52 +0000 (17:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:36:44 +0000 (17:36 -0500)
commitc66846e069dec317b45a0a4b112d4cd7d885509e
tree230a5cfaccf6de9836d1852c960530126250d138
parentf78c47f669086503844ea0d78b64a18c0e6f3e77
drm/amd/powerplay: update cached feature enablement status V3

Need to update in cache feature enablement status after pp_feature
settings. Another fix for the commit below:
drm/amd/powerplay: implment sysfs feature status function in smu

V2: update smu_feature_update_enable_state() and relates
V3: use bitmap_or and bitmap_andnot

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Jack Gui <Jack.Gui@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h