summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/therm/thrmchannel.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-01-20 02:00:14 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-25 05:41:02 -0500
commit8613119529b37b78275092f274212b0a08e2e27d (patch)
tree6d626dc96d511c8ff324021bbb8e26107771e8bb /drivers/gpu/nvgpu/therm/thrmchannel.h
parentbad0572cb1144ba08659aed88c311ae02c72c21c (diff)
gpu: nvgpu: add target refcount for gk20a_wait_for_idle()
API gk20a_wait_for_idle() right now always waits for 0 usage count But in case railgating is disabled through sysfs, usage count will never get to 0 Hence in this case we should wait for usage count of 1 If platform->user_railgate_disabled is set, keep target usage count of 1, otherwise keep target usage count as 0 Bug 200260926 Change-Id: I1a80621ca61babbd6566989dc09a7b20670c649c Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1291421 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmchannel.h')
0 files changed, 0 insertions, 0 deletions