summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-11-13 13:52:04 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-11-13 13:52:04 -0800
commit276c07d8855f748c043dfe3ab8c4da954ba0fe1e (patch)
treea76198a778eaa7eb1dabc7c24fdeefce44d57d16 /shared-core/drm.h
parent930c0e7cf4f4776f7a69e7acc6fedeed7addb235 (diff)
libdrm: add support for i915 GTT mapping ioctl
Add a drm_intel_gem_bo_map_gtt() function for mapping a buffer object through the aperture rather than directly to its CPU cacheable memory.
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index bb332829..05fc91d8 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -236,7 +236,7 @@ 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 = 6
};
/**