Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9079b45e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: configure macrotiling channels for A680"

parents 53bc9907 7523b0c3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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;