drm/amdgpu: include pagemap.h for release_pages()
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 16 May 2018 06:43:34 +0000 (16:43 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 17 May 2018 04:59:08 +0000 (14:59 +1000)
Fixes: 5ae0283e831a ("drm/amdgpu: Add userptr support for KFD"
Cc: Felix Kuehling <Felix.Kuehling@amd.com>
Cc: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c

index 72ab2b1..ff8fd75 100644 (file)
@@ -23,6 +23,7 @@
 #define pr_fmt(fmt) "kfd2kgd: " fmt
 
 #include <linux/list.h>
+#include <linux/pagemap.h>
 #include <linux/sched/mm.h>
 #include <drm/drmP.h>
 #include "amdgpu_object.h"