From 3fcdb3301fc08eabfe82d75bcbb2d8545de7fdbf Mon Sep 17 00:00:00 2001 From: Ranjhith Kalisamy Date: Fri, 2 Sep 2011 20:01:06 +0530 Subject: [PATCH] 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 --- drivers/gpu/msm/adreno.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/msm/adreno.c b/drivers/gpu/msm/adreno.c index 434f5436c42..1aeda9e0aa9 100644 --- a/drivers/gpu/msm/adreno.c +++ b/drivers/gpu/msm/adreno.c @@ -540,7 +540,7 @@ static int adreno_start(struct kgsl_device *device, unsigned int init_ram) 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 */