diff options
| author | 2019-08-08 17:24:07 +0100 | |
|---|---|---|
| committer | 2019-08-08 21:54:20 +0100 | |
| commit | 5b5efdf79abffb959cfbdf1dad063358d23069aa (patch) | |
| tree | 219a5b1090c99150a5679ac7fec25fc8781b18bc /scripts/patch-kernel | |
| parent | drm/i915: Only include active engines in the capture state (diff) | |
drm/i915: Make debugfs/per_file_stats scale better
Currently we walk the entire list of obj->vma for each obj within a file
to find the matching vma of this context. Since we know we are searching
for a particular vma bound to a user context, we can use the rbtree to
search for it rather than repeatedly walk everything.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190808162407.28121-1-chris@chris-wilson.co.uk
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
