summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/boardobj/boardobjgrp.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2016-03-09 04:25:20 -0500
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:12 -0500
commitd0965c746d1824b34b589952b247fe5f0e23f8ea (patch)
treef851e9ff21083b1ff46149d244137044ed7f2878 /drivers/gpu/nvgpu/boardobj/boardobjgrp.c
parent2c939d35bb07b9ab6643c301efd63e65fc29ed46 (diff)
gpu: nvgpu: suspend context support for gp10b
Add API gr_gp10b_suspend_contexts() to support context suspend on gp10b sequence to suspend: - disable ctxsw - loop through list of channels - if channel is ctx resident, suspend all SMs - if CILP channel, set CILP preempt pending = true - resume all SMs - otherwise, disable channel/TSG - enable ctxsw - if CILP preempt is pending, wait for it to complete Bug 200156699 Change-Id: Id9609077c283f99f420ad21c636b29f74b8eff6b Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1120334 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/boardobj/boardobjgrp.c')
0 files changed, 0 insertions, 0 deletions