From: Huang Rui <ray.huang@amd.com>
To: "Liu, Aaron" <Aaron.Liu@amd.com>
Cc: "Deucher, Alexander" <Alexander.Deucher@amd.com>,
"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 2/2] drm/amdgpu: add 1.3.1/2.4.0 athub CG support
Date: Thu, 27 Jan 2022 10:07:00 +0800 [thread overview]
Message-ID: <YfH+RLzLIXzPZXmp@amd.com> (raw)
In-Reply-To: <20220127014806.2592589-2-aaron.liu@amd.com>
On Thu, Jan 27, 2022 at 09:48:06AM +0800, Liu, Aaron wrote:
> This patch adds 1.3.1/2.4.0 athub clock gating support.
>
> Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Series are Reviewed-by: Huang Rui <ray.huang@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/athub_v2_0.c | 1 +
> drivers/gpu/drm/amd/amdgpu/athub_v2_1.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/athub_v2_0.c b/drivers/gpu/drm/amd/amdgpu/athub_v2_0.c
> index ab6a07e5e8c4..a720436857b4 100644
> --- a/drivers/gpu/drm/amd/amdgpu/athub_v2_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/athub_v2_0.c
> @@ -78,6 +78,7 @@ int athub_v2_0_set_clockgating(struct amdgpu_device *adev,
> return 0;
>
> switch (adev->ip_versions[ATHUB_HWIP][0]) {
> + case IP_VERSION(1, 3, 1):
> case IP_VERSION(2, 0, 0):
> case IP_VERSION(2, 0, 2):
> athub_v2_0_update_medium_grain_clock_gating(adev,
> diff --git a/drivers/gpu/drm/amd/amdgpu/athub_v2_1.c b/drivers/gpu/drm/amd/amdgpu/athub_v2_1.c
> index 2edefd10e56c..ad8e87d3d2cb 100644
> --- a/drivers/gpu/drm/amd/amdgpu/athub_v2_1.c
> +++ b/drivers/gpu/drm/amd/amdgpu/athub_v2_1.c
> @@ -74,6 +74,7 @@ int athub_v2_1_set_clockgating(struct amdgpu_device *adev,
> case IP_VERSION(2, 1, 0):
> case IP_VERSION(2, 1, 1):
> case IP_VERSION(2, 1, 2):
> + case IP_VERSION(2, 4, 0):
> athub_v2_1_update_medium_grain_clock_gating(adev, state == AMD_CG_STATE_GATE);
> athub_v2_1_update_medium_grain_light_sleep(adev, state == AMD_CG_STATE_GATE);
> break;
> --
> 2.25.1
>
next prev parent reply other threads:[~2022-01-27 2:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-27 1:48 [PATCH 1/2] drm/amdgpu: convert code name to ip version for athub Aaron Liu
2022-01-27 1:48 ` [PATCH 2/2] drm/amdgpu: add 1.3.1/2.4.0 athub CG support Aaron Liu
2022-01-27 2:07 ` Huang Rui [this message]
2022-01-27 3:07 ` Alex Deucher
2022-01-27 3:06 ` [PATCH 1/2] drm/amdgpu: convert code name to ip version for athub Alex Deucher
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=YfH+RLzLIXzPZXmp@amd.com \
--to=ray.huang@amd.com \
--cc=Aaron.Liu@amd.com \
--cc=Alexander.Deucher@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.