From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-m49229.qiye.163.com (mail-m49229.qiye.163.com [45.254.49.229]) (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 4C84C322A1D for ; Wed, 14 Jan 2026 02:58:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.254.49.229 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768359499; cv=none; b=iGBSZ/Sf2dNP6V+/MuqqFRMFLLC8AxNmfm4kDObiYMN4NiYYHd3lpAMJ9+2p0CeFMTwwVwjCUmKGGHooVH7OluZvrqyyQxfltowptMqzdzz6qXUDDXmruNeX0LO1+RGZfqDcyUfuQx7zoBFDowv+eRg4glwj5A1Fw8uEQvMBgrY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768359499; c=relaxed/simple; bh=G0PY3Uv7OdfJWTk1A/oh7do1ZQ+/DghfwkbMell8fOY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=W7AfnBLwEYE7DQX1+OMZQ1i98ij7ys253BJvu//SKC+k/ZG2bVNrOZrEcxyk9T/BB6p9zOn7l3M8YTO6xwfcIc/oIfr/BxKK1fz6BXNtqmHM0VY02ZdJOXbGJCZ8jxLMoFA8AFpFYFlWDtevzEP0M7qkDnsLa2eu25hAN7QCaGU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com; spf=pass smtp.mailfrom=rock-chips.com; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b=j9QIudcY; arc=none smtp.client-ip=45.254.49.229 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b="j9QIudcY" Received: from [172.16.12.51] (unknown [58.22.7.114]) by smtp.qiye.163.com (Hmail) with ESMTP id 308f250c9; Wed, 14 Jan 2026 10:58:07 +0800 (GMT+08:00) Message-ID: <2d77eac3-c213-42d5-bf47-4e81b30f9f38@rock-chips.com> Date: Wed, 14 Jan 2026 10:58:07 +0800 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/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP To: Geert Uytterhoeven Cc: Sandy Huang , =?UTF-8?Q?Heiko_St=C3=BCbner?= , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <5db192d31cc51f027f107c01c01a353a0569ebf4.1768310045.git.geert+renesas@glider.be> Content-Language: en-US From: Chaoyi Chen In-Reply-To: <5db192d31cc51f027f107c01c01a353a0569ebf4.1768310045.git.geert+renesas@glider.be> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-HM-Tid: 0a9bba70697d03abkunmb3f2a1de1f8330 X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZGkNOTFYaS0tCT0xJSkNMSBhWFRQJFh oXVRMBExYaEhckFA4PWVdZGBILWUFZTkNVSUlVTFVKSk9ZV1kWGg8SFR0UWUFZT0tIVUpLSU9PT0 hVSktLVUpCS0tZBg++ DKIM-Signature: a=rsa-sha256; b=j9QIudcYTQdvAa4MQgAhI4Fa8GsWXodzhvPhl5TmPHpdmhS0nTyCktPg0RIFRrgmZLLwRm/qqFGxNIFJfR8xsPugPJWrTrV2cA4CdA4+4le2+yxPG9jw1gMy1QgdTWuEIZsV8nlYaKcQoWgaYV3ADLUZV6io90Fwf5+U69oMxa0=; s=default; c=relaxed/relaxed; d=rock-chips.com; v=1; bh=BExGeWQxtEVNv6OQM+naThqTHzsblmqsaTZLZYeFiYk=; h=date:mime-version:subject:message-id:from; On 1/13/2026 9:15 PM, Geert Uytterhoeven wrote: > Rockchip display hardware is only available on Rockchip SoCs. Hence add > a dependency on ARCH_ROCKCHIP, to prevent asking the user about this > driver when configuring a kernel without Rockchip platform support. > > Before, this dependency was implicit through a hard dependency on > ROCKCHIP_IOMMU. > > Fixes: 0244539f9a4f3b56 ("drm/rockchip: Drop ROCKCHIP_IOMMU depend for DRM_ROCKCHIP") > Signed-off-by: Geert Uytterhoeven > --- > drivers/gpu/drm/rockchip/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kconfig > index 025bd770f499e6ed..1479b8c4ed40ad16 100644 > --- a/drivers/gpu/drm/rockchip/Kconfig > +++ b/drivers/gpu/drm/rockchip/Kconfig > @@ -2,6 +2,7 @@ > config DRM_ROCKCHIP > tristate "DRM Support for Rockchip" > depends on DRM > + depends on ARCH_ROCKCHIP || COMPILE_TEST > depends on ROCKCHIP_IOMMU || !ROCKCHIP_IOMMU > depends on OF > select DRM_CLIENT_SELECTION Thank you for the fix. Reviewed-by: Chaoyi Chen -- Best, Chaoyi