]> 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)
commit3d9c5ed4bbb8b64d4ad1b9b64992541b7000cad3
tree65c719133340974052b0684d26df36e65decbdae
parent5f07b118b17261ed6507e87b0f681ad8944cc8a3
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