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

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

Merge "msm: kgsl: set GMU fault when fence does not come to allow mode"

parents 833415f7 3a16976c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
/* Copyright (c) 2002,2007-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2002,2007-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -654,6 +654,10 @@ static irqreturn_t adreno_irq_handler(struct kgsl_device *device)
					"Status=0x%x Unmasked status=0x%x Mask=0x%x\n",
					shadow_status & irq_params->mask,
					shadow_status, irq_params->mask);
				adreno_set_gpu_fault(adreno_dev,
						ADRENO_GMU_FAULT);
				adreno_dispatcher_schedule(KGSL_DEVICE
						(adreno_dev));
				goto done;
			}
			fence_retries++;