Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0024abc9 authored by Tarun Karra's avatar Tarun Karra
Browse files

msm: kgsl: Add content protection for A430



Content protection protects secure context content (example: framebuffer)
from unsecured contexts. TSB (trusted steering block) hardware is
programmed to route the memory access from trusted and untrused contexts
accordingly. If an unsecured context tries to read/write data from a
secured context, the access will be denied by TSB.

When content protection is enabled:
a) Create a secure pagetable with 256MB virtual pool to map secure buffers.
   All the secure buffers created in user mode driver and mapped to kernel
   are mapped to this virtual pool.
b) Enable GPU secure mode when executing commands from secure context.
   This enables GPU to use secure pagetable and render to secure buffer.

Change-Id: Ic07d9461152159aa7db1bb527085b4bc02fdb0e7
Signed-off-by: default avatarTarun Karra <tkarra@codeaurora.org>
parent 649d3b58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment