summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/flcn_gk20a.h
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2017-04-24 06:07:19 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-03 02:36:07 -0400
commit940cd280e15a206d51ceaf42d407fa4b96f40c9a (patch)
tree99e35e4e950c78ef11fe340f6ae10a91d2834299 /drivers/gpu/nvgpu/gk20a/flcn_gk20a.h
parentf30a685f48768b784fb92652d945f43a289e13c4 (diff)
gpu: nvgpu: falcon controller HAL init
- Assign base address for falcon based on falcon id. - Init mutex for falcon - Init ops with NULL Change-Id: I9efee5c2b15106c7dfc6e55c996f62c7f7b85fc2 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/1468452 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/flcn_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/flcn_gk20a.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/flcn_gk20a.h b/drivers/gpu/nvgpu/gk20a/flcn_gk20a.h
new file mode 100644
index 00000000..388dba31
--- /dev/null
+++ b/drivers/gpu/nvgpu/gk20a/flcn_gk20a.h
@@ -0,0 +1,19 @@
1/*
2 * Copyright (c) 2017, 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#ifndef __FLCN_GK20A_H__
14#define __FLCN_GK20A_H__
15
16void gk20a_falcon_sw_init(struct nvgpu_falcon *flcn);
17void gk20a_falcon_init_hal(struct gpu_ops *gops);
18
19#endif /* __FLCN_GK20A_H__ */