summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2018-01-09 17:33:51 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-10 11:47:07 -0500
commite9de95d7e0629c40b5ceb56c07de319bedd3339f (patch)
treed48300e7b5191f732eaa5105049c9e4bfc81f2e9 /drivers/gpu/nvgpu/gv11b/gr_gv11b.h
parent0ac3ba2a99b745f577c752ebf9a6b4291730a36d (diff)
gpu: nvgpu: use chip specific zbc_c/z format reg
Use chip specific gpcs_swdx_dss_zbc_c_format_reg and gpcs_swdx_dss_zbc_z_format_reg. These registers are different for gv11b/gv100 from gp10b/gp106. Change-Id: I9e209c878a11edc986ba4304ff60fcccbb5087aa Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1635091 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/gr_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
index 17e5e9e3..b69e69bd 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
@@ -102,6 +102,8 @@ int gr_gv11b_handle_gpc_gpcmmu_exception(struct gk20a *g, u32 gpc,
102int gr_gv11b_handle_gpc_gpccs_exception(struct gk20a *g, u32 gpc, 102int gr_gv11b_handle_gpc_gpccs_exception(struct gk20a *g, u32 gpc,
103 u32 gpc_exception); 103 u32 gpc_exception);
104void gr_gv11b_enable_gpc_exceptions(struct gk20a *g); 104void gr_gv11b_enable_gpc_exceptions(struct gk20a *g);
105u32 gr_gv11b_get_gpcs_swdx_dss_zbc_c_format_reg(struct gk20a *g);
106u32 gr_gv11b_get_gpcs_swdx_dss_zbc_z_format_reg(struct gk20a *g);
105int gr_gv11b_handle_tex_exception(struct gk20a *g, u32 gpc, u32 tpc, 107int gr_gv11b_handle_tex_exception(struct gk20a *g, u32 gpc, u32 tpc,
106 bool *post_event); 108 bool *post_event);
107int gr_gv11b_zbc_s_query_table(struct gk20a *g, struct gr_gk20a *gr, 109int gr_gv11b_zbc_s_query_table(struct gk20a *g, struct gr_gk20a *gr,