summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a_gating_reglist.c
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2015-09-10 06:40:21 -0400
committerTerje Bergstrom <tbergstrom@nvidia.com>2015-09-16 13:30:06 -0400
commit619031ef03d570319e69545aba200f5b4684913a (patch)
treece3e8bb855d1bf3fb61cbc7f70784bd6a068c564 /drivers/gpu/nvgpu/gk20a/gk20a_gating_reglist.c
parentb8faddfe2ad3d52837b0f766d74feb8e6d6f4ce5 (diff)
gpu: nvgpu: enable powergate always while releasing debug session
Currently, while releasing the debug session we enable powergate only if a channel is bound to session If a session has no channel bound to it, and has powergate disabled, then we do not enable powergate when that session is closed Fix this by calling dbg_set_powergate(POWERGATE_ENABLE) always while releasing the session Refcounting and sanity checks in dbg_set_powergate() will take care of situation if powergate was not disabled by the session in first place Bug 1679372 Change-Id: I4e027393c611d3e8ab4f20e195f31871086da736 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/796999 Tested-by: Sandarbh Jain <sanjain@nvidia.com> Reviewed-by: Sandarbh Jain <sanjain@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_gating_reglist.c')
0 files changed, 0 insertions, 0 deletions