diff options
author | Dave Airlie <airlied@redhat.com> | 2009-04-16 16:31:28 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-04-16 17:10:19 +1000 |
commit | 1edb70f1b909d06f1c0ee7c9c794aec99454e488 (patch) | |
tree | 6e1ca851edd5d3ae4d7e81e639a92f1d5787eeca | |
parent | 529848ce0cdb0192589a636e6136fc5c4c8cdf9b (diff) |
radeon: fix wait return code checkmodesetting-gem
-rw-r--r-- | libdrm/radeon/radeon_bo_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/radeon/radeon_bo_gem.c b/libdrm/radeon/radeon_bo_gem.c index dd8406315..78439b293 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; } |