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

Skip to content
Commit c46f38bc authored by Amit Kushwaha's avatar Amit Kushwaha Committed by Archana Sriram
Browse files

msm: kgsl: Change default pagetable creation sequence



In the existing code, due to dynamic allocation of SMMU
context banks, gfx3d_secure is allotted CB 0 followed by
gfx3d_user with CB 1. This affects per process pagetable
functionality which uses GPU path which updates TTBR0 of
SMMU CB0 by default. This poses issue for targets which
do not have support for Dynamic GPU Aperture programming
in TZ. Move defaultpagetable creation for user context to
kgsl_iommu_init, prior to securepagetable initialization
so that gfx3d_user is allotted CB 0 and gfx3d_secure with
CB 1.

Change-Id: Idf203502281eb2738032425c0132d325fc412094
Signed-off-by: default avatarAmit Kushwaha <kushwaha@codeaurora.org>
Signed-off-by: default avatarArchana Sriram <apsrir@codeaurora.org>
parent fe32cea1
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