On Fri, Oct 18, 2013 at 11:39 PM, Ben Widawsky <ben@xxxxxxxxxxxx> 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 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx