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

Commit ebf54033 authored by Harshdeep Dhatt's avatar Harshdeep Dhatt Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Update ROQ size for A640 and A680



A640 and A680 have twice the size of ROQ as A630.

Change-Id: Ic92005e3cd189ec343348b36e244090725652ddd
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent a520a5b6
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -743,6 +743,10 @@ static void a6xx_start(struct adreno_device *adreno_dev)
	kgsl_regwrite(device, A6XX_UCHE_FILTER_CNTL, 0x804);
	kgsl_regwrite(device, A6XX_UCHE_CACHE_WAYS, 0x4);

	/* ROQ sizes are twice as big on a640/a680 than on a630 */
	if (adreno_is_a640(adreno_dev) || adreno_is_a680(adreno_dev))
		kgsl_regwrite(device, A6XX_CP_ROQ_THRESHOLDS_2, 0x02000140);
	else
		kgsl_regwrite(device, A6XX_CP_ROQ_THRESHOLDS_2, 0x010000C0);
	kgsl_regwrite(device, A6XX_CP_ROQ_THRESHOLDS_1, 0x8040362C);