[PATCH] ARM: shmobile: defconfig: Restore graphical consoles

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Jul 12 05:04:08 PDT 2021


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 at 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



More information about the linux-arm-kernel mailing list