diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-01-20 02:00:14 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-25 05:41:02 -0500 |
commit | 8613119529b37b78275092f274212b0a08e2e27d (patch) | |
tree | 6d626dc96d511c8ff324021bbb8e26107771e8bb /include/uapi/linux/nvgpu-t18x.h | |
parent | bad0572cb1144ba08659aed88c311ae02c72c21c (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 'include/uapi/linux/nvgpu-t18x.h')
0 files changed, 0 insertions, 0 deletions