Merge "ARM: dts: msm: Add secure display heap configuration for holi"

This commit is contained in:
qctecmdr 2020-05-22 16:30:10 -07:00 • committed by Gerrit - the friendly Code Review server
commit 76a45ad436
2 changed files with 14 additions and 0 deletions

View file

@ -15,5 +15,11 @@
reg = <ION_SECURE_HEAP_ID>;
qcom,ion-heap-type = "SYSTEM_SECURE";
};
qcom,ion-heap@10 { /* SECURE DISPLAY HEAP */
reg = <10>;
memory-region = <&secure_display_memory>;
qcom,ion-heap-type = "HYP_CMA";
};
};
};

View file

@ -282,6 +282,14 @@
reg = <0x0 0xd0000000 0x0 0xa600000>;
};
secure_display_memory: secure_display_region {
compatible = "shared-dma-pool";
alloc-ranges = <0 0x00000000 0 0xffffffff>;
reusable;
alignment = <0 0x400000>;
size = <0 0x5c00000>;
};
/* global autoconfigured region for contiguous allocations */
linux,cma {
compatible = "shared-dma-pool";