msm: kgsl: Avoid false GMU alarm due to preemption
Do not allow rescheduling if GMU responds to driver requests
within a millisecond in normal cases. Increase HFI receiving
message timeout value to allow GMU watchdog interrupt to happen
before driver alarms. GMU watchdog interrupt provides more GMU
relevant debugging information.
CRs-Fixed: 2120475
Change-Id: Ia7f45354d2dbfbac5b4c7810b94526b89062d0da
Signed-off-by: George Shen <sqiao@codeaurora.org>
diff --git a/drivers/gpu/msm/kgsl_hfi.h b/drivers/gpu/msm/kgsl_hfi.h
index 191987e..105599c 100644
--- a/drivers/gpu/msm/kgsl_hfi.h
+++ b/drivers/gpu/msm/kgsl_hfi.h
@@ -115,7 +115,7 @@
HFI_F2H_QPRI_DEBUG = 40,
};
-#define HFI_RSP_TIMEOUT 500 /* msec */
+#define HFI_RSP_TIMEOUT 5000 /* msec */
#define HFI_H2F_CMD_IRQ_MASK BIT(0)
enum hfi_msg_type {