From: Xiaojian Du Date: Tue, 13 Oct 2020 08:31:37 +0000 (+0800) Subject: drm/amd/pm: add UMD Pstate Msg Parameters for vangogh temporarily X-Git-Tag: baikal/mips/sdk5.9~12066^2~12^2~110 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=13ecaae2acc2de7cc8bf844ed53df1724139df55;p=kernel.git drm/amd/pm: add UMD Pstate Msg Parameters for vangogh temporarily This patch is to add UMD Pstate Msg Parameters for vangogh temporarily, the values refer to renoir. Signed-off-by: Xiaojian Du Reviewed-by: Huang Rui Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h index d8696e2274c40..8756766296cd0 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.h @@ -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