drm/vmwgfx: Don't create proxy surface for cursor
authorSinclair Yeh <syeh@vmware.com>
Fri, 2 Jun 2017 05:44:53 +0000 (07:44 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 7 Jun 2017 10:07:35 +0000 (12:07 +0200)
commitbbd5fefeea59412af4b4a325c2743f53a1d6c417
tree65c719133340974052b0684d26df36e65decbdae
parentee9c4e681ec4f58e42a83cb0c22a0289ade1aacf
drm/vmwgfx: Don't create proxy surface for cursor

With atomic, the cursor surface is treated like a FB.  Creating
a proxy surface for cursor doesn't gain us much benefit.

This fixes the issue on atomic enabled 2D VMs where the cursor
disappears.

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