]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: update current profile mode only when it's really applied
authorEvan Quan <evan.quan@amd.com>
Tue, 26 Mar 2019 09:16:36 +0000 (17:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Mar 2019 03:43:11 +0000 (22:43 -0500)
commit149957393bae9864a8a037707603afd44b953b81
tree19db79231cfc9b66dc9c61be92ceae937aa57b0e
parent513c52370b04087636e3748f5dd4b12d97c93764
drm/amd/powerplay: update current profile mode only when it's really applied

No need to update current profile mode if the new profile mode
does not take effect in fact.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c