summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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