diff options
author | Lukasz Luba <l.luba@partner.samsung.com> | 2019-01-11 18:43:31 +0100 |
---|---|---|
committer | Junghoon Kim <jhoon20.kim@samsung.com> | 2019-02-14 14:58:09 +0900 |
commit | bb9e23f7abf8c91d9b70184bcfad7d8d7dc854a6 (patch) | |
tree | e69aca7330f522b726524b6f209d054778170ab9 /drivers | |
parent | 78f4d6e172f5f1900b1b4a4e6b44c4504ebf8d2b (diff) | |
download | linux-exynos-bb9e23f7abf8c91d9b70184bcfad7d8d7dc854a6.tar.gz linux-exynos-bb9e23f7abf8c91d9b70184bcfad7d8d7dc854a6.tar.bz2 linux-exynos-bb9e23f7abf8c91d9b70184bcfad7d8d7dc854a6.zip |
drivers: devfreq: events: add Exynos PPMU new events
Define new performance events supported by Exynos5422 SoC counters.
The counters are built-in in Dynamic Memory Controller and provide
information regarding memory utilization.
Change-Id: Ia5feaed119cdbbdf570f8a5b3efcf231c500a2c8
Signed-off-by: Lukasz Luba <l.luba@partner.samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/devfreq/event/exynos-ppmu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c index d96e3dc71cf8..756c848660bd 100644 --- a/drivers/devfreq/event/exynos-ppmu.c +++ b/drivers/devfreq/event/exynos-ppmu.c @@ -89,6 +89,12 @@ static struct __exynos_ppmu_events { PPMU_EVENT(d1-cpu), PPMU_EVENT(d1-general), PPMU_EVENT(d1-rt), + + /* For Exynos5422 SoC */ + PPMU_EVENT(dmc0_0), + PPMU_EVENT(dmc0_1), + PPMU_EVENT(dmc1_0), + PPMU_EVENT(dmc1_1), }; static int exynos_ppmu_find_ppmu_id(struct devfreq_event_dev *edev) |