Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp653474pxb; Tue, 5 Apr 2022 17:26:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCju/0pIM1vINBW+opldUMKBhXIOr6VE1N7wX9jSd1oNvXRY5YN9aE9ltx6E+eMsw/Rk4D X-Received: by 2002:aa7:dbd0:0:b0:416:633c:a0cc with SMTP id v16-20020aa7dbd0000000b00416633ca0ccmr6124450edt.349.1649204796094; Tue, 05 Apr 2022 17:26:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649204796; cv=none; d=google.com; s=arc-20160816; b=tLKSPHgWPO+DNrUI0mV2tfk14js+sKmsnzHeG12uAPvhBnIVgYQPuMck1Qx62TVVsT ic2ukYm4mtKHJFwUOozZ71dcri2y04ebdRCoO64o5ate0glOnUoVJpjESkZXwXkfEnOp xEuDNLCbQRC64g2Tatza1aVfeMGCtVMaLpZLeFeGoWsoIIjOzYjXO/iobHQ9g/2VVLDT QOHF0E/n5sZk2r+U7y7VLVz/2cnChEhsaMQiB1kQBaaF9IQoG06ZfIDLSnmadUaBzNSP sFLUmF0UuBlNc1BT9CDfHlQcFvBvMVfX1qywbHUdz0mVspe/CoRLrAUHwPMO/yiIjSHU WsnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Zj3zS0R4yIZCh3snayDPw9LX7zr/8Z7DidwPDoGoDJ0=; b=WBJYhFVFeqAWv8oVh/42ExQ35BeY6y6vxjNG1Xeb+77a2IRi6egbTCPPfEYmipnOQT XWsFzbds//Ea9bHdNf1VXaTy8fATOFoG3Yoa0kCU+/Lu+Xtf2VSNV2taYnb5U0PC4g6Q HP1M76FE6dpViYJ+V9RAuYMqiFWjc6l/n2HJLQpoP79KUiWdrwrr+biR3/IoPnjmN9GQ UPJK1faU5c4vSFZAZNke/j6ZlKPJTS/z0tnXQ1ozD6CJFjyQBdYFgQ0JEnxykl8r1GF1 TXcQA3AnK/5wxCP6Mlf/ui0HQ6EyCIENf5r1ffiZDxbKKY/aiOCVGTIRPdgdMOvWGzgy hNXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bw0JsjI2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lz17-20020a170906fb1100b006e005895e01si9691149ejb.986.2022.04.05.17.26.09; Tue, 05 Apr 2022 17:26:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bw0JsjI2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381640AbiDELqp (ORCPT + 99 others); Tue, 5 Apr 2022 07:46:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244870AbiDEIwo (ORCPT ); Tue, 5 Apr 2022 04:52:44 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6648423BDA; Tue, 5 Apr 2022 01:45:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 12F7AB81A0C; Tue, 5 Apr 2022 08:45:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C5EBC385A3; Tue, 5 Apr 2022 08:45:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649148306; bh=q+HweTIoMRUDs33SD84jX+bq8GXDyO/WMF9zN2kpg1M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bw0JsjI2LsMp/KymM/LCYFG9E9hvEIA5WfkM2OwaxcGCN1vpSc5RxnDLtwfjQbTrE FKDkl9OE0sbcYK4IyqBd74nIb4317YN6X09a9vpSqE1rGnfCV3x70PNSeupepaO8v3 uuwMYmdMWyG5pl8hvOMtyw622P7hXEPNfvZTQyNQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Z. Liu" , Helge Deller , Sasha Levin Subject: [PATCH 5.16 0302/1017] video: fbdev: matroxfb: set maxvram of vbG200eW to the same as vbG200 to avoid black screen Date: Tue, 5 Apr 2022 09:20:15 +0200 Message-Id: <20220405070403.239992927@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Z. Liu [ Upstream commit 62d89a7d49afe46e6b9bbe9e23b004ad848dbde4 ] Start from commit 11be60bd66d54 "matroxfb: add Matrox MGA-G200eW board support", when maxvram is 0x800000, monitor become black w/ error message said: "The current input timing is not supported by the monitor display. Please change your input timing to 1920x1080@60Hz ...". Fixes: 11be60bd66d5 ("matroxfb: add Matrox MGA-G200eW board support") Signed-off-by: Z. Liu Signed-off-by: Helge Deller Signed-off-by: Sasha Levin --- drivers/video/fbdev/matrox/matroxfb_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/matrox/matroxfb_base.c b/drivers/video/fbdev/matrox/matroxfb_base.c index 5c82611e93d9..236521b19daf 100644 --- a/drivers/video/fbdev/matrox/matroxfb_base.c +++ b/drivers/video/fbdev/matrox/matroxfb_base.c @@ -1377,7 +1377,7 @@ static struct video_board vbG200 = { .lowlevel = &matrox_G100 }; static struct video_board vbG200eW = { - .maxvram = 0x800000, + .maxvram = 0x100000, .maxdisplayable = 0x800000, .accelID = FB_ACCEL_MATROX_MGAG200, .lowlevel = &matrox_G100 -- 2.34.1