diff options
author | Eric Anholt <[email protected]> | 2015-10-23 14:43:41 +0100 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-10-23 18:11:21 +0100 |
commit | 7d7fbcdf4e1683d1aef19c7ee08cc222d8279672 (patch) | |
tree | de30ca1b520a69dcc6537b140381dffead6a4d9c /src/gallium/drivers/vc4/vc4_context.h | |
parent | 73f610453296d7e8039ab05179d714d684d50fb3 (diff) |
vc4: Add a workaround for HW-2116 (state counter wrap fails).
I haven't proven that this happens (I've got other GPU hangs in the
way), but the closed driver also does this and it's documented as an
errata.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_context.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/vc4/vc4_context.h b/src/gallium/drivers/vc4/vc4_context.h index c7698422951..7a758f8545f 100644 --- a/src/gallium/drivers/vc4/vc4_context.h +++ b/src/gallium/drivers/vc4/vc4_context.h @@ -250,10 +250,10 @@ struct vc4_context { bool needs_flush; /** - * Set when needs_flush, and the queued rendering is not just composed - * of full-buffer clears. + * Number of draw calls (not counting full buffer clears) queued in + * the current job. */ - bool draw_call_queued; + uint32_t draw_calls_queued; /** Maximum index buffer valid for the current shader_rec. */ uint32_t max_index; |