Skip to content
Snippets Groups Projects
Commit cf7a3906 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig Committed by Marge Bot
Browse files

panfrost: Copy resources when necessary


If the map doesn't set MAP_DISCARD_RANGE, we do have to copy the existing
contents over. MAP_WRITE on its only gives permission to replace the contents,
unfortunately it does not require that the application actually do so.

Closes: #7640
Fixes: 0b26a9f7 ("panfrost: Don't copy resources if replaced")
Signed-off-by: default avatarAlyssa Rosenzweig <alyssa@collabora.com>
Reported-by: Roman Elshin
Part-of: <mesa/mesa!19576>
parent 59cc628c
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