summaryrefslogtreecommitdiff
path: root/bsd
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-01-16 05:40:12 +0000
committerDave Airlie <airlied@linux.ie>2005-01-16 05:40:12 +0000
commit354dd17d2505fd3b9754f6ccc960671e1f9363d9 (patch)
tree43351403eceef4946e00ae3f25e1e64121e86565 /bsd
parent9514ee39f7e5063383b99de580e7e3115645e886 (diff)
The patch makes drmAddBufs/drmMapBufs can handle buffers in video memory
The attached patch adds a new buffer type DRM_FB_BUFFER. It works like AGP memory but uses video memory. From: austinyuan@viatech.com.cn (fd.o bug 1668) Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'bsd')
-rw-r--r--bsd/drmP.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bsd/drmP.h b/bsd/drmP.h
index c67592f6..50612ad0 100644
--- a/bsd/drmP.h
+++ b/bsd/drmP.h
@@ -223,7 +223,8 @@ typedef struct drm_device_dma {
unsigned long byte_count;
enum {
_DRM_DMA_USE_AGP = 0x01,
- _DRM_DMA_USE_SG = 0x02
+ _DRM_DMA_USE_SG = 0x02,
+ _DRM_DMA_USE_FB = 0x04
} flags;
/* DMA support */