diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0954-drm-amd-powerplay-Disable-Spread-Spectrum-on-DPM-0-o.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0954-drm-amd-powerplay-Disable-Spread-Spectrum-on-DPM-0-o.patch | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/common/recipes-kernel/linux/files/0954-drm-amd-powerplay-Disable-Spread-Spectrum-on-DPM-0-o.patch b/common/recipes-kernel/linux/files/0954-drm-amd-powerplay-Disable-Spread-Spectrum-on-DPM-0-o.patch deleted file mode 100644 index 4798109b..00000000 --- a/common/recipes-kernel/linux/files/0954-drm-amd-powerplay-Disable-Spread-Spectrum-on-DPM-0-o.patch +++ /dev/null @@ -1,53 +0,0 @@ -From e2cb039fb1234388e2c77ef78e353fce4a1df100 Mon Sep 17 00:00:00 2001 -From: Rex Zhu <Rex.Zhu@amd.com> -Date: Tue, 22 Mar 2016 14:21:18 +0800 -Subject: [PATCH 0954/1110] drm/amd/powerplay: Disable Spread Spectrum on DPM 0 - on baffin as SPLL Shut Down feature is enabled. - -Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> -Acked-by: Flora Cui <Flora.Cui@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c | 6 ++++++ - drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h | 1 + - 2 files changed, 7 insertions(+) - -diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c -index b77d7aa..715bc3d 100644 ---- a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c -+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c -@@ -1248,6 +1248,9 @@ static int polaris10_populate_all_graphic_levels(struct pp_hwmgr *hwmgr) - if (i > 1) - levels[i].DeepSleepDivId = 0; - } -+ if (phm_cap_enabled(hwmgr->platform_descriptor.platformCaps, -+ PHM_PlatformCaps_SPLLShutdownSupport)) -+ data->smc_state_table.GraphicsLevel[0].SclkSetting.SSc_En = 0; - - data->smc_state_table.GraphicsLevel[0].EnabledForActivity = 1; - data->smc_state_table.GraphicsDpmLevelCount = -@@ -2602,6 +2605,9 @@ int polaris10_set_features_platform_caps(struct pp_hwmgr *hwmgr) - phm_cap_unset(hwmgr->platform_descriptor.platformCaps, - PHM_PlatformCaps_TCPRamping); - -+ if (hwmgr->chip_id == CHIP_POLARIS11) -+ phm_cap_set(hwmgr->platform_descriptor.platformCaps, -+ PHM_PlatformCaps_SPLLShutdownSupport); - return 0; - } - -diff --git a/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h b/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h -index 040d3f7..56f712c 100644 ---- a/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h -+++ b/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h -@@ -211,6 +211,7 @@ enum phm_platform_caps { - PHM_PlatformCaps_ClockStretcher, - PHM_PlatformCaps_TablelessHardwareInterface, - PHM_PlatformCaps_EnableDriverEVV, -+ PHM_PlatformCaps_SPLLShutdownSupport, - PHM_PlatformCaps_Max - }; - --- -2.7.4 - |