drm/amdgpu: Not support disable dpm in powerplay.
We don't support the dpm parameter in powerplay. Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
4c90080b19
commit
1587f6e40b
drivers/gpu/drm/amd/amdgpu
|
@ -161,12 +161,8 @@ static int amdgpu_pp_sw_init(void *handle)
|
||||||
adev->powerplay.pp_handle);
|
adev->powerplay.pp_handle);
|
||||||
|
|
||||||
#ifdef CONFIG_DRM_AMD_POWERPLAY
|
#ifdef CONFIG_DRM_AMD_POWERPLAY
|
||||||
if (adev->pp_enabled) {
|
if (adev->pp_enabled)
|
||||||
if (amdgpu_dpm == 0)
|
adev->pm.dpm_enabled = true;
|
||||||
adev->pm.dpm_enabled = false;
|
|
||||||
else
|
|
||||||
adev->pm.dpm_enabled = true;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue