summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/radeon/tools')
-rw-r--r--src/gallium/winsys/radeon/tools/radeon_ctx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/tools/radeon_ctx.h b/src/gallium/winsys/radeon/tools/radeon_ctx.h
index c2967ff0ff8..1eecfd5b6ff 100644
--- a/src/gallium/winsys/radeon/tools/radeon_ctx.h
+++ b/src/gallium/winsys/radeon/tools/radeon_ctx.h
@@ -98,7 +98,7 @@ static void bo_wait(struct ctx *ctx, struct bo *bo)
memset(&args, 0, sizeof(args));
args.handle = bo->handle;
do {
- r = drmCommandWriteRead(ctx->fd, DRM_RADEON_GEM_WAIT_IDLE, &args, sizeof(args));
+ r = drmCommandWrite(ctx->fd, DRM_RADEON_GEM_WAIT_IDLE, &args, sizeof(args));
} while (r == -EBUSY);
}