[Intel-gfx] [PATCH 10/19] drm/i915: Make debugfs/per_file_stats scale better

Matthew Auld matthew.william.auld at gmail.com
Thu Aug 8 15:23:50 UTC 2019


On Thu, 8 Aug 2019 at 09:03, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> 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 at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list