summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2021-04-08 14:53:52 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2021-04-08 15:22:49 -0400
commitf992c521c382ee23e94148ad523bd5e7782f29a6 (patch)
tree6782da2108aa141657726b67b14a9e799251cd41 /docs
parent07a0b6347208914f6b1ebf7e09bc54587dd6d49a (diff)
downloadgstreamer-plugins-bad-f992c521c382ee23e94148ad523bd5e7782f29a6.tar.gz
v4l2codecs: allocator: Keep dmabuf mapped
DMABuf allocator already implements DMABuf Sync, meaning that doing mmap/munmap (unless the mode have changed) is not required. In fact, on systems with IOMMU it makes the kernel redo the mmu table which is visible in the CPU usage. This change reduces CPU usage when decoding bbb_sunflower_2160p_60fps_normal.mp4 on RK3399 SoC from over 30% to around 15%. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2152>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions