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/gv11b/hal_gv11b.c | |
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/gv11b/hal_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 0c509ee2..f366a90e 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -456,6 +456,7 @@ static const struct gpu_ops gv11b_ops = { | |||
456 | .preempt_tsg = gv11b_fifo_preempt_tsg, | 456 | .preempt_tsg = gv11b_fifo_preempt_tsg, |
457 | .enable_tsg = gv11b_fifo_enable_tsg, | 457 | .enable_tsg = gv11b_fifo_enable_tsg, |
458 | .disable_tsg = gk20a_disable_tsg, | 458 | .disable_tsg = gk20a_disable_tsg, |
459 | .tsg_verify_channel_status = gk20a_fifo_tsg_unbind_channel_verify_status, | ||
459 | .tsg_verify_status_ctx_reload = gm20b_fifo_tsg_verify_status_ctx_reload, | 460 | .tsg_verify_status_ctx_reload = gm20b_fifo_tsg_verify_status_ctx_reload, |
460 | .tsg_verify_status_faulted = gv11b_fifo_tsg_verify_status_faulted, | 461 | .tsg_verify_status_faulted = gv11b_fifo_tsg_verify_status_faulted, |
461 | .update_runlist = gk20a_fifo_update_runlist, | 462 | .update_runlist = gk20a_fifo_update_runlist, |