drm/amd/powerplay: optimize the interface for mgpu fan boost enablement
authorEvan Quan <evan.quan@amd.com>
Wed, 12 Aug 2020 03:53:47 +0000 (11:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Aug 2020 20:22:40 +0000 (16:22 -0400)
commitf10bb940d8d2774fedc63c4dfb975e4310a261cd
treef06e28a9d6c33b85595ed6540da7d20a18c70a92
parente1a84641d478f7f35a8189f447da107c473ef0d0
drm/amd/powerplay: optimize the interface for mgpu fan boost enablement

Cover the implementation details from outside(of power). Also preparing
for expanding this to swSMU.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h