From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3519C433EF for ; Thu, 9 Sep 2021 16:27:11 +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 93624604E9 for ; Thu, 9 Sep 2021 16:27:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 93624604E9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=tronnes.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D14546E8B7; Thu, 9 Sep 2021 16:27:10 +0000 (UTC) Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 30E306E8B7 for ; Thu, 9 Sep 2021 16:27:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org ; s=ds202012; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:Subject:References:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8fM6t+CZ3TSxl0jBQrfAnRu3bSUr2tc6gGURbxgCLUE=; b=bBMePvtXPp4cKRU4T+oMuLswT2 dt1suHpjoK6DJwdogL2e0UPXWwhm27R1p3yJQcnovDCNgpw8xIhlsDv+GZozryPolrukMuKgpt+eB nvElMCPOqCPCt4nCzA+9k60oM9h6czLRJ1kMaM8A6nXFiCqt9IgtTwS6n2dmhY8K7q8r3L2sdFrRf OlcP5FW5vXrKjJFD9fjnRKbebaZgmDIyWotaxBFDqBLXJrJIGZBZH30bAxCYD1GVzbUcTEzCnyDh8 a9WElTR2qa8BGnfjA07wpjgdrgiXOtQR7/Yyjqz3zgu7V6PYfRwhtOpQDvye4B5oCdpRds17Fevvc LKna/I2A==; Received: from 211.81-166-168.customer.lyse.net ([81.166.168.211]:49957 helo=[192.168.10.61]) by smtp.domeneshop.no with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mOMtG-0002FB-Ip; Thu, 09 Sep 2021 18:27:06 +0200 To: noralf@tronnes.org Cc: airlied@linux.ie, bp@alien8.de, dri-devel@lists.freedesktop.org, gregkh@linuxfoundation.org, hdegoede@redhat.com, hpa@zytor.com, javierm@redhat.com, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, maarten.lankhorst@linux.intel.com, mingo@redhat.com, mripard@kernel.org, pbrobinson@gmail.com, sam@ravnborg.org, tglx@linutronix.de, tzimmermann@suse.de, x86@kernel.org References: <2527f0ef-dae1-9ad5-84a4-00712c44940d@tronnes.org> Subject: Re: [RFC PATCH 0/4] Allow to use DRM fbdev emulation layer with CONFIG_FB disabled From: =?UTF-8?Q?Noralf_Tr=c3=b8nnes?= Message-ID: Date: Thu, 9 Sep 2021 18:27:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <2527f0ef-dae1-9ad5-84a4-00712c44940d@tronnes.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" > > Hi Daniel, > > > > > > > > I think for a substantial improvement here in robustness what you really > > > want is > > > - kmscon in userspace > > > - disable FB layer > > > - ideally also disable console/vt layer in the kernel > > > - have a minimal emergency/boot-up log thing in drm, patches for that > > > floated around a few times > > > > I assume you refer to this work by David Herrmann: > > "[RFC] drm: add kernel-log renderer" > > https://lists.freedesktop.org/archives/dri-devel/2014-March/055136.html > > > > There's also this: > > [PATCH v2 0/3] drm: Add panic handling > https://lore.kernel.org/dri-devel/20190311174218.51899-1-noralf@tronnes.org/ And here's a DRM console example that was part of the early drm_client work: [RFC v4 25/25] drm/client: Hack: Add DRM VT console client https://lore.kernel.org/dri-devel/20180414115318.14500-26-noralf@tronnes.org/ Noralf.