From b3ef957d19fe2f96daf66c978ebd74469985f3e4 Mon Sep 17 00:00:00 2001 From: Veera Sundaram Sankaran Date: Fri, 19 Jun 2020 15:36:55 -0700 Subject: [PATCH] ARM: dts: msm: add VRAM size to lahaina trusted vm Add the size of VRAM available in trusted vm. Change-Id: Ibe5cbc78b679fdce7293a6ae4ebd9b0947582023 --- bindings/sde.txt | 3 +++ display/trustedvm-lahaina-sde.dtsi | 1 + 2 files changed, 4 insertions(+) diff --git a/bindings/sde.txt b/bindings/sde.txt index 3628b8a4ec55..69430faef8d1 100644 --- a/bindings/sde.txt +++ b/bindings/sde.txt @@ -527,6 +527,7 @@ Optional properties: - qcom,sde-vm-exclude-reg-names A string array indicating the reg-names which should be excluded from IO memory validation list in trusted vm environment +- qcom,vram-size: A u32 value indicating the size of the VRAM in bytes Bus Scaling: - interconnects An array of 4 cell properties with the format of @@ -806,6 +807,8 @@ Example: qcom,sde-amortizable-threshold = <11>; qcom,sde-secure-sid-mask = <0x200801 0x200c01>; + qcom,vram-size = <0x200000>; + qcom,sde-vbif-qos-rt-remap = <3 3 4 4 5 5 6 6>; qcom,sde-vbif-qos-nrt-remap = <3 3 3 3 3 3 3 3>; qcom,sde-vbif-qos-cwb-remap = <3 3 4 4 5 5 6 3>; diff --git a/display/trustedvm-lahaina-sde.dtsi b/display/trustedvm-lahaina-sde.dtsi index dfebcb3a869f..1a363cd7cb2f 100644 --- a/display/trustedvm-lahaina-sde.dtsi +++ b/display/trustedvm-lahaina-sde.dtsi @@ -38,6 +38,7 @@ "iface_clk", "core_clk", "vsync_clk", "lut_clk", "rot_clk"; qcom,sde-trusted-vm-env; + qcom,vram-size = <0x200000>; }; &mdss_dsi0 {