]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: move clock dpm enablement check to smu_v11/v12
authorEvan Quan <evan.quan@amd.com>
Tue, 7 Jul 2020 02:24:31 +0000 (10:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jul 2020 19:37:37 +0000 (15:37 -0400)
commit3180c0d4031865ab79c281749a5e2df5b89744da
treeda75a05093db9767b891ce48b9f93b26884dbb5e
parentf5100ad91fe0bf65dcedbd33054eb9deb4b30393
drm/amd/powerplay: move clock dpm enablement check to smu_v11/v12

As those APIs of smu_v11/v12 are more widely called. And they
need this check also.

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