mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Re-factor perfmon unit
- Move the perfmon unit source code to common/pmu/perfmon/ folder - Separate perfmon unit headers under include/nvgpu/pmu/pmu_perfmon.h - Make a new structure: nvgpu_pmu_perfmon for perfmon unit - This new struct combines all perfmon unit variables like perfmon_query, perfmon_ready etc. into one structure as a part of perfmon unit refactoring. - Use pmu_perfmon struct to access all perfmon variables. - Eg: pmu->pmu_perfmon->perfmon_query, pmu->pmu_perfmon->perfmon_ready and so on. JIRA NVGPU-1961 Change-Id: I57516c646bfb256004dd7b719e40fafd3c2a09b2 Signed-off-by: Divya Singhatwaria <dsinghatwari@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2080555 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
3c08a91de8
commit
700c16599e
@@ -27,6 +27,7 @@
|
||||
#include <nvgpu/gr/obj_ctx.h>
|
||||
#include <nvgpu/power_features/cg.h>
|
||||
#include <nvgpu/power_features/pg.h>
|
||||
#include <nvgpu/pmu/pmu_perfmon.h>
|
||||
|
||||
#include "os_linux.h"
|
||||
#include "sysfs.h"
|
||||
|
||||
Reference in New Issue
Block a user