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.

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

Reply via email to