summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/hal_gk20a.c
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/hal_gk20a.c
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/hal_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/hal_gk20a.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c
index 2ea4a0f1..3dbe856d 100644
--- a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c
@@ -3,7 +3,7 @@
3 * 3 *
4 * GK20A Tegra HAL interface. 4 * GK20A Tegra HAL interface.
5 * 5 *
6 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. 6 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify it 8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms and conditions of the GNU General Public License, 9 * under the terms and conditions of the GNU General Public License,
@@ -26,6 +26,7 @@
26#include "fecs_trace_gk20a.h" 26#include "fecs_trace_gk20a.h"
27#include "mm_gk20a.h" 27#include "mm_gk20a.h"
28#include "mc_gk20a.h" 28#include "mc_gk20a.h"
29#include "flcn_gk20a.h"
29#include "pmu_gk20a.h" 30#include "pmu_gk20a.h"
30#include "clk_gk20a.h" 31#include "clk_gk20a.h"
31#include "regops_gk20a.h" 32#include "regops_gk20a.h"
@@ -162,6 +163,7 @@ int gk20a_init_hal(struct gk20a *g)
162 gk20a_init_ce2(gops); 163 gk20a_init_ce2(gops);
163 gk20a_init_gr_ctx(gops); 164 gk20a_init_gr_ctx(gops);
164 gk20a_init_mm(gops); 165 gk20a_init_mm(gops);
166 gk20a_falcon_init_hal(gops);
165 gk20a_init_pmu_ops(gops); 167 gk20a_init_pmu_ops(gops);
166 gk20a_init_clk_ops(gops); 168 gk20a_init_clk_ops(gops);
167 gk20a_init_regops(gops); 169 gk20a_init_regops(gops);