]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/rockchip: Drop ROCKCHIP_IOMMU depend for DRM_ROCKCHIP
authorChaoyi Chen <chaoyi.chen@rock-chips.com>
Thu, 6 Nov 2025 02:06:31 +0000 (10:06 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 9 Jan 2026 10:49:19 +0000 (11:49 +0100)
commit0244539f9a4f3b564604dfe4d639f61cecec381a
tree6692f47796b568f09e529ec6d7c2873acede61ef
parent6abb6a0e1104279763d1561b8110c1db442c5fac
drm/rockchip: Drop ROCKCHIP_IOMMU depend for DRM_ROCKCHIP

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.

So this patch removes the dependency on ROCKCHIP_IOMMU
with an 'optional-dependency'.

Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
[added reference to optional-dependies description]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20251106020632.92-9-kernel@airkyi.com
drivers/gpu/drm/rockchip/Kconfig