summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/flcn_gp106.h
diff options
context:
space:
mode:
authorMahantesh Kumbar <mkumbar@nvidia.com>2017-06-28 06:53:18 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-03 06:16:55 -0400
commit2f712e22303471b8dd2f9388c874d12b07aed258 (patch)
treec6898c29860abc2970028fd6da60002819fb6488 /drivers/gpu/nvgpu/gp106/flcn_gp106.h
parentd2486cf1b1d0b0e3306ba6eb0a8b6573fa27d03e (diff)
gpu: nvgpu: falcon HAL to support SEC2
- Updated falcon controller HAL to support SEC2 falcon & used "is_falcon_supported" flag to know the support on chip. - Created falcon HAL “flcn_gp106.c/h” under gp106 to enable support for SEC2 & inherited gk20a flcn support. - Deleted SEC2 falcon related methods to make use of generic flacon controller methods for SEC2. - GP106 SEC2 code cleanup NVPU JIRA-99 Change-Id: I846e8015ed33554b3d8a45795314f1d28eee482f Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: https://git-master/r/1510200 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/flcn_gp106.h')
-rw-r--r--drivers/gpu/nvgpu/gp106/flcn_gp106.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/flcn_gp106.h b/drivers/gpu/nvgpu/gp106/flcn_gp106.h
new file mode 100644
index 00000000..d5ea14ae
--- /dev/null
+++ b/drivers/gpu/nvgpu/gp106/flcn_gp106.h
@@ -0,0 +1,18 @@
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 gp106_falcon_init_hal(struct gpu_ops *gops);
17
18#endif /* __FLCN_GK20A_H__ */