[Intel-gfx] [PATCH] drm/i915: print object bindings in debugfs

Daniel Vetter daniel.vetter at ffwll.ch
Sat Oct 19 12:33:43 CEST 2013


On Fri, Oct 18, 2013 at 11:39 PM, Ben Widawsky <ben at bwidawsk.net> wrote:
> This is why I opted to leave just 'g' in get_global_flag. A lack of a g
> inplies ppgtt. Also fwiw, this info is already there unless I didn't
> follow what you did:
>
>         list_for_each_entry(vma, &obj->vma_list, vma_link) {
>                 if (!i915_is_ggtt(vma->vm))
>                         seq_puts(m, " (pp");
>                 else
>                         seq_puts(m, " (g");

This is only useful for real ppgtt. But for aliasing ppgtt we have
just one address space and hence only one vma for each object. But we
still want to know whether it's bound in the global gtt or the ppgtt.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list