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>
This commit is contained in:
Ranjhith Kalisamy
2011-09-02 20:01:06 +05:30
committed by Bryan Huntsman
parent 3246739c23
commit 3fcdb3301f

View File

@@ -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 */