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

Commit 345f112b authored by Shrenuj Bansal's avatar Shrenuj Bansal
Browse files

msm: kgsl: Add a missing field in the a4xx_perfcounters_vbif_pwr



The usercount field for adreno_perfcount_register was missing from
the a4xx_perfcounters_vbif_pwr causing us to read an incorrect
offset when trying to read those registers.

Change-Id: I46a8e407caf4f996f86f52e43eed3d1f106a5741
Signed-off-by: default avatarShrenuj Bansal <shrenujb@codeaurora.org>
parent f55c823c
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -559,13 +559,13 @@ static struct adreno_perfcount_register a4xx_perfcounters_vbif[] = {
};

static struct adreno_perfcount_register a4xx_perfcounters_vbif_pwr[] = {
	{ KGSL_PERFCOUNTER_NOT_USED, 0, A4XX_VBIF_PERF_PWR_CNT_LOW0,
	{ KGSL_PERFCOUNTER_NOT_USED, 0, 0, A4XX_VBIF_PERF_PWR_CNT_LOW0,
		-1, A4XX_VBIF_PERF_PWR_CNT_EN0 },
	{ KGSL_PERFCOUNTER_NOT_USED, 0, A4XX_VBIF_PERF_PWR_CNT_LOW1,
	{ KGSL_PERFCOUNTER_NOT_USED, 0, 0, A4XX_VBIF_PERF_PWR_CNT_LOW1,
		-1, A4XX_VBIF_PERF_PWR_CNT_EN1 },
	{ KGSL_PERFCOUNTER_NOT_USED, 0, A4XX_VBIF_PERF_PWR_CNT_LOW2,
	{ KGSL_PERFCOUNTER_NOT_USED, 0, 0, A4XX_VBIF_PERF_PWR_CNT_LOW2,
		-1, A4XX_VBIF_PERF_PWR_CNT_EN2 },
	{ KGSL_PERFCOUNTER_NOT_USED, 0, A4XX_VBIF_PERF_PWR_CNT_LOW3,
	{ KGSL_PERFCOUNTER_NOT_USED, 0, 0, A4XX_VBIF_PERF_PWR_CNT_LOW3,
		-1, A4XX_VBIF_PERF_PWR_CNT_EN3 },
};