forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/xen-zcopy: Implement dumb free wait IOCTL
1. Provide wait_handle while calling DRM_XEN_ZCOPY_DUMB_FROM_REFS IOCTL. 2. Implement IOCTL which will block until dumb buffer with the wait handle provided be freed: this is needed for synchronization between frontend and backend in case frontend provides grant references of the buffer via DRM_XEN_ZCOPY_DUMB_FROM_REFS IOCTL and which must be released before backend replies with XENDISPL_OP_DBUF_DESTROY response. Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
- Loading branch information
Oleksandr Andrushchenko
committed
Dec 8, 2017
1 parent
dad52fd
commit 4ee6e67
Showing
2 changed files
with
266 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.