]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19613ae2b5e00b7acc90f0be0e3fb518709e9d99
tree230a5cfaccf6de9836d1852c960530126250d138
parent06b634dc777028ec1775afd4684630f027dfff12
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