Skip to content
Snippets Groups Projects
Commit 64405230 authored by Keith Packard's avatar Keith Packard Committed by Marge Bot
Browse files

iris: Map scanout buffers WC instead of WB [v2]


The scanout engine is not coherent with rendering, so make sure
scanout buffers are mapped WC. This ensures that CPU rendering as done
by the Xserver gets flushed to the frame buffer immediately instead of
waiting for some future time.

v2:
    Also mark shared buffers to be allocated for scanout
    in case they are being used for scanout elsewhere.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
Closes: mesa/mesa#5231


Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Part-of: <mesa/mesa!12259>
parent 86cb30ba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment