drm/vmwgfx: Cursor update fixes
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 16 Jan 2018 07:54:30 +0000 (08:54 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Thu, 22 Mar 2018 09:58:23 +0000 (10:58 +0100)
commit25db875401c8aaac31a6650cb80a56cc78852694
treea1e8c5a88769c7acbf5bc223241f838b0d653793
parent904efd9e3f4c8f288b1279a316eed8e177190c8f
drm/vmwgfx: Cursor update fixes

Use drm_plane_helper_check_update also for the cursor plane.
Some applications, like gdm on gnome shell still uses cursor front-buffer
like rendering without notifying the kernel. We do need some kind of
noficiation, but work around this for now by updating the cursor image on
every cursor move.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c