diff options
| author | Hans Verkuil <[email protected]> | 2014-11-18 09:51:08 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2014-11-25 09:09:19 -0200 |
| commit | 251a79f8f5adfd816de4e052b5e3619a5a1d0910 (patch) | |
| tree | a0fbe2c43a495a274de4c083c42a7cc8dc99055b /tools/perf/scripts/python | |
| parent | f5294f455afd30bdc90f31d6d0101bb773e9ddba (diff) | |
[media] vb2: use dma_map_sg_attrs to prevent unnecessary sync
By default dma_map_sg syncs the mapped buffer to the device. But
buf_prepare expects a buffer syncs for the cpu and the buffer
will be synced to the device in the prepare memop.
The reverse is true for dma_unmap_sg, buf_finish and the finish
memop.
To prevent unnecessary syncs we ask dma_(un)map_sg to skip the
sync.
Signed-off-by: Hans Verkuil <[email protected]>
Acked-by: Pawel Osciak <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions