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

Commit 0b3f3760 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: Use GPU to switch pagetables when current one is default"

parents e75fb651 4f661ef0
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -1160,10 +1160,7 @@ static int adreno_iommu_setstate(struct kgsl_device *device,
	num_iommu_units = kgsl_mmu_get_num_iommu_units(&device->mmu);

	context = kgsl_context_get(device, context_id);
	if (!context) {
		kgsl_mmu_device_setstate(&device->mmu, flags);
		return 0;
	}
	if (context)
		adreno_ctx = ADRENO_CONTEXT(context);

	result = kgsl_mmu_enable_clk(&device->mmu, KGSL_IOMMU_CONTEXT_USER);
+1 −1
Original line number Diff line number Diff line
@@ -722,7 +722,7 @@ adreno_ringbuffer_addcmds(struct adreno_ringbuffer *rb,

	/* Add any IB required for profiling if it is enabled */
	if (profile_ready)
		adreno_profile_preib_processing(rb->device, drawctxt->base.id,
		adreno_profile_preib_processing(rb->device, context_id,
				&flags, &ringcmds, &rcmd_gpu);

	/* start-of-pipeline timestamp */