diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c index 9fedb64b..e2b8a12e 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.c | |||
@@ -423,6 +423,13 @@ int gk20a_init_fifo_reset_enable_hw(struct gk20a *g) | |||
423 | fifo_fb_timeout_period_max_f()); | 423 | fifo_fb_timeout_period_max_f()); |
424 | gk20a_writel(g, fifo_fb_timeout_r(), timeout); | 424 | gk20a_writel(g, fifo_fb_timeout_r(), timeout); |
425 | 425 | ||
426 | for (i = 0; i < pbdma_timeout__size_1_v(); i++) { | ||
427 | timeout = gk20a_readl(g, pbdma_timeout_r(i)); | ||
428 | timeout = set_field(timeout, pbdma_timeout_period_m(), | ||
429 | pbdma_timeout_period_max_f()); | ||
430 | gk20a_writel(g, pbdma_timeout_r(i), timeout); | ||
431 | } | ||
432 | |||
426 | if (tegra_platform_is_silicon()) { | 433 | if (tegra_platform_is_silicon()) { |
427 | timeout = gk20a_readl(g, fifo_pb_timeout_r()); | 434 | timeout = gk20a_readl(g, fifo_pb_timeout_r()); |
428 | timeout &= ~fifo_pb_timeout_detection_enabled_f(); | 435 | timeout &= ~fifo_pb_timeout_detection_enabled_f(); |