summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hal_gp106.c
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/gp106/hal_gp106.c
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/gp106/hal_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index 89fe66c9..1c423785 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -438,6 +438,7 @@ static const struct gpu_ops gp106_ops = {
438 .preempt_tsg = gk20a_fifo_preempt_tsg, 438 .preempt_tsg = gk20a_fifo_preempt_tsg,
439 .enable_tsg = gk20a_enable_tsg, 439 .enable_tsg = gk20a_enable_tsg,
440 .disable_tsg = gk20a_disable_tsg, 440 .disable_tsg = gk20a_disable_tsg,
441 .tsg_verify_channel_status = gk20a_fifo_tsg_unbind_channel_verify_status,
441 .tsg_verify_status_ctx_reload = gm20b_fifo_tsg_verify_status_ctx_reload, 442 .tsg_verify_status_ctx_reload = gm20b_fifo_tsg_verify_status_ctx_reload,
442 .update_runlist = gk20a_fifo_update_runlist, 443 .update_runlist = gk20a_fifo_update_runlist,
443 .trigger_mmu_fault = gm20b_fifo_trigger_mmu_fault, 444 .trigger_mmu_fault = gm20b_fifo_trigger_mmu_fault,