drm/amdkfd: Rectify the jiffies calculation error with milliseconds v2
authorYong Zhao <yong.zhao@amd.com>
Wed, 20 Sep 2017 22:10:15 +0000 (18:10 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 20 Sep 2017 22:10:15 +0000 (18:10 -0400)
commit8c72c3d7dfa86f7e84c5397975eb9c803e4de7b6
tree8d5ff01bf9ccf8ea1fbab74aa49d00bd45126d87
parent733fa1f7428c362b17b3de3a1c691e21fa803239
drm/amdkfd: Rectify the jiffies calculation error with milliseconds v2

The timeout in milliseconds should not be regarded as jiffies. This
commit fixed that.

v2:
- use msecs_to_jiffies
- change timeout_ms parameter to unsigned int to match msecs_to_jiffies

Signed-off-by: Yong Zhao <yong.zhao@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h