summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/hal_gv100.c
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2018-01-23 15:16:40 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-31 16:23:30 -0500
commit791ce6bd5480a8393c12be55e8afa459cb4dd1ff (patch)
treec34ed1f076bec31bfc5b87a7fa490eb28a2789d6 /drivers/gpu/nvgpu/gv100/hal_gv100.c
parent9beefc45516097db2eabf2887ff66d3334ff9fde (diff)
gpu: nvgpu: gv11b: enable more gr exceptions
-pd, scc, ds, ssync, mme and sked exceptions are enabled. This will be useful for debugging -Handle enabled interrupts -Add gr ops to handle ssync hww. For legacy chips, ssync hww_esr register is gpcs_ppcs_ssync_hww_esr. Since ssync hww is not enabled on legacy chips, added ssync hww exception handling for volta only. Change-Id: I63ba2eb51fa82e74832df26ee4cf3546458e5669 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1644751 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/hal_gv100.c')
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index a2b97520..0f966adb 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -426,6 +426,7 @@ static const struct gpu_ops gv100_ops = {
426 gr_gv11b_handle_tpc_sm_ecc_exception, 426 gr_gv11b_handle_tpc_sm_ecc_exception,
427 .decode_egpc_addr = gv11b_gr_decode_egpc_addr, 427 .decode_egpc_addr = gv11b_gr_decode_egpc_addr,
428 .fecs_host_int_enable = gr_gv11b_fecs_host_int_enable, 428 .fecs_host_int_enable = gr_gv11b_fecs_host_int_enable,
429 .handle_ssync_hww = gr_gv11b_handle_ssync_hww,
429 }, 430 },
430 .fb = { 431 .fb = {
431 .reset = gv100_fb_reset, 432 .reset = gv100_fb_reset,