diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-11 10:06:56 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-11 10:54:20 +0100 |
| commit | 908b1232252edf6c7e29800e091cfbbb9f5f3570 (patch) | |
| tree | 78206ab969b31c2cec10e014147928581ecf5012 /scripts/stackusage | |
| parent | drm/i915: Allow compaction upto SWIOTLB max segment size (diff) | |
| download | linux-908b1232252edf6c7e29800e091cfbbb9f5f3570.tar.gz linux-908b1232252edf6c7e29800e091cfbbb9f5f3570.zip | |
drm/i915: Convert open-coded use of vma_pages()
If we want to know how many pages a VMA spans, we can use vma_pages() to
find out. We have one such invocation inside our faulthandler, so
convert it. (We have two other that want the size in bytes rather than
pages, food for future thought.)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20161011090656.29554-1-chris@chris-wilson.co.uk
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
