diff options
author | Rob Clark <[email protected]> | 2014-02-01 10:53:00 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-02-01 12:10:17 -0500 |
commit | dc00ec154bda15672861d1b508aa4aacdb306f68 (patch) | |
tree | 0fb6c1ab574d518b30e5a11910f5f81889830c13 /src/gallium/drivers/freedreno/freedreno_draw.h | |
parent | 1fe9df8f29106013f5b6e4407b4877f6bf3b493d (diff) |
freedreno: better manage our WFI's
Updates to non-banked registers, CP_LOAD_STATE, etc, need a WFI if there
is potentially pending rendering. Track this better, and add fd_wfi()
calls everywhere that might potentially need CP_WAIT_FOR_IDLE.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_draw.h')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_draw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_draw.h b/src/gallium/drivers/freedreno/freedreno_draw.h index 608d071989d..fe1c548b12e 100644 --- a/src/gallium/drivers/freedreno/freedreno_draw.h +++ b/src/gallium/drivers/freedreno/freedreno_draw.h @@ -95,7 +95,7 @@ fd_draw(struct fd_context *ctx, struct fd_ringbuffer *ring, emit_marker(ring, 7); - ctx->rmw_needs_wfi = true; + fd_reset_wfi(ctx); } #endif /* FREEDRENO_DRAW_H_ */ |