From 943e3158bc2071757677e184e715baec620b6683 Mon Sep 17 00:00:00 2001 From: Thomas Fleury Date: Wed, 23 May 2018 11:29:08 -0700 Subject: gpu: nvgpu: add g->fifo_eng_timeout_us Add g->fifo_eng_timeout_us to define engine timeout in microseconds. It is initialized with GRFIFO_TIMEOUT_CHECK_PERIOD_US. In RM server case, it can be overriden with value defined in device tree. Jira EVLR-2674 Change-Id: I69ac2ce779fe575566c8ba48e8cd2d0e6b2d93cf Signed-off-by: Thomas Fleury Reviewed-on: https://git-master.nvidia.com/r/1728391 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 01e0511d..f7bec806 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -1320,6 +1320,7 @@ struct gk20a { u32 gr_idle_timeout_default; bool timeouts_disabled_by_user; unsigned int ch_wdt_timeout_ms; + u32 fifo_eng_timeout_us; struct nvgpu_mutex poweron_lock; struct nvgpu_mutex poweroff_lock; -- cgit v1.2.2