diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-10-03 03:51:07 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-04 06:37:14 -0400 |
commit | 3cd0603c4218ee33eb1e5a36322b25d369ed487b (patch) | |
tree | 05f9ce31c00335e308841a454918ceec38e8c413 /drivers/gpu/nvgpu/gp10b | |
parent | e400475a915f73abb823b00945179eec470f73e0 (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: I19fab41c74d10d528d22bd9b3982a4ed73c3b4ca
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1572368
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index 0db6b3f7..f298f26c 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -400,6 +400,7 @@ static const struct gpu_ops gp10b_ops = { | |||
400 | .preempt_tsg = gk20a_fifo_preempt_tsg, | 400 | .preempt_tsg = gk20a_fifo_preempt_tsg, |
401 | .enable_tsg = gk20a_enable_tsg, | 401 | .enable_tsg = gk20a_enable_tsg, |
402 | .disable_tsg = gk20a_disable_tsg, | 402 | .disable_tsg = gk20a_disable_tsg, |
403 | .tsg_verify_channel_status = gk20a_fifo_tsg_unbind_channel_verify_status, | ||
403 | .tsg_verify_status_ctx_reload = gm20b_fifo_tsg_verify_status_ctx_reload, | 404 | .tsg_verify_status_ctx_reload = gm20b_fifo_tsg_verify_status_ctx_reload, |
404 | .reschedule_runlist = gk20a_fifo_reschedule_runlist, | 405 | .reschedule_runlist = gk20a_fifo_reschedule_runlist, |
405 | .update_runlist = gk20a_fifo_update_runlist, | 406 | .update_runlist = gk20a_fifo_update_runlist, |