summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2016-11-14 09:22:50 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-10 12:24:06 -0500
commitf3e0dba8bfb20489f23c93a16bc5bd337206705f (patch)
treea341f26b68ad6ec2f7994ee26852c551af32d311 /drivers/gpu/nvgpu/gk20a/gk20a.h
parente239ce69b38a9a557ed466a3bd9b090916f6cd31 (diff)
gpu: nvgpu: pg stat read update
- Added struct pmu_pg_stats_data to extract data from multiple version of pmu pg statistics - Added pmu_pg_stats_v2 interface to fetch PG statistics data from PMU - Added MSCG debugfs node to read mscg statistics from PMU. - Added pmu_elpg_statistics HAL support for gp106 PG statistics read. - Made changes to gp104/gp106 pmu_elpg_statistics HAL to support for struct pmu_pg_stats_data JIRA DNVGPU-165 Change-Id: I2b9e89c0fae90deb45006c4478170b9a97b56603 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1252798 (cherry picked from commit 3c073b15fd991db8d65b3171b02c161294be40cd) Reviewed-on: http://git-master/r/1271615 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index b955a84a..cf147ae8 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * GK20A Graphics 2 * GK20A Graphics
3 * 3 *
4 * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -605,8 +605,7 @@ struct gpu_ops {
605 int (*load_lsfalcon_ucode)(struct gk20a *g, u32 falconidmask); 605 int (*load_lsfalcon_ucode)(struct gk20a *g, u32 falconidmask);
606 void (*write_dmatrfbase)(struct gk20a *g, u32 addr); 606 void (*write_dmatrfbase)(struct gk20a *g, u32 addr);
607 void (*pmu_elpg_statistics)(struct gk20a *g, u32 pg_engine_id, 607 void (*pmu_elpg_statistics)(struct gk20a *g, u32 pg_engine_id,
608 u32 *ingating_time, u32 *ungating_time, 608 struct pmu_pg_stats_data *pg_stat_data);
609 u32 *gating_cnt);
610 int (*pmu_pg_init_param)(struct gk20a *g, u32 pg_engine_id); 609 int (*pmu_pg_init_param)(struct gk20a *g, u32 pg_engine_id);
611 u32 (*pmu_pg_supported_engines_list)(struct gk20a *g); 610 u32 (*pmu_pg_supported_engines_list)(struct gk20a *g);
612 u32 (*pmu_pg_engines_feature_list)(struct gk20a *g, 611 u32 (*pmu_pg_engines_feature_list)(struct gk20a *g,