diff --git a/qcom/ravelin-dma-heaps.dtsi b/qcom/ravelin-dma-heaps.dtsi index e08250c1..f49b677b 100644 --- a/qcom/ravelin-dma-heaps.dtsi +++ b/qcom/ravelin-dma-heaps.dtsi @@ -26,6 +26,13 @@ qcom,dma-heap-type = ; memory-region = <&audio_cma_mem>; }; + + non_secure_display_dma_buf: qcom,display { + qcom,dma-heap-name = "qcom,display"; + qcom,dma-heap-type = ; + qcom,max-align = <9>; + memory-region = <&non_secure_display_memory>; + }; }; }; diff --git a/qcom/ravelin.dtsi b/qcom/ravelin.dtsi index ffe1ba9a..562e0617 100644 --- a/qcom/ravelin.dtsi +++ b/qcom/ravelin.dtsi @@ -403,6 +403,14 @@ alignment = <0x0 0x400000>; size = <0x0 0x1C00000>; }; + + non_secure_display_memory: non_secure_display_region { + compatible = "shared-dma-pool"; + reusable; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + size = <0x0 0x5c00000>; + alignment = <0x0 0x400000>; + }; }; &firmware {