From: Evan Quan Date: Fri, 6 May 2022 09:36:06 +0000 (+0800) Subject: drm/amd/pm: skip dpm disablement on suspend for SMU 13.0.0 X-Git-Tag: v6.1-rc5~1171^2~3^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=704d6bf605faf65555438c2fa0282c02dca1a7b6;p=platform%2Fkernel%2Flinux-starfive.git drm/amd/pm: skip dpm disablement on suspend for SMU 13.0.0 Since PMFW will handle this properly. Driver involvement is unnecessary. Signed-off-by: Evan Quan Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c index 6016b325b6b5..a601024ba4de 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c @@ -1436,6 +1436,7 @@ static int smu_disable_dpms(struct smu_context *smu) case IP_VERSION(11, 0, 0): case IP_VERSION(11, 0, 5): case IP_VERSION(11, 0, 9): + case IP_VERSION(13, 0, 0): return 0; default: break;