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

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

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

parents 94faa6ac 1c50007c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2310,10 +2310,13 @@ static inline bool adreno_try_soft_reset(struct kgsl_device *device, int fault)
	 * 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
	 * A610: An across chip issue with reset line in all 11nm chips,
	 * resulting in recommendation to not use soft reset.
	 */

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

	return true;