0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-02-08 12:09:50 +00:00
Lakka-LibreELEC/projects/Rockchip/patches/linux/default/linux-9000-temp-rk3288-disable-vpu-iommu.patch
Alex Bee 9e49fb0ac4 Rockchip: RK3288: Disable VPU iommu
Due to bug in either hantro, iommu or general dma management drivers for ARMv7
buffers are not correctly flushed when being re-used.

To work around that, disable VPU iommu and increase cma memory size to be
sufficient for 4K H.264 decoding.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
2024-12-22 12:21:51 +01:00

13 lines
424 B
Diff

diff --git a/arch/arm/boot/dts/rockchip/rk3288.dtsi b/arch/arm/boot/dts/rockchip/rk3288.dtsi
index 9ff190ab1d..1d5a4a68f6 100644
--- a/arch/arm/boot/dts/rockchip/rk3288.dtsi
+++ b/arch/arm/boot/dts/rockchip/rk3288.dtsi
@@ -1298,6 +1298,7 @@ vpu_mmu: iommu@ff9a0800 {
clock-names = "aclk", "iface";
#iommu-cells = <0>;
power-domains = <&power RK3288_PD_VIDEO>;
+ status = "disabled";
};
hevc: hevc@ff9c0000 {