From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 55BCB3002CF; Thu, 8 Jan 2026 19:04:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767899049; cv=none; b=IUd1xIFvqXjxN7FokCsK6WCksSXpjhGTZDKkuLDbVwFUMHkzrfoBN4uAllu5qiDlEWA2y+WG/wZreB/Kwy/s5OWX/fwmxUSkP3BqVNUKgDaogg+eI0s7AG8w/Pz/WE5ehqsXcpa+m9/QBj7XL4oTGUMLK8ub5NHvs9p/omrEFrM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767899049; c=relaxed/simple; bh=tBMHe049FK8gKFt5FiBMnkS22N7OSdZaLUBjrg7irBs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Rzi4D++Bc42CmgzCndC1re8B29zpGMGAJuIkKswut6EzIm+C8HU0A35JSTKr2OcQ4uz1DlnuRMO6IQgZxcEwQrOg08lQfff2MXsVT7jnGVHKjI3MsjVwjbj2VcxunCFBMusIelAZMxTuQdVPFxstS6KnTucBFbvCxiqhfH9PjRg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b=OZcb6i7K; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b="OZcb6i7K" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Type:Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To; bh=0xTYPYEZSyUOR4owbPfE3fSToiJ/CPOSgdHTNpnvRAc=; b=OZcb6i7Kq0PC81CDhI9KMTImkq NobBuzSsnV6t0TfjHzeNm+x67CZVPP5uBcyHc0kSLopeR1utT7FGxlTDD8uG8NbSSAS7gWhAPWpKx FuJVPHFhrQQl/VUhczvxZkbK50oKF2E3eRdOwLyuyO/CxV8LEDjMGguYoFPbqVXKoPMdr2nMvf4U1 JpJ2XUYL9staaJyK8EbqDYTfCkJereVgwZHMq7DZxumaGSv6K544FBd7EvrA9HrT+EVPOsWgK+1Hu lyOIpQI6HjfPQxhhqDk21aqx70ZH3dYd8SBa+K4F/fNkXDpCi5Dd3lQwE4IJ8xQZzxQZP5/furfah GZD4Zn4A==; Received: from [192.76.154.230] (helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vdvIU-001XS9-BV; Thu, 08 Jan 2026 20:03:50 +0100 From: Heiko Stuebner To: Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sandy Huang , Andy Yan , Vinod Koul , Kishon Vijay Abraham I , Chaoyi Chen Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-phy@lists.infradead.org, Chaoyi Chen Subject: Re: [PATCH 8/9] drm/rockchip: Drop ROCKCHIP_IOMMU depend for DRM_ROCKCHIP Date: Thu, 08 Jan 2026 20:03:50 +0100 Message-ID: <4072834.X9hSmTKtgW@phil> In-Reply-To: <20251106020632.92-9-kernel@airkyi.com> References: <20251106020632.92-1-kernel@airkyi.com> <20251106020632.92-9-kernel@airkyi.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Am Donnerstag, 6. November 2025, 03:06:31 Mitteleurop=C3=A4ische Normalzeit= schrieb Chaoyi Chen: > From: Chaoyi Chen >=20 > On the RK3506 platform, there is no iommu hardware. And even on > platform that have iommu hardware, it should be possible to use > VOP without enabling iommu. In this case, a contiguous memory > space like CMA should be used. >=20 > So this patch removes the dependency on ROCKCHIP_IOMMU. >=20 > Signed-off-by: Chaoyi Chen > --- > drivers/gpu/drm/rockchip/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/= Kconfig > index b7b025814e72..a056d419190c 100644 > --- a/drivers/gpu/drm/rockchip/Kconfig > +++ b/drivers/gpu/drm/rockchip/Kconfig > @@ -1,7 +1,8 @@ > # SPDX-License-Identifier: GPL-2.0-only > config DRM_ROCKCHIP > tristate "DRM Support for Rockchip" > - depends on DRM && ROCKCHIP_IOMMU > + depends on DRM > + depends on ROCKCHIP_IOMMU || !ROCKCHIP_IOMMU I don't really understand this yes+no line :-) Can't you just =2D drop the dependency altogether or =2D do a depends on ROCKCHIP_IOMMU if ARM64 Heiko > depends on OF > select DRM_CLIENT_SELECTION > select DRM_GEM_DMA_HELPER >=20