summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-12-14 22:39:37 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-03-03 17:36:41 +0200
commitcdb0381d2f19974dc092d5aac672978d0f771eb6 (patch)
tree3d9999917c956ef0be89b6ad29c367d2232a9022 /tools/perf/scripts/python/check-perf-trace.py
parent8d83bbd1198d7d0de2968ec0bde85810b26341e1 (diff)
drm/omap: gem: Clean up GEM objects memory flags
The driver assumes that only objects backed by shmem need to be mapped through DMM. While this is true with the current code, the assumption won't hold with dma_buf import support. Condition the mapping based on whether the buffer has been allocated using the DMA mapping API instead and clean up the flags to avoid having to check both flags and GEM object filp field to decide how to process buffers. Flags are not the authoritative source of information regarding where the buffer memory comes from, and are renamed to make that clearer. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions