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

Submitted by Liang, Prike on Sept. 4, 2019, 6:01 a.m.

Details

Message ID 1567576882-13685-1-git-send-email-Prike.Liang@amd.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Liang, Prike Sept. 4, 2019, 6:01 a.m.
Add UMD PState macro definition for PState update.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
reviewed-by: Evan Quan <evan.quan@amd.com>
---
 drivers/gpu/drm/amd/powerplay/renoir_ppt.h | 5 +++++
 1 file changed, 5 insertions(+)

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
+
 #endif