diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1072-drm-amd-powerplay-add-one-smc-message-for-Vega10.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1072-drm-amd-powerplay-add-one-smc-message-for-Vega10.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1072-drm-amd-powerplay-add-one-smc-message-for-Vega10.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1072-drm-amd-powerplay-add-one-smc-message-for-Vega10.patch new file mode 100644 index 00000000..c5b9e9b5 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1072-drm-amd-powerplay-add-one-smc-message-for-Vega10.patch @@ -0,0 +1,30 @@ +From 3f2ff3219eaee5bc8db8355410ae691f4682fe12 Mon Sep 17 00:00:00 2001 +From: Eric Huang <JinHuiEric.Huang@amd.com> +Date: Thu, 19 Oct 2017 14:44:36 -0400 +Subject: [PATCH 1072/4131] drm/amd/powerplay: add one smc message for Vega10 + +This is used to fix performance drop caused by updated SMU FW. + +Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com> +Acked-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h +index cb070eb..a855072 100644 +--- a/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h ++++ b/drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h +@@ -129,7 +129,8 @@ typedef uint16_t PPSMC_Result; + #define PPSMC_MSG_RunAcgInOpenLoop 0x5E + #define PPSMC_MSG_InitializeAcg 0x5F + #define PPSMC_MSG_GetCurrPkgPwr 0x61 +-#define PPSMC_Message_Count 0x62 ++#define PPSMC_MSG_UpdatePkgPwrPidAlpha 0x68 ++#define PPSMC_Message_Count 0x69 + + + typedef int PPSMC_Msg; +-- +2.7.4 + |