mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
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>
This commit is contained in:
parent
3ce49a8aa5
commit
9e49fb0ac4
@ -25,7 +25,7 @@
|
||||
GRAPHIC_DRIVERS="panfrost"
|
||||
|
||||
# kernel serial console
|
||||
EXTRA_CMDLINE="console=uart8250,mmio32,0xff690000 console=tty0 coherent_pool=2M cec.debounce_ms=5000"
|
||||
EXTRA_CMDLINE="console=uart8250,mmio32,0xff690000 console=tty0 coherent_pool=2M cec.debounce_ms=5000 cma=384M"
|
||||
|
||||
# set the addon project
|
||||
ADDON_PROJECT="ARMv7"
|
||||
|
@ -0,0 +1,12 @@
|
||||
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 {
|
Loading…
x
Reference in New Issue
Block a user