From: Kevin Wang <kevin1.w...@amd.com> the SMU v11 doesn’t support pp_force_state so far, so we didn’t implement it.
Signed-off-by: Kevin Wang <kevin1.w...@amd.com> Reviewed-by: Huang Rui <ray.hu...@amd.com> --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c index 5468b8d..2c12a80 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c @@ -450,6 +450,8 @@ static ssize_t amdgpu_set_pp_force_state(struct device *dev, AMD_PP_TASK_ENABLE_USER_STATE, &state); adev->pp_force_state_enabled = true; } + } else if (is_support_sw_smu(adev)) { + adev->pp_force_state_enabled = false; } fail: return count; -- 2.7.4 _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx