summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2006-10-02 05:46:42 +0300
committerGeorge Sapountzis <gsap7@yahoo.gr>2006-10-02 22:47:23 +0300
commitf3deef730d52c94ce21ada7e4ceb63aa28a8601b (patch)
treee68d16345e3700c9b173397632a0ff9214e4bd5c /libdrm
parent25760c30d4aedb370423d0bb03c014cab47b5d4f (diff)
Bug 6242: [mach64] Use private DMA buffers, part #3.
Add DRM_PCI_BUFFER_RO flag for mapping PCI DMA buffer read-only. An additional flag is needed, since PCI DMA buffers do not have an associated map.
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 2ad70807..d58baa76 100644
--- a/libdrm/xf86drm.h
+++ b/libdrm/xf86drm.h
@@ -149,7 +149,8 @@ typedef enum {
DRM_PAGE_ALIGN = 0x01,
DRM_AGP_BUFFER = 0x02,
DRM_SG_BUFFER = 0x04,
- DRM_FB_BUFFER = 0x08
+ DRM_FB_BUFFER = 0x08,
+ DRM_PCI_BUFFER_RO = 0x10
} drmBufDescFlags;
typedef enum {