Re: [Intel-gfx] [PATCH 14/17] drm/i915/debugfs: include some gtt_page_size metrics

2017-05-19 Thread Chris Wilson
On Tue, May 16, 2017 at 09:29:45AM +0100, Matthew Auld wrote: > Good to know, mostly for debugging purposes. Can we also get similar information into the error state. Copying obj->mm.page_sizes across is easy enough, recording whether gtt was using huge pages, I leave as an exercise to the

Re: [Intel-gfx] [PATCH 14/17] drm/i915/debugfs: include some gtt_page_size metrics

2017-05-19 Thread Chris Wilson
On Tue, May 16, 2017 at 09:29:45AM +0100, Matthew Auld wrote: > Good to know, mostly for debugging purposes. > > Signed-off-by: Matthew Auld > Cc: Joonas Lahtinen Ok, we can do this along with setting obj->mm.page_sizes today and that'll

[Intel-gfx] [PATCH 14/17] drm/i915/debugfs: include some gtt_page_size metrics

2017-05-16 Thread Matthew Auld
Good to know, mostly for debugging purposes. Signed-off-by: Matthew Auld Cc: Joonas Lahtinen --- drivers/gpu/drm/i915/i915_debugfs.c | 37 ++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git