summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm206/pmu_gm206.h
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2016-05-30 12:17:04 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2016-06-05 18:35:19 -0400
commitb6b7da610853b0efc0890027aaf0eb29eb7c7545 (patch)
treea6db3703e73f2d7e8d6a2d4b014ed9fd406dfd2a /drivers/gpu/nvgpu/gm206/pmu_gm206.h
parentab458d05821554ee35328bc40ac30160862fe657 (diff)
gpu: nvgpu: PMU support for gm204/gm206
Adding PMU modules to boot & comunicate with PMU F/W JIRA DNVGPU-11 Change-Id: I5afc9209f70fc13376268f9c94daef6b75527c71 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1156028 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm206/pmu_gm206.h')
-rw-r--r--drivers/gpu/nvgpu/gm206/pmu_gm206.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm206/pmu_gm206.h b/drivers/gpu/nvgpu/gm206/pmu_gm206.h
new file mode 100644
index 00000000..418f30ac
--- /dev/null
+++ b/drivers/gpu/nvgpu/gm206/pmu_gm206.h
@@ -0,0 +1,22 @@
1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 */
13
14#ifndef __PMU_GM206_H_
15#define __PMU_GM206_H_
16
17void gm206_init_pmu_ops(struct gpu_ops *gops);
18bool gm206_is_priv_load(u32 falcon_id);
19bool gm206_is_lazy_bootstrap(u32 falcon_id);
20int gm206_load_falcon_ucode(struct gk20a *g, u32 falconidmask);
21
22#endif /*__PMU_GM206_H_*/