OSDN Git Service

Setstatus header.
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Mon, 22 Oct 2007 11:16:51 +0000 (13:16 +0200)
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Mon, 22 Oct 2007 11:16:51 +0000 (13:16 +0200)
libdrm/xf86drm.c
libdrm/xf86mm.h

index a50eff9..82b77d7 100644 (file)
@@ -2701,6 +2701,7 @@ int drmBOSetStatus(int fd, drmBO *buf,
                   unsigned int desired_tile_stride,
                   unsigned int tile_info)
 {
+
     struct drm_bo_map_wait_idle_arg arg;
     struct drm_bo_info_req *req = &arg.d.req;
     struct drm_bo_info_rep *rep = &arg.d.rep;
index 0516bd3..b092344 100644 (file)
@@ -174,6 +174,11 @@ extern int drmMMInit(int fd, unsigned long pOffset, unsigned long pSize,
 extern int drmMMTakedown(int fd, unsigned memType);
 extern int drmMMLock(int fd, unsigned memType, int lockBM, int ignoreNoEvict);
 extern int drmMMUnlock(int fd, unsigned memType, int unlockBM);
+extern int drmBOSetStatus(int fd, drmBO *buf, 
+                         uint64_t flags, uint64_t mask,
+                         unsigned int hint, 
+                         unsigned int desired_tile_stride,
+                         unsigned int tile_info);
 
 
 #endif