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?

> 
> >     default y if ARM64
> >     depends on DRM_RCAR_DU
> >     depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
> > @@ -85,5 +85,5 @@ config DRM_RCAR_VSP
> >  
> >  config DRM_RCAR_WRITEBACK
> >     bool
> > -   default y if ARM64
> > +   default y if ARM64 || COMPILE_TEST
> >     depends on DRM_RCAR_DU
> 
> -- 
> Regards,
> 
> Laurent Pinchart

-- 
Ville Syrjälä
Intel

Reply via email to