From 1edb70f1b909d06f1c0ee7c9c794aec99454e488 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 16 Apr 2009 16:31:28 +1000 Subject: radeon: fix wait return code check --- libdrm/radeon/radeon_bo_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdrm/radeon/radeon_bo_gem.c b/libdrm/radeon/radeon_bo_gem.c index dd840631..78439b29 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; } -- cgit v1.2.3