]> git.baikalelectronics.ru Git - 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)
committerSinclair Yeh <syeh@vmware.com>
Wed, 1 Nov 2017 17:56:53 +0000 (10:56 -0700)
commitb9f7342200aed57146e05bc4ca76b6368bd6400c
tree8aa75a4627ae4d7982d3b858107ff61a35fbe919
parent77a518f6763b59572b72b22c60a54869b498f892
drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue

This is an extension of Commit b02500e95a78 ("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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c