mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 19:50:12 +01:00
Setstatus header.
This commit is contained in:
parent
6420d33b02
commit
d4ce4be0da
2 changed files with 6 additions and 0 deletions
|
|
@ -2701,6 +2701,7 @@ int drmBOSetStatus(int fd, drmBO *buf,
|
||||||
unsigned int desired_tile_stride,
|
unsigned int desired_tile_stride,
|
||||||
unsigned int tile_info)
|
unsigned int tile_info)
|
||||||
{
|
{
|
||||||
|
|
||||||
struct drm_bo_map_wait_idle_arg arg;
|
struct drm_bo_map_wait_idle_arg arg;
|
||||||
struct drm_bo_info_req *req = &arg.d.req;
|
struct drm_bo_info_req *req = &arg.d.req;
|
||||||
struct drm_bo_info_rep *rep = &arg.d.rep;
|
struct drm_bo_info_rep *rep = &arg.d.rep;
|
||||||
|
|
|
||||||
|
|
@ -174,6 +174,11 @@ extern int drmMMInit(int fd, unsigned long pOffset, unsigned long pSize,
|
||||||
extern int drmMMTakedown(int fd, unsigned memType);
|
extern int drmMMTakedown(int fd, unsigned memType);
|
||||||
extern int drmMMLock(int fd, unsigned memType, int lockBM, int ignoreNoEvict);
|
extern int drmMMLock(int fd, unsigned memType, int lockBM, int ignoreNoEvict);
|
||||||
extern int drmMMUnlock(int fd, unsigned memType, int unlockBM);
|
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
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue