From ed165a25292740d5d3ef7e78dc04a6a3402562aa Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Sat, 1 Jan 2005 20:03:15 +0000 Subject: 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. --- libdrm/xf86drm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libdrm') 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 { -- cgit v1.2.3