aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0972-drm-amd-powerplay-fix-some-initialize-error-on-polar.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0972-drm-amd-powerplay-fix-some-initialize-error-on-polar.patch')
-rw-r--r--common/recipes-kernel/linux/files/0972-drm-amd-powerplay-fix-some-initialize-error-on-polar.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0972-drm-amd-powerplay-fix-some-initialize-error-on-polar.patch b/common/recipes-kernel/linux/files/0972-drm-amd-powerplay-fix-some-initialize-error-on-polar.patch
new file mode 100644
index 00000000..c654c86a
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0972-drm-amd-powerplay-fix-some-initialize-error-on-polar.patch
@@ -0,0 +1,39 @@
+From 2229280e2d2582a34a57663fc024384d3a25c78e Mon Sep 17 00:00:00 2001
+From: Rex Zhu <Rex.Zhu@amd.com>
+Date: Fri, 1 Apr 2016 19:56:07 +0800
+Subject: [PATCH 0972/1110] drm/amd/powerplay: fix some initialize error on
+ polaris10.
+
+Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
+index 045c7ef..c3e9aca 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c
+@@ -2600,9 +2600,6 @@ int polaris10_set_features_platform_caps(struct pp_hwmgr *hwmgr)
+ phm_cap_set(hwmgr->platform_descriptor.platformCaps,
+ PHM_PlatformCaps_DynamicUVDState);
+
+- phm_cap_set(hwmgr->platform_descriptor.platformCaps,
+- PHM_PlatformCaps_SclkThrottleLowNotification);
+-
+ /* power tune caps Assume disabled */
+ phm_cap_unset(hwmgr->platform_descriptor.platformCaps,
+ PHM_PlatformCaps_SQRamping);
+@@ -2930,7 +2927,7 @@ int polaris10_hwmgr_backend_init(struct pp_hwmgr *hwmgr)
+
+ data->dll_default_on = false;
+ data->sram_end = SMC_RAM_END;
+-
++ data->mclk_dpm0_activity_target = 0xa;
+ data->disable_dpm_mask = 0xFF;
+ data->static_screen_threshold = PPPOLARIS10_STATICSCREENTHRESHOLD_DFLT;
+ data->static_screen_threshold_unit = PPPOLARIS10_STATICSCREENTHRESHOLD_DFLT;
+--
+2.7.4
+