diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2025-05-07 19:09:11 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-05-09 12:55:07 +0300 |
commit | a704a3c503ae1cfd9de8a2e2d16a0c9430e98162 (patch) | |
tree | 213e6d4b73b4842aad795dc14f9bf5ddd06ad334 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 57c8d79adf05244b171964d1d6c7e6fabbe5f5fd (diff) | |
download | linux-a704a3c503ae1cfd9de8a2e2d16a0c9430e98162.tar.xz |
media: videobuf2: use sgtable-based scatterlist wrappers
Use common wrappers operating directly on the struct sg_table objects to
fix incorrect use of scatterlists sync calls. dma_sync_sg_for_*()
functions have to be called with the number of elements originally passed
to dma_map_sg_*() function, not the one returned in sgt->nents.
Fixes: d4db5eb57cab ("media: videobuf2: add begin/end cpu_access callbacks to dma-sg")
CC: stable@vger.kernel.org
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Acked-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions