summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-10-22 13:16:51 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-10-22 13:16:51 +0200
commitd4ce4be0dad516caa43fddcd8a56c28f264c9c2a (patch)
tree6cc47860ec8ec44b01dd6c3efd9f3d70dde70796 /libdrm
parent6420d33b02db0da900140c238bb35f13abc182e7 (diff)
Setstatus header.
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drm.c1
-rw-r--r--libdrm/xf86mm.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index a50eff9b..82b77d7f 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -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;
diff --git a/libdrm/xf86mm.h b/libdrm/xf86mm.h
index 0516bd32..b0923440 100644
--- a/libdrm/xf86mm.h
+++ b/libdrm/xf86mm.h
@@ -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