mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 16:20:11 +01:00
radeon: fix wait return code check
This commit is contained in:
parent
529848ce0c
commit
1edb70f1b9
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ static int bo_wait(struct radeon_bo *bo)
|
||||||
do {
|
do {
|
||||||
ret = drmCommandWriteRead(bo->bom->fd, DRM_RADEON_GEM_WAIT_IDLE,
|
ret = drmCommandWriteRead(bo->bom->fd, DRM_RADEON_GEM_WAIT_IDLE,
|
||||||
&args, sizeof(args));
|
&args, sizeof(args));
|
||||||
} while (ret == -EAGAIN);
|
} while (ret == -EBUSY);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue