From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9EBD32695C for ; Fri, 27 Feb 2026 11:02:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772190127; cv=none; b=G3xfQq/IiNA5viHqWqruF33A/6wSzHqkD50iXaDDuLn5LXsgL0gqCJ/xSlfLQZ3ibYDpE3iiXLVcXt9KxN7dGEKIHtvfrftQik5XAK7Zfp2fAh7AcH3OvopnGEYmZiOQasd8/YQxGictiTsyUQ8sH61bZkCmCyzRzn9s/g7rh0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772190127; c=relaxed/simple; bh=72Jr9asARRvLNWjg2o5r2jVL2hla5sL/DSKUxUeSRms=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:In-Reply-To: Content-Type:References; b=X1FUUMGWqi0xMaZlKZ/Jxm5vi+CMLNte9xfiLjheEF57O4ou1UI+E3gxbdpnqv/xsP4pjpgx/RuYBk/LOPXTXdTO6dj4oeObNrMa2/sYZgMsCk+VTbaV0FTyR5FjmG6AH4oi0U2fAP0Zx6uWLL72JR8vywwXykxoPv0pg2Siw2s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=M/5pNHKq; arc=none smtp.client-ip=210.118.77.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="M/5pNHKq" Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20260227110202euoutp02fbb79b43cc2e4f28ea7084d2c3daae65~YFYb76t631540415404euoutp02V for ; Fri, 27 Feb 2026 11:02:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20260227110202euoutp02fbb79b43cc2e4f28ea7084d2c3daae65~YFYb76t631540415404euoutp02V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1772190122; bh=qmB4sCKpzc9WGUBY+s4LrtK7Wne1fnOCrPQGkz1WNpQ=; h=Date:Subject:To:Cc:From:In-Reply-To:References:From; b=M/5pNHKqIkVkGoDP1PzezE763s5faG4KqECluWlRICgzKB/6EWpRNfG4Gva3RM6sc X31ZVHemcHaZgEE7HUXhx+FOA3bI7x7+FKk3c+HFwf/ro8mF8kfCawgIw403zpkaKx nSyUxRSlAemgAjrLS4bmgaab5vdHeSN/STQI87/U= Received: from eusmtip2.samsung.com (unknown [203.254.199.222]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20260227110202eucas1p2d215d27dfd75dd66804d745e315931aa~YFYbpWV6o1379713797eucas1p2A; Fri, 27 Feb 2026 11:02:02 +0000 (GMT) Received: from [192.168.1.44] (unknown [106.210.136.40]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20260227110202eusmtip23d0ed369975394f190c72bcb53ca092a~YFYbL1JMe0830708307eusmtip2h; Fri, 27 Feb 2026 11:02:02 +0000 (GMT) Message-ID: <873c2755-1903-4760-b09d-498060b7dfc3@samsung.com> Date: Fri, 27 Feb 2026 12:02:01 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm: verisilicon: DRM_VERISILICON_DC should depend on ARCH_THEAD To: Icenowy Zheng , Geert Uytterhoeven , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , graham@big-grey.co.uk Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Language: en-US From: Michal Wilczynski In-Reply-To: <893289430f07a1e89be4932bde0dd3d700366e02.camel@iscas.ac.cn> Content-Transfer-Encoding: 8bit X-CMS-MailID: 20260227110202eucas1p2d215d27dfd75dd66804d745e315931aa X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20260226153654eucas1p17a1a671532fe3d6d6d7a0fce19843060 X-EPHeader: CA X-CMS-RootMailID: 20260226153654eucas1p17a1a671532fe3d6d6d7a0fce19843060 References: <893289430f07a1e89be4932bde0dd3d700366e02.camel@iscas.ac.cn> On 2/26/26 16:36, Icenowy Zheng wrote: > 在 2026-02-26四的 12:00 +0100,Geert Uytterhoeven写道: >> Currently, the Verisilicon DC-series display controller driver >> supports >> only the DC8200 variant in the T-HEAD TH1520 SoC. Hence restrict the >> dependency on RISCV to ARCH_THEAD, to prevent asking the user about >> this >> driver when configuring a kernel without T-HEAD platform support. >> >> The dependency can be relaxed later, when adding support for >> appropriate >> SoCs from other vendors. > > Michal Wilczynski has verified that this driver will work on StarFive > JH7110 with some extra glue drivers (but without modification to this > driver itself). [1] Yeah I managed to test successfully (not all resolutions worked for me but this does seem like HDMI driver issue). Additionally Graham Markall managed to check on his VF2 independently [1]. Hopefully will find some time to send an updated v2. [1] - https://big-grey.co.uk/2026/01/26/testing-starfive-jh7110-display-controller-patches/ Best regards, -- Michal Wilczynski > > Although this can be considered as future work and changing to > ARCH_THEAD seems okay now. > > (BTW the hardware identification values is taken from the vendor driver > and it should support different variants of DC8200) > > Thanks > Icenowy > > [1] > https://protect2.fireeye.com/v1/url?k=9deb3bf5-c27002f9-9deab0ba-000babff3563-0751fbe2749df7e2&q=1&e=1bdc71ee-fc93-4f72-a715-c25dc3497820&u=https%3A%2F%2Flists.freedesktop.org%2Farchives%2Fdri-devel%2F2025-November%2F535442.html > >> >> Fixes: dbf21777caa8b8c8 ("drm: verisilicon: add a driver for >> Verisilicon display controllers") >> Signed-off-by: Geert Uytterhoeven >> --- >> drivers/gpu/drm/verisilicon/Kconfig | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/gpu/drm/verisilicon/Kconfig >> b/drivers/gpu/drm/verisilicon/Kconfig >> index 7cce86ec8603c596..f2edde9e0037ebcd 100644 >> --- a/drivers/gpu/drm/verisilicon/Kconfig >> +++ b/drivers/gpu/drm/verisilicon/Kconfig >> @@ -2,7 +2,7 @@ >> config DRM_VERISILICON_DC >> tristate "DRM Support for Verisilicon DC-series display >> controllers" >> depends on DRM && COMMON_CLK >> - depends on RISCV || COMPILE_TEST >> + depends on ARCH_THEAD || COMPILE_TEST >> select DRM_BRIDGE_CONNECTOR >> select DRM_CLIENT_SELECTION >> select DRM_DISPLAY_HELPER > >