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

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

Merge "msm: kgsl: set bit 24 of CP_CHICKEN_DBG for A702"

parents 6bf21e2a db860b2f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -582,6 +582,13 @@ static void a6xx_start(struct adreno_device *adreno_dev)
	if (a6xx_core->disable_tseskip)
		kgsl_regrmw(device, A6XX_PC_DBG_ECO_CNTL, 0, (1 << 9));

	/*
	 * Set the bit HLSQCluster3ContextDis for A702 as HLSQ doesn't
	 * have context buffer for third context
	 */
	if (adreno_is_a702(adreno_dev))
		kgsl_regwrite(device, A6XX_CP_CHICKEN_DBG, (1 << 24));

	/* Enable the GMEM save/restore feature for preemption */
	if (adreno_is_preemption_enabled(adreno_dev))
		kgsl_regwrite(device, A6XX_RB_CONTEXT_SWITCH_GMEM_SAVE_RESTORE,