mirror-linux/drivers/gpu/drm/rockchip
Steven Price 8490cad4dc drm/rockchip: Detach from ARM DMA domain in attach_device
Since commit 1ea2a07a53 ("iommu: Add DMA ownership management
interfaces") the Rockchip display driver on the Firefly RK3288 fails to
initialise properly. This is because ARM DMA domain is still attached.

Let's follow the lead of exynos and tegra and add code to explicitly
remove the ARM domain before attaching a new one.

Fixes: 1ea2a07a53 ("iommu: Add DMA ownership management interfaces")
Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220615154830.555422-1-steven.price@arm.com
2022-07-04 17:17:35 +02:00
..
Kconfig drm/rockchip: Add VOP2 driver 2022-05-04 14:05:47 +02:00
Makefile drm/rockchip: Add VOP2 driver 2022-05-04 14:05:47 +02:00
analogix_dp-rockchip.c drm/rockchip: Embed drm_encoder into rockchip_decoder 2022-05-03 11:23:47 +02:00
cdn-dp-core.c drm/rockchip: Embed drm_encoder into rockchip_decoder 2022-05-03 11:23:47 +02:00
cdn-dp-core.h drm/rockchip: Embed drm_encoder into rockchip_decoder 2022-05-03 11:23:47 +02:00
cdn-dp-reg.c drm/rockchip: cdn-dp: fix sign extension on an int multiply for a u64 result 2021-05-28 20:27:44 +02:00
cdn-dp-reg.h
dw-mipi-dsi-rockchip.c drm/rockchip: Embed drm_encoder into rockchip_decoder 2022-05-03 11:23:47 +02:00
dw_hdmi-rockchip.c drm/rockchip: dw_hdmi: add regulator support 2022-05-03 12:56:05 +02:00
inno_hdmi.c drm/rockchip: Embed drm_encoder into rockchip_decoder 2022-05-03 11:23:47 +02:00
inno_hdmi.h
rk3066_hdmi.c drm/rockchip: Embed drm_encoder into rockchip_decoder 2022-05-03 11:23:47 +02:00
rk3066_hdmi.h
rockchip_drm_drv.c drm/rockchip: Detach from ARM DMA domain in attach_device 2022-07-04 17:17:35 +02:00
rockchip_drm_drv.h drm/rockchip: Add VOP2 driver 2022-05-04 14:05:47 +02:00
rockchip_drm_fb.c drm/rockchip: Add VOP2 driver 2022-05-04 14:05:47 +02:00
rockchip_drm_fb.h
rockchip_drm_gem.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
rockchip_drm_gem.h dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
rockchip_drm_vop.c drm/rockchip: Support YUV formats with U/V swapped 2022-05-03 00:04:17 +02:00
rockchip_drm_vop.h drm/rockchip: Add VOP2 driver 2022-05-04 14:05:47 +02:00
rockchip_drm_vop2.c drm/rockchip: Change register space names in vop2 2022-05-17 00:16:33 +02:00
rockchip_drm_vop2.h drm/rockchip: Add VOP2 driver 2022-05-04 14:05:47 +02:00
rockchip_lvds.c drm/rockchip: Embed drm_encoder into rockchip_decoder 2022-05-03 11:23:47 +02:00
rockchip_lvds.h
rockchip_rgb.c drm: Rename dp/ to display/ 2022-04-25 11:17:45 +02:00
rockchip_rgb.h
rockchip_vop2_reg.c drm/rockchip: Add VOP2 driver 2022-05-04 14:05:47 +02:00
rockchip_vop_reg.c drm/rockchip: Support YUV formats with U/V swapped 2022-05-03 00:04:17 +02:00
rockchip_vop_reg.h drm: rockchip: add alpha support for RK3036, RK3066, RK3126 and RK3188 2021-05-28 19:28:00 +02:00