diff options
author | Dave Airlie <airlied@redhat.com> | 2010-10-05 15:35:52 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-05 15:35:52 +1000 |
commit | 3c38e4f138a183ee5ad625ea34b1ec7dd815026f (patch) | |
tree | b3e307dd3ecb8b0e7784b65c12753dec80eb81a9 /src/gallium/winsys/r600/drm/r600_hw_context.c | |
parent | fb5e6f88fc426e53af26e98d1c336222a8952cc5 (diff) |
r600g: add bo fenced list.
this just keeps a list of bos submitted together, and uses them to decide
bo busy state for the whole group.
Diffstat (limited to 'src/gallium/winsys/r600/drm/r600_hw_context.c')
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_hw_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_hw_context.c b/src/gallium/winsys/r600/drm/r600_hw_context.c index 7a908b3ca4..822b65facf 100644 --- a/src/gallium/winsys/r600/drm/r600_hw_context.c +++ b/src/gallium/winsys/r600/drm/r600_hw_context.c @@ -1044,6 +1044,7 @@ void r600_context_flush(struct r600_context *ctx) sizeof(struct drm_radeon_cs)); #endif /* restart */ + radeon_bo_fencelist(ctx->radeon, ctx->bo, ctx->creloc); for (int i = 0; i < ctx->creloc; i++) { radeon_bo_reference(ctx->radeon, &ctx->bo[i], NULL); } |