aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86/recipes-kernel/linux/files/0415-drm-amdgpu-clean-up-path-handling-for-powerplay.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amdfalconx86/recipes-kernel/linux/files/0415-drm-amdgpu-clean-up-path-handling-for-powerplay.patch')
-rw-r--r--meta-amdfalconx86/recipes-kernel/linux/files/0415-drm-amdgpu-clean-up-path-handling-for-powerplay.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-amdfalconx86/recipes-kernel/linux/files/0415-drm-amdgpu-clean-up-path-handling-for-powerplay.patch b/meta-amdfalconx86/recipes-kernel/linux/files/0415-drm-amdgpu-clean-up-path-handling-for-powerplay.patch
new file mode 100644
index 00000000..afc565e0
--- /dev/null
+++ b/meta-amdfalconx86/recipes-kernel/linux/files/0415-drm-amdgpu-clean-up-path-handling-for-powerplay.patch
@@ -0,0 +1,49 @@
+From 3ce204ca3cdf19b1fc5c4b77b0ffdcbe6946fedb Mon Sep 17 00:00:00 2001
+From: Alex Deucher <alexander.deucher@amd.com>
+Date: Tue, 15 Mar 2016 11:22:27 -0400
+Subject: [PATCH 0415/1110] drm/amdgpu: clean up path handling for powerplay
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Use $(FULL_AMD_PATH) like everything else.
+
+Reviewed-by: Christian König <christian.koenig@amd.com>
+Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/powerplay/Makefile | 14 +++++++-------
+ 1 file changed, 7 insertions(+), 7 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/powerplay/Makefile b/drivers/gpu/drm/amd/powerplay/Makefile
+index e195bf5..043e6eb 100644
+--- a/drivers/gpu/drm/amd/powerplay/Makefile
++++ b/drivers/gpu/drm/amd/powerplay/Makefile
+@@ -1,17 +1,17 @@
+
+ subdir-ccflags-y += -Iinclude/drm \
+- -Idrivers/gpu/drm/amd/powerplay/inc/ \
+- -Idrivers/gpu/drm/amd/include/asic_reg \
+- -Idrivers/gpu/drm/amd/include \
+- -Idrivers/gpu/drm/amd/powerplay/smumgr\
+- -Idrivers/gpu/drm/amd/powerplay/hwmgr \
+- -Idrivers/gpu/drm/amd/powerplay/eventmgr
++ -I$(FULL_AMD_PATH)/powerplay/inc/ \
++ -I$(FULL_AMD_PATH)/include/asic_reg \
++ -I$(FULL_AMD_PATH)/include \
++ -I$(FULL_AMD_PATH)/powerplay/smumgr\
++ -I$(FULL_AMD_PATH)/powerplay/hwmgr \
++ -I$(FULL_AMD_PATH)/powerplay/eventmgr
+
+ AMD_PP_PATH = ../powerplay
+
+ PP_LIBS = smumgr hwmgr eventmgr
+
+-AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix drivers/gpu/drm/amd/powerplay/,$(PP_LIBS)))
++AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix $(FULL_AMD_PATH)/powerplay/,$(PP_LIBS)))
+
+ include $(AMD_POWERPLAY)
+
+--
+2.7.4
+