Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5302247imm; Tue, 26 Jun 2018 09:01:41 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJRuxVuKzG+sKHYT5DRvuUc6LCh14dqRYDeiyyPOqU0G6lCt0NhsQs0y5FPeQUEaqThDkcx X-Received: by 2002:a63:4b1f:: with SMTP id y31-v6mr1971543pga.14.1530028901693; Tue, 26 Jun 2018 09:01:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530028901; cv=none; d=google.com; s=arc-20160816; b=YXxihyKy7ji265V3zcB+ugjC0FYKPoUuqpQXzZvIzOKwadkqGd7Dsosz55rkr2uYIW be897b2sXQOGLldeW8L/Vo5yAxk7ZHSWyKch1xnLAjiimCZ5u5aQwjL4svM2q1/UN+46 MIzl/+BdPcyXLItWpNbDbPzwYnuAJSCaOy8hdDd38ByjQEDFVDDxmW3j+xCHXkBoLbQw 4de6AWH33wPP6XKksEvJLNxaTGXlQ2enl67F9N4HgxpQqCwxotSweBXEZZJZ3P1m4Sr4 rqMeLx1Sj1qvwM+hQT27+C2sUT5516NslSVWF6avMDAKMEeUdREWC4xJd14+++HLsIG0 xg6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=i184d9HfhnI7t2KraaqvhDETEJQdelNbi0UmhBQ1eMw=; b=zWilDUmBgAJ5kLAgBBmlxMl7iCPdML8acxQ9x90eshV35fqcKpv6oZAv6De50y54lV n+uWntxrdDjWlhmGcBSb41aIl3s6HrdtsmlU06kPCWcUCEZOiBFg+DA5ebwg2a7mTLCd vIaEaI6/mGtPRmMwWNS87dYTuTESJSNGhANAJwRyJ/IcKpFEwchra9ehhYMjYztLwUPI yrQDU1zrMdpA95VT19H4ubkBBnKRTR3ugj+dyc73sP4CvPBRnpFMs8gFcbOod7G3YueK GhuxcCMnI6URjMjDFs/Hr8vv9WguqMS5590MHaA3IaQIpYJ3yUP+L/PjX3FFEMk27TDk I8JQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3-v6si1584823pga.609.2018.06.26.09.01.27; Tue, 26 Jun 2018 09:01:41 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965679AbeFZNzk (ORCPT + 99 others); Tue, 26 Jun 2018 09:55:40 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:57954 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965621AbeFZNzi (ORCPT ); Tue, 26 Jun 2018 09:55:38 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EAA2040753AB; Tue, 26 Jun 2018 13:55:37 +0000 (UTC) Received: from shalem.localdomain.com (ovpn-116-227.ams2.redhat.com [10.36.116.227]) by smtp.corp.redhat.com (Postfix) with ESMTP id B37302156880; Tue, 26 Jun 2018 13:55:36 +0000 (UTC) From: Hans de Goede To: Bartlomiej Zolnierkiewicz , Petr Mladek , Sergey Senozhatsky Cc: Hans de Goede , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, Steven Rostedt , linux-kernel@vger.kernel.org Subject: [PATCH v3 0/3] console/fbcon: Add support for deferred console takeover Date: Tue, 26 Jun 2018 15:55:32 +0200 Message-Id: <20180626135535.2990-1-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Tue, 26 Jun 2018 13:55:38 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Tue, 26 Jun 2018 13:55:38 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'hdegoede@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, Here is v3 of my patch, now patch-set, to delay fbcon taking over the console (and binding to fbdev devices) until there actually is some text output to the console. This is intended for use with the "quiet" cmdline option, in combination with a bootloader which leaves the vendor's logo / EFI bootgraphics put up by the firmware intact on the EFI framebuffer. The end goal here is a boot where the firmware shows its boot graphics and these stay in place for a couple of seconds until the GUI loads and the GUI then smoothly takes over the framebuffer without any distruptions. New in v3 are the following changes: -Export is_console_locke() for use in modules (as fbcon may be built as a .ko) -Use WARN_CONSOLE_UNLOCKED() in several places in the fbcon code to assert proper locking (requested by Daniel) -Unregister the fbcon-dummycon-output-notifier on fbcon_exit() (req. by Daniel) -Document the fbcon=nodefer commandline option (req. by Emil) These changes mean that this patch-set now spans 2 subsystems. Petr, the printk subsys change is really trivial (1 line addition) can we get your Acked-by for merging all 3 patches through the fbdev tree? Regards, Hans