summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_gr_gv11b.h
diff options
context:
space:
mode:
authorPeter Daifuku <pdaifuku@nvidia.com>2017-10-06 18:38:11 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-13 18:20:19 -0400
commit4b8dc71de5696679f13f8863bc5775a23e786b34 (patch)
treed81dfac48102afc7a5067213f264b4d016bd3aaa /drivers/gpu/nvgpu/vgpu/gv11b/vgpu_gr_gv11b.h
parent7612e412151c676c4e7af08839bd98d879a25dea (diff)
gpu: nvgpu: vgpu: flatten out t19x vgpu hal
Instead of calling the native HAL init function then adding multiple layers of modification for VGPU, flatten out the sequence so that all entry points are set statically and visible in a single file. JIRA ESRM-30 Change-Id: I8d277aaccb0e63b2d504e7aba32eb31ef82f4ec0 Signed-off-by: Peter Daifuku <pdaifuku@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1574619 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Richard Zhao <rizhao@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gv11b/vgpu_gr_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gv11b/vgpu_gr_gv11b.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_gr_gv11b.h b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_gr_gv11b.h
index 933aa06b..562198ca 100644
--- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_gr_gv11b.h
+++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_gr_gv11b.h
@@ -23,6 +23,8 @@
23#ifndef _VGPU_GR_GV11B_H_ 23#ifndef _VGPU_GR_GV11B_H_
24#define _VGPU_GR_GV11B_H_ 24#define _VGPU_GR_GV11B_H_
25 25
26void vgpu_gv11b_init_gr_ops(struct gpu_ops *gops); 26struct channel_gk20a;
27
28int vgpu_gr_gv11b_commit_inst(struct channel_gk20a *c, u64 gpu_va);
27 29
28#endif 30#endif