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

Commit 1c50007c authored by Deepak Kumar's avatar Deepak Kumar
Browse files

msm: kgsl: Skip soft reset for A610 GPU



There is an across chip issue with reset line on all
11nm and 14nm chips because of which GPU soft reset
can result in issues. Skip Soft reset for A610 GPU
and always use hard reset. 

Change-Id: I8aeb7b4026d189fbaa7c01e2d1d0a06d08342bf1
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
parent b9ca5433
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;