summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/therm_gv11b.h
diff options
context:
space:
mode:
authorSunny He <suhe@nvidia.com>2017-07-26 21:09:07 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-27 19:34:46 -0400
commitf457e808f0d1097cec02a022eb42c77a075ef881 (patch)
treefa8b1f3b67cf5e6c102cb1cf30f3a738ed9d7e68 /drivers/gpu/nvgpu/gv11b/therm_gv11b.h
parent8aa0370005a81a7e26ae7c86585626d3261aa4d3 (diff)
gpu: nvgpu: gv11b: Reorg therm HAL initialization
Reorganize HAL initialization to remove inheritance and construct the gpu_ops struct at compile time. This patch only covers the therm sub-module of the gpu_ops struct. Perform HAL function assignments in hal_gxxxx.c through the population of a chip-specific copy of gpu_ops. Jira NVGPU-74 Change-Id: Ic297792c4d47ffbe64cc0bd95a659a6b7f383743 Signed-off-by: Sunny He <suhe@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1527423 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/therm_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/therm_gv11b.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/therm_gv11b.h b/drivers/gpu/nvgpu/gv11b/therm_gv11b.h
deleted file mode 100644
index 2710285a..00000000
--- a/drivers/gpu/nvgpu/gv11b/therm_gv11b.h
+++ /dev/null
@@ -1,19 +0,0 @@
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#ifndef THERM_GV11B_H
14#define THERM_GV11B_H
15
16struct gpu_ops;
17void gv11b_init_therm_ops(struct gpu_ops *gops);
18
19#endif /* THERM_GV11B_H */