aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/1030-drm-amd-powerplay-Enable-low-mem-pstate-when-cancel_.patch
blob: 9c810518c0a7af734e977fa6f39bd02329764777 (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 5e8966b4af01929a1984cdf316fd716df890827d 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 1030/1565] 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);
 	}
-- 
1.9.1