diff options
author | Eric Anholt <eric@anholt.net> | 2007-07-26 10:14:17 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-07-26 10:15:11 -0700 |
commit | cf2d569daca6954d11a796f4d110148ae2e0c827 (patch) | |
tree | a90aa9eed7d107671af12a0c4d3886e4f51c0fc3 /libdrm/xf86mm.h | |
parent | 03e932e32be6ae3de6994c6893c813a34623ad7d (diff) |
Replace NO_MOVE/NO_EVICT flags to buffer objects with an ioctl to set pinning.
This cleans up the create/validate interfaces for this very uncommon path, and
makes pinned object creation much easier to use for the X Server.
Diffstat (limited to 'libdrm/xf86mm.h')
-rw-r--r-- | libdrm/xf86mm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdrm/xf86mm.h b/libdrm/xf86mm.h index d1e0b28f..d86644ca 100644 --- a/libdrm/xf86mm.h +++ b/libdrm/xf86mm.h @@ -201,6 +201,7 @@ extern int drmAddValidateItem(drmBOList *list, drmBO *buf, unsigned flags, extern int drmBOValidateList(int fd, drmBOList *list); extern int drmBOFenceList(int fd, drmBOList *list, unsigned fenceHandle); extern int drmBOWaitIdle(int fd, drmBO *buf, unsigned hint); +int drmBOSetPin(int fd, drmBO *buf, int pin); /* * Initialization functions. |