diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0470-drm-amd-powerplay-fix-stutter-setup-in-mclk-level-in.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0470-drm-amd-powerplay-fix-stutter-setup-in-mclk-level-in.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/common/recipes-kernel/linux/files/0470-drm-amd-powerplay-fix-stutter-setup-in-mclk-level-in.patch b/common/recipes-kernel/linux/files/0470-drm-amd-powerplay-fix-stutter-setup-in-mclk-level-in.patch deleted file mode 100644 index d7c8f96d..00000000 --- a/common/recipes-kernel/linux/files/0470-drm-amd-powerplay-fix-stutter-setup-in-mclk-level-in.patch +++ /dev/null @@ -1,51 +0,0 @@ -From a9e43289d72d0868435ae6e2cdbad42413a95f02 Mon Sep 17 00:00:00 2001 -From: Alex Deucher <alexander.deucher@amd.com> -Date: Fri, 8 Apr 2016 16:42:38 -0400 -Subject: [PATCH 0470/1110] drm/amd/powerplay: fix stutter setup in mclk level - init - -Stale ifdef. - -Reviewed-by: Harry Wentland <harry.wentland@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c -index fee7835..b9a27c6 100644 ---- a/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c -+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c -@@ -51,6 +51,9 @@ - #include "bif/bif_5_0_d.h" - #include "bif/bif_5_0_sh_mask.h" - -+#include "dce/dce_10_0_d.h" -+#include "dce/dce_10_0_sh_mask.h" -+ - #include "cgs_linux.h" - #include "eventmgr.h" - #include "amd_pcie_helpers.h" -@@ -2037,14 +2040,11 @@ static int tonga_populate_single_memory_level( - data->display_timing.num_existing_displays = info.display_count; - - if ((data->mclk_stutter_mode_threshold != 0) && -- (memory_clock <= data->mclk_stutter_mode_threshold) && -- (data->is_uvd_enabled == 0) --#if defined(LINUX) -- && (PHM_READ_FIELD(hwmgr->device, DPG_PIPE_STUTTER_CONTROL, STUTTER_ENABLE) & 0x1) -- && (data->display_timing.num_existing_displays <= 2) -- && (data->display_timing.num_existing_displays != 0) --#endif -- ) -+ (memory_clock <= data->mclk_stutter_mode_threshold) && -+ (data->is_uvd_enabled == 0) -+ && (PHM_READ_FIELD(hwmgr->device, DPG_PIPE_STUTTER_CONTROL, STUTTER_ENABLE) & 0x1) -+ && (data->display_timing.num_existing_displays <= 2) -+ && (data->display_timing.num_existing_displays != 0)) - memory_level->StutterEnable = 1; - - /* decide strobe mode*/ --- -2.7.4 - |