]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc495e15dabace825a2f0fe4d06deee9da00eee25
tree65c719133340974052b0684d26df36e65decbdae
parent1b68fa47758208a9aae9253551106eaba79ca641
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