From d29300017aa1cd8ef1d2daef4383224bf00aff37 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Wed, 12 Sep 2018 17:59:52 +0530 Subject: gpu: nvgpu: move lts intr servicing to separate functions We right now service LTS interrupts as part of LTC interrupt service routine Separate out the LTS interrupt handling in separate functions e.g. gp10b_ltc_lts_isr() for gp10b and gv11b_ltc_lts_isr() for gv11b gv11b_ltc_lts_isr() now calls gp10b_ltc_lts_isr() to service legacy LTS interrupts instead of calling gp10b_ltc_isr() directly Bug 2216662 Jira NVGPU-767 Change-Id: Ia8499feca83f67ac455cee311edf32390acb83b8 Signed-off-by: Deepak Nibade Reviewed-on: https://git-master.nvidia.com/r/1821430 Reviewed-by: svc-misra-checker GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/ltc/ltc_gv11b.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/common/ltc/ltc_gv11b.h') diff --git a/drivers/gpu/nvgpu/common/ltc/ltc_gv11b.h b/drivers/gpu/nvgpu/common/ltc/ltc_gv11b.h index 9d33b9fb..bad68661 100644 --- a/drivers/gpu/nvgpu/common/ltc/ltc_gv11b.h +++ b/drivers/gpu/nvgpu/common/ltc/ltc_gv11b.h @@ -30,5 +30,7 @@ void gv11b_ltc_set_zbc_stencil_entry(struct gk20a *g, void gv11b_ltc_init_fs_state(struct gk20a *g); void gv11b_ltc_intr_en_illegal_compstat(struct gk20a *g, bool enable); void gv11b_ltc_isr(struct gk20a *g); +void gv11b_ltc_lts_isr(struct gk20a *g, + unsigned int ltc, unsigned int slice); #endif -- cgit v1.2.2