]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
authorSinclair Yeh <syeh@vmware.com>
Wed, 1 Nov 2017 17:47:05 +0000 (10:47 -0700)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 16 Nov 2017 21:05:40 +0000 (19:05 -0200)
commit03fabae5593a6814906dc2d7c4ac4d1c073bebb0
treebecbc1a2c6364dd3003cb1549817e68a9518d272
parent7ac709e85413fe77d6ea8371b8936577fa8086a7
drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue

BugLink: http://bugs.launchpad.net/bugs/1732726
commit cef75036c40408ba3bc308bcb00a3d440da713fc upstream.

This is an extension of Commit 7c20d213dd3c ("drm/vmwgfx: Work
around mode set failure in 2D VMs")

With Wayland desktop and atomic mode set, during the mode setting
process there is a moment when two framebuffer sized surfaces
are being pinned.  This was not an issue with Xorg.

Since this only happens during a mode change, there should be no
performance impact by increasing allowable mem_size.

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c