Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6106939imm; Wed, 27 Jun 2018 02:17:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ7GsTJ5sd5rFVF36URghQ8U4n/koBmTKN/aecwDHOaBrUaMCExBouz9oGnwPCWARBZF83r X-Received: by 2002:a65:6211:: with SMTP id d17-v6mr4555938pgv.450.1530091046781; Wed, 27 Jun 2018 02:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530091046; cv=none; d=google.com; s=arc-20160816; b=Bd70WkbbFRpZTrHpQUtFGqxTXrO8IYKLODLqbawGts6yru2V88HRn6iFnQAj2J/fPd mNfWWWMQtKW4vtCH5ThiGmocG5UfuAx4XYUxdOXdv02HzBQUHfs5m91dxpR3BVi0MA4Z IVvk+VHGUFcdGX+q5HbesJdhkFF48l+LONliZlTcD0/xYS6XL7atz7Bh2KOCYP+2CNlp u6OgIa0456OSA4bogeN6uB26kAUddxdEypNSmh0m/xBwTd+bWc+ONUaWOAigqfqKVtQZ FRQxXg0tt9/wBJ/vHNHeHtm2hg+VKVyPF7iC67Vbtu4kNH/w9zEjJ0hBNxMpOvDApz7j vrJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=ski9bcVTStW4Ks3f/BVI8QJdbGUjZk0lqYAzJFroNpQ=; b=RgS5jBbhjA+XQZqTekMCBpWuNkVEUXsfDd1iBbIy8PvI26UNgNQekcBadWdGGDv4z0 nscz3Vi6hgpeqZPan2HHK9TeO8lck61iwYeUU0pa0pVOlno93eqEDexkplRMwMpaS5Qe Fq+kPGWA1uf78dUeLkdpju/1PxgUMJZdirTcFjiNDgey0aUjEuyq6sso3i68QyUgSihT OI5kpT1hdvpCPO3ccctdX0ZEe+crPizuHiaa6kzTcxPIcr6LcQxleeoNHQ2v8dIYOd6P zKGScEmOa4psUCR8Kb93M7y58J1jq4uilD0tjwl12xXxwZbYNPrp9xVTIGzFUEjUyVOI dy3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=SLQDOBDc; 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 q9-v6si3550791pll.370.2018.06.27.02.17.09; Wed, 27 Jun 2018 02:17:26 -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; dkim=fail header.i=@ffwll.ch header.s=google header.b=SLQDOBDc; 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 S933958AbeF0JP2 (ORCPT + 99 others); Wed, 27 Jun 2018 05:15:28 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:38040 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932877AbeF0JPZ (ORCPT ); Wed, 27 Jun 2018 05:15:25 -0400 Received: by mail-ed1-f67.google.com with SMTP id a5-v6so2648235edt.5 for ; Wed, 27 Jun 2018 02:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=ski9bcVTStW4Ks3f/BVI8QJdbGUjZk0lqYAzJFroNpQ=; b=SLQDOBDcxYCA/8mSU5GYJdgy6W5PLeTIsvo9+/MBv+NhU/aGXaErM1tWLOQxeDkaQN OYRu+AWDiEB5PAixTmj65AxacmGKHd26ZrMlW97Fx5aAoEPWIpFJBl3CI+j/zOb28392 V8KbXaOyHhjWJw+7KXrOb5mMGKxPr9R8BHIEg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=ski9bcVTStW4Ks3f/BVI8QJdbGUjZk0lqYAzJFroNpQ=; b=XFJTfKPdrF53XxpS/vDXT1JT28bxgc8YufXeFbH34iCsTTWG8F0lG/LznL/PgJmkFG FS6Y7EJXux7uNMEmwZ6kZbeoGYbTTlBfowVq7KBnvWV0w619IcVCq7mb3Ib4wh1U+lfo tEMWy9vBwwimjHvrlgN6v6A6ITPd7Uo7BADcNKH8xxxm/n6jflgP6ok1nb6rUyNPVP7t 6Qdt3DVcdREKkUxkgJXyR+UXptPnnbGUia59FYjY226whGS3EbY+x+2ieMZMFyv+TJe/ rzKxQwpg4nfmL6OEUQ2NRMBX4T0M+hTR6hfUp+aZr1kUUvkCZSxryEq9kG/ZUgf/RHw6 4Z2A== X-Gm-Message-State: APt69E0GGFDSLt4UWehixGyKickYfAjRZqPlLwYtP18ea7/PCp75NigG Zvc8fRVh/QLR04FDVyj45Kt8jg== X-Received: by 2002:a50:88c2:: with SMTP id d60-v6mr4766610edd.281.1530090924271; Wed, 27 Jun 2018 02:15:24 -0700 (PDT) Received: from phenom.ffwll.local (212-51-149-109.fiber7.init7.net. [212.51.149.109]) by smtp.gmail.com with ESMTPSA id m10-v6sm1714053edp.57.2018.06.27.02.15.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Jun 2018 02:15:23 -0700 (PDT) Date: Wed, 27 Jun 2018 11:15:20 +0200 From: Daniel Vetter To: Hans de Goede Cc: Bartlomiej Zolnierkiewicz , Petr Mladek , Sergey Senozhatsky , linux-fbdev@vger.kernel.org, Steven Rostedt , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/3] console/fbcon: Add support for deferred console takeover Message-ID: <20180627091520.GI13978@phenom.ffwll.local> Mail-Followup-To: Hans de Goede , Bartlomiej Zolnierkiewicz , Petr Mladek , Sergey Senozhatsky , linux-fbdev@vger.kernel.org, Steven Rostedt , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20180626183612.321-1-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180626183612.321-1-hdegoede@redhat.com> X-Operating-System: Linux phenom 4.16.0-2-amd64 User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 26, 2018 at 08:36:09PM +0200, Hans de Goede wrote: > Hi All, > > Here is v4 of my 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. > > This patch-set 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? > > Changelog: > > Changes in v4: > -Keep the comments about which fbcon functions need locks in place > > Changes in v3: > -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) > > Changes in v2: > -Check the whole string when checking for erases in putcs, instead of just > the first char > -Make dummycon_blank return 1, so that a redraw gets triggered and any text > rendered while blanked gets output so that it can trigger a deferred > takeover if one is pending Wrt merging I think it'd be best if we stuff this into drm-misc-next - that will increase testing by gpu drivers a lot, instead of a suprise when the fbdev pull lands in upstream. Bart, is that ok with you? Hans, if Bart acks this you can directly push this imo. -Daniel > > Regards, > > Hans > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch