commit | a8f5bf0b220c28b1b600a5ff3cae0b53c5c2079b | [log] [tgz] |
---|---|---|
author | monk.liu <monk.liu@amd.com> | Wed Aug 12 17:56:52 2015 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Aug 17 16:51:18 2015 -0400 |
tree | 3c28ba201e8292a315029ed229128679d2da5825 | |
parent | 281b42230175608dec0cd8dab9908250e7aa36a9 [diff] |
drm/amdgpu: fix type mismatch error remaining timeout returned by amdgpu_fence_wait_any can be larger than max int value, thus the truncated 32 bit value in r ends up being negative while its original long value is positive. Signed-off-by: monk.liu <monk.liu@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Jammy Zhou <jammy.zhou@amd.com>