summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/fb_gp106.h
diff options
context:
space:
mode:
authorSunny He <suhe@nvidia.com>2017-07-31 17:43:11 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-08-14 18:55:13 -0400
commitee60394abc9a52182892ab54554d3e9c841080bf (patch)
tree34b5255d40578252989ad40fddb30424c53fcfe9 /drivers/gpu/nvgpu/gp106/fb_gp106.h
parentd5a5fb3563121a4904be9185914c563070ffd021 (diff)
gpu: nvgpu: Reorg fb HAL initialization
Reorganize HAL initialization to remove inheritance and construct the gpu_ops struct at compile time. This patch only covers the fb 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: I593d00ffccc40a3721e792ef7ca259583852eb28 Signed-off-by: Sunny He <suhe@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1537746 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/fb_gp106.h')
-rw-r--r--drivers/gpu/nvgpu/gp106/fb_gp106.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/fb_gp106.h b/drivers/gpu/nvgpu/gp106/fb_gp106.h
index 87b371e1..99a70d7b 100644
--- a/drivers/gpu/nvgpu/gp106/fb_gp106.h
+++ b/drivers/gpu/nvgpu/gp106/fb_gp106.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 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, 5 * under the terms and conditions of the GNU General Public License,
@@ -15,5 +15,5 @@
15#define FB_GP106_H 15#define FB_GP106_H
16struct gpu_ops; 16struct gpu_ops;
17 17
18void gp106_init_fb(struct gpu_ops *gops); 18void gp106_fb_reset(struct gk20a *g);
19#endif 19#endif