Skip to content
Unverified Commit 842ec61f authored by Maxime Ripard's avatar Maxime Ripard
Browse files

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: default avatarPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/9a4daf438dd3f2fe07afb23688bfb793a0613d7d.1589378833.git-series.maxime@cerno.tech


(cherry picked from commit b718102d)
[Maxime: Applied to -fixes since it missed the merge window and display is
         broken without it]
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent a05caf9e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment