diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-09-12 08:29:52 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-20 13:52:22 -0400 |
commit | d29300017aa1cd8ef1d2daef4383224bf00aff37 (patch) | |
tree | 92d4e912d71e908cae8719a5784676ae069b2982 /drivers/gpu/nvgpu/common/ltc/ltc_gv11b.h | |
parent | 46477494b2f5d566a0c133746af00a3da4ee6b90 (diff) |
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 <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1821430
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/ltc/ltc_gv11b.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/ltc/ltc_gv11b.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, | |||
30 | void gv11b_ltc_init_fs_state(struct gk20a *g); | 30 | void gv11b_ltc_init_fs_state(struct gk20a *g); |
31 | void gv11b_ltc_intr_en_illegal_compstat(struct gk20a *g, bool enable); | 31 | void gv11b_ltc_intr_en_illegal_compstat(struct gk20a *g, bool enable); |
32 | void gv11b_ltc_isr(struct gk20a *g); | 32 | void gv11b_ltc_isr(struct gk20a *g); |
33 | void gv11b_ltc_lts_isr(struct gk20a *g, | ||
34 | unsigned int ltc, unsigned int slice); | ||
33 | 35 | ||
34 | #endif | 36 | #endif |