diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-03-08 17:12:42 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-03-09 18:18:02 +0300 |
commit | a8f8b1d9b8701465f1309d551fba2ebda6760f49 (patch) | |
tree | 956134c967ac448b8e4048281b696d265e18fd60 /include/drm/drm_prime.h | |
parent | 721dacbbeb062b99adea9ab6046b6ec04a8ec5fc (diff) | |
download | linux-a8f8b1d9b8701465f1309d551fba2ebda6760f49.tar.xz |
drm: Extract drm_file.h
I'm torn on whether drm_minor really should be here or somewhere else.
Maybe with more clarity after untangling drmP.h more this is easier to
decide, for now I've put a FIXME comment right next to it. Right now
we need struct drm_minor for the inline drm_file type helpers, and so
it does kinda make sense to have them here.
Next patch will kerneldoc-ify the entire pile.
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170308141257.12119-10-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm/drm_prime.h')
-rw-r--r-- | include/drm/drm_prime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_prime.h b/include/drm/drm_prime.h index 77ceca711bad..d09563ecc4b7 100644 --- a/include/drm/drm_prime.h +++ b/include/drm/drm_prime.h @@ -34,6 +34,7 @@ #include <linux/mutex.h> #include <linux/rbtree.h> +#include <linux/scatterlist.h> /** * struct drm_prime_file_private - per-file tracking for PRIME |