]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: disable channel before adjusting syncpoints
authorDeepak Nibade <dnibade@nvidia.com>
Thu, 10 Sep 2015 08:50:53 +0000 (14:20 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 5 Nov 2015 07:19:18 +0000 (23:19 -0800)
commitecf2d7e33854e140ae6c6db2fa415baa258c96a5
tree8eaf0a089f6bfc3b9cc0f1023c2776f5c725b6af
parentf303f4107d193ce406647326e7f594bd813e211f
gpu: nvgpu: disable channel before adjusting syncpoints

As per current sequence in gk20a_channel_abort(),
we first balance the syncpoint values associated with
failing channel, and then abort it

Reverse this sequence so that we first disable the channel
and then only balance the syncpoints

Bug 200133289

Change-Id: I5a748afce437e728a5ff6c8a030a75d0f627c622
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/797071
(cherry picked from commit d797ddb230ed94ac565fc42377f6653fb94610a8)
Reviewed-on: http://git-master/r/806565
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/815929
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/gpu/nvgpu/gk20a/channel_gk20a.c