[1/2] drm/amd/powerplay: Add UMD PState Renoir Msg Parameters

Submitted by Liang, Prike on Sept. 4, 2019, 8:56 a.m.


Message ID MN2PR12MB35369B63693643B38A9F0669FBB80@MN2PR12MB3536.namprd12.prod.outlook.com
State New
Headers show
Series "Series without cover letter" ( rev: 4 3 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Liang, Prike Sept. 4, 2019, 8:56 a.m.
Thanks review .

Initial thoughts use this patch for overall initializing the UMD_PSATET_* assignment and
some Pstate definitions are not used for patch#2. But combine those two patches also seems well.

From: Wang, Kevin(Yang) <Kevin1.Wang@amd.com>
Sent: Wednesday, September 4, 2019 2:32 PM
To: Liang, Prike <Prike.Liang@amd.com>; amd-gfx@lists.freedesktop.org
Cc: Deucher, Alexander <Alexander.Deucher@amd.com>
Subject: Re: [PATCH 1/2] drm/amd/powerplay: Add UMD PState Renoir Msg Parameters

i think it's better to merge these two patches into one patch.
after fixed: Reviewed-by: Kevin Wang <kevin1.wang@amd.com<mailto:kevin1.wang@amd.com>>

Best Regards,

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/powerplay/renoir_ppt.h b/drivers/gpu/drm/amd/powerplay/renoir_ppt.h
index e9b7237..a017a47 100644
--- a/drivers/gpu/drm/amd/powerplay/renoir_ppt.h
+++ b/drivers/gpu/drm/amd/powerplay/renoir_ppt.h
@@ -25,4 +25,9 @@ 

 extern void renoir_set_ppt_funcs(struct smu_context *smu);

+//UMD PState Renoir Msg Parameters in MHz
+#define RENOIR_UMD_PSTATE_GFXCLK       700
+#define RENOIR_UMD_PSTATE_SOCCLK       678
+#define RENOIR_UMD_PSTATE_FCLK         800