diff options
| author | Rebecca Schultz Zavin <[email protected]> | 2013-12-13 14:24:05 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-14 08:55:39 -0800 |
| commit | 856661d514e8afc452bcda6f4c05a957694fea78 (patch) | |
| tree | b18b744b44b43dc01f679a84f4698f59601c53e6 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d3c0bced267a6726a2abc44c3457495bd7b427ca (diff) | |
gpu: ion: Add support for cached mappings that don't fault
We have found that faulting in the mappings for cached
allocations has a significant performance impact and is
only a benefit if only a small part of the buffer is
touched by the cpu (an uncommon case for software rendering).
This patch introduces a ION_FLAG_CACHED_NEEDS_SYNC
which determines whether a mapping should be created by
faulting or at mmap time. If this flag is set,
userspace must manage the caches explictly using the SYNC ioctl.
Signed-off-by: Rebecca Schultz Zavin <[email protected]>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions