summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/hw_gr_gv11b.h
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2017-01-11 17:28:32 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-18 19:47:20 -0500
commit64ab12979590564db19c820ff8cdd71579a9b317 (patch)
treeaa042293a77dd5f63b552ad04b6b536492b36f8d /drivers/gpu/nvgpu/gv11b/hw_gr_gv11b.h
parent3f0e08da43a448d8a1a85529b03d4c073f8c11c5 (diff)
gpu: nvgpu: gv11b: sw methods for shader exception
Added proper sw methods handling of shader execptions for gv11b. Bug 1834201 Change-Id: I3f3a45beed777cc4af59368dccd9dc7bb8181c37 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1283729 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/hw_gr_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/hw_gr_gv11b.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hw_gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/hw_gr_gv11b.h
index 99da5f73..656597ba 100644
--- a/drivers/gpu/nvgpu/gv11b/hw_gr_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/hw_gr_gv11b.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -554,6 +554,14 @@ static inline u32 gr_fe_hww_esr_en_enable_f(void)
554{ 554{
555 return 0x80000000; 555 return 0x80000000;
556} 556}
557static inline u32 gr_gpcs_tpcs_sms_hww_warp_esr_report_mask_r(void)
558{
559 return 0x00419ea8;
560}
561static inline u32 gr_gpcs_tpcs_sms_hww_global_esr_report_mask_r(void)
562{
563 return 0x00419eac;
564}
557static inline u32 gr_fe_go_idle_timeout_r(void) 565static inline u32 gr_fe_go_idle_timeout_r(void)
558{ 566{
559 return 0x00404154; 567 return 0x00404154;