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

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

Merge "msm: kgsl: Skip soft reset for A612 GPU"

parents 8a828d87 1874780b
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -2257,11 +2257,13 @@ static inline bool adreno_try_soft_reset(struct kgsl_device *device, int fault)

	/*
	 * Do not do soft reset for a IOMMU fault (because the IOMMU hardware
	 * needs a reset too) or for the A304 because it can't do SMMU
	 * programming of any kind after a soft reset
	 * needs a reset too) and also for below gpu
	 * A304: It can't do SMMU programming of any kind after a soft reset
	 * A612: IPC protocol between RGMU and CP will not restart after reset
	 */

	if ((fault & ADRENO_IOMMU_PAGE_FAULT) || adreno_is_a304(adreno_dev))
	if ((fault & ADRENO_IOMMU_PAGE_FAULT) || adreno_is_a304(adreno_dev) ||
			adreno_is_a612(adreno_dev))
		return false;

	return true;