diff options
| author | Chris Wilson <[email protected]> | 2020-01-01 22:07:35 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2020-01-02 21:21:17 +0000 |
| commit | 9dae9e5381e02846e523507876966fd80fbb2e97 (patch) | |
| tree | 2443d8a87c46481e2beee133526426da4dfdcae2 /tools/perf/scripts/python/compaction-times.py | |
| parent | c6d4a099a240a8742173f8e02db0ba08ffd37ef1 (diff) | |
drm/i915/gem: Single page objects are naturally contiguous
Small objects that only occupy a single page are naturally contiguous,
so mark them as such and allow them the special abilities that come with
it.
A more thorough treatment would extend i915_gem_object_pin_map() to
support discontiguous lmem objects, following the example of
ioremap_prot() and use get_vm_area() + remap_io_sg().
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/compaction-times.py')
0 files changed, 0 insertions, 0 deletions