summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
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 /linux-core/drmP.h
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 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 5c9644e0..2bbec70c 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -449,7 +449,8 @@ typedef struct drm_device_dma {
enum {
_DRM_DMA_USE_AGP = 0x01,
_DRM_DMA_USE_SG = 0x02,
- _DRM_DMA_USE_FB = 0x04
+ _DRM_DMA_USE_FB = 0x04,
+ _DRM_DMA_USE_PCI_RO = 0x08
} flags;
} drm_device_dma_t;