diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0992-drm-amd-powerplay-drop-the-unnecessary-uclk-hard-min.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/0992-drm-amd-powerplay-drop-the-unnecessary-uclk-hard-min.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0992-drm-amd-powerplay-drop-the-unnecessary-uclk-hard-min.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0992-drm-amd-powerplay-drop-the-unnecessary-uclk-hard-min.patch new file mode 100644 index 00000000..e983bfb3 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0992-drm-amd-powerplay-drop-the-unnecessary-uclk-hard-min.patch @@ -0,0 +1,38 @@ +From 2165b1be1a5ee5bd06cf9fe8f596daafb707cef4 Mon Sep 17 00:00:00 2001 +From: Evan Quan <evan.quan@amd.com> +Date: Tue, 8 Jan 2019 12:22:24 +0800 +Subject: [PATCH 0992/2940] drm/amd/powerplay: drop the unnecessary uclk hard + min setting + +Since soft min setting is enough. Hard min setting is redundant. + +Reported-by: Likun Gao <Likun.Gao@amd.com> +Signed-off-by: Evan Quan <evan.quan@amd.com> +Acked-by: Alex Deucher <alexander.deucher@amd.com> +Reviewed-by: Likun Gao <Likun.Gao@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c +index c2061d351d04..82935a3bd950 100644 +--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c +@@ -1692,13 +1692,6 @@ static int vega20_upload_dpm_min_level(struct pp_hwmgr *hwmgr, uint32_t feature_ + (PPCLK_UCLK << 16) | (min_freq & 0xffff))), + "Failed to set soft min memclk !", + return ret); +- +- min_freq = data->dpm_table.mem_table.dpm_state.hard_min_level; +- PP_ASSERT_WITH_CODE(!(ret = smum_send_msg_to_smc_with_parameter( +- hwmgr, PPSMC_MSG_SetHardMinByFreq, +- (PPCLK_UCLK << 16) | (min_freq & 0xffff))), +- "Failed to set hard min memclk !", +- return ret); + } + + if (data->smu_features[GNLD_DPM_UVD].enabled && +-- +2.17.1 + |