diff options
author | Bharat Nihalani <bnihalani@nvidia.com> | 2017-06-16 03:13:47 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-19 17:35:13 -0400 |
commit | 2535c81c6c916f9f2e1224e17e80d240df569e49 (patch) | |
tree | 6d84117ff417dde8cc23db4060e5e898ef74f2e5 /drivers/gpu/nvgpu/gp10b/gr_ctx_gp10b.c | |
parent | 8dc75c172567ce81819b75cd9714fc887174583b (diff) |
gpu: nvgpu: use usleep_range instead of msleep
msleep is not recommended for (1ms - 20ms). So use usleep_range
instead to have a more deterministic sleep time.
Also fix the print for target_ref_count that could either be 2 or
1 based on whether GPU rail-gating is enabled or not.
Bug 200294536
Change-Id: I26c9ed8a1badc84db5efa89347a227e6b46f603c
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/1500409
Reviewed-on: http://git-master/r/1503628
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_ctx_gp10b.c')
0 files changed, 0 insertions, 0 deletions