drm/amdgpu: Disable DPM in virtualization
authorTrigger Huang <trigger.huang@amd.com>
Wed, 16 Nov 2016 15:13:45 +0000 (10:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Nov 2016 20:08:46 +0000 (15:08 -0500)
commit7b1e8cad1f3612d8059e1dfd870f4928a68691fa
tree3e87c28780490274a05523aaadded8a6754fadae
parent617859e0766fae595f08f1025c1a7df6246a5f5b
drm/amdgpu: Disable DPM in virtualization

This patch is used for virtualization support. In virtualization,
only SMU manager is needed, DPM should be disabled. This is a
use case for commit 2f9346b6f984
("drm/amdgpu/powerplay: pp module only enable smu when dpm disabled.")

Signed-off-by: Trigger Huang <trigger.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c
drivers/gpu/drm/amd/powerplay/amd_powerplay.c