From nobody Mon Feb 9 04:04:38 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2D9273904F0 for ; Tue, 13 Jan 2026 13:15:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768310108; cv=none; b=K7Jo2Nr2SmFEfbh9uXvk6ZNzDt5dgn9NjbGCALh6ouiTYP9n0U7yMH7PHQYyJpxWaPTw0wmgEDgdNAI5Sjd0yTaFoEF1UD6GANUaOAMHv8gJ2up0Ggl1kzWP6D1xwR1AlJSBV5TTtupG98wp1ERiA/3WWKbUGpMAOeJHdXe/hpc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768310108; c=relaxed/simple; bh=9Upo57R8ubDnkUit6NPJk8xomsUlJufCDFdPMQgM/IY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fpqK3n3nGrz4iedjHWsWJSj8+4R9MFlYO9J2LYMESO+Qo668lN+a0zZY69mnQOdWJIO5wLSo1aPXn29wASyLLBY0SN999ATIyS4D+oy3g30cgczPl1FMZTzofwjKiBAYG5GNn/Lb7RPjR30fRRHtCJUV+MsRQ/QPL5LGwT+oTNQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C887C116C6; Tue, 13 Jan 2026 13:15:04 +0000 (UTC) From: Geert Uytterhoeven To: Sandy Huang , Chaoyi Chen , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Andy Yan , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] drm/rockchip: DRM_ROCKCHIP should depend on ARCH_ROCKCHIP Date: Tue, 13 Jan 2026 14:15:01 +0100 Message-ID: <5db192d31cc51f027f107c01c01a353a0569ebf4.1768310045.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 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" 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 Reviewed-by: Chaoyi Chen --- drivers/gpu/drm/rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/Kconfig b/drivers/gpu/drm/rockchip/Kc= onfig 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 --=20 2.43.0