diff options
author | Chris Wilson <[email protected]> | 2020-07-06 23:43:08 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2020-07-07 11:00:47 +0100 |
commit | a3a402840662a7449b1ca0baa58eddf36ef23158 (patch) | |
tree | f11f91c4968fd677c352db94e803a0ce105b3a74 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 8567774e87e23a57155e5102f81208729b992ae6 (diff) |
drm/i915: Update dma-attributes for our sg DMA
Looking through the attributes for DMA mappings, it appears that by
default dma_map_sg will try and create a kernel accessible map of the
page. We never access this, as we either have a struct page already or
an iomap, so we can request that the dma mapper does not create one.
Without a kernel map in place, one presumes the rest of the memory
control attributes do not apply. We also explicitly control the caches
around the mappings, so we can ask it not to bother synchronising itself.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions