mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
gpu: add s7d gpu secure [1/4]
PD#SWPL-163131 Problem: s7d g310 secure verification Solution: add dmaheap-secure Verify: s7d Change-Id: I0b487c9e42433b94d8a8c95b9104b366be5fbe2b Signed-off-by: Yongjie Zhu <yongjie.zhu@amlogic.com>
This commit is contained in:
@@ -1525,6 +1525,11 @@
|
||||
&ion_fb_reserved>;
|
||||
};
|
||||
|
||||
gpu_protected_memory_allocator: protected-memory-allocator {
|
||||
compatible = "arm,protected-memory-allocator";
|
||||
memory-region = <&mali_protected>;
|
||||
};
|
||||
|
||||
meson_uvm {
|
||||
compatible = "amlogic, meson_uvm";
|
||||
status = "okay";
|
||||
@@ -2537,11 +2542,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
gpu_protected_memory_allocator: protected-memory-allocator {
|
||||
compatible = "arm,protected-memory-allocator";
|
||||
memory-region = <&mali_protected>;
|
||||
};
|
||||
|
||||
eth_pins: eth {
|
||||
mux {
|
||||
groups = "eth_mdio",
|
||||
@@ -2585,7 +2585,8 @@
|
||||
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "GPU", "MMU", "JOB";
|
||||
|
||||
protected-memory-allocator = <&gpu_protected_memory_allocator>;
|
||||
/* Protected memory allocator default not available*/
|
||||
//protected-memory-allocator = <&gpu_protected_memory_allocator>;
|
||||
|
||||
num_of_pp = <1>;
|
||||
system-coherency = <31>;
|
||||
|
||||
@@ -106,7 +106,14 @@
|
||||
size = <0x0 0x3800000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
mali_protected: mali_protected@c0000000 {
|
||||
dmaheap_secure_reserved:heap-secure {
|
||||
compatible = "amlogic, heap-secure-mem";
|
||||
no-map;
|
||||
/* advice heap-secure size 208M */
|
||||
size = <0x0 0x0>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
mali_protected:mali_protected@c0000000 {
|
||||
compatible = "mali-reserved";
|
||||
no-map;
|
||||
/* 16M with high version than valhall-r41p0,
|
||||
|
||||
Reference in New Issue
Block a user