diff options
author | Christoph Hellwig <[email protected]> | 2019-01-04 10:42:49 +0100 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2019-02-01 09:56:41 +0100 |
commit | 55ea54441fb3b6532d5d32417911ff5a10750903 (patch) | |
tree | ae854b693fa98dc3397bbfe5519792277c326862 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 645386dfe6307dbb28f10a4513792a59beda0efa (diff) |
videobuf2: replace a layering violation with dma_map_resource
vb2_dc_get_userptr pokes into arm direct mapping details to get the
resemblance of a dma address for a a physical address that does is
not backed by a page struct. Not only is this not portable to other
architectures with dma direct mapping offsets, but also not to uses
of IOMMUs of any kind. Switch to the proper dma_map_resource /
dma_unmap_resource interface instead.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions