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

Commit 546724fc authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 2411250d 392b55fe
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));