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

Commit 1cd0b86b authored by Suman Tatiraju's avatar Suman Tatiraju
Browse files

msm: kgsl: Enable SP/TP power collapse



Set the SP/TP bit in pwrctrl flags to enable the feature
for all chips that support it.

Change-Id: Iab7044d6f028eee45e6e36b1fa37d93f8c260c35
Signed-off-by: default avatarSuman Tatiraju <sumant@codeaurora.org>
parent 2775014d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -620,6 +620,9 @@ static void a4xx_start(struct adreno_device *adreno_dev)
	}

	a4xx_protect_init(adreno_dev);

	/* Enable SP/TP power collapse for GPUs that support it */
	set_bit(ADRENO_SPTP_PC_CTRL, &adreno_dev->pwrctrl_flag);
}

int a4xx_perfcounter_enable_vbif(struct adreno_device *adreno_dev,