diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-09-28 04:36:15 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-29 02:54:51 -0400 |
commit | 7a033af6602258b2f2c738a7836d17562b17d8b8 (patch) | |
tree | e8688f79b47ca2ae83742d4a0a99c4976c9ce1e5 /drivers/gpu/nvgpu/common/fb/fb_gm20b.h | |
parent | f22ea339b032dff13f281d4a468c9f83d5913110 (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.h | 3 |
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); | |||
43 | unsigned int gm20b_fb_compression_page_size(struct gk20a *g); | 43 | unsigned int gm20b_fb_compression_page_size(struct gk20a *g); |
44 | unsigned int gm20b_fb_compressible_page_size(struct gk20a *g); | 44 | unsigned int gm20b_fb_compressible_page_size(struct gk20a *g); |
45 | u32 gm20b_fb_compression_align_mask(struct gk20a *g); | 45 | u32 gm20b_fb_compression_align_mask(struct gk20a *g); |
46 | void gm20b_fb_dump_vpr_wpr_info(struct gk20a *g); | 46 | void gm20b_fb_dump_vpr_info(struct gk20a *g); |
47 | void gm20b_fb_dump_wpr_info(struct gk20a *g); | ||
47 | void gm20b_fb_read_wpr_info(struct gk20a *g, struct wpr_carveout_info *inf); | 48 | void gm20b_fb_read_wpr_info(struct gk20a *g, struct wpr_carveout_info *inf); |
48 | int gm20b_fb_vpr_info_fetch(struct gk20a *g); | 49 | int gm20b_fb_vpr_info_fetch(struct gk20a *g); |
49 | bool gm20b_fb_debug_mode_enabled(struct gk20a *g); | 50 | bool gm20b_fb_debug_mode_enabled(struct gk20a *g); |