summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-03-21 12:57:25 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-03-28 12:39:13 -0400
commite1c4d19b4cd2462c2f5b8c6653573ea0e6bbe823 (patch)
tree35b1e66c18468d7542be0e40437a6b228b6c8c9e /drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
parentc363253c4575b59466e9390943c6b8b5ccfd068f (diff)
gpu: nvgpu: add and reorg reset_enable_hw fifo ops
fifo reset_enable_hw is reorged to clear and enable pbdma/fifo interrupts after all the required configuration such as configuring timeouts, enabling timeout detections are taken care of. JIRA GPUT19X-74 JIRA GPUT19X-47 Change-Id: Id780cc11d858db18f8d748c037954ede73298506 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: http://git-master/r/1325351 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/fifo_gk20a.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
index ae728a36..a9703385 100644
--- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h
@@ -38,6 +38,8 @@
38#define PREEMPT_TIMEOUT_RC 1 38#define PREEMPT_TIMEOUT_RC 1
39#define PREEMPT_TIMEOUT_NORC 0 39#define PREEMPT_TIMEOUT_NORC 0
40 40
41#define GRFIFO_TIMEOUT_CHECK_PERIOD_US 100000
42
41/* 43/*
42 * Number of entries in the kickoff latency buffer, used to calculate 44 * Number of entries in the kickoff latency buffer, used to calculate
43 * the profiling and histogram. This number is calculated to be statistically 45 * the profiling and histogram. This number is calculated to be statistically