diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2990-drm-amd-pp-export-more-smu-message-on-Rv.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2990-drm-amd-pp-export-more-smu-message-on-Rv.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2990-drm-amd-pp-export-more-smu-message-on-Rv.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2990-drm-amd-pp-export-more-smu-message-on-Rv.patch new file mode 100644 index 00000000..2051bb09 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2990-drm-amd-pp-export-more-smu-message-on-Rv.patch @@ -0,0 +1,33 @@ +From 2d1db0d146e8b4b1f5bbbfcbfcb8fc8f81efef94 Mon Sep 17 00:00:00 2001 +From: Rex Zhu <Rex.Zhu@amd.com> +Date: Wed, 13 Dec 2017 15:26:15 +0800 +Subject: [PATCH 2990/4131] drm/amd/pp: export more smu message on Rv + +Change-Id: I9ed34fab8d5f0cc532c0a7d38f3a4bed853cb91e +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> +--- + drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h +index 2b34971..f15f4df 100644 +--- a/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h ++++ b/drivers/gpu/drm/amd/powerplay/inc/rv_ppsmc.h +@@ -75,7 +75,12 @@ + #define PPSMC_MSG_GetMinGfxclkFrequency 0x2C + #define PPSMC_MSG_GetMaxGfxclkFrequency 0x2D + #define PPSMC_MSG_SoftReset 0x2E +-#define PPSMC_Message_Count 0x2F ++#define PPSMC_MSG_SetSoftMaxGfxClk 0x30 ++#define PPSMC_MSG_SetHardMinGfxClk 0x31 ++#define PPSMC_MSG_SetSoftMaxSocclkByFreq 0x32 ++#define PPSMC_MSG_SetSoftMaxFclkByFreq 0x33 ++#define PPSMC_MSG_SetSoftMaxVcn 0x34 ++#define PPSMC_Message_Count 0x35 + + + typedef uint16_t PPSMC_Result; +-- +2.7.4 + |