aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSergey Senozhatsky <[email protected]>2020-05-14 18:01:49 +0200
committerMauro Carvalho Chehab <[email protected]>2020-06-23 13:37:57 +0200
commitd5adf1b0c2a31f8244ded805578188e067baaf5e (patch)
tree65b8635fcc268b967b00d0daedcc2015f8adde7c /tools/perf/scripts/python/export-to-postgresql.py
parent093067ed1285d027d1e4a0e3dba72160849fbb84 (diff)
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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions