mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 17:30:40 +03:00
tegra: hwpm: th500: Add support for C-NVLINK
This patch adds support for C-NVLINK performance monitoring in the driver. C-NVLINK consists of RX, TX, and CTRL apertures, each with its own perfmux signals and perfmons. So this patch breaks them up into three sets of perfmux-perfmon data structures. Bug 4287384 Signed-off-by: Vishal Aslot <vaslot@nvidia.com> Change-Id: Id8be4c965018125765f75a7b8bc8ab809bb7f976 Reviewed-on: https://git-master.nvidia.com/r/c/linux-hwpm/+/2999166 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Reviewed-by: Vedashree Vidwans <vvidwans@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
6e75fd7b50
commit
bc6fdf1f18
@@ -47,6 +47,9 @@ enum tegra_soc_hwpm_ip {
|
||||
TEGRA_SOC_HWPM_IP_C2C,
|
||||
TEGRA_SOC_HWPM_IP_SMMU,
|
||||
TEGRA_SOC_HWPM_IP_CL2,
|
||||
TEGRA_SOC_HWPM_IP_NVLCTRL,
|
||||
TEGRA_SOC_HWPM_IP_NVLRX,
|
||||
TEGRA_SOC_HWPM_IP_NVLTX,
|
||||
TERGA_SOC_HWPM_NUM_IPS
|
||||
};
|
||||
|
||||
@@ -116,6 +119,9 @@ enum tegra_soc_hwpm_resource {
|
||||
TEGRA_SOC_HWPM_RESOURCE_C2C,
|
||||
TEGRA_SOC_HWPM_RESOURCE_SMMU,
|
||||
TEGRA_SOC_HWPM_RESOURCE_CL2,
|
||||
TEGRA_SOC_HWPM_RESOURCE_NVLCTRL,
|
||||
TEGRA_SOC_HWPM_RESOURCE_NVLRX,
|
||||
TEGRA_SOC_HWPM_RESOURCE_NVLTX,
|
||||
TERGA_SOC_HWPM_NUM_RESOURCES
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user