From: <ai...@ke...> - 2009-04-16 07:14:06
|
libdrm/radeon/radeon_bo_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 1edb70f1b909d06f1c0ee7c9c794aec99454e488 Author: Dave Airlie <ai...@re...> Date: Thu Apr 16 16:31:28 2009 +1000 radeon: fix wait return code check diff --git a/libdrm/radeon/radeon_bo_gem.c b/libdrm/radeon/radeon_bo_gem.c index dd84063..78439b2 100644 --- a/libdrm/radeon/radeon_bo_gem.c +++ b/libdrm/radeon/radeon_bo_gem.c @@ -194,7 +194,7 @@ static int bo_wait(struct radeon_bo *bo) do { ret = drmCommandWriteRead(bo->bom->fd, DRM_RADEON_GEM_WAIT_IDLE, &args, sizeof(args)); - } while (ret == -EAGAIN); + } while (ret == -EBUSY); return ret; } |