From 354dd17d2505fd3b9754f6ccc960671e1f9363d9 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 16 Jan 2005 05:40:12 +0000 Subject: 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 --- libdrm/xf86drm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libdrm/xf86drm.h') diff --git a/libdrm/xf86drm.h b/libdrm/xf86drm.h index b33d525e..7521e341 100644 --- a/libdrm/xf86drm.h +++ b/libdrm/xf86drm.h @@ -148,7 +148,8 @@ typedef enum { typedef enum { DRM_PAGE_ALIGN = 0x01, DRM_AGP_BUFFER = 0x02, - DRM_SG_BUFFER = 0x04 + DRM_SG_BUFFER = 0x04, + DRM_FB_BUFFER = 0x08 } drmBufDescFlags; typedef enum { -- cgit v1.2.3