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

Commit c695aff5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: There is no need to map global PT entries for NOMMU"

parents a37a2c1a e9756715
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -508,11 +508,7 @@ int kgsl_mmu_start(struct kgsl_device *device)
	struct kgsl_mmu *mmu = &device->mmu;
	int ret = 0;

	if (kgsl_mmu_type == KGSL_MMU_TYPE_NONE) {
		/* Setup gpuaddr of global mappings */
		if (!mmu->setstate_memory.gpuaddr)
			ret = kgsl_map_global_pt_entries(NULL);
	} else
	if (kgsl_mmu_type != KGSL_MMU_TYPE_NONE)
		ret = mmu->mmu_ops->mmu_start(mmu);

	return ret;