aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0293-drm-amd-powerplay-Enable-low-mem-pstate-when-cancel_.patch
blob: 304f57d803d0513b76acf9910ae64474fc6f5e05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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