DRM: make drm_map_type match kernel
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 20 Nov 2008 18:57:33 +0000 (10:57 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 20 Nov 2008 18:57:33 +0000 (10:57 -0800)
GEM is upstream, but TTM isn't, so _DRM_GEM needs to be 6, not 7.

shared-core/drm.h

index 08882b7..218a469 100644 (file)
@@ -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,
 };
 
 /**