diff options
author | Vinod G <vinodg@nvidia.com> | 2018-06-11 23:11:43 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:44:08 -0400 |
commit | 0aa8d6e27394ec15c1816943996daf8f8ffab438 (patch) | |
tree | f4cc5406bfe6a2f39a3871bb680286ee66925130 /drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | |
parent | 12637d9c23227647e5e62a907974afc987c773a4 (diff) |
gpu: nvgpu: Mask an unused HCE_ILLEGAL_OP Interrupt
HCE interrupt is not being used in nvgpu platform now,
masking the bit from the interrupt register.
bug 2082123
Change-Id: I1d53584afebe57b9621c8f4ec395cd1dcd6c7611
Signed-off-by: Vinod G <vinodg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1746850
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/gv11b/fifo_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c index fdd9ecf0..a7c6360b 100644 --- a/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/fifo_gv11b.c | |||
@@ -1222,6 +1222,11 @@ int gv11b_init_fifo_reset_enable_hw(struct gk20a *g) | |||
1222 | gk20a_writel(g, pbdma_intr_en_0_r(i), intr_stall); | 1222 | gk20a_writel(g, pbdma_intr_en_0_r(i), intr_stall); |
1223 | 1223 | ||
1224 | intr_stall = gk20a_readl(g, pbdma_intr_stall_1_r(i)); | 1224 | intr_stall = gk20a_readl(g, pbdma_intr_stall_1_r(i)); |
1225 | /* | ||
1226 | * For bug 2082123 | ||
1227 | * Mask the unused HCE_RE_ILLEGAL_OP bit from the interrupt. | ||
1228 | */ | ||
1229 | intr_stall &= ~pbdma_intr_stall_1_hce_illegal_op_enabled_f(); | ||
1225 | nvgpu_log_info(g, "pbdma id:%u, intr_en_1 0x%08x", i, intr_stall); | 1230 | nvgpu_log_info(g, "pbdma id:%u, intr_en_1 0x%08x", i, intr_stall); |
1226 | gk20a_writel(g, pbdma_intr_en_1_r(i), intr_stall); | 1231 | gk20a_writel(g, pbdma_intr_en_1_r(i), intr_stall); |
1227 | } | 1232 | } |