diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0092-drm-amd-powerplay-remove-max-DCEFCLK-limitation.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/0092-drm-amd-powerplay-remove-max-DCEFCLK-limitation.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0092-drm-amd-powerplay-remove-max-DCEFCLK-limitation.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0092-drm-amd-powerplay-remove-max-DCEFCLK-limitation.patch new file mode 100644 index 00000000..3c3dc9ec --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0092-drm-amd-powerplay-remove-max-DCEFCLK-limitation.patch @@ -0,0 +1,32 @@ +From 509e5f72cfcc0af6de4b048cc45475e17606b085 Mon Sep 17 00:00:00 2001 +From: Evan Quan <evan.quan@amd.com> +Date: Mon, 30 Jul 2018 14:01:00 +0800 +Subject: [PATCH 0092/2940] drm/amd/powerplay: remove max DCEFCLK limitation + +The latest SMU fw removes the limitation that required +UCLK >= DCEFCLK. + +Signed-off-by: Evan Quan <evan.quan@amd.com> +Acked-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c +index 1170f233d9e2..d7c4334da250 100644 +--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c ++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c +@@ -1356,9 +1356,6 @@ static int vega20_init_max_sustainable_clocks(struct pp_hwmgr *hwmgr) + if (max_sustainable_clocks->soc_clock < max_sustainable_clocks->uclock) + max_sustainable_clocks->uclock = max_sustainable_clocks->soc_clock; + +- if (max_sustainable_clocks->uclock < max_sustainable_clocks->dcef_clock) +- max_sustainable_clocks->dcef_clock = max_sustainable_clocks->uclock; +- + return 0; + } + +-- +2.17.1 + |