diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2018-05-16 09:43:34 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-05-17 07:59:08 +0300 |
commit | 548da31da9805645b1e8043da5081b9745545248 (patch) | |
tree | baadfdcc1579007f4ad865e50f3a41a1138cc11e /drivers/gpu | |
parent | 95d2c3e15da613afd53b4b8f2cdb352dc7d12221 (diff) | |
download | linux-548da31da9805645b1e8043da5081b9745545248.tar.xz |
drm/amdgpu: include pagemap.h for release_pages()
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c index 72ab2b1ffe75..ff8fd75f7ca5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c @@ -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" |