Received: by 10.223.164.202 with SMTP id h10csp208425wrb; Mon, 13 Nov 2017 05:17:44 -0800 (PST) X-Google-Smtp-Source: AGs4zMb9GBzIcLe7LNU7f9ve0gKGlM8BCIcqN6JDqtkTf2rRo4YphgK+U5TLG1g5Ttr2x5BnxJTA X-Received: by 10.101.72.65 with SMTP id i1mr8612143pgs.436.1510579064146; Mon, 13 Nov 2017 05:17:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510579064; cv=none; d=google.com; s=arc-20160816; b=BToSpJ2fIRCHxE57Uv2jYkMcDEJUBLVEl58NvJRb1Czr9E+UIPhqHbgx/9oIwMLLlf y5wWRwhYxdKxbwmslV3WMA/qXlx1CK3l5FOSPtDj3YkuBXkL9wcpa2KwlegJqZaTwkPo 0RZIMLICgaRpBPhdLS7KthsSopup7fF+urdxnL4yFrcV7U8M6yc9baCm6XmE8ZrrDXfh 1j+IrbaI6+HaD1jz5uxFC02fkNuCGMHJRSpFvOSam4I3o8e01NKLXSnIo5OCFdRevMSZ LkTlBKSdgbLympqOL7oS8iH1PBe/tHlisGKcFos9qY4rtIcXtY2rcXNmAg9f5U8Sv7Oq icVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=BGXgX+ggevULi9b0yyyCZDAT7VbmebGHXFkgG5j3VyE=; b=GRrrMJe7OIF8/Z7cAP5UYTEZ7ykEMRNhrMrCXbnJ2g4GOZ+jQRDccEIxIPe2jfRU9d wnwasPQj/sN6rjRzY3bEkFJ2ygsj3QXeBBpAjxq1mqyK5DaFD2SOrnoH5nzt2zvJ0CTq bzKHpMV1+PYR/zfHlAuXYSwgORn58YADKXbQWM1ZoMWVm9DKEtQkL0lqBSybPDlFt1ox IccH2I4kqUbJArqhpppjbgwZ5K4Xu64RJnVv4KMFbB4Q1646aNb/muQ0tnnufSYjRNBT KGwZwozOaCJUSRuUT9YLn3e4CUNVe7B1ngcs1JOKqoMZXqtO23F9DW2WAOQAgS5RTfr8 ot3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12si3474460plj.261.2017.11.13.05.17.30; Mon, 13 Nov 2017 05:17:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752390AbdKMNQ5 (ORCPT + 95 others); Mon, 13 Nov 2017 08:16:57 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:51236 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754892AbdKMNCf (ORCPT ); Mon, 13 Nov 2017 08:02:35 -0500 Received: from localhost (LFbn-1-12253-150.w90-92.abo.wanadoo.fr [90.92.67.150]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 9C604AD2; Mon, 13 Nov 2017 13:02:34 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sinclair Yeh , Thomas Hellstrom Subject: [PATCH 4.9 78/87] drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue Date: Mon, 13 Nov 2017 13:56:35 +0100 Message-Id: <20171113125622.256766650@linuxfoundation.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171113125615.304035578@linuxfoundation.org> References: <20171113125615.304035578@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sinclair Yeh 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 Reviewed-by: Thomas Hellstrom Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c @@ -721,7 +721,7 @@ static int vmw_driver_load(struct drm_de * allocation taken by fbdev */ if (!(dev_priv->capabilities & SVGA_CAP_3D)) - mem_size *= 2; + mem_size *= 3; dev_priv->max_mob_pages = mem_size * 1024 / PAGE_SIZE; dev_priv->prim_bb_mem = From 1583956468946280781@xxx Mon Nov 13 13:10:02 +0000 2017 X-GM-THRID: 1583956468946280781 X-Gmail-Labels: Inbox,Category Updates,HistoricalUnread