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

Commit c55966ac 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: Initialize SPTP power collapse before loading GPMU"

parents 89fd54fa 8eb0b2f4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1801,6 +1801,9 @@ static int a5xx_hw_init(struct adreno_device *adreno_dev)
	/* Set up LM before initializing the GPMU */
	a5xx_lm_init(adreno_dev);

	/* Enable SPTP based power collapse before enabling GPMU */
	a5xx_enable_pc(adreno_dev);

	/* Program the GPMU */
	ret = a5xx_gpmu_start(adreno_dev);
	if (ret)
@@ -1811,9 +1814,6 @@ static int a5xx_hw_init(struct adreno_device *adreno_dev)

	a5xx_post_start(adreno_dev);

	/* Enable GPMU based power collapse */
	a5xx_enable_pc(adreno_dev);

	return 0;
}