summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-11-20 10:57:33 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-11-20 10:57:33 -0800
commit5923831bafca3cf2358ffc7f8b0079ab4de9da5c (patch)
tree9dd1311ad80f7765126c1c6691f47bbfeafc972d
parentc67a83dfe1b60f81343ff7c2604a96b18ecb3b0c (diff)
DRM: make drm_map_type match kernel
GEM is upstream, but TTM isn't, so _DRM_GEM needs to be 6, not 7.
-rw-r--r--shared-core/drm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 08882b76..218a469d 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -236,8 +236,8 @@ 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_TTM = 6,
- _DRM_GEM = 7,
+ _DRM_GEM = 6,
+ _DRM_TTM = 7,
};
/**