drm/vmwgfx: Move the stdu vblank event to atomic function
authorDeepak Rawat <drawat@vmware.com>
Tue, 16 Jan 2018 07:44:42 +0000 (08:44 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 22 Mar 2018 09:57:28 +0000 (10:57 +0100)
commitac3069e67f5659131d7ac5f54d966005bbc40af8
tree549881dcb5e1d8caf9382cbfb17544cee784dc5b
parentaa64b3f18aeb2cc4b74e69115df434147f1ed96c
drm/vmwgfx: Move the stdu vblank event to atomic function

Atomic ioctl can also send the same page flip flags as legacy ioctl.
In those cases also need to send the vblank event to userspace.

vmwgfx does not support flag DRM_MODE_PAGE_FLIP_ASYNC, so this flag is
never expected.

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_stdu.c