Skip to content

frontends/va: Flush after unmapping VAImageBufferType

David Rosca requested to merge nowrep/mesa:va-unmap-flush into main

What does this MR do and why?

frontends/va: Flush after unmapping VAImageBufferType

If application changed image data we need to flush on unmap to make the changes visible. This will also flush if the mapping was used only for reading, but we can't know that as vaMapBuffer doesn't have a parameter to specify if read or write is requested.

Closes: #9774 (closed)

cc @rdong

Merge request reports

Loading