summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/lpwr/rppg.h
diff options
context:
space:
mode:
authorKonsta Holtta <kholtta@nvidia.com>2018-01-19 08:06:50 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-22 11:29:05 -0500
commitf6d898656a6d7c197aa27ee53f5f0151fb6dfcf5 (patch)
tree2a36814ea2b763fd23be67583e9d9000892136bc /drivers/gpu/nvgpu/lpwr/rppg.h
parent3ccf5c85fbc329cc5a72b86f83379d7a151a1f5a (diff)
gpu: nvgpu: note railgate_allowed in do_idle
The idling and unidling of deterministic channels in the do_idle/do_unidle path assume that each deterministic channel holds a power reference. This is no longer the case if railgating has been allowed for a channel via the deterministic options ioctl which also causes the channel to drop the power ref that it holds otherwise during its lifetime. All this is happening inside the deterministic_busy rwsem, which also guards the ioctl changing those deterministic option states. Bug 200327089 Change-Id: I9ce312bbaa459b3cf4a7541fa369186b78c3afdc Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1642310 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/lpwr/rppg.h')
0 files changed, 0 insertions, 0 deletions