https://bugs.freedesktop.org/show_bug.cgi?id=101254
--- Comment #12 from joeri.exelmans@gmail.com --- Okay, I found the (series of) commits that break VDPAU in Kodi and mpv.
They were added to the master branch on 2017-05-15 11:01:33 (GMT), all authored by Marek Olšák marek.olsak@amd.com.
This is the last commit that works:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=42fe45b45161e9c9d714436923... Summary: gallium/radeon: require both WRITE and FLUSH_EXPLICIT in buffer_flush_region
Next there are a number of commits, all by Marek Olšák that won't compile because an include is missing:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=8b5485957e19287f7e694e7e87... Summary: gallium/radeon: unwrap a context if we get a wrapped one
https://cgit.freedesktop.org/mesa/mesa/commit/?id=e11f7e1d5996532228c6494ff9... Summary: gallium/radeon: handle TC_TRANSFER_MAP_THREADED_UNSYNC
https://cgit.freedesktop.org/mesa/mesa/commit/?id=93d549b2af84158f25842fd08b... Summary: gallium/radeon: handle other map buffer flags from the threaded context
The next commit fixes the missing include and hence compiles, but has the bug that this thread is about:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=b4fc399c088f77a8e426742707... Summary: gallium/radeon: subclass threaded_resource