]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: avoid repeat AVFS enablement/disablement
authorEvan Quan <evan.quan@amd.com>
Mon, 6 May 2019 08:45:13 +0000 (16:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:52 +0000 (12:20 -0500)
commitf0cf016783c3120461532dce6243b4c83766ca2d
tree2078c93330164cad5a84a6beba80ab82e69ac7f2
parentd40803967a6450fb7619341608bf3a7ff8d77ba0
drm/amd/powerplay: avoid repeat AVFS enablement/disablement

No need to enable or disable AVFS if it's already in wanted
state.

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/hwmgr/vega10_hwmgr.c