mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
gpu: host1x: Add API for reading actmon count
Add API for reading the activity monitor average count for VIC, NVENC, and NVDEC. There is currently no support for initializing actmon, so this relies on someone else on a virtualized system having initialized it (and mapped the actmon region read-only). Bug 3973633 Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Change-Id: Ia1bfec6a090d4effb288b17cbac4d42bf5d0b4e5 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2864719 Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
Laxman Dewangan
parent
4207a59049
commit
41a9f72f78
@@ -506,4 +506,6 @@ static inline void host1x_memory_context_put(struct host1x_memory_context *cd)
|
||||
}
|
||||
#endif
|
||||
|
||||
int host1x_actmon_read_avg_count(struct host1x_client *client);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user