ARM: dts: msm: Enable qcom,vmid-cp-camera-preview-ro on Shima

The secure camera preview pipeline on Shima has buffers that are
shared by the display and secure camera hardware. On older architecture,
the buffers were not shareable, as the display hardware needed
write-access to the buffer, which could compromise the integrity of the
data populated by the secure camera hardware.

The display hardware on Shima has been upgraded, such that it no
longer needs write-access to the buffer, which allows the buffer
to be shared between both peripherals. Thus, ensure that the mappings
for the display hardware on Shima are read-only, so that the integrity
of the contents of the buffer cannot be compromised.

Change-Id: I8c254262b53051f4f2bb9cb477ad70bba2d8ed20
This commit is contained in:
Faiyaz Mohammed 2020-10-07 10:04:35 +05:30
commit 33a634427c

View file

@ -779,6 +779,7 @@
qcom-secure-buffer {
compatible = "qcom,secure-buffer";
qcom,vmid-cp-camera-preview-ro;
};
qcom-mem-buf {