aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1684-drm-amdkfd-fix-build-warning-in-amdkfd_gfx_v9.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1684-drm-amdkfd-fix-build-warning-in-amdkfd_gfx_v9.c.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1684-drm-amdkfd-fix-build-warning-in-amdkfd_gfx_v9.c.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1684-drm-amdkfd-fix-build-warning-in-amdkfd_gfx_v9.c.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1684-drm-amdkfd-fix-build-warning-in-amdkfd_gfx_v9.c.patch
new file mode 100644
index 00000000..5dca5544
--- /dev/null
+++ b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1684-drm-amdkfd-fix-build-warning-in-amdkfd_gfx_v9.c.patch
@@ -0,0 +1,30 @@
+From 8a52c2177959053a6d12bea5e8114e57debf9ab1 Mon Sep 17 00:00:00 2001
+From: Rex Zhu <Rex.Zhu@amd.com>
+Date: Thu, 4 May 2017 17:38:29 +0800
+Subject: [PATCH 1684/4131] drm/amdkfd: fix build warning in amdkfd_gfx_v9.c
+
+Apply commit f2b5e95726d2e46c72(Yong Zhao).
+
+Change-Id: I17803df2772a5d38b0629c42c99180b9719b409d
+Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
+index fc72b49..7240048 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
+@@ -19,7 +19,7 @@
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+-
++#undef pr_fmt
+ #define pr_fmt(fmt) "kfd2kgd: " fmt
+
+ #include <linux/module.h>
+--
+2.7.4
+