]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
gpu: nvgpu: Do not send WFI when finishing channel
authorTerje Bergstrom <tbergstrom@nvidia.com>
Thu, 23 Apr 2015 20:28:52 +0000 (13:28 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 19 May 2015 23:32:13 +0000 (16:32 -0700)
commit1283ae9f779554d222af005d270205526d50908e
tree834d4b64e988351da096378d525c9c0723c2c93a
parenta741c74994f6d7b8a96c9f09022d700356b82f43
gpu: nvgpu: Do not send WFI when finishing channel

The channel teardown process sends a WFI method to ensure that all
work has been completed. But we also preempt the channel a while
later, which also ensures that all work is completed.

Remove the code for submitting WFI, and rely on preemption to handle
idling the pipe.

Change-Id: I2af029184440ee73e70d377f15690ddaf9b8599f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/735067
(cherry picked from commit ac8b449bf22883dc1adf6da95ba715db398dbd72)
Reviewed-on: http://git-master/r/743861
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
drivers/gpu/nvgpu/gk20a/channel_gk20a.c