Commit 332300b9 authored by monk.liu's avatar monk.liu Committed by Alex Deucher

drm/amdgpu: fix wrong type

Signed-off-by: default avatarmonk.liu <monk.liu@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
parent e30590e6
...@@ -522,7 +522,8 @@ long amdgpu_fence_wait_seq_timeout(struct amdgpu_device *adev, u64 *target_seq, ...@@ -522,7 +522,8 @@ long amdgpu_fence_wait_seq_timeout(struct amdgpu_device *adev, u64 *target_seq,
{ {
uint64_t last_seq[AMDGPU_MAX_RINGS]; uint64_t last_seq[AMDGPU_MAX_RINGS];
bool signaled; bool signaled;
int i, r; int i;
long r;
if (timeout == 0) { if (timeout == 0) {
return amdgpu_fence_any_seq_signaled(adev, target_seq); return amdgpu_fence_any_seq_signaled(adev, target_seq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment