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

Commit 859f3d6a authored by Harshdeep Dhatt's avatar Harshdeep Dhatt
Browse files

msm: kgsl: Enable perfcounters on A6XX



Turn on the perfcounters for a6XX.

Change-Id: Ib7ae3f9289eda6ac90002a1180b23eb86b4eceb3
Signed-off-by: default avatarHarshdeep Dhatt <hdhatt@codeaurora.org>
parent 37c5e5a5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -235,6 +235,9 @@ static void a6xx_start(struct adreno_device *adreno_dev)
	/* Set the AHB default slave response to "ERROR" */
	kgsl_regwrite(device, A6XX_CP_AHB_CNTL, 0x1);

	/* Turn on performance counters */
	kgsl_regwrite(device, A6XX_RBBM_PERFCTR_CNTL, 0x1);

	if (of_property_read_u32(device->pdev->dev.of_node,
		"qcom,highest-bank-bit", &bit))
		bit = MIN_HBB;