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

Commit 39cca10d authored by Hareesh Gundu's avatar Hareesh Gundu
Browse files

msm: kgsl: Make use of ADRENO_CONTENT_PROTECTION flag



A5x GPU comes up in secure mode by default but sometimes it
doesn't support content protection and corresponding
secure microcode. GPU cannot be moved to unsecure
mode without secure microcode.

Insert PM4 commands to move the GPU from secure to
unsecure only if it has ADRENO_CONTENT_PROTECTION feature
otherwise fallback to CPU and reset the register
A5XX_RBBM_SECVID_TRUST_CNTL.

Change-Id: I8c4ac26f3ef2b87a46bb2d171d2be6af75425d67
Signed-off-by: default avatarRajesh Kemisetti <rajeshk@codeaurora.org>
Signed-off-by: default avatarHareesh Gundu <hareeshg@codeaurora.org>
parent aa3aa09a
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