summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/fb_gv100.h
diff options
context:
space:
mode:
authorSunny He <suhe@nvidia.com>2017-07-31 17:40:46 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-08-14 18:55:19 -0400
commit4bb0896912440d126ae47da350b448f37dabc63d (patch)
tree517e88d61e849a75755d0e5c0de675a5f432f852 /drivers/gpu/nvgpu/gv100/fb_gv100.h
parentde232ceb4b3bfa88650d1eed764357ba4a598076 (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: I3fdbf6059ef664caf8d33797a8a5f3f8eb6485bf Signed-off-by: Sunny He <suhe@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1537748 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/fb_gv100.h')
-rw-r--r--drivers/gpu/nvgpu/gv100/fb_gv100.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gv100/fb_gv100.h b/drivers/gpu/nvgpu/gv100/fb_gv100.h
index b234fa13..f3219177 100644
--- a/drivers/gpu/nvgpu/gv100/fb_gv100.h
+++ b/drivers/gpu/nvgpu/gv100/fb_gv100.h
@@ -16,7 +16,7 @@
16#ifndef _NVGPU_GV100_FB 16#ifndef _NVGPU_GV100_FB
17#define _NVGPU_GV100_FB 17#define _NVGPU_GV100_FB
18 18
19struct gpu_ops; 19struct gk20a;
20 20
21void gv100_init_fb(struct gpu_ops *gops); 21void gv100_fb_reset(struct gk20a *g);
22#endif 22#endif