mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
msm: kgsl: configure macrotiling channels for A680
For macrotiling change on a680, will affect RB, SP and TP 0 means UBWC 3.0, 1 means UBWC 3.1, this change configures the RBBM hardware accordingly. Change-Id: Ife8325a88e37b5b81ef6060c11edb7b7b2aab165 Signed-off-by: Hui Li <hul@codeaurora.org>
This commit is contained in:
parent
9efe49ec3a
commit
7523b0c37e
1 changed files with 7 additions and 0 deletions
|
|
@ -652,6 +652,13 @@ void a6xx_start(struct adreno_device *adreno_dev)
|
|||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* For macrotiling change on a680, will affect RB, SP and TP
|
||||
* 0 means UBWC 3.0, 1 means UBWC 3.1
|
||||
*/
|
||||
if (adreno_is_a680(adreno_dev))
|
||||
kgsl_regwrite(device, A6XX_RBBM_NC_MODE_CNTL, 1);
|
||||
|
||||
if (!WARN_ON(!adreno_dev->highest_bank_bit)) {
|
||||
hbb_lo = (adreno_dev->highest_bank_bit - 13) & 3;
|
||||
hbb_hi = ((adreno_dev->highest_bank_bit - 13) >> 2) & 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue