aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1675-drm-amdgpu-Fix-compile-error-for-power-arch.patch
blob: eb9e2ccaeff23e4c56f2873dbbeeb816c7c9e59a (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
From e6a9785d9af2d00dbf50e8db7a2d97ced63fcc46 Mon Sep 17 00:00:00 2001
From: Harish Kasiviswanathan <hkasivis@fnode2-6.pub.pic2.ibm.com>
Date: Thu, 30 Jun 2016 10:56:52 -0400
Subject: [PATCH 1675/4131] drm/amdgpu: Fix compile error for power arch

Change-Id: Iaebf56d01521faa56eabdfe609240169b91d1737
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
index bb1f7a6..3129383 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
@@ -30,6 +30,7 @@
 #include <linux/list.h>
 #include <drm/drmP.h>
 #include <linux/dma-buf.h>
+#include <linux/pagemap.h>
 #include "amdgpu_amdkfd.h"
 #include "amdgpu_ucode.h"
 #include "gca/gfx_8_0_sh_mask.h"
-- 
2.7.4