On Thu, Nov 19, 2026 at 12:57:05AM +0200, Ville Syrjälä 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? > > > > 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. > > All I'm really after is being able to have COMPILE_TEST=y > enabled in my x86-32 and x86-64 drm-misc test build configs > so that I don't have to build on all the other architectures, > while still having reasonable confidence that I've not > completely broken some non-x86 drm driver.
Sure. Let's go for the above change then. The commit message could also be updated, maybe to ---- Make DRM_RCAR_VSP selectable with COMPILE_TEST=y (but keep it unconditionally enabled on ARM64 to avoid breaking operation), 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. ---- With that, Reviewed-by: Laurent Pinchart <[email protected]> I assume you'll merge this with the rest of the series. -- Regards, Laurent Pinchart
