mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "drivers: soc: qcom: rimps_memlat: add configs to get PMU/AMU count"
This commit is contained in:
commit
ebc88295bf
2 changed files with 13 additions and 1 deletions
|
|
@ -860,6 +860,17 @@ config QTI_HW_MEMLAT
|
|||
table, PMU counters and saving the values of PMU counters during LPM and
|
||||
hotplug.
|
||||
|
||||
config QTI_HW_NUM_AMU
|
||||
int
|
||||
default 7 if ARCH_LAHAINA && QTI_HW_MEMLAT
|
||||
default 5 if ARCH_HOLI && QTI_HW_MEMLAT
|
||||
default 5
|
||||
|
||||
config QTI_HW_NUM_PMU
|
||||
int
|
||||
default 6 if (ARCH_LAHAINA || ARCH_HOLI) && QTI_HW_MEMLAT
|
||||
default 6
|
||||
|
||||
config QTI_HW_MEMLAT_SCMI_CLIENT
|
||||
tristate "Qualcomm Technologies Inc. SCMI client driver for HW MEMLAT"
|
||||
depends on QTI_HW_MEMLAT
|
||||
|
|
|
|||
|
|
@ -102,7 +102,8 @@ struct core_dev_map {
|
|||
struct cpu_pmu_ctrs {
|
||||
uint32_t ccntr_lo;
|
||||
uint32_t ccntr_hi;
|
||||
uint32_t evcntr[MAX_EVCNTRS];
|
||||
uint32_t evcntr[CONFIG_QTI_HW_NUM_PMU];
|
||||
uint32_t amu_evcntr[CONFIG_QTI_HW_NUM_AMU * 2];
|
||||
uint32_t valid;
|
||||
uint32_t unused0;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue