diff options
author | Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> | 2022-07-01 16:05:44 -0700 |
---|---|---|
committer | Andi Shyti <andi.shyti@linux.intel.com> | 2022-07-09 02:43:54 +0200 |
commit | d33d1f0df600f6b8a868daa23832749e26b09b55 (patch) | |
tree | 1e3226f2b5d68d27834bed54a4d3fd862fc70cc8 /lib/ioctl_wrappers.h | |
parent | 790c1b18ca0815ca14b320e3b4d9e262fe46f1a4 (diff) |
tests/i915/vm_bind: Add vm_bind sanity test
Add sanity test to exercise vm_bind uapi.
Test for various cases with vm_bind and vm_unbind ioctls.
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Diffstat (limited to 'lib/ioctl_wrappers.h')
-rw-r--r-- | lib/ioctl_wrappers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ioctl_wrappers.h b/lib/ioctl_wrappers.h index 223cd916..9f50a241 100644 --- a/lib/ioctl_wrappers.h +++ b/lib/ioctl_wrappers.h @@ -143,6 +143,7 @@ struct local_dma_buf_sync { #define LOCAL_DMA_BUF_BASE 'b' #define LOCAL_DMA_BUF_IOCTL_SYNC _IOW(LOCAL_DMA_BUF_BASE, 0, struct local_dma_buf_sync) +int prime_handle_to_fd_no_assert(int fd, uint32_t handle, int flags, int *fd_out); int prime_handle_to_fd(int fd, uint32_t handle); #ifndef DRM_RDWR #define DRM_RDWR O_RDWR |