summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2018-07-09 19:25:40 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-24 19:10:58 -0400
commit69be500c0b6fab324a34fc0b0f6b80f21a128c7e (patch)
tree2edc7920defdaface49b538f5a1abbd78aa03bcf /drivers/gpu/nvgpu/gv100
parent2c2d9e66710e264d251c0019258eed1dc5bb38f2 (diff)
gpu: nvgpu: debugfs node to enable/disable ltc_illegal_compstat intr
Added debugfs node under ltc directory with name: intr_illegal_compstat_enable Enabling/disabling of ltc_illegal_compstat intr is possible through debugfs node. Since ltc state is lost with rail gate, this setting is cached and will be populated during ltc initialization. Bug 2099406 Change-Id: I4bf62228dfd2bbb94f87f923f9f4f6e5ad0b07f0 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1774683 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100')
-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 09a96d40..6ebf1675 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -283,6 +283,7 @@ static const struct gpu_ops gv100_ops = {
283 .cbc_fix_config = NULL, 283 .cbc_fix_config = NULL,
284 .flush = gm20b_flush_ltc, 284 .flush = gm20b_flush_ltc,
285 .set_enabled = gp10b_ltc_set_enabled, 285 .set_enabled = gp10b_ltc_set_enabled,
286 .intr_en_illegal_compstat = gv11b_ltc_intr_en_illegal_compstat,
286 }, 287 },
287 .ce2 = { 288 .ce2 = {
288 .isr_stall = gv11b_ce_isr, 289 .isr_stall = gv11b_ce_isr,