mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
msm: kgsl: LPAC is using incorrect pagetable
We are incorrectly using the default pagetable for LPAC when per-process page tables are disabled. Create a separate pagetable for LPAC. Change-Id: I93b9c764fe91260b8b27c9b2d847429d1595a839 Signed-off-by: Raghu Ananya Arabolu <rarabolu@codeaurora.org>
This commit is contained in:
parent
3a82802e7b
commit
803861c144
1 changed files with 2 additions and 1 deletions
|
|
@ -1383,7 +1383,8 @@ static struct kgsl_pagetable *kgsl_iommu_getpagetable(struct kgsl_mmu *mmu,
|
|||
{
|
||||
struct kgsl_pagetable *pt;
|
||||
|
||||
if (!kgsl_mmu_is_perprocess(mmu) && (name != KGSL_MMU_SECURE_PT)) {
|
||||
if (!kgsl_mmu_is_perprocess(mmu) && (name != KGSL_MMU_SECURE_PT) &&
|
||||
(name != KGSL_MMU_GLOBAL_LPAC_PT)) {
|
||||
name = KGSL_MMU_GLOBAL_PT;
|
||||
if (mmu->defaultpagetable != NULL)
|
||||
return mmu->defaultpagetable;
|
||||
|
|
|
|||
Loading…
Reference in a new issue