diff options
author | Sinclair Yeh <[email protected]> | 2015-12-09 15:05:49 -0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-01-06 16:03:33 -0700 |
commit | 9ccc716534af17937a572330ba6608819e31997c (patch) | |
tree | a86ab83da0c929badd0ebcad9ad6eeaeb9720992 /src/gallium/drivers/svga/svga_context.h | |
parent | b074a5b02de3dc0e2d0cbb6b9154673153b29525 (diff) |
svga: allow preemptive flushing on DMA, update, and readback commands
The existing code effectively turns off preemptive flushing for all
but the regions used for draws. This turns out to be overly
restrictive as some memory regions, e.g. GMR, may never get a draw
when used as a DMA upload staging area, causing problems for apps
that upload a large amount of textures, e.g. Unigine Heaven.
This patch fixes the Unigine Heaven memory allocation error and
has been verified to not cause a regression in the previous extended
retina display issue.
Reviewed-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.h')
0 files changed, 0 insertions, 0 deletions