Skip to content

Commit 3e8b240

Browse files
committed
drm: xlnx: dpsub: Fix DMADEVICES Kconfig dependency
The dpsub driver uses the DMA engine API, and thus selects DMA_ENGINE to provide that API. DMA_ENGINE depends on DMADEVICES, which can be deselected by the user, creating a possibly unmet indirect dependency: WARNING: unmet direct dependencies detected for DMA_ENGINE Depends on [n]: DMADEVICES [=n] Selected by [m]: - DRM_ZYNQMP_DPSUB [=m] && HAS_IOMEM [=y] && (ARCH_ZYNQMP || COMPILE_TEST [=y]) && COMMON_CLK [=y] && DRM [=m] && OF [=y] Add a dependency on DMADEVICES to fix this. Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Randy Dunlap <[email protected]>
1 parent d2b8610 commit 3e8b240

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/xlnx/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ config DRM_ZYNQMP_DPSUB
22
tristate "ZynqMP DisplayPort Controller Driver"
33
depends on ARCH_ZYNQMP || COMPILE_TEST
44
depends on COMMON_CLK && DRM && OF
5+
depends on DMADEVICES
56
select DMA_ENGINE
67
select DRM_GEM_CMA_HELPER
78
select DRM_KMS_CMA_HELPER

0 commit comments

Comments
 (0)