summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-10-13 11:13:45 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-17 12:25:23 -0400
commit5c5b52dce54fa09d16ae38a232a0e17b4729b472 (patch)
treee1b6821896df1fd741db9baa831838340458c229 /drivers/gpu/nvgpu/gm20b/gr_gm20b.h
parent682abd7b5cd544f83b8905830cd9b738c458be7f (diff)
gpu: nvgpu: Use internal nvgpu_warpstate
Replace use of ioctl structure warpstate with internal nvgpu_warptate. JIRA NVGPU-259 Change-Id: I5170364d0443235cee471b87fa332fc09588f5d3 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1578684 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
index c7a84b0a..67f1ea29 100644
--- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.h
@@ -26,6 +26,7 @@
26#define _NVHOST_GM20B_GR_MMU_H 26#define _NVHOST_GM20B_GR_MMU_H
27 27
28struct gk20a; 28struct gk20a;
29struct nvgpu_warpstate;
29 30
30enum { 31enum {
31 MAXWELL_B = 0xB197, 32 MAXWELL_B = 0xB197,
@@ -112,7 +113,7 @@ u32 *gr_gm20b_rop_l2_en_mask(struct gk20a *g);
112u32 gr_gm20b_get_max_fbps_count(struct gk20a *g); 113u32 gr_gm20b_get_max_fbps_count(struct gk20a *g);
113void gr_gm20b_init_cyclestats(struct gk20a *g); 114void gr_gm20b_init_cyclestats(struct gk20a *g);
114void gr_gm20b_enable_cde_in_fecs(struct gk20a *g, struct nvgpu_mem *mem); 115void gr_gm20b_enable_cde_in_fecs(struct gk20a *g, struct nvgpu_mem *mem);
115void gr_gm20b_bpt_reg_info(struct gk20a *g, struct warpstate *w_state); 116void gr_gm20b_bpt_reg_info(struct gk20a *g, struct nvgpu_warpstate *w_state);
116void gr_gm20b_get_access_map(struct gk20a *g, 117void gr_gm20b_get_access_map(struct gk20a *g,
117 u32 **whitelist, int *num_entries); 118 u32 **whitelist, int *num_entries);
118int gm20b_gr_record_sm_error_state(struct gk20a *g, u32 gpc, u32 tpc); 119int gm20b_gr_record_sm_error_state(struct gk20a *g, u32 gpc, u32 tpc);