summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-10-03 03:51:07 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-10-04 06:37:14 -0400
commit3cd0603c4218ee33eb1e5a36322b25d369ed487b (patch)
tree05f9ce31c00335e308841a454918ceec38e8c413 /drivers/gpu/nvgpu/gm20b
parente400475a915f73abb823b00945179eec470f73e0 (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/gm20b')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hal_gm20b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
index 98c4ddfb..76c87c00 100644
--- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c
@@ -379,6 +379,7 @@ static const struct gpu_ops gm20b_ops = {
379 .preempt_tsg = gk20a_fifo_preempt_tsg, 379 .preempt_tsg = gk20a_fifo_preempt_tsg,
380 .enable_tsg = gk20a_enable_tsg, 380 .enable_tsg = gk20a_enable_tsg,
381 .disable_tsg = gk20a_disable_tsg, 381 .disable_tsg = gk20a_disable_tsg,
382 .tsg_verify_channel_status = gk20a_fifo_tsg_unbind_channel_verify_status,
382 .tsg_verify_status_ctx_reload = gm20b_fifo_tsg_verify_status_ctx_reload, 383 .tsg_verify_status_ctx_reload = gm20b_fifo_tsg_verify_status_ctx_reload,
383 .update_runlist = gk20a_fifo_update_runlist, 384 .update_runlist = gk20a_fifo_update_runlist,
384 .trigger_mmu_fault = gm20b_fifo_trigger_mmu_fault, 385 .trigger_mmu_fault = gm20b_fifo_trigger_mmu_fault,