AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Lazar, Lijo" <lijo.lazar@amd.com>
To: Asad Kamal <asad.kamal@amd.com>, amd-gfx@lists.freedesktop.org
Cc: hawking.zhang@amd.com, le.ma@amd.com, shiwu.zhang@amd.com,
	alexander.deucher@amd.com, tom.stdenis@amd.com,
	pierre-eric.pelloux-prayer@amd.com
Subject: Re: [PATCH] drm/amd/amdgpu: Move enum for VDD board
Date: Mon, 1 Dec 2025 10:09:11 +0530	[thread overview]
Message-ID: <e9f7d64d-0681-44fa-beab-441cf8c57dc1@amd.com> (raw)
In-Reply-To: <20251128122854.715773-1-asad.kamal@amd.com>



On 11/28/2025 5:58 PM, Asad Kamal wrote:
> Move AMDGPU_PP_SENSOR_VDDBOARD below already existing
> members to maintain backward compatibility
> 
> Fixes: 96ac487c1200 ("drm/amd/pm: Add board voltage node to hwmon")
> 

Please remove this as this is not a fix in driver. This is done only 
because client like umr keeps a separate copy of driver definitions 
instead of directly using driver header. A client code is not supposed 
to keep a local copy and assume driver follows the same order.


> Signed-off-by: Asad Kamal <asad.kamal@amd.com>

Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>

Thanks,
Lijo

> ---
>   drivers/gpu/drm/amd/include/kgd_pp_interface.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/include/kgd_pp_interface.h b/drivers/gpu/drm/amd/include/kgd_pp_interface.h
> index 92477120c28d..2a454f06c022 100644
> --- a/drivers/gpu/drm/amd/include/kgd_pp_interface.h
> +++ b/drivers/gpu/drm/amd/include/kgd_pp_interface.h
> @@ -136,7 +136,6 @@ enum amd_pp_sensors {
>   	AMDGPU_PP_SENSOR_CPU_CLK,
>   	AMDGPU_PP_SENSOR_VDDNB,
>   	AMDGPU_PP_SENSOR_VDDGFX,
> -	AMDGPU_PP_SENSOR_VDDBOARD,
>   	AMDGPU_PP_SENSOR_UVD_VCLK,
>   	AMDGPU_PP_SENSOR_UVD_DCLK,
>   	AMDGPU_PP_SENSOR_VCE_ECCLK,
> @@ -162,6 +161,7 @@ enum amd_pp_sensors {
>   	AMDGPU_PP_SENSOR_PEAK_PSTATE_SCLK,
>   	AMDGPU_PP_SENSOR_PEAK_PSTATE_MCLK,
>   	AMDGPU_PP_SENSOR_VCN_LOAD,
> +	AMDGPU_PP_SENSOR_VDDBOARD,
>   	AMDGPU_PP_SENSOR_NODEPOWERLIMIT,
>   	AMDGPU_PP_SENSOR_NODEPOWER,
>   	AMDGPU_PP_SENSOR_GPPTRESIDENCY,


      reply	other threads:[~2025-12-01  4:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-28 12:28 [PATCH] drm/amd/amdgpu: Move enum for VDD board Asad Kamal
2025-12-01  4:39 ` Lazar, Lijo [this message]

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=e9f7d64d-0681-44fa-beab-441cf8c57dc1@amd.com \
    --to=lijo.lazar@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=asad.kamal@amd.com \
    --cc=hawking.zhang@amd.com \
    --cc=le.ma@amd.com \
    --cc=pierre-eric.pelloux-prayer@amd.com \
    --cc=shiwu.zhang@amd.com \
    --cc=tom.stdenis@amd.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox