]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/amd/pm: add UMD Pstate Msg Parameters for vangogh temporarily
authorXiaojian Du <Xiaojian.Du@amd.com>
Tue, 13 Oct 2020 08:31:37 +0000 (16:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Oct 2020 04:58:06 +0000 (00:58 -0400)
This patch is to add UMD Pstate Msg Parameters for vangogh temporarily,
     the values refer to renoir.

Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h

index d8696e2274c406640c33da9afea6f77796542202..8756766296cd0e2cff72e9fa23f793bd65615f56 100644 (file)
@@ -27,4 +27,9 @@
 
 extern void vangogh_set_ppt_funcs(struct smu_context *smu);
 
+/* UMD PState Vangogh Msg Parameters in MHz */
+#define VANGOGH_UMD_PSTATE_GFXCLK       700
+#define VANGOGH_UMD_PSTATE_SOCCLK       678
+#define VANGOGH_UMD_PSTATE_FCLK         800
+
 #endif