diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2006-10-24 15:03:04 -0400 |
---|---|---|
committer | airlied <airlied@linux.ie> | 2006-12-06 23:53:31 -0500 |
commit | 3417f33e762bf7d4277031a655e3ad07e73ce0be (patch) | |
tree | 255d4871a0a7affbeab8d35f5b072a70ef064cfd /drivers/char/drm/drmP.h | |
parent | 5c2df2bfb121a77d925dba580f53da08b4020528 (diff) |
drm: add flag for mapping PCI DMA buffers read-only.
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.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r-- | drivers/char/drm/drmP.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index 2f18329c5eb8..0bbb04f2390f 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h | |||
@@ -431,7 +431,8 @@ typedef struct drm_device_dma { | |||
431 | enum { | 431 | enum { |
432 | _DRM_DMA_USE_AGP = 0x01, | 432 | _DRM_DMA_USE_AGP = 0x01, |
433 | _DRM_DMA_USE_SG = 0x02, | 433 | _DRM_DMA_USE_SG = 0x02, |
434 | _DRM_DMA_USE_FB = 0x04 | 434 | _DRM_DMA_USE_FB = 0x04, |
435 | _DRM_DMA_USE_PCI_RO = 0x08 | ||
435 | } flags; | 436 | } flags; |
436 | 437 | ||
437 | } drm_device_dma_t; | 438 | } drm_device_dma_t; |