Commit 0244539f authored by Chaoyi Chen's avatar Chaoyi Chen Committed by Heiko Stuebner
Browse files

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: default avatarChaoyi Chen <chaoyi.chen@rock-chips.com>
[added reference to optional-dependies description]
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://patch.msgid.link/20251106020632.92-9-kernel@airkyi.com
parent 6abb6a0e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
# 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
	depends on OF
	select DRM_CLIENT_SELECTION
	select DRM_GEM_DMA_HELPER