summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h
diff options
context:
space:
mode:
authorSunny He <suhe@nvidia.com>2017-06-28 20:41:55 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-24 02:35:04 -0400
commit2b582c5141752ff272c5d059b56433155bc3985a (patch)
tree1874c77484fb0bf0e927378940e1a6f140390182 /drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h
parent907fcae63816b68e43e07e3d7abaad87954b8326 (diff)
gpu: nvgpu: Reorg priv_ring HAL initialization
Reorganize HAL initialization to remove inheritance and construct the gpu_ops struct at compile time. This patch only covers the priv_ring 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: I9ebf27619f771262e5dc398b1200d6c19d6aef16 Signed-off-by: Sunny He <suhe@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1514102 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/gp10b/priv_ring_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h b/drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h
index acd0857f..e12a2f27 100644
--- a/drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/priv_ring_gp10b.h
@@ -15,8 +15,8 @@
15#ifndef __PRIV_RING_GP10B_H__ 15#ifndef __PRIV_RING_GP10B_H__
16#define __PRIV_RING_GP10B_H__ 16#define __PRIV_RING_GP10B_H__
17 17
18struct gpu_ops; 18struct gk20a;
19 19
20void gp10b_init_priv_ring(struct gpu_ops *gops); 20void gp10b_priv_ring_isr(struct gk20a *g);
21 21
22#endif /*__PRIV_RING_GP10B_H__*/ 22#endif /*__PRIV_RING_GP10B_H__*/