diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2016-05-31 08:25:20 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-01 16:03:56 -0400 |
commit | 31fa6773ef124a4e779e0972e87d4fb681217f19 (patch) | |
tree | 6be7998a8f82c634b52c0fe94fa74034dee59389 /drivers/gpu/nvgpu/pci.h | |
parent | 9d13ddc17d21e9d4d65530e713a8ca7daf1dd1e2 (diff) |
gpu: nvgpu: use correct APIs for disable and preempt
In gr_gk20a_ctx_zcull_setup(), gr_gk20a_update_smpc_ctxsw_mode(),
and in gk20a_channel_suspend(), we call channel specific APIs
to disable/preempt/enable channel
But we do not consider TSGs in this case
Hence use correct (below) APIs in above functions which
will handle channel or TSG internally :
gk20a_disable_channel_tsg()
gk20a_fifo_preempt()
gk20a_enable_channel_tsg()
Bug 200205041
Change-Id: Ieed378dac4ad2322b35f9102706176ec326d386c
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1157189
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/pci.h')
0 files changed, 0 insertions, 0 deletions