diff options
author | Konsta Holtta <kholtta@nvidia.com> | 2017-06-20 02:43:55 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-20 12:23:33 -0400 |
commit | 50e2fdd306c253deae97a6bbf6be20f7502eba86 (patch) | |
tree | 7bf404b0f00d4bd4ff8c4f223316d0fcb1e3e27e /drivers/gpu/nvgpu/therm/thrm.h | |
parent | 4d8895276003edf0183c94f3e2f5de378bf9d345 (diff) |
gpu: nvgpu: fix double jiffies conversion
The gk20a_channel_wait() ioctl still considers a timeout value type to
be jiffies, but NVGPU_COND_WAIT_INTERRUPTIBLE takes milliseconds. Pass
the millisecond value from args directly to the cond wait.
NVGPU_NO_TIMEOUT is the max unsigned value that fits in 32 bits, so it
does not need to be tested explicitly.
Jira NVGPU-83
Change-Id: If7979c015696b2d1e0bbe9612c546410a0f41f2e
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/1505422
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrm.h')
0 files changed, 0 insertions, 0 deletions