msm: kgsl: Prevent writes to ringbuffer WPTR from being dropped
Sometimes, the writes to ringbuffer WPTR register are dropped. This will
make the GPU to go to idle before completing all the commands that it is
submitted with. This workaround prevents the writes from being dropped.
CRs-Fixed: 302173
Signed-off-by: Ranjhith Kalisamy <ranjhith@codeaurora.org>
diff --git a/drivers/gpu/msm/adreno.c b/drivers/gpu/msm/adreno.c
index 434f543..1aeda9e 100644
--- a/drivers/gpu/msm/adreno.c
+++ b/drivers/gpu/msm/adreno.c
@@ -540,7 +540,7 @@
KGSL_DEVICE_MEMSTORE_OFFSET(ref_wait_ts),
init_reftimestamp);
- adreno_regwrite(device, REG_RBBM_DEBUG, 0x00080000);
+ adreno_regwrite(device, REG_RBBM_DEBUG, 0x000C0000);
/* Make sure interrupts are disabled */