From patchwork Mon Aug 26 19:58:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 11116241 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E3CD8112C for ; Tue, 27 Aug 2019 07:29:41 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB33020828 for ; Tue, 27 Aug 2019 07:29:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB33020828 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=axentia.se Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 939BB897E3; Tue, 27 Aug 2019 07:29:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on071b.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::71b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 94A5289070 for ; Mon, 26 Aug 2019 19:58:56 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Eju46C8364uT/n+fZscxhbmRk2A6pfLet9S0RxD2vCPFXhlrkfbqcUneGResVbXo1ZmGLZZr9OGWus63vnbjx/6bBcdFdlxBDXhl2UPpydJqQeylKrhj47Q42gpKW32BY9n+C+6ClcRRJzG5jazdB9cFs/azvnKsnFiSsx0hp3bHMDZTxuwhXZpIizSJMSJ/g1Sy/h+CRZQCEHb6bpMopbbohbLqiYcz5KDLa7rEHOYSx543v+0eYilShArNXGad1N66xvW/FwH1E5cj+a6cazCjtIg8x6NI/wX8i1cIPVeFNvKJP5huDFpUffHz1Vg16y1AN2W8uPdddV6L3BcBOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HzYkXKffNLiNfCQH5tfbnjcUD+zFyx9WF2wEk9JCzMY=; b=SA13ZlqIiNNKW4H7TDi+0cROuZnjuFTK41ykypwTA4md8bUgHA/jvQyzJ/A+I5TazIlkME5GCZkVSxrRMLem2/+DzFnGLC7mQFANqybxjLbw2o4CYDfSyB4AmYtlGjM4iLXDzwu+zsfjfNOQfHfAgwD4bMhEOKrNiczLcfRYesnPwWGcQfKi9Q9YIW/PIEIeIDWmOCfrGYrw1gOphhpkSkBsF2qn9+sPxb5ZZpD+spZLNtKCxT+/pZW7uCgTqaQjBHHAUBbMQrUn6vI2KnJ++G2V10j/3vZfgAjQo0P/g8KkJ6WzY5RSFlsl+QuovRMCZC4qba7gdKJexpTU4SFX+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=axentia.se; dmarc=pass action=none header.from=axentia.se; dkim=pass header.d=axentia.se; arc=none Received: from DB3PR0202MB3434.eurprd02.prod.outlook.com (52.134.66.158) by DB3PR0202MB3340.eurprd02.prod.outlook.com (52.134.67.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.18; Mon, 26 Aug 2019 19:58:54 +0000 Received: from DB3PR0202MB3434.eurprd02.prod.outlook.com ([fe80::a0df:d7d9:f95e:f3ea]) by DB3PR0202MB3434.eurprd02.prod.outlook.com ([fe80::a0df:d7d9:f95e:f3ea%3]) with mapi id 15.20.2178.023; Mon, 26 Aug 2019 19:58:54 +0000 From: Peter Rosin To: "linux-kernel@vger.kernel.org" Subject: [PATCH v2 1/3] fbdev: fix numbering of fbcon options Thread-Topic: [PATCH v2 1/3] fbdev: fix numbering of fbcon options Thread-Index: AQHVXEiw/LRCleLuAUGVU4XBezNSZg== Date: Mon, 26 Aug 2019 19:58:54 +0000 Message-ID: <20190826195740.29415-2-peda@axentia.se> References: <20190826195740.29415-1-peda@axentia.se> In-Reply-To: <20190826195740.29415-1-peda@axentia.se> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.11.0 x-originating-ip: [213.112.138.100] x-clientproxiedby: HE1PR0901CA0054.eurprd09.prod.outlook.com (2603:10a6:3:45::22) To DB3PR0202MB3434.eurprd02.prod.outlook.com (2603:10a6:8:5::30) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7e335a9b-3f48-478b-80ed-08d72a5fd2c3 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DB3PR0202MB3340; x-ms-traffictypediagnostic: DB3PR0202MB3340: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 01415BB535 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(366004)(396003)(39830400003)(136003)(189003)(199004)(8936002)(256004)(316002)(54906003)(26005)(476003)(2616005)(99286004)(102836004)(76176011)(386003)(6506007)(66066001)(52116002)(5640700003)(508600001)(186003)(6436002)(486006)(66946007)(66476007)(66446008)(36756003)(64756008)(66556008)(2351001)(1076003)(6486002)(6916009)(2906002)(50226002)(86362001)(71200400001)(71190400001)(2501003)(53936002)(6512007)(4326008)(25786009)(11346002)(446003)(3846002)(6116002)(305945005)(14454004)(81156014)(81166006)(14444005)(5660300002)(7736002)(8676002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB3PR0202MB3340; H:DB3PR0202MB3434.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: jRI+w2kFyTUjZ+qAHX3MgBO1rVtqYYYmMNDaeKrCWca9U3zBrC8Ffjag6IgE26KrlX4xrqOXl1PHvOamS7TK707YHNn9t8l4P0C2DZOt7mg3eJUtwTnHxwn+YGeoljAf1UdvzhQF3/LbWvpV10bX1Ru8VyK/FoW3OB8DzmO+wMlsC0wKx5dw5WQb8oQgMPg6LlEosN9OJOJG7c89WyfZNcecqTNxWVgMfrLTzXlWpt1UGPTIotZqoF79Q4VOrrhe6IYDOIY32E+b0TkzAsLx9OfJV2X3r8sZAo20+5eMuOeL/c9e+eVDMR5zX2g6tyHn7J7G5bKm9AlJsVEl1KM6VY4jCAqbfy3uczx//uHhrxoRSWm7OW4sbW3KBCsdYcNWQL4/WIm6VJe23PGVyRPambCFZDhH4Ob7nN/ERdcpdgw= MIME-Version: 1.0 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: 7e335a9b-3f48-478b-80ed-08d72a5fd2c3 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2019 19:58:54.5250 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WgMgXxylxdlEiVwcbDA4ZfefUI6ScWPqweRDa1vTCiXxw/gpQaABBZFr7h3pEhWI X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0202MB3340 X-Mailman-Approved-At: Tue, 27 Aug 2019 07:29:19 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HzYkXKffNLiNfCQH5tfbnjcUD+zFyx9WF2wEk9JCzMY=; b=h/DTEI2N4Zbzzl3U4u5aPIWhNu+L4aGyzG9+PwHaSMggENpO5r6L9rXNJ3g5WGdE1YaUA0xz7HMb+KZYJHyxXtdguRTEGbVfR/pa7IztkZStVOAcj5KvJfwsxPiUp3aW/QmPncW7vKaTLgMqFBTS+hJP6grH4u0M3E03ebxtY0Q= X-Mailman-Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "linux-fbdev@vger.kernel.org" , Jonathan Corbet , "linux-doc@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Bartlomiej Zolnierkiewicz , Matthew Wilcox , Peter Rosin Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Three shall be the number thou shalt count, and the number of the counting shall be three. Four shalt thou not count... One! Two! Five! Fixes: efb985f6b265 ("[PATCH] fbcon: Console Rotation - Add framebuffer console documentation") Signed-off-by: Peter Rosin --- Documentation/fb/fbcon.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/fb/fbcon.rst b/Documentation/fb/fbcon.rst index ebca41785abe..65ba40255137 100644 --- a/Documentation/fb/fbcon.rst +++ b/Documentation/fb/fbcon.rst @@ -127,7 +127,7 @@ C. Boot options is typically located on the same video card. Thus, the consoles that are controlled by the VGA console will be garbled. -4. fbcon=rotate: +5. fbcon=rotate: This option changes the orientation angle of the console display. The value 'n' accepts the following: @@ -152,21 +152,21 @@ C. Boot options Actually, the underlying fb driver is totally ignorant of console rotation. -5. fbcon=margin: +6. fbcon=margin: This option specifies the color of the margins. The margins are the leftover area at the right and the bottom of the screen that are not used by text. By default, this area will be black. The 'color' value is an integer number that depends on the framebuffer driver being used. -6. fbcon=nodefer +7. fbcon=nodefer If the kernel is compiled with deferred fbcon takeover support, normally the framebuffer contents, left in place by the firmware/bootloader, will be preserved until there actually is some text is output to the console. This option causes fbcon to bind immediately to the fbdev device. -7. fbcon=logo-pos: +8. fbcon=logo-pos: The only possible 'location' is 'center' (without quotes), and when given, the bootup logo is moved from the default top-left corner From patchwork Mon Aug 26 19:58:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 11116235 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B64FC112C for ; Tue, 27 Aug 2019 07:29:36 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 99A3120828 for ; Tue, 27 Aug 2019 07:29:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 99A3120828 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=axentia.se Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2AC37897C5; Tue, 27 Aug 2019 07:29:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0716.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::716]) by gabe.freedesktop.org (Postfix) with ESMTPS id AF6586E2F3 for ; Mon, 26 Aug 2019 19:59:00 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RRzljwf6/beSMvsGWgUin0Mr0azW4md7lMVeJDYuE9pC6nf5U8tzMMV0RBoD1LENHcpgewjpF0VYl99SQBBxKpgLwSgb0HPBjFptdGOHBS+2Iy9908pbACdr4rZUwC5F8qzhlmbqMBud5FcaocF+hR/e/pf+FbVrK2H5C9y+NkbKBA5XLiJYLQRI/K2UhB3suUhpqMlYMeWuxEYsLOSLbPNs6IpEmMdFoXwIg4entrRYIN4JTr3RKl3TdVqwWp5VwUGCpG9X8nUeCCEIJWI11wIi8S+Orr1Hw/bXS/Z95hIskEjdw/nFzedd/5Bh6BaG2WD4fg96EzfqUcy3qSZubg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r48C9G2I6doSYZhilQaVgfdxXd9WEOXf/GFjchabS4M=; b=T4cM22YhXwPU9O7U5ZwsnFrsftP3LHP39QzjiduOrq6ZK+t//bw8tjuOn9TSuAtj4bXExCpDancr0O+5ZY0eHsUzqOJ9l12wRoKE8cwYlK86Ye6c1ZUib1Rc45TSEWAXajXcMZD8HUleosCJv9AOGj8DwSIZDH3BqH6EssqN6d/9sLAlrtWI6bVNr3UkiSK8k2MYuSx5kheUWjEASxeFkscKdnuk6xMKDASXqPNDHZ7yPwJ31MB2Mkc4eCr/MXkNQjiN9dQilAGh/wBpw0JDKspIEFRSKOI/IT6GJtXFtQ8El2gQb3GHkqqxxbtiWFhyBaCiS7QE1qvU9EBovmS/0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=axentia.se; dmarc=pass action=none header.from=axentia.se; dkim=pass header.d=axentia.se; arc=none Received: from DB3PR0202MB3434.eurprd02.prod.outlook.com (52.134.66.158) by DB3PR0202MB3340.eurprd02.prod.outlook.com (52.134.67.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.18; Mon, 26 Aug 2019 19:58:58 +0000 Received: from DB3PR0202MB3434.eurprd02.prod.outlook.com ([fe80::a0df:d7d9:f95e:f3ea]) by DB3PR0202MB3434.eurprd02.prod.outlook.com ([fe80::a0df:d7d9:f95e:f3ea%3]) with mapi id 15.20.2178.023; Mon, 26 Aug 2019 19:58:58 +0000 From: Peter Rosin To: "linux-kernel@vger.kernel.org" Subject: [PATCH v2 2/3] fbdev: fbmem: allow overriding the number of bootup logos Thread-Topic: [PATCH v2 2/3] fbdev: fbmem: allow overriding the number of bootup logos Thread-Index: AQHVXEiydN7Y70k3jUSZvl39hK1AWQ== Date: Mon, 26 Aug 2019 19:58:58 +0000 Message-ID: <20190826195740.29415-3-peda@axentia.se> References: <20190826195740.29415-1-peda@axentia.se> In-Reply-To: <20190826195740.29415-1-peda@axentia.se> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.11.0 x-originating-ip: [213.112.138.100] x-clientproxiedby: HE1PR0901CA0054.eurprd09.prod.outlook.com (2603:10a6:3:45::22) To DB3PR0202MB3434.eurprd02.prod.outlook.com (2603:10a6:8:5::30) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 365c794a-7de3-43a0-a10a-08d72a5fd542 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DB3PR0202MB3340; x-ms-traffictypediagnostic: DB3PR0202MB3340: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 01415BB535 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(366004)(396003)(39830400003)(136003)(189003)(199004)(8936002)(256004)(316002)(54906003)(26005)(476003)(2616005)(99286004)(102836004)(76176011)(386003)(6506007)(66066001)(52116002)(5640700003)(508600001)(186003)(6436002)(486006)(66946007)(66476007)(66446008)(36756003)(64756008)(66556008)(2351001)(1076003)(6486002)(6916009)(2906002)(50226002)(86362001)(71200400001)(71190400001)(2501003)(53936002)(6512007)(4326008)(25786009)(11346002)(446003)(3846002)(6116002)(305945005)(14454004)(81156014)(81166006)(5024004)(14444005)(5660300002)(7736002)(8676002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB3PR0202MB3340; H:DB3PR0202MB3434.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: l6jgyRjVcYmbXaWS06x6L2ziSOqjiebJWE0Y/JserifjhN5BCa/xxlEv9DOtPz0aL7QBJxmoAvH/a/9hYo1p6ekmRQrWN2XPKKGffhrZYP4RcfjfZqteYWhKRxwxMUfpiKOB/iE1ZiB2s7i2dXo88or7Z7VqCkhNs7n2oWC1YsexYearZA6rmqsHFGgcA3w9PvtLZ7woEwO0jeVLs5+vjMjFK51oBY6ZQsdGaL4NjHJ1fz1+igS3jFOryCiS4udf3D37azgkHbAxCYUznf5rUlA0gaA4G/99LiBl05lZ1jcUQnsuDG1AwVPQLKVGe0F2IBwHpkTU0/yCHLlp5LMQEj4TKFkUGpkvb8ZVb0I5q7hDXMNl95LPVnWU8u0gQHw/Tc0e8E+33F/NSSEKK1cfF5gcDrdv8pO0pX6cyM3X0Dg= MIME-Version: 1.0 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: 365c794a-7de3-43a0-a10a-08d72a5fd542 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2019 19:58:58.6526 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Ffz/OaaPPIlQqPQFeossdHYIMwCeTNjOLUNmf6dQeWhOQyQZAD5T9SuWwE7uJOno X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0202MB3340 X-Mailman-Approved-At: Tue, 27 Aug 2019 07:29:19 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r48C9G2I6doSYZhilQaVgfdxXd9WEOXf/GFjchabS4M=; b=cK4obFu0JaYJvAXAxs0++rP4HhqiIaDmrUu38U8CQsVVZ7eJVcE4s97Zueb/e/K4QFA2E3jJTHcvU0OodROg/CRwgLNO1PJjHIIK9L+pRKrpKv98upto1iAwkxskijS9fVsYNhxw+nE8GM1+F/qEV/84wHC+BYRMJi14eEuu1cQ= X-Mailman-Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "linux-fbdev@vger.kernel.org" , Jonathan Corbet , "linux-doc@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Bartlomiej Zolnierkiewicz , Matthew Wilcox , Peter Rosin Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Probably most useful if you only want one logo regardless of how many CPU cores you have. Signed-off-by: Peter Rosin --- Documentation/fb/fbcon.rst | 5 +++++ drivers/video/fbdev/core/fbcon.c | 7 +++++++ drivers/video/fbdev/core/fbmem.c | 4 +++- include/linux/fb.h | 1 + 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Documentation/fb/fbcon.rst b/Documentation/fb/fbcon.rst index 65ba40255137..9f0b399d8d4e 100644 --- a/Documentation/fb/fbcon.rst +++ b/Documentation/fb/fbcon.rst @@ -174,6 +174,11 @@ C. Boot options displayed due to multiple CPUs, the collected line of logos is moved as a whole. +9. fbcon=logo-count: + + The value 'n' overrides the number of bootup logos. Zero gives the + default, which is the number of online cpus. + C. Attaching, Detaching and Unloading Before going on to how to attach, detach and unload the framebuffer console, an diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c index c9235a2f42f8..be4bc5540aad 100644 --- a/drivers/video/fbdev/core/fbcon.c +++ b/drivers/video/fbdev/core/fbcon.c @@ -536,6 +536,13 @@ static int __init fb_console_setup(char *this_opt) fb_center_logo = true; continue; } + + if (!strncmp(options, "logo-count:", 11)) { + options += 11; + if (*options) + fb_logo_count = simple_strtoul(options, &options, 0); + continue; + } } return 1; } diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fbmem.c index 64dd732021d8..a7d8022db516 100644 --- a/drivers/video/fbdev/core/fbmem.c +++ b/drivers/video/fbdev/core/fbmem.c @@ -56,6 +56,8 @@ EXPORT_SYMBOL(num_registered_fb); bool fb_center_logo __read_mostly; EXPORT_SYMBOL(fb_center_logo); +unsigned int fb_logo_count __read_mostly; + static struct fb_info *get_fb_info(unsigned int idx) { struct fb_info *fb_info; @@ -689,7 +691,7 @@ int fb_show_logo(struct fb_info *info, int rotate) int y; y = fb_show_logo_line(info, rotate, fb_logo.logo, 0, - num_online_cpus()); + fb_logo_count ?: num_online_cpus()); y = fb_show_extra_logos(info, y, rotate); return y; diff --git a/include/linux/fb.h b/include/linux/fb.h index 303771264644..5f2b05406262 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -630,6 +630,7 @@ extern int fb_new_modelist(struct fb_info *info); extern struct fb_info *registered_fb[FB_MAX]; extern int num_registered_fb; extern bool fb_center_logo; +extern unsigned int fb_logo_count; extern struct class *fb_class; #define for_each_registered_fb(i) \ From patchwork Mon Aug 26 19:59:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 11116233 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EAC98112C for ; Tue, 27 Aug 2019 07:29:30 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D270520828 for ; Tue, 27 Aug 2019 07:29:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D270520828 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=axentia.se Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 87287897DC; Tue, 27 Aug 2019 07:29:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70108.outbound.protection.outlook.com [40.107.7.108]) by gabe.freedesktop.org (Postfix) with ESMTPS id A12A36E2F5 for ; Mon, 26 Aug 2019 19:59:04 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lIn7ndJNEyECxfxfEPcAnWmXHC47wB2l08anrxiEkkzXdtZBwn6bn62BOVA5HOBGy/jZ+sU9GVBPVcCEyhDh1RCqArRALPBJfaxyumOUQ6vIYwlrzd6CJM1r0A4l1+i0ZnowCrx6fIOImwSdexqDXUgvnK7NRoX5svBuUBf1j33zu5m6qmqZoA1tgmwfv+YDh4hqpGAXwrzht0Sb5zbGoN/1PtCaxsp8NPjbcF26llq+KW001Mnm1t/If6VKdr2D02aSDDrjZzMOuxArG0k2czNEoNVpKx0lKCvvPtbEDzvbat1JOODlaegStPDNsRWQkYt9qXqoQD7TDhcd73OBvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1MbhNTXPO54Q94aVZE1Dy3M9rRyzC1l5DJov7oEsDgs=; b=EY0xTIaWJY3nWYx0eqXqmUVOf7nYFYZYFCxUnGj9LBpUtATnXLgZM3qx3KDCd33X+i+9ERI3X2bWDzzdLiHDH6rTc4dZuyKxrm7e8eLpI2FIIP8phuCBJaoNjGa/nMegn9ZaFu8kv+TLIPrexUkojXhO4VTSIfaRUkpynT1yVtfxCG+s5SPVffatEa7bbta2OSOt01rniRYgO3v5Iy510wT3yXsc6fNJrlGCiXuRSvioeVLFXjo7MjLE96UBZ1c3rpqvrfD0+T2UoXEj7CLsyLT/5zNHjM6PSnCLV+n85v/USY6TF9h6kf9p9ugrwXhpFEVk7TXb7S5F7m9bgVnIrA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=axentia.se; dmarc=pass action=none header.from=axentia.se; dkim=pass header.d=axentia.se; arc=none Received: from DB3PR0202MB3434.eurprd02.prod.outlook.com (52.134.66.158) by DB3PR0202MB3340.eurprd02.prod.outlook.com (52.134.67.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.18; Mon, 26 Aug 2019 19:59:02 +0000 Received: from DB3PR0202MB3434.eurprd02.prod.outlook.com ([fe80::a0df:d7d9:f95e:f3ea]) by DB3PR0202MB3434.eurprd02.prod.outlook.com ([fe80::a0df:d7d9:f95e:f3ea%3]) with mapi id 15.20.2178.023; Mon, 26 Aug 2019 19:59:02 +0000 From: Peter Rosin To: "linux-kernel@vger.kernel.org" Subject: [PATCH v2 3/3] fbdev: fbmem: avoid exporting fb_center_logo Thread-Topic: [PATCH v2 3/3] fbdev: fbmem: avoid exporting fb_center_logo Thread-Index: AQHVXEi1s/RzebcL0EaG+mipfctuhg== Date: Mon, 26 Aug 2019 19:59:02 +0000 Message-ID: <20190826195740.29415-4-peda@axentia.se> References: <20190826195740.29415-1-peda@axentia.se> In-Reply-To: <20190826195740.29415-1-peda@axentia.se> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.11.0 x-originating-ip: [213.112.138.100] x-clientproxiedby: HE1PR0901CA0054.eurprd09.prod.outlook.com (2603:10a6:3:45::22) To DB3PR0202MB3434.eurprd02.prod.outlook.com (2603:10a6:8:5::30) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8dd4ea91-4e4a-483b-546f-08d72a5fd789 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DB3PR0202MB3340; x-ms-traffictypediagnostic: DB3PR0202MB3340: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1775; x-forefront-prvs: 01415BB535 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(366004)(396003)(39830400003)(136003)(189003)(199004)(8936002)(256004)(316002)(54906003)(26005)(476003)(2616005)(99286004)(102836004)(76176011)(386003)(6506007)(4744005)(66066001)(52116002)(5640700003)(508600001)(186003)(6436002)(486006)(66946007)(66476007)(66446008)(36756003)(64756008)(66556008)(2351001)(1076003)(6486002)(6916009)(2906002)(50226002)(86362001)(71200400001)(71190400001)(2501003)(53936002)(6512007)(4326008)(25786009)(11346002)(446003)(3846002)(6116002)(305945005)(14454004)(81156014)(81166006)(14444005)(5660300002)(7736002)(8676002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB3PR0202MB3340; H:DB3PR0202MB3434.eurprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: vNp2caZncq4smv0/uWsmT+TZHCmJebTsosLmLCEs0zS7ME7nqAs3ldx52jjWPdFwIH5RPu0x1LfEpEgzrL0LKjXX+BF5Lk8mtxaYg6VI+gXS8vK374uV4N34SY0+cUCOfruKHs99+DiuYUG0oiXMmjAnoM4E8lbGEg0EqDen6K77/1GdtSg+io0x/EsyJ1u2zACiaFyNGUAkbcWTxfLCYDx5RIoiT2qblTnVgz8DjNm2kIgEJ8oZyXpPWG5Ka87sfQwtfOXea+8qkWyzbFduVHVR9C/aj4vJwa8udcqrs1gs0keHdLGXAYlFtcAMhk573DQZsFsqWxlsgGB9H8jn4+QaX28JoLdfGiCawHhFm/Zw9hAMAIw5tEfYJbjcjqs+eOXUBjm+bSc6lZ2AeCLazvip2VANuh0WPVexx9gVeHI= MIME-Version: 1.0 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: 8dd4ea91-4e4a-483b-546f-08d72a5fd789 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2019 19:59:02.5094 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zCnlJx5ClcUIro4NIuPpWNtCl4f1jcwfY1daPzEgRUq03i5DwMr9Q1Tc7KIkCcAX X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0202MB3340 X-Mailman-Approved-At: Tue, 27 Aug 2019 07:29:19 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1MbhNTXPO54Q94aVZE1Dy3M9rRyzC1l5DJov7oEsDgs=; b=ojnB0ZJIxq5VoegcD6W9xPD5mNoluM8SvdzH/ppJzOuc5kQ4hkI8MZmMVZX+ntz/vod0aUQvXPOCdmcEygMZyD72di0PxZ3YtKMmUJ2PF8CffaQkFWJDjuchcPhz9VDJrrZb6jZLMnK9HCmBwQEi1jOhu/HM5TR5POvijssmH9g= X-Mailman-Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "linux-fbdev@vger.kernel.org" , Jonathan Corbet , "linux-doc@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Bartlomiej Zolnierkiewicz , Matthew Wilcox , Peter Rosin Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The variable is only ever used from fbcon.c which is linked into the same module. Therefore, the export is not needed. Signed-off-by: Peter Rosin --- drivers/video/fbdev/core/fbmem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fbmem.c index a7d8022db516..17e250a515b0 100644 --- a/drivers/video/fbdev/core/fbmem.c +++ b/drivers/video/fbdev/core/fbmem.c @@ -54,7 +54,6 @@ int num_registered_fb __read_mostly; EXPORT_SYMBOL(num_registered_fb); bool fb_center_logo __read_mostly; -EXPORT_SYMBOL(fb_center_logo); unsigned int fb_logo_count __read_mostly;