[PATCH 2/2] drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11
Huang, Tim
Tim.Huang at amd.com
Sat Jan 21 02:29:04 UTC 2023
[Public]
Hi Mario,
-----Original Message-----
From: Limonciello, Mario <Mario.Limonciello at amd.com>
Sent: Saturday, January 21, 2023 12:36 AM
To: Huang, Tim <Tim.Huang at amd.com>; amd-gfx at lists.freedesktop.org
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Zhang, Yifan <Yifan1.Zhang at amd.com>; Du, Xiaojian <Xiaojian.Du at amd.com>; Ma, Li <Li.Ma at amd.com>
Subject: RE: [PATCH 2/2] drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11
[Public]
> -----Original Message-----
> From: Huang, Tim <Tim.Huang at amd.com>
> Sent: Friday, January 20, 2023 10:29
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Zhang, Yifan
> <Yifan1.Zhang at amd.com>; Du, Xiaojian <Xiaojian.Du at amd.com>; Ma, Li
> <Li.Ma at amd.com>; Limonciello, Mario <Mario.Limonciello at amd.com>;
> Huang, Tim <Tim.Huang at amd.com>
> Subject: [PATCH 2/2] drm/amd/pm: drop unneeded dpm features
> disablement for SMU 13.0.4/11
>
> PMFW will handle that properly. Driver involvement may cause some
> unexpected issues.
>
> Signed-off-by: Tim Huang <tim.huang at amd.com>
> ---
> drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
> b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
> index ec52830dde24..800eb5ad1dcb 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
> @@ -1448,6 +1448,8 @@ static int smu_disable_dpms(struct smu_context
> *smu)
> case IP_VERSION(13, 0, 0):
> case IP_VERSION(13, 0, 7):
> case IP_VERSION(13, 0, 10):
> + case IP_VERSION(13, 0, 4):
> To keep a consistent ordering scheme, I think IP_VERSION(13, 0, 4) should come after IP_VERION(13, 0, 0).
Thanks for point out that, but I will drop this patch and send a new one to apply it only for gpu reset case.
w/ that fixed:
Reviewed-by: Mario Limonciello <mario.limonciello at amd.com>
6.1 is used for IP_VERSION(13, 0, 4), so please also include
Cc: stable at vger.kernel.org #6.1
> + case IP_VERSION(13, 0, 11):
> return 0;
> default:
> break;
> --
> 2.25.1
More information about the amd-gfx
mailing list