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

Commit e7ac4e37 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: Call adreno_spin_idle instead of kgsl_idle"

parents 0251e8d6 b4916da7
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -1909,7 +1909,7 @@ static int kgsl_iommu_flush_pt(struct kgsl_mmu *mmu)

	/* For v0 SMMU GPU needs to be idle for tlb invalidate as well */
	if (msm_soc_version_supports_iommu_v0()) {
		ret = kgsl_idle(mmu->device);
		ret = adreno_spin_idle(mmu->device);
		if (ret)
			return ret;
	}
@@ -1981,7 +1981,11 @@ static int kgsl_iommu_set_pt(struct kgsl_mmu *mmu,

	pt_base = kgsl_iommu_get_pt_base_addr(mmu, pt);

	ret = kgsl_idle(mmu->device);
	/*
	 * Taking the liberty to spin idle since this codepath
	 * is invoked when we can spin safely for it to be idle
	 */
	ret = adreno_spin_idle(mmu->device);
	if (ret)
		return ret;