media/gpu/v4l2ip: use buffer affinity tracker
When using DMABUFs, it is preferable to use the same V4L2 buffer with the same underlying buffer, as failure to do so results in memory unmappings/remappings in the driver. Use the newly introduced buffer affinity tracker and V4L2Queue::GetFreeBufferForFrame() method to achieve this transparently in the image processor. BUG=b:159688625 TEST=video.DecodeAccel.h264 passes on Kukui. Change-Id: I9df69431d0e532c40c0f49ca4e3bb31843b0814b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2413946 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by:Fritz Koenig <frkoenig@chromium.org> Cr-Commit-Position: refs/heads/master@{#813091}
Showing
Please register or sign in to comment