gpu: nvgpu: Disable channel when updating SMPC WAR
authorSandarbh Jain <sanjain@nvidia.com>
Thu, 11 Jun 2015 19:15:02 +0000 (00:15 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Sat, 13 Jun 2015 00:10:40 +0000 (17:10 -0700)
commit01e2315df5aeadd04124b55551539280e4387f45
treee8682ae6f3210fef803e2c9f9fc823083fb20122
parentb1de4caf2f12e1bc9c3a4e08dd60b5de53b7520a
gpu: nvgpu: Disable channel when updating SMPC WAR

When updating SMPC WAR for channel, it needs to be kicked out. This
ensures that the updated information is re-read from context header.

Bug 1579548

Change-Id: Ieadc6b65b057d7f48dc16fbc786c881ab7e5fcd5
Signed-off-by: Sandarbh Jain <sanjain@nvidia.com>
Reviewed-on: http://git-master/r/756639
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
drivers/gpu/nvgpu/gk20a/channel_gk20a.c
drivers/gpu/nvgpu/gk20a/fifo_gk20a.c
drivers/gpu/nvgpu/gk20a/gk20a.h
drivers/gpu/nvgpu/gk20a/gr_gk20a.c