Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6413638imm; Wed, 27 Jun 2018 07:21:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLekFvq2nmj+hULM67mObtilU3BDnZuSZDYopwv5fXHb9Ob6cegEp9nn1AMFjVB8mrUx4M6 X-Received: by 2002:a17:902:5a0c:: with SMTP id q12-v6mr6276146pli.300.1530109265390; Wed, 27 Jun 2018 07:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530109265; cv=none; d=google.com; s=arc-20160816; b=zMD2esmwDsE85669kFidmjUABtlzV2P/nX8N9nmOT6s+n7z6qCpknNNibVVmhtGe3C Iqeljx6Ogi1qughog32taRpyrgmpcHnvS1UyhGnGLZa2xD3v6zE4ZehxwMLWlqtgay2O 8o+uJMvY5JBuLVDgiNHauFmSPmrcFfTYDKqdL4sMonL0QLqxROEQrFnFzbpLrJVdF3bP oewBuR4G9rt5PuAqh/shH5IBBrN9TATaKL3y+ayI+Trkt2H5x7I5IqYQYdXxBXsgAahd /W8X8AmSNPqjeyoTPSY6NhEhzge2LujDrK3xSY9qZpnzgzUDRKKXUgq9HKVQvRDWsD4R ijyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Fda9fGvfyCPa9rSrrA5BMQzltWleBHcm5jvnX39Puvo=; b=kPmDg12BJpXTY+ZFZ5TmkcCbz+HMVzushPtQ/aTmWfQn+271DUgddgLCq6kQ1ajKLo dKzrR5g5fsLRJfMwZ0MVVjcTy4xCQN6CP8xJziuOlwoEY1Sq4RS5gHPwwtkxEkbhnJWA Qgkeq1RPrHHAMUqRUMoNCFj7wXrS/LXwE0/JHACA5Vwjr2NdmbCe1evph8+kDXYyJYOg 7U7wnxRT1SGJiPVYLyHf8IUjXno+jM1BKRz/wQDjf46bOEEB1dYaDKtb/SbxY1nBVSVj 8VakOa/vsrXrJddHGU0MGlntJ3zWrgA6udaDFAa0Q9xdUOF9IUE3ThufLSiGbrNErP+7 hkzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=Jo2D6ZnU; 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 p8-v6si3922245pfh.249.2018.06.27.07.20.50; Wed, 27 Jun 2018 07:21:05 -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=Jo2D6ZnU; 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 S965111AbeF0OPt (ORCPT + 99 others); Wed, 27 Jun 2018 10:15:49 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:39330 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933869AbeF0OPq (ORCPT ); Wed, 27 Jun 2018 10:15:46 -0400 Received: by mail-it0-f68.google.com with SMTP id p185-v6so7657283itp.4 for ; Wed, 27 Jun 2018 07:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Fda9fGvfyCPa9rSrrA5BMQzltWleBHcm5jvnX39Puvo=; b=Jo2D6ZnUinqXfR6PbpVkWr70CWL16gaoI3WIFF/EhwukyAKXqBgdGO0fURyejqONOd 9hKOjy8yFwBvup/fB86yxwkeyzNkktgGqyzfBpK3R3JRwd0tEBNlWcwPZg8NH0A5UHAJ 4T2Kq6JfGYa6gbKoPRpmuigtleOOFUCHlDYWk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Fda9fGvfyCPa9rSrrA5BMQzltWleBHcm5jvnX39Puvo=; b=tTuw8u55s7LlFhAFtFF9c0Cs0nN2UDMgHY8aNZPzpnHAdgo139cAzFSROuSIHNGPp8 8ZqStEEPIsJ9MMa8csngqaVPVZ+ZrBs3v0uo34jRx3dNACn29MiGnOh7L8jcxhh5APkM i+9KcKg1TsLghRNaExaafyncC5LqCa2kb7ii09axb1tG0X6MAkXHRdlvTZpXY8lMM7+l 2iI3FNbvyeBxCInfOH0CsTlxzhifG/6hCsX0UGV/jlKCPzQFo/cnC8GfUL1nBr3WVtNu JNQoFOySYtfqNurl0SYlsKqyo4fWw1+2smAMVgIT7GgA8JiHN0RfgdsDi2Fw229bul+A QGnw== X-Gm-Message-State: APt69E0yjrkgljVFCo8cuj4YeXK1+2OBzIQSlPGnvCWw+CEQShEfZOgB hrG671TdCrRk8lWAlSO2/gA8Bv+PR84Q1Tln0xZsHg== X-Received: by 2002:a24:52:: with SMTP id 79-v6mr5150184ita.58.1530108945867; Wed, 27 Jun 2018 07:15:45 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:e48b:0:0:0:0:0 with HTTP; Wed, 27 Jun 2018 07:15:45 -0700 (PDT) X-Originating-IP: [212.51.149.109] In-Reply-To: <84977ce7-bfee-523a-852f-defc0243b520@redhat.com> References: <20180626183612.321-1-hdegoede@redhat.com> <20180627091520.GI13978@phenom.ffwll.local> <66532157.tkLS2buF0U@amdc3058> <84977ce7-bfee-523a-852f-defc0243b520@redhat.com> From: Daniel Vetter Date: Wed, 27 Jun 2018 16:15:45 +0200 X-Google-Sender-Auth: j-XS6qni04AU2oTDTC9JDofyBLQ Message-ID: Subject: Re: [PATCH v4 0/3] console/fbcon: Add support for deferred console takeover To: Hans de Goede Cc: Bartlomiej Zolnierkiewicz , Petr Mladek , Sergey Senozhatsky , Linux Fbdev development list , Steven Rostedt , dri-devel , Linux Kernel Mailing List 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 On Wed, Jun 27, 2018 at 1:13 PM, Hans de Goede wrote: > Hi, > > > On 27-06-18 11:47, Bartlomiej Zolnierkiewicz wrote: >> >> On Wednesday, June 27, 2018 11:15:20 AM Daniel Vetter wrote: >>> >>> 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? >> >> >> Not really, since there are efifb changes in the queue which depend >> on this series I would really prefer to merge all patches through >> fbdev tree. >> >> Also fbdev tree is pulled into -next kernels so testing coverage >> should be okay (I assume that everybody are testing -next kernels in >> addition to their own branches :-).. Ime this is a rather unrealistic assumption ... > If you are talking about the "efifb: Copy the ACPI BGRT boot graphics to the > framebuffer" series, I could push those to drm-misc-next too (once acked). > > I think most GPU driver developers are running drm-tip and not > -next, so putting things in drm-misc-next would give the changes somewhat > more test-exposure on a wider range of GPUs I believe. Where as -next > testing will likely be more server use-case oriented. > > Alternatively you could merge things in the fbdev tree, do an > unmutable branch and then that could be merged into drm-misc-next by > the drm-misc-next maintainers. > > Note either way is fine with me. This is up to you and Daniel. Yeah pull request for a topic branch works too. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch