winsys/svga: Don't abort on EBUSY errors from execbuffer
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 4 Apr 2019 10:20:54 +0000 (12:20 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 2 May 2019 07:51:15 +0000 (09:51 +0200)
commit20b78393920f138f6f521251df7f98768706089e
treeed66c01ad42c80db65bfdd8e15d44f4ed4a101ca
parentc69557c4a24574d6755e47d51e4f72ca262b018e
winsys/svga: Don't abort on EBUSY errors from execbuffer

This error code typically indicated that a buffer object that was referenced
by the command stream was being used for CPU access by another client.
The correct action here is to retry after a while. Use usleep() until we
have proper kernel support for this wait.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/winsys/svga/drm/vmw_screen_ioctl.c