Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Magnus Damm <magnus.damm@gmail.com>,
	Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
	Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] ARM: shmobile: defconfig: Restore graphical consoles
Date: Mon, 12 Jul 2021 15:04:08 +0300	[thread overview]
Message-ID: <YOwvuA2Gf+0OT8fp@pendragon.ideasonboard.com> (raw)
In-Reply-To: <CAMuHMdWNwHxM3a0T1RWx9mzbQmZocWV0b3QsHQiWs341THnSVQ@mail.gmail.com>

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
> <laurent.pinchart@ideasonboard.com> 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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      reply	other threads:[~2021-07-12 12:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-12 10:16 [PATCH] ARM: shmobile: defconfig: Restore graphical consoles Geert Uytterhoeven
2021-07-12 11:24 ` Laurent Pinchart
2021-07-12 11:35   ` Geert Uytterhoeven
2021-07-12 11:43     ` Laurent Pinchart
2021-07-12 11:49       ` Geert Uytterhoeven
2021-07-12 12:04         ` Laurent Pinchart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YOwvuA2Gf+0OT8fp@pendragon.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=geert@linux-m68k.org \
    --cc=kieran.bingham+renesas@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox