summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2020-05-14 18:01:49 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-23 13:37:57 +0200
commitd5adf1b0c2a31f8244ded805578188e067baaf5e (patch)
tree65b8635fcc268b967b00d0daedcc2015f8adde7c /tools/perf/scripts/python/export-to-postgresql.py
parent093067ed1285d027d1e4a0e3dba72160849fbb84 (diff)
downloadlinux-d5adf1b0c2a31f8244ded805578188e067baaf5e.tar.gz
linux-d5adf1b0c2a31f8244ded805578188e067baaf5e.zip
media: videobuf2: add begin/end cpu_access callbacks to dma-contig
Provide begin_cpu_access() and end_cpu_access() callbacks for cache synchronisation on exported buffers. The patch also adds a new helper function - vb2_dc_buffer_consistent(), which returns true is if the buffer is consistent (DMA_ATTR_NON_CONSISTENT bit cleared), so then we don't need to sync anything. Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions