[Intel-gfx] [PATCH 08/23] drm/i915: Report the number of closed vma held by each context in debugfs

2018-09-04 Thread Chris Wilson
Include the total size of closed vma when reporting the per_ctx_stats of debugfs/i915_gem_objects. Whilst adjusting the context tracking, note that we can simply use our list of contexts in i915->contexts rather than circumlocute via dev->filelist and the per-file context idr. Signed-off-by: Chri

[Intel-gfx] [PATCH 08/23] drm/i915: Report the number of closed vma held by each context in debugfs

2018-08-16 Thread Chris Wilson
Include the total size of closed vma when reporting the per_ctx_stats of debugfs/i915_gem_objects. Whilst adjusting the context tracking, note that we can simply use our list of contexts in i915->contexts rather than circumlocute via dev->filelist and the per-file context idr. Signed-off-by: Chri