Commit 548da31d authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Dave Airlie

drm/amdgpu: include pagemap.h for release_pages()

Fixes: 5ae0283e ("drm/amdgpu: Add userptr support for KFD"
Cc: Felix Kuehling <Felix.Kuehling@amd.com>
Cc: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 95d2c3e1
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#define pr_fmt(fmt) "kfd2kgd: " fmt #define pr_fmt(fmt) "kfd2kgd: " fmt
#include <linux/list.h> #include <linux/list.h>
#include <linux/pagemap.h>
#include <linux/sched/mm.h> #include <linux/sched/mm.h>
#include <drm/drmP.h> #include <drm/drmP.h>
#include "amdgpu_object.h" #include "amdgpu_object.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment