Skip to content

Commit ba4828a

Browse files
Sinclair Yehgregkh
authored andcommitted
drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue
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>
1 parent 05b690c commit ba4828a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/vmwgfx/vmwgfx_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ static int vmw_driver_load(struct drm_device *dev, unsigned long chipset)
708708
* allocation taken by fbdev
709709
*/
710710
if (!(dev_priv->capabilities & SVGA_CAP_3D))
711-
mem_size *= 2;
711+
mem_size *= 3;
712712

713713
dev_priv->max_mob_pages = mem_size * 1024 / PAGE_SIZE;
714714
dev_priv->prim_bb_mem =

0 commit comments

Comments
 (0)