diff options
author | Jernej Skrabec <jernej.skrabec@gmail.com> | 2021-10-10 12:45:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-10-19 09:08:39 +0200 |
commit | 5db127a534e1aa381c3ba60f51455863f37ea96b (patch) | |
tree | 0653a6171fff8ac2ea1cc1c1b62e43c273f57ddc /drivers/media/pci | |
parent | media: rkvdec: Support dynamic resolution changes (diff) | |
download | linux-5db127a534e1aa381c3ba60f51455863f37ea96b.tar.xz linux-5db127a534e1aa381c3ba60f51455863f37ea96b.zip |
media: cedrus: Don't kernel map most buffers
Except for VP8 probability coefficients buffer, all other buffers are
never accessed by CPU. That allows us to mark them with
DMA_ATTR_NO_KERNEL_MAPPING flag. This helps with decoding big (like 4k)
videos on 32-bit ARM platforms where default vmalloc size is relatively
small - 240 MiB. Since auxiliary buffer are not yet efficiently
allocated, this can be easily exceeded. Even if allocation is optimized,
4k videos will still often exceed this limit.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci')
0 files changed, 0 insertions, 0 deletions