diff options
author | Rob Clark <[email protected]> | 2014-09-08 11:18:01 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-09-09 19:42:18 -0400 |
commit | 4f338c9bbff090d606afdc22373cc7869b0d0c89 (patch) | |
tree | 2e33a0c7940a9671ad98d6b6cea55ce00621fefa /src/gallium/drivers/freedreno/adreno_pm4.xml.h | |
parent | fd4884e9291cd941c31e9ed7858a42bec2f1eca8 (diff) |
freedreno: don't overflow cmdstream buffer so much
We currently aren't too clever about dealing with running out of
cmdstream buffer space. Since we use a single buffer for both drawing
and tiling commands, we need to ensure there is enough space at the tail
of the cmdstream buffer to fit the tiling commands.
Until we get more clever, the easy solution is a threshold to trigger
flushing rendering even if the application does not trigger flush (swap,
changing render target, etc). This way we at least don't crash for apps
that do several thousand draw calls (like some piglit tests do).
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/adreno_pm4.xml.h')
0 files changed, 0 insertions, 0 deletions