tegra: hwpm: th500: Add support for CL2

This patch adds support for CL2 (LTS) performance
monitoring in the driver.

Bug 4287384

Signed-off-by: Vishal Aslot <vaslot@nvidia.com>
Change-Id: Ieed663f0149bc52576fcf6d71de0e627b11fdc84
Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2988343
Reviewed-by: Vedashree Vidwans <vvidwans@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Vishal Aslot
2023-09-29 15:09:16 +00:00
committed by mobile promotions
parent 095e1bafd8
commit 6e75fd7b50
11 changed files with 1161 additions and 48 deletions

View File

@@ -79,6 +79,7 @@ enum tegra_hwpm_ip_enum {
TEGRA_HWPM_IP_APE,
TEGRA_HWPM_IP_C2C,
TEGRA_HWPM_IP_SMMU,
TEGRA_HWPM_IP_CL2,
TERGA_HWPM_NUM_IPS
};
@@ -109,6 +110,7 @@ enum tegra_hwpm_resource_enum {
TEGRA_HWPM_RESOURCE_APE,
TEGRA_HWPM_RESOURCE_C2C,
TEGRA_HWPM_RESOURCE_SMMU,
TEGRA_HWPM_RESOURCE_CL2,
TERGA_HWPM_NUM_RESOURCES
};