From 5c5b52dce54fa09d16ae38a232a0e17b4729b472 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 13 Oct 2017 08:13:45 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1578684 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gm20b/gr_gm20b.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.h') 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 @@ #define _NVHOST_GM20B_GR_MMU_H struct gk20a; +struct nvgpu_warpstate; enum { MAXWELL_B = 0xB197, @@ -112,7 +113,7 @@ u32 *gr_gm20b_rop_l2_en_mask(struct gk20a *g); u32 gr_gm20b_get_max_fbps_count(struct gk20a *g); void gr_gm20b_init_cyclestats(struct gk20a *g); void gr_gm20b_enable_cde_in_fecs(struct gk20a *g, struct nvgpu_mem *mem); -void gr_gm20b_bpt_reg_info(struct gk20a *g, struct warpstate *w_state); +void gr_gm20b_bpt_reg_info(struct gk20a *g, struct nvgpu_warpstate *w_state); void gr_gm20b_get_access_map(struct gk20a *g, u32 **whitelist, int *num_entries); int gm20b_gr_record_sm_error_state(struct gk20a *g, u32 gpc, u32 tpc); -- cgit v1.2.2