diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-11-20 11:00:29 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-11-20 11:00:29 -0800 |
commit | 2e2fd6c63204cbea3b29a4872be77ac69677c841 (patch) | |
tree | 4357e9a3fb6b80e8b1844f2d174fe5908102aa34 | |
parent | c029ed2510f32318d4bd6a195e81712d1b4ea29b (diff) |
DRM: make drm_map_type match upstream kernel
Since the TTM type isn't upstream yet, we need to make sure libdrm uses
what the kernel uses, which is _DRM_GEM = 6.
-rw-r--r-- | shared-core/drm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h index 472cd89a..507f0478 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, }; /** |