diff options
| author | Matthew Auld <[email protected]> | 2017-10-06 23:18:19 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-10-07 10:11:50 +0100 |
| commit | fa3f46afd38cece52f6ff70603b15c1aeb6ec225 (patch) | |
| tree | 5ca89a1ecbedcd63e5ddadd23653811897d2ebcc /tools/perf/scripts/python/stackcollapse.py | |
| parent | a5c08166265adc172a4cbde8ed26a1a96ce77fb7 (diff) | |
drm/i915: introduce vm set_pages/clear_pages
Move the setting/clearing of the vma->pages to a vm operation. Doing so
neatens things up a little, but more importantly gives us a sane place
to also set/clear the vma->pages_sizes, which we introduce later in
preparation for supporting huge-pages.
v2: remove redundant vma->pages check
v3: GEM_BUG_ON(vma->pages) following i915_vma_remove
Suggested-by: Chris Wilson <[email protected]>
Signed-off-by: Matthew Auld <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions