summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/pmu_gp10b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/pmu_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/pmu_gp10b.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.h b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.h
new file mode 100644
index 00000000..c9ac9d41
--- /dev/null
+++ b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.h
@@ -0,0 +1,26 @@
1/*
2 * GP10B PMU
3 *
4 * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
5 *
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,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 */
15
16#ifndef __PMU_GP10B_H_
17#define __PMU_GP10B_H_
18
19void gp10b_init_pmu_ops(struct gpu_ops *gops);
20int gp10b_load_falcon_ucode(struct gk20a *g, u32 falconidmask);
21int gp10b_pg_gr_init(struct gk20a *g, u32 pg_engine_id);
22void gp10b_write_dmatrfbase(struct gk20a *g, u32 addr);
23void gp10b_pmu_elpg_statistics(struct gk20a *g, u32 pg_engine_id,
24 u32 *ingating_time, u32 *ungating_time, u32 *gating_cnt);
25
26#endif /*__PMU_GP10B_H_*/