]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/sun4i: mixer: Call of_dma_configure if there's an IOMMU
authorMaxime Ripard <maxime@cerno.tech>
Wed, 13 May 2020 14:07:24 +0000 (16:07 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 15 May 2020 13:01:04 +0000 (15:01 +0200)
commitb718102dbdfd0285ad559687a30e27cc9124e592
tree915ac165bc73814c6e52becb7910f2063e729dd4
parente8ade6151905ba392cbbd03074207cacc7414d5d
drm/sun4i: mixer: Call of_dma_configure if there's an IOMMU

The main DRM device is actually a virtual device so it doesn't have the
iommus property, which is instead on the DMA masters, in this case the
mixers.

Add a call to of_dma_configure with the mixers DT node but on the DRM
virtual device to configure it in the same way than the mixers.

Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/9a4daf438dd3f2fe07afb23688bfb793a0613d7d.1589378833.git-series.maxime@cerno.tech
drivers/gpu/drm/sun4i/sun8i_mixer.c