Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.167.242.64 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795041556; b=LWci3jXUkP0MveUZGbXVgWNKkl7U6/j4eIIY3QLL/mlRCSaQkKq5PKfK3lRxg+bk+IWj J0EWbqTMNJlZ7dXeDQULlGr1OshKYfAp3KjLeilmhiSXD/uz4fr3jI3tqollRDbOZaD1z zAgFYjqdc9DznrlmWmtkrPhA16Ye1uy8FcHuRfONL7jSYflfkuVjPmXr6t6WdPg2SbnXd rf8i37dhNrcYFbs3hHs9caK1ouEjElAgAILy+n87XEBMVfsynVT7iaVz0oVVUPvLF5Pg+ IPXucXxD39oNbr5VJt+/I3/ZS2IAqlMHv8X5Ttcw6tAnpPnsW0Po5XhwTGIwXO8ld9w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795041556; h=DMARC-Filter:Received:DKIM-Signature:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=RngncK/L8Xnv2nVapI4HiuVMeGpwvFechmMNx1eTw94=; b=Kde/u3Z+mXTuN0DdJJXa/vX70kwwsOsxnlpOH8fbDGt0ij8bRadHieJsTsJNU9pcTGns 60uumbwOhkvS07ssxhNXu/mggfHMT+xA643DvlqxXKPoAjhRPDAx9w2lO1zpPbsvuLseq CCWt4MZUyUZc+ntU8GCnOLj6B8svNGFQI6n7jGBa7F4lykm4jNKl0PvppzgNHE6Soryw5 4KxOrPt1pTNc6t5XyBSb1mZ4JrtKOaKMuoBm35n6Kc+Aa9CwFYAqzD4hFdUM4wSPTXjg0 i1EQZkD5AU8cnA/0/G6bHD6s4OXS894T0UeF6rwVhbaewJtAo9bxjhAgjYa87uXjkkw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass header.d=ideasonboard.com header.i=@ideasonboard.com header.a=rsa-sha256 header.s=mail header.b=Jn1A3LHe; arc=none smtp.remote-ip=213.167.242.64 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 16916606B60B for ; Wed, 18 Nov 2026 22:39:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 16916606B60B Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.a=rsa-sha256 header.s=mail header.b=Jn1A3LHe Received: from killaraus.ideasonboard.com (2001-14ba-7086-3000--a06.rev.dnainternet.fi [IPv6:2001:14ba:7086:3000::a06]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 86F5F63C; Wed, 18 Nov 2026 23:36:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1795041404; bh=CsmSHI8y+rrsEhKCbt+lVZ8nZ+Xf/BpDiI4gf1q9uM8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Jn1A3LHe30HJJU/mVnST7m4HoBrvV0tyK/g4UMVgkAoOOsGls2b9bqHxcjy3uMIB/ gO2d1DlI7TU/E3wqj5yb1u2D8+21xztiFrrdlFeCJDEsF5Lca/Trd4H5nT8E8tZGI+ 3yxImNpGDKD99d5zXVSyRETICaYBii063svegkHw= Date: Thu, 19 Nov 2026 00:39:11 +0200 From: Laurent Pinchart To: Ville =?utf-8?B?U3lyasOkbMOk?= Cc: dri-devel@lists.freedesktop.org, Tomi Valkeinen , Kieran Bingham , Geert Uytterhoeven , Magnus Damm , linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v4 20/20] drm/rcar-du: Allow VSP and writeback build with COMPILE_TEST=y Message-ID: <20261118223911.GJ1923307@killaraus.ideasonboard.com> References: <20261118214518.29317-1-ville.syrjala@linux.intel.com> <20261118214518.29317-21-ville.syrjala@linux.intel.com> <20261118221114.GI1923307@killaraus.ideasonboard.com> X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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ä > > > > > > 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 > > > Cc: Tomi Valkeinen > > > Cc: Kieran Bingham > > > Cc: Geert Uytterhoeven > > > Cc: Magnus Damm > > > Cc: linux-renesas-soc@vger.kernel.org > > > Signed-off-by: Ville Syrjälä > > > --- > > > 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 ? > > > 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