aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3217-drm-amdgpu-powerplay-vega10-fix-compute-profile-name.patch
blob: ff15b1fb641a111d662f9cd7ffcd8a453858ccda (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
30
From e882ee6f365500e28a9ba37fc54670a4617039ff Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher@amd.com>
Date: Fri, 19 Jan 2018 12:08:15 -0500
Subject: [PATCH 3217/4131] drm/amdgpu/powerplay/vega10: fix compute profile
 name

COMPUTER -> COMPUTE

Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
index 72f6b42..8982c05 100644
--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
@@ -5043,7 +5043,7 @@ static int vega10_get_power_profile_mode(struct pp_hwmgr *hwmgr, char *buf)
 					"POWER_SAVING",
 					"VIDEO",
 					"VR",
-					"COMPUTER",
+					"COMPUTE",
 					"CUSTOM"};
 	static const char *title[6] = {"NUM",
 			"MODE_NAME",
-- 
2.7.4