Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Chaoyi Chen and committed by
Heiko Stuebner
0244539f 6abb6a0e

+2 -1
+2 -1
drivers/gpu/drm/rockchip/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_ROCKCHIP 3 3 tristate "DRM Support for Rockchip" 4 - depends on DRM && ROCKCHIP_IOMMU 4 + depends on DRM 5 + depends on ROCKCHIP_IOMMU || !ROCKCHIP_IOMMU 5 6 depends on OF 6 7 select DRM_CLIENT_SELECTION 7 8 select DRM_GEM_DMA_HELPER