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

Commit 6250b4bd authored by Puranam V G Tejaswi's avatar Puranam V G Tejaswi
Browse files

msm: kgsl: allow clock set options during state transitions for A702



Add control to enable and disable memory retention for clocks in A702.
For nap enabled targets like A702, it is required to have memory
retention enabled for the core clock during nap. Retention can be disabled
during slumber.

Change-Id: Iea5044667ce1fde361ba7dec8797142b8f1d504e
Signed-off-by: default avatarPuranam V G Tejaswi <pvgtejas@codeaurora.org>
parent e117350b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2645,7 +2645,7 @@ static int a6xx_perfcounter_update(struct adreno_device *adreno_dev,
static void a6xx_clk_set_options(struct adreno_device *adreno_dev,
	const char *name, struct clk *clk, bool on)
{
	if (!adreno_is_a610(adreno_dev))
	if (!adreno_is_a610(adreno_dev) && !adreno_is_a702(adreno_dev))
		return;

	/* Handle clock settings for GFX PSCBCs */