On Wed, 18 Nov 2026 at 23:57, Ville Syrjälä
<[email protected]> wrote:
> On Thu, Nov 19, 2026 at 12:39:11AM +0200, Laurent Pinchart wrote:
> > On Thu, Nov 19, 2026 at 12:32:15AM +0200, Ville Syrjälä wrote:
> > > On Thu, Nov 19, 2026 at 12:11:14AM +0200, Laurent Pinchart wrote:
> > > > On Wed, Nov 18, 2026 at 11:45:17PM +0200, Ville Syrjala wrote:
> > > > > From: Ville Syrjälä <[email protected]>
> > > > >
> > > > > Make DRM_RCAR_VSP selectable with COMPILE_TEST=y, and enable the
> > > > > hidden
> > > > > DRM_RCAR_WRITEBACK option by default, so the VSP and writeback code
> > > > > gets
> > > > > built for greater coverage. Builds fine on x86, x86_64, arm and arm64
> > > > > at
> > > > > least.
> > > >
> > > > Let's see what build bots will report on more exotic architectures. I
> > > > may volunteer you to send a fix if I'm too busy when the builders start
> > > > yelling :-)
> > > >
> > > > > Cc: Laurent Pinchart <[email protected]>
> > > > > Cc: Tomi Valkeinen <[email protected]>
> > > > > Cc: Kieran Bingham <[email protected]>
> > > > > Cc: Geert Uytterhoeven <[email protected]>
> > > > > Cc: Magnus Damm <[email protected]>
> > > > > Cc: [email protected]
> > > > > Signed-off-by: Ville Syrjälä <[email protected]>
> > > > > ---
> > > > > drivers/gpu/drm/renesas/rcar-du/Kconfig | 4 ++--
> > > > > 1 file changed, 2 insertions(+), 2 deletions(-)
> > > > >
> > > > > diff --git a/drivers/gpu/drm/renesas/rcar-du/Kconfig
> > > > > b/drivers/gpu/drm/renesas/rcar-du/Kconfig
> > > > > index 80bd770ae0f6..5394f131c58f 100644
> > > > > --- a/drivers/gpu/drm/renesas/rcar-du/Kconfig
> > > > > +++ b/drivers/gpu/drm/renesas/rcar-du/Kconfig
> > > > > @@ -76,7 +76,7 @@ config DRM_RCAR_MIPI_DSI
> > > > > select RESET_CONTROLLER
> > > > >
> > > > > config DRM_RCAR_VSP
> > > > > - bool "R-Car DU VSP Compositor Support" if ARM
> > > > > + bool "R-Car DU VSP Compositor Support" if ARM || COMPILE_TEST
> > > >
> > > > This will make it possible to disable the option when ARM64 &&
> > > > COMPILE_TEST, which will break operation on Gen3 and up. It would be
> > > > best to avoid that.
> > >
> > > Break operation, as in when running on real hardware?
> > > People actually do that with COMPILE_TEST=y kernels?
COMPILE_TEST=y kernels should still work.
> > Hopefully not in production, but that may be the case during development
> > (I don't though, there are enough kernel options to deal with without
> > COMPILE_TEST).
> >
> > This should do:
> >
> > bool "R-Car DU VSP Compositor Support" if ARM || (COMPILE_TEST &&
> > !ARM64)
> >
> > (untested though). Do you think it brings too much complexity ?
>
> Doesn't bother me.
It does bother me, as it breaks the safeguards encoded in Kconfig rules.
I think it would be better if DRM_RCAR_DU would select DRM_RCAR_VSP
if ARM64, so DRM_RCAR_VSP cannot be disabled where it is needed.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds