summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/fb/fb_gm20b.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2018-09-28 04:36:15 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-29 02:54:51 -0400
commit7a033af6602258b2f2c738a7836d17562b17d8b8 (patch)
treee8688f79b47ca2ae83742d4a0a99c4976c9ce1e5 /drivers/gpu/nvgpu/common/fb/fb_gm20b.h
parentf22ea339b032dff13f281d4a468c9f83d5913110 (diff)
gpu: nvgpu: remove VPR HALs from dGPUs
gops.fb.dump_vpr_wpr_info() accesses both VPR and WPR registers. Split this into two different HALs gops.fb.dump_vpr_info() and gops.fb.dump_wpr_info() Also unset HALs accessing VPR registers on dGPUs We don't support VPR on dGPUs Remove fb_mmu_vpr_info_r() register and all its accessors from dGPU headers Bug 2173122 Change-Id: I5b2712f8c5389e422a84c375a7e836add48bfd1c Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1850947 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/fb/fb_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/common/fb/fb_gm20b.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/fb/fb_gm20b.h b/drivers/gpu/nvgpu/common/fb/fb_gm20b.h
index cb5b5d9a..d69f8618 100644
--- a/drivers/gpu/nvgpu/common/fb/fb_gm20b.h
+++ b/drivers/gpu/nvgpu/common/fb/fb_gm20b.h
@@ -43,7 +43,8 @@ u32 gm20b_fb_mmu_debug_rd(struct gk20a *g);
43unsigned int gm20b_fb_compression_page_size(struct gk20a *g); 43unsigned int gm20b_fb_compression_page_size(struct gk20a *g);
44unsigned int gm20b_fb_compressible_page_size(struct gk20a *g); 44unsigned int gm20b_fb_compressible_page_size(struct gk20a *g);
45u32 gm20b_fb_compression_align_mask(struct gk20a *g); 45u32 gm20b_fb_compression_align_mask(struct gk20a *g);
46void gm20b_fb_dump_vpr_wpr_info(struct gk20a *g); 46void gm20b_fb_dump_vpr_info(struct gk20a *g);
47void gm20b_fb_dump_wpr_info(struct gk20a *g);
47void gm20b_fb_read_wpr_info(struct gk20a *g, struct wpr_carveout_info *inf); 48void gm20b_fb_read_wpr_info(struct gk20a *g, struct wpr_carveout_info *inf);
48int gm20b_fb_vpr_info_fetch(struct gk20a *g); 49int gm20b_fb_vpr_info_fetch(struct gk20a *g);
49bool gm20b_fb_debug_mode_enabled(struct gk20a *g); 50bool gm20b_fb_debug_mode_enabled(struct gk20a *g);