aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3217-drm-amdgpu-powerplay-vega10-fix-compute-profile-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3217-drm-amdgpu-powerplay-vega10-fix-compute-profile-name.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3217-drm-amdgpu-powerplay-vega10-fix-compute-profile-name.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3217-drm-amdgpu-powerplay-vega10-fix-compute-profile-name.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3217-drm-amdgpu-powerplay-vega10-fix-compute-profile-name.patch
new file mode 100644
index 00000000..ff15b1fb
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/3217-drm-amdgpu-powerplay-vega10-fix-compute-profile-name.patch
@@ -0,0 +1,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
+