drm/vmwgfx: Add export fence to file descriptor support
Added code to link a fence to a out_fence_fd file descriptor and thread out_fence_fd down to vmw_execbuf_copy_fence_user() so it can be copied into the IOCTL reply and be passed back up the the user. v2: Make sure to sync and clean up in case of failure Signed-off-by:Sinclair Yeh <syeh@vmware.com> Reviewed-by:
Deepak Singh Rawat <drawat@vmware.com> Reviewed-by:
Thomas Hellstrom <thellstrom@vmware.com>
Showing
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h 6 additions, 2 deletionsdrivers/gpu/drm/vmwgfx/vmwgfx_drv.h
- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c 62 additions, 7 deletionsdrivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c 1 addition, 1 deletiondrivers/gpu/drm/vmwgfx/vmwgfx_fence.c
- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c 1 addition, 1 deletiondrivers/gpu/drm/vmwgfx/vmwgfx_kms.c
Loading