Files
linux-nvgpu/drivers/gpu/nvgpu/common/linux
Konsta Holtta 50e2fdd306 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>
2017-06-20 09:23:33 -07:00
..
2017-05-12 16:09:05 -07:00
2017-06-12 11:03:37 -07:00
2017-06-06 11:05:03 -07:00
2017-04-12 15:34:53 -07:00
2017-06-06 11:05:03 -07:00
2017-06-19 08:35:04 -07:00