]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: refine code to support no-dpm case
authorEvan Quan <evan.quan@amd.com>
Fri, 3 Jan 2020 06:18:22 +0000 (14:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 17:01:40 +0000 (12:01 -0500)
commitdc05382d3dcd37dbf0723ebc27e99f12f9733c34
tree148e5a7cdc653661d0b5f1bd4575501c62ed58ea
parent6da3e9f27a233d5d2c13e0a723fbf6dd2ca61ba4
drm/amd/powerplay: refine code to support no-dpm case

With "dpm=0", there will be no DPM enabled. The code
needs to be refined to support this.

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/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c