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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 5046AC07E99 for ; Mon, 12 Jul 2021 12:04:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2FF006044F for ; Mon, 12 Jul 2021 12:04:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233505AbhGLMHo (ORCPT ); Mon, 12 Jul 2021 08:07:44 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:52420 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233266AbhGLMHo (ORCPT ); Mon, 12 Jul 2021 08:07:44 -0400 Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0EA4ECC; Mon, 12 Jul 2021 14:04:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1626091495; bh=TTgbQ20lD7T8X2zcMZwTTXP7nfzHFtWNqcGcOAAqUHE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p6t6+1wi5cRu2axRskIW2V/ue8cWUVcAYYuZa8uQ0GY+XcVebnpvl6R3s9HBBQfcT 2fJqGzr1s/YaDcaxUbwYr6XbHpC6178KR/JwLtXSh4EkAkHkpF1+0Mu/5b/zdtxKNW 5KJgUl7hJ3v03B/6rw6VCfOF8zk+VZPhi7rL6cZ0= Date: Mon, 12 Jul 2021 15:04:08 +0300 From: Laurent Pinchart To: Geert Uytterhoeven Cc: Magnus Damm , Kieran Bingham , Linux-Renesas , Linux ARM Subject: Re: [PATCH] ARM: shmobile: defconfig: Restore graphical consoles Message-ID: References: <2a4474be1d2c00c6ca97c2714844ea416a9ea9a9.1626084948.git.geert+renesas@glider.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Hi Geert, On Mon, Jul 12, 2021 at 01:49:26PM +0200, Geert Uytterhoeven wrote: > On Mon, Jul 12, 2021 at 1:44 PM Laurent Pinchart > wrote: > > On Mon, Jul 12, 2021 at 01:35:34PM +0200, Geert Uytterhoeven wrote: > > > On Mon, Jul 12, 2021 at 1:25 PM Laurent Pinchart wrote: > > > > On Mon, Jul 12, 2021 at 12:16:57PM +0200, Geert Uytterhoeven wrote: > > > > > As of commit f611b1e7624ccdbd ("drm: Avoid circular dependencies for > > > > > CONFIG_FB"), CONFIG_FB is no longer auto-enabled. While CONFIG_FB may > > > > > be considered unneeded for systems where graphics is provided by a DRM > > > > > driver, R-Mobile A1 still relies on a frame buffer device driver for > > > > > graphics support. > > > > > > > > > > Restore support for graphics on R-Mobile A1 and graphical consoles on > > > > > DRM-based systems by explicitly enabling CONFIG_FB in the defconfig for > > > > > Renesas ARM systems. > > > > > > > > Does anyone still care about the Armadillo board ? > > > > > > I do. It's my only Renesas board with graphical output ;-) > > > > I recommend a VGA or HDMI monitor :-) The sh-mobile-lcdcfb driver is > > unmaintained. If nostalgia is a big enough drive factor, you could try > > converting R-Mobile A1 to the shmob-drm driver :-) > > I'll do so as soon as drivers/gpu/drm/shmobile has gained DT support... The fbdev driver doesn't have DT support either. And patches are welcome for shmob-drm ;-) > > > > This being said, I think CONFIG_FB should be added , but for a different > > > > reason. There's no KMS console driver, so the only option we have today, > > > > even when a KMS driver is available, is to go through FBDEV emulation, > > > > which requires CONFIG_FB to be enabled. > > > > > > That's covered by "Restore [...] graphical consoles on DRM-based > > > systems", right? > > > > I had read the commit message as implying that a graphical console can > > be available without FB when a KMS driver is available. > > I was wondering if you still wanted a graphical console on top of a > DRM driver... Same answer for DRM and FBDEV, it's about whether you want a graphical console or not. The underlying API doesn't matter (I wish we had a kmscon). -- Regards, Laurent Pinchart