summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/fb_gv11b.h
diff options
context:
space:
mode:
authorSunny He <suhe@nvidia.com>2017-08-11 17:41:50 -0400
committerShu Zhong <shuz@nvidia.com>2017-08-11 17:57:21 -0400
commit6486d4b8f1c9750f039374db00477e0af167cfbe (patch)
treeb0f19985625faf8757b96b6282b349032f2e51b6 /drivers/gpu/nvgpu/gv11b/fb_gv11b.h
parenta4e095aa37ec5a6c09a8cc6477da9fa49a73cd77 (diff)
Revert "gpu: nvgpu: gv11b: Reorg fb HAL initialization"
Conflicts with gv100 changes This reverts commit da8e67f042760d54f3d6b5f84abbd9981d9fcd54. Change-Id: Ifd1a51debc0e92fc443e6ac0aad1b224821d6585 Signed-off-by: Sunny He <suhe@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1537669 Reviewed-by: Shu Zhong <shuz@nvidia.com> Tested-by: Shu Zhong <shuz@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/fb_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/fb_gv11b.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fb_gv11b.h b/drivers/gpu/nvgpu/gv11b/fb_gv11b.h
index 3e2dd828..39cdfb77 100644
--- a/drivers/gpu/nvgpu/gv11b/fb_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/fb_gv11b.h
@@ -42,13 +42,9 @@
42#define FAULT_TYPE_OTHER_AND_NONREPLAY 0 42#define FAULT_TYPE_OTHER_AND_NONREPLAY 0
43#define FAULT_TYPE_REPLAY 1 43#define FAULT_TYPE_REPLAY 1
44 44
45struct gk20a; 45struct gpu_ops;
46
47void gv11b_fb_init_fs_state(struct gk20a *g);
48void gv11b_fb_init_cbc(struct gk20a *g, struct gr_gk20a *gr);
49void gv11b_fb_reset(struct gk20a *g);
50void gv11b_fb_hub_isr(struct gk20a *g);
51 46
47void gv11b_init_fb(struct gpu_ops *gops);
52u32 gv11b_fb_is_fault_buf_enabled(struct gk20a *g, 48u32 gv11b_fb_is_fault_buf_enabled(struct gk20a *g,
53 unsigned int index); 49 unsigned int index);
54void gv11b_fb_fault_buf_set_state_hw(struct gk20a *g, 50void gv11b_fb_fault_buf_set_state_hw(struct gk20a *g,
@@ -60,7 +56,4 @@ void gv11b_fb_disable_hub_intr(struct gk20a *g,
60 unsigned int index, unsigned int intr_type); 56 unsigned int index, unsigned int intr_type);
61void gv11b_fb_fault_buf_configure_hw(struct gk20a *g, unsigned int index); 57void gv11b_fb_fault_buf_configure_hw(struct gk20a *g, unsigned int index);
62bool gv11b_fb_mmu_fault_pending(struct gk20a *g); 58bool gv11b_fb_mmu_fault_pending(struct gk20a *g);
63
64noinline_for_stack void gv11b_init_uncompressed_kind_map(void);
65void gv11b_init_kind_attr(void);
66#endif 59#endif