mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
msm: kgsl: Configure IFPC perf counter in platform_setup
Currently ifpc counter is not enabled because gmu core is disabled during probe. This patch updates the check for configuring perfctr_ifpc_lo during platform_setup. Change-Id: Icebfba2bef89a6411f350c230b54d67f372de132 Signed-off-by: Pankaj Gupta <[email protected]>
This commit is contained in:
parent
171b7a49c6
commit
8a4b3ccb98
1 changed files with 1 additions and 1 deletions
|
|
@ -2319,7 +2319,7 @@ static void a6xx_platform_setup(struct adreno_device *adreno_dev)
|
|||
adreno_dev->perfctr_pwr_lo = A6XX_GMU_CX_GMU_POWER_COUNTER_XOCLK_0_L;
|
||||
|
||||
/* Set the counter for IFPC */
|
||||
if (gmu_core_isenabled(KGSL_DEVICE(adreno_dev)))
|
||||
if (ADRENO_FEATURE(adreno_dev, ADRENO_IFPC))
|
||||
adreno_dev->perfctr_ifpc_lo =
|
||||
A6XX_GMU_CX_GMU_POWER_COUNTER_XOCLK_4_L;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue