All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Limonciello, Mario" <Mario.Limonciello@amd.com>
To: "Huang, Tim" <Tim.Huang@amd.com>,
	"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>
Cc: "Deucher, Alexander" <Alexander.Deucher@amd.com>,
	"Zhang, Yifan" <Yifan1.Zhang@amd.com>, "Ma, Li" <Li.Ma@amd.com>,
	"Du, Xiaojian" <Xiaojian.Du@amd.com>
Subject: RE: [PATCH 2/2] drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11
Date: Fri, 20 Jan 2023 16:35:58 +0000	[thread overview]
Message-ID: <MN0PR12MB61011985AFE482A39D0828CFE2C59@MN0PR12MB6101.namprd12.prod.outlook.com> (raw)
In-Reply-To: <20230120162858.1580755-2-tim.huang@amd.com>

[Public]



> -----Original Message-----
> From: Huang, Tim <Tim.Huang@amd.com>
> Sent: Friday, January 20, 2023 10:29
> To: amd-gfx@lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher@amd.com>; Zhang, Yifan
> <Yifan1.Zhang@amd.com>; Du, Xiaojian <Xiaojian.Du@amd.com>; Ma, Li
> <Li.Ma@amd.com>; Limonciello, Mario <Mario.Limonciello@amd.com>;
> Huang, Tim <Tim.Huang@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@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).

w/ that fixed:
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>

6.1 is used for IP_VERSION(13, 0, 4), so please also include
Cc: stable@vger.kernel.org #6.1

> +	case IP_VERSION(13, 0, 11):
>  		return 0;
>  	default:
>  		break;
> --
> 2.25.1

  parent reply	other threads:[~2023-01-20 16:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 16:28 [PATCH 1/2] drm/amdgpu: skip psp suspend for IMU enabled ASICs mode2 reset Tim Huang
2023-01-20 16:28 ` [PATCH 2/2] drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11 Tim Huang
2023-01-20 16:35   ` Alex Deucher
2023-01-20 16:35   ` Limonciello, Mario [this message]
2023-01-21  2:29     ` Huang, Tim
2023-01-20 16:38 ` [PATCH 1/2] drm/amdgpu: skip psp suspend for IMU enabled ASICs mode2 reset Limonciello, Mario

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MN0PR12MB61011985AFE482A39D0828CFE2C59@MN0PR12MB6101.namprd12.prod.outlook.com \
    --to=mario.limonciello@amd.com \
    --cc=Alexander.Deucher@amd.com \
    --cc=Li.Ma@amd.com \
    --cc=Tim.Huang@amd.com \
    --cc=Xiaojian.Du@amd.com \
    --cc=Yifan1.Zhang@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.