aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0293-drm-amd-powerplay-Enable-low-mem-pstate-when-cancel_.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0293-drm-amd-powerplay-Enable-low-mem-pstate-when-cancel_.patch')
-rw-r--r--common/recipes-kernel/linux/files/0293-drm-amd-powerplay-Enable-low-mem-pstate-when-cancel_.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0293-drm-amd-powerplay-Enable-low-mem-pstate-when-cancel_.patch b/common/recipes-kernel/linux/files/0293-drm-amd-powerplay-Enable-low-mem-pstate-when-cancel_.patch
new file mode 100644
index 00000000..304f57d8
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0293-drm-amd-powerplay-Enable-low-mem-pstate-when-cancel_.patch
@@ -0,0 +1,29 @@
+From c0e331d4ac3d2834145a90175f453c9bd9080616 Mon Sep 17 00:00:00 2001
+From: Eric Yang <eric.yang2@amd.com>
+Date: Tue, 15 Dec 2015 19:00:59 -0500
+Subject: [PATCH 0293/1110] drm/amd/powerplay: Enable low mem pstate when
+ cancel_high
+
+Signed-off-by: Eric Yang <eric.yang2@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/cz_hwmgr.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
+index f5c79dd..b8d6a82 100644
+--- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c
+@@ -902,7 +902,7 @@ static int cz_tf_update_low_mem_pstate(struct pp_hwmgr *hwmgr,
+ if (pnew_state->action == FORCE_HIGH)
+ cz_nbdpm_pstate_enable_disable(hwmgr, false, disable_switch);
+ else if (pnew_state->action == CANCEL_FORCE_HIGH)
+- cz_nbdpm_pstate_enable_disable(hwmgr, false, disable_switch);
++ cz_nbdpm_pstate_enable_disable(hwmgr, true, disable_switch);
+ else
+ cz_nbdpm_pstate_enable_disable(hwmgr, enable_low_mem_state, disable_switch);
+ }
+--
+2.7.4
+