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 72ab2b1ffe7510ef26b034a60addf51cd123f6fd..ff8fd75f7ca51fcd74587683c84a2a60a1439f64 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"