diff options
author | Yong Zhao <yong.zhao@amd.com> | 2017-09-20 18:10:15 -0400 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2017-09-20 18:10:15 -0400 |
commit | 8c72c3d7dfa86f7e84c5397975eb9c803e4de7b6 (patch) | |
tree | 8d5ff01bf9ccf8ea1fbab74aa49d00bd45126d87 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
parent | 733fa1f7428c362b17b3de3a1c691e21fa803239 (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions