summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-03-30 15:40:26 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-04-12 13:15:49 +0200
commit81506da8cfc1d0677dda7286bc705c1157bfcf4e (patch)
tree94716e43ec810f06d7ca20abf5ffcf31e30bf30f
parent65ea85d85c5b4da22d9f4ea18ae368bc48fbf60a (diff)
headers: Remove _DRM_GEM
This was purely a kernel-internal type used in a early patch version to add GEM bo mmap support. It was never used in-kernel in merged code nor in userspace. Nuke it to align with kernel headers. For reference the kernel patch: commit 05f51722a154e73019434bd020e50ddb941046c5 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Wed Dec 11 11:34:32 2013 +0100 drm/bufs: remove handling of _DRM_GEM mappings Gone with the new gem vma offset manager from David. We can also ditch the uapi header definition from the enum since userspace never used this. It ended up in there purely for historical reasons (for reusing the old drm mmap code essentially), not because userspace ever needed it. Cc: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--include/drm/drm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/drm.h b/include/drm/drm.h
index a950b580cd11..e213ec68a9c3 100644
--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -181,7 +181,6 @@ enum drm_map_type {
_DRM_AGP = 3, /**< AGP/GART */
_DRM_SCATTER_GATHER = 4, /**< Scatter/gather memory for PCI DMA */
_DRM_CONSISTENT = 5, /**< Consistent memory for PCI DMA */
- _DRM_GEM = 6 /**< GEM object */
};
/**