Skip to content

Commit

Permalink
msm: kgsl: Increase REG_RBBM_CNTL value to 0xFFFF for A200
Browse files Browse the repository at this point in the history
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: I50ad69f28b50444e88239c2332bd5756db1ae089
CRs-fixed: 372793
Signed-off-by: Rammohan Basavaraju <[email protected]>
  • Loading branch information
Rammohan Basavaraju authored and KonstaT committed Nov 6, 2012
1 parent f52643f commit 8a63d98
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/gpu/msm/adreno.c
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,10 @@ static int adreno_start(struct kgsl_device *device, unsigned int init_ram)

adreno_regwrite(device, REG_RBBM_SOFT_RESET, 0x00000000);

adreno_regwrite(device, REG_RBBM_CNTL, 0x00004442);
if (adreno_is_a200(adreno_dev))
adreno_regwrite(device, REG_RBBM_CNTL, 0x0000FFFF);
else
adreno_regwrite(device, REG_RBBM_CNTL, 0x00004442);

if (adreno_is_a225(adreno_dev)) {
/* Enable large instruction store for A225 */
Expand Down

0 comments on commit 8a63d98

Please sign in to comment.