diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-10-03 04:31:51 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-04 06:43:18 -0400 |
commit | 19d602da31f81d9dc89a42b2bc84ce14a300773b (patch) | |
tree | a525a5009e0360e63d4dab142fdfc2ce07c173e7 /drivers/gpu/nvgpu/gv100 | |
parent | a61661172728fd0c173c1ebd73cc45233a1c23a4 (diff) |
gpu: nvgpu: verify channel status while closing per-platform
We right now call gk20a_fifo_tsg_unbind_channel_verify_status() to verify
channel status while unbinding a channel from TSG while closing
Add support to do this verification per-platform and keep this disabled
for vgpu platforms
Bug 200327095
Change-Id: I6e2a6a09c784d24ac49477d5450b7d4b671878e3
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1572369
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/hal_gv100.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index 72864c5f..028c9d84 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c | |||
@@ -410,6 +410,7 @@ static const struct gpu_ops gv100_ops = { | |||
410 | .preempt_tsg = gv11b_fifo_preempt_tsg, | 410 | .preempt_tsg = gv11b_fifo_preempt_tsg, |
411 | .enable_tsg = gv11b_fifo_enable_tsg, | 411 | .enable_tsg = gv11b_fifo_enable_tsg, |
412 | .disable_tsg = gk20a_disable_tsg, | 412 | .disable_tsg = gk20a_disable_tsg, |
413 | .tsg_verify_channel_status = gk20a_fifo_tsg_unbind_channel_verify_status, | ||
413 | .tsg_verify_status_ctx_reload = gm20b_fifo_tsg_verify_status_ctx_reload, | 414 | .tsg_verify_status_ctx_reload = gm20b_fifo_tsg_verify_status_ctx_reload, |
414 | .tsg_verify_status_faulted = gv11b_fifo_tsg_verify_status_faulted, | 415 | .tsg_verify_status_faulted = gv11b_fifo_tsg_verify_status_faulted, |
415 | .update_runlist = gk20a_fifo_update_runlist, | 416 | .update_runlist = gk20a_fifo_update_runlist, |