diff options
author | 2024-04-22 10:03:59 -0700 | |
---|---|---|
committer | 2024-06-10 10:24:11 +0200 | |
commit | b785ea5b16c8b33bad45fdb5ce469d9236401dc8 (patch) | |
tree | 55f504601a685878b0df66af32f631d87a8daed0 /include/uapi/linux/v4l2-controls.h | |
parent | media: mediatek: vcodec: Fix unreasonable data conversion (diff) | |
download | wireguard-linux-b785ea5b16c8b33bad45fdb5ce469d9236401dc8.tar.xz wireguard-linux-b785ea5b16c8b33bad45fdb5ce469d9236401dc8.zip |
media: mediatek: vcodec: Alloc DMA memory with DMA_ATTR_ALLOC_SINGLE_PAGES
As talked about in commit 14d3ae2efeed ("ARM: 8507/1: dma-mapping: Use
DMA_ATTR_ALLOC_SINGLE_PAGES hint to optimize alloc"), it doesn't
really make sense to try to allocate contiguous chunks of memory for
video encoding/decoding. Let's switch the Mediatek vcodec driver to
pass DMA_ATTR_ALLOC_SINGLE_PAGES and take some of the stress off the
memory subsystem.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Fei Shao <fshao@chromium.org>
Reviewed-by: Fei Shao <fshao@chromium.org>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/uapi/linux/v4l2-controls.h')
0 files changed, 0 insertions, 0 deletions