summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/flcn_gp106.h
diff options
context:
space:
mode:
authorSunny He <suhe@nvidia.com>2017-06-28 20:56:44 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-13 03:09:07 -0400
commitecf67ebbf69a9ab6481b1517b8920f7ac5828bb5 (patch)
tree87f9577885854817d46b0e7103933012040eb359 /drivers/gpu/nvgpu/gp106/flcn_gp106.h
parent90d388ebf8d2f9f9d08f6a5c0f638aa8339c1f24 (diff)
gpu: nvgpu: Reorg falcon HAL initialization
Reorganize HAL initialization to remove inheritance and construct the gpu_ops struct at compile time. This patch only covers the falcon 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: Ib1aaaa248b079bb591ccfada3382b689452de0e9 Signed-off-by: Sunny He <suhe@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1514012 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> 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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gp106/flcn_gp106.h b/drivers/gpu/nvgpu/gp106/flcn_gp106.h
index d5ea14ae..e57100d5 100644
--- a/drivers/gpu/nvgpu/gp106/flcn_gp106.h
+++ b/drivers/gpu/nvgpu/gp106/flcn_gp106.h
@@ -10,9 +10,9 @@
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details. 11 * more details.
12 */ 12 */
13#ifndef __FLCN_GK20A_H__ 13#ifndef __FLCN_GP106_H__
14#define __FLCN_GK20A_H__ 14#define __FLCN_GP106_H__
15 15
16void gp106_falcon_init_hal(struct gpu_ops *gops); 16void gp106_falcon_hal_sw_init(struct nvgpu_falcon *flcn);
17 17
18#endif /* __FLCN_GK20A_H__ */ 18#endif /* __FLCN_GP106_H__ */