msm: kgsl: Increase REG_RBBM_CNTL value to 0xFFFF for A20X

Increase number of clocks that RBBM will wait before de-asserting
the Register Clock Active signal. This fixes kernel panics during
stability tests on multiple devices

Change-Id: I6f7f8bb17cfd9c5beed0fd21d56ab6ab9fd40195
Signed-off-by: Rammohan Basavaraju <rammoh@codeaurora.org>
Signed-off-by: Rajeev Kulkarni <krajeev@codeaurora.org>
This commit is contained in:
Rammohan Basavaraju 2012-08-28 16:30:25 +05:30 committed by Stephen Boyd
parent e47b26408e
commit e1d43b1880

View file

@ -1983,10 +1983,10 @@ static void a2xx_start(struct adreno_device *adreno_dev)
0x18000000);
}
if (adreno_is_a203(adreno_dev))
/* For A203 increase number of clocks that RBBM
* will wait before de-asserting Register Clock
* Active signal */
if (adreno_is_a20x(adreno_dev))
/* For A20X based targets increase number of clocks
* that RBBM will wait before de-asserting Register
* Clock Active signal */
adreno_regwrite(device, REG_RBBM_CNTL, 0x0000FFFF);
else
adreno_regwrite(device, REG_RBBM_CNTL, 0x00004442);