OSDN Git Service

drm/vmwgfx: Send the correct nonblock option for atomic_commit
authorDeepak Rawat <drawat@vmware.com>
Tue, 16 Jan 2018 07:48:09 +0000 (08:48 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 22 Mar 2018 09:57:52 +0000 (10:57 +0100)
commit904efd9e3f4c8f288b1279a316eed8e177190c8f
tree74b8b538136e1ec46689f08a0c09cdcfab39f712
parentac3069e67f5659131d7ac5f54d966005bbc40af8
drm/vmwgfx: Send the correct nonblock option for atomic_commit

Page flip can be slow for vmwgfx in some cases, like need to do surface
copy to different surface or waiting for IN_FENCE_FD. Enabling
nonblocking commits for vmwgfx in case userspace request it.

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