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

The secure camera preview pipeline on Lahaina 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 Lahaina 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 Lahaina are read-only, so that the integrity
of the contents of the buffer cannot be compromised.

Change-Id: Ib1f867e49455799acd8797a9d26a9243fb0546e7
This commit is contained in:
Isaac J. Manjarres 2020-08-28 14:29:47 -07:00
commit 098d3b54d0

View file

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