From 69be500c0b6fab324a34fc0b0f6b80f21a128c7e Mon Sep 17 00:00:00 2001 From: seshendra Gadagottu Date: Mon, 9 Jul 2018 16:25:40 -0700 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1774683 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gv11b/hal_gv11b.c') diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 08c3097e..0508452c 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c @@ -241,6 +241,7 @@ static const struct gpu_ops gv11b_ops = { .isr = gv11b_ltc_isr, .flush = gm20b_flush_ltc, .set_enabled = gp10b_ltc_set_enabled, + .intr_en_illegal_compstat = gv11b_ltc_intr_en_illegal_compstat, }, .ce2 = { .isr_stall = gv11b_ce_isr, -- cgit v1.2.2