mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
Merge "msm: kgsl: configure macrotiling channels for A680"
This commit is contained in:
commit
9079b45e60
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