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

Commit b9ca5433 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Avoid register write miss for a fenced register"

parents 84115b00 095c0669
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3403,6 +3403,12 @@ int adreno_gmu_fenced_write(struct adreno_device *adreno_dev,
		return 0;

	for (i = 0; i < GMU_CORE_LONG_WAKEUP_RETRY_LIMIT; i++) {
		/*
		 * Make sure the previous register write is posted before
		 * checking the fence status
		 */
		mb();

		adreno_read_gmureg(adreno_dev, ADRENO_REG_GMU_AHB_FENCE_STATUS,
			&status);