mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
arm64: dts: rockchip: px30: enable vop iommu rockchip,disable-device-link-resume
if out of this property, iommu will be enable by pm runtime and use
wrong domain, this will lead to vop iommu pagefault.
init_loader_memory() --> use drm private domain
-> __pm_runtime_resume -> rk_iommu_enable --> use iommu domain
-> vop iommu pagefault
after this commit:
init_loader_memory() --> use drm private domain
-> rockchip_drm_dma_attach_device() --> instead of drm private domain
-> rockchip_drm_dma_attach_device() --> enable iommu
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I797747e1f9eecac9feca8b844f66714b657a22f2
This commit is contained in:
@@ -1686,6 +1686,7 @@
|
||||
clock-names = "aclk", "iface";
|
||||
power-domains = <&power PX30_PD_VO>;
|
||||
#iommu-cells = <0>;
|
||||
rockchip,disable-device-link-resume;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -1734,6 +1735,7 @@
|
||||
clock-names = "aclk", "iface";
|
||||
power-domains = <&power PX30_PD_VO>;
|
||||
#iommu-cells = <0>;
|
||||
rockchip,disable-device-link-resume;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user