From: "Lazar, Lijo" <lijo.lazar@amd.com>
To: Le Ma <le.ma@amd.com>, amd-gfx@lists.freedesktop.org
Cc: Alexander.Deucher@amd.com, Asad Kamal <asad.kamal@amd.com>,
Hawking.Zhang@amd.com
Subject: Re: [PATCH 1/7] drm/amd/pm: update pmfw headers for version 85.73.0
Date: Tue, 26 Sep 2023 11:21:42 +0530 [thread overview]
Message-ID: <cc2fcd5d-db74-a6c3-a765-239e3aa29b3e@amd.com> (raw)
In-Reply-To: <20230925042752.3847-1-le.ma@amd.com>
On 9/25/2023 9:57 AM, Le Ma wrote:
> To add message to select PLPD mode.
>
> Signed-off-by: Le Ma <le.ma@amd.com>
> Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Series is -
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Thanks,
Lijo
> ---
> drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h
> index 021dcbe58473..509e3cd483fb 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h
> +++ b/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h
> @@ -90,6 +90,7 @@
> #define PPSMC_MSG_ClearMcaOnRead 0x39
> #define PPSMC_MSG_QueryValidMcaCeCount 0x3A
> #define PPSMC_MSG_McaBankCeDumpDW 0x3B
> +#define PPSMC_MSG_SelectPLPDMode 0x40
> #define PPSMC_Message_Count 0x41
>
> //PPSMC Reset Types for driver msg argument
> @@ -107,6 +108,10 @@
> #define PPSMC_XCD_THM_TYPE 0x3
> #define PPSMC_HBM_THM_TYPE 0x4
>
> +//PLPD modes
> +#define PPSMC_PLPD_MODE_DEFAULT 0x1
> +#define PPSMC_PLPD_MODE_OPTIMIZED 0x2
> +
> typedef uint32_t PPSMC_Result;
> typedef uint32_t PPSMC_MSG;
>
prev parent reply other threads:[~2023-09-26 5:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-25 4:27 [PATCH 1/7] drm/amd/pm: update pmfw headers for version 85.73.0 Le Ma
2023-09-25 4:27 ` [PATCH 2/7] drm/amd/pm: add plpd_mode in smu_context to indicate current mode Le Ma
2023-09-25 4:27 ` [PATCH 3/7] drm/amd/pm: add xgmi plpd mode selecting interface for smu v13.0.6 Le Ma
2023-09-25 4:27 ` [PATCH 4/7] drm/amd/pm: add xgmi_plpd_policy sysfs node for user to change plpd policy Le Ma
2023-09-25 4:27 ` [PATCH 5/7] drm/amd/pm: init plpd_mode properly for different asics Le Ma
2023-09-25 4:27 ` [PATCH 6/7] drm/amd/pm: integrate plpd allow/disallow into select_xgmi_plpd_policy in ppt level Le Ma
2023-09-25 4:27 ` [PATCH 7/7] drm/amd/pm: deprecate allow_xgmi_power_down interface Le Ma
2023-09-26 5:51 ` 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=cc2fcd5d-db74-a6c3-a765-239e3aa29b3e@amd.com \
--to=lijo.lazar@amd.com \
--cc=Alexander.Deucher@amd.com \
--cc=Hawking.Zhang@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=asad.kamal@amd.com \
--cc=le.ma@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