aboutsummaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2005-01-01 20:03:15 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2005-01-01 20:03:15 +0000
commited165a25292740d5d3ef7e78dc04a6a3402562aa (patch)
tree28545324112665f06e11a8f1ae5d786b1672595e /libdrm
parentfe4ade81bb7a1242b18b84e012c1a293eea0420b (diff)
Added a new DRM map type _DRM_CONSISTENT for consistent PCI memory. It uses
drm_pci_alloc/free for allocating/freeing the memory. Only implemented in the Linux DRM so far.
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdrm/xf86drm.h b/libdrm/xf86drm.h
index b44e4281..b33d525e 100644
--- a/libdrm/xf86drm.h
+++ b/libdrm/xf86drm.h
@@ -104,7 +104,8 @@ typedef enum {
DRM_REGISTERS = 1, /**< no caching, no core dump */
DRM_SHM = 2, /**< shared, cached */
DRM_AGP = 3, /**< AGP/GART */
- DRM_SCATTER_GATHER = 4 /**< PCI scatter/gather */
+ DRM_SCATTER_GATHER = 4, /**< PCI scatter/gather */
+ DRM_CONSISTENT = 5 /**< PCI consistent */
} drmMapType;
typedef enum {