]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Add support for imported Fence File Descriptor
authorSinclair Yeh <syeh@vmware.com>
Wed, 5 Jul 2017 08:45:40 +0000 (01:45 -0700)
committerSinclair Yeh <syeh@vmware.com>
Mon, 28 Aug 2017 15:51:38 +0000 (17:51 +0200)
commit9798dd073fedea3476412876576d8c3407c3fb92
treec16506b1862c5f168cfe501c867097d80899e3d5
parent74d8b579d5a75971e523356eb6fbfe9bb96dbdf9
drm/vmwgfx: Add support for imported Fence File Descriptor

This allows vmwgfx to wait on a fence created by another
device.

v2:
* Remove special handling for vmwgfx fence and just use dma_fence_wait()
* Use interruptible waits
* Added function documentation

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Deepak Singh Rawat <drawat@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
drivers/gpu/drm/vmwgfx/vmwgfx_fence.h