Revert "gpu: nvgpu: Add ref counting to channels"
Alex Waterman [Fri, 9 Dec 2016 19:48:41 +0000 (11:48 -0800)]
This reverts commit ba5e6cc875971f0559d05f44035d27fc067e446f.

Bug 1850554

Change-Id: Iac7c616a40e8bfd61789c630e8a23955f85565e4
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1268671
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Martin Gao <marting@nvidia.com>

drivers/gpu/nvgpu/gk20a/mm_gk20a.c

index 9c61570..e0347ae 100644 (file)
@@ -3134,7 +3134,6 @@ int gk20a_vm_bind_channel(struct gk20a_as_share *as_share,
 
        gk20a_dbg_fn("");
 
-       gk20a_vm_get(vm);
        ch->vm = vm;
        err = channel_gk20a_commit_va(ch);
        if (err)