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

Commit 392b55fe authored by Rajeev Kulkarni's avatar Rajeev Kulkarni Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Disable CP speed up during bootup for A430 derivatives



The CP speed up had to be disabled for the bootstrap sequence for
A430 due to failure during ME init. The same problem exists on
the GPUs derived from A430 and the same fix needs to be applied
to these as well.

CRs-Fixed: 808510
Change-Id: I094f869abbdc64c4b85837bce2f8c8ed1986ae6c
Signed-off-by: default avatarRajeev Kulkarni <krajeev@codeaurora.org>
parent b6137ded
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -734,8 +734,11 @@ static void a4xx_start(struct adreno_device *adreno_dev)
	/* On A420 cores turn on SKIP_IB2_DISABLE in addition to the default */
	if (adreno_is_a420(adreno_dev))
		cp_debug |= (1 << 29);
	/* Set chicken bit to disable the speed up of bootstrap on A430 */
	else if (adreno_is_a430(adreno_dev))
	/*
	 * Set chicken bit to disable the speed up of bootstrap on A430
	 * and its derivatives
	 */
	else
		cp_debug |= (1 << 14);

	kgsl_regwrite(device, A4XX_CP_DEBUG, cp_debug);
+2 −2
Original line number Diff line number Diff line
@@ -488,8 +488,8 @@ static int _ringbuffer_bootstrap_ucode(struct adreno_ringbuffer *rb,
		kgsl_device_snapshot(device, NULL);
	}

	/* Clear the chicken bit for speed up on A430 cores */
	if (adreno_is_a430(adreno_dev))
	/* Clear the chicken bit for speed up on A430 and its derivatives */
	if (!adreno_is_a420(adreno_dev))
		kgsl_regwrite(device, A4XX_CP_DEBUG,
					A4XX_CP_DEBUG_DEFAULT & ~(1 << 14));