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

Commit 64e87bfb authored by Lokesh Batra's avatar Lokesh Batra
Browse files

msm: kgsl: Set primFifo thresholds value for A640



Set the primFifo thresholds field in GPU_PC_DBG_ECO_CNTL register
for A640.

Change-Id: I4c87146fb148da522989376ef9f1488a546f889c
Signed-off-by: default avatarLokesh Batra <lbatra@codeaurora.org>
parent 42123387
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -801,7 +801,10 @@ static void a6xx_start(struct adreno_device *adreno_dev)
	/* Setting the mem pool size */
	kgsl_regwrite(device, A6XX_CP_MEM_POOL_SIZE, 128);

	/* Setting the primFifo thresholds default values */
	/* Setting the primFifo thresholds values */
	if (adreno_is_a640(adreno_dev))
		kgsl_regwrite(device, A6XX_PC_DBG_ECO_CNTL, (0x400 << 11));
	else
		kgsl_regwrite(device, A6XX_PC_DBG_ECO_CNTL, (0x300 << 11));

	/* Set the AHB default slave response to "ERROR" */