Re: [PATCH v2] drm/i915: Report correct GGTT space usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 30, 2015 at 12:03:04PM +0100, Tvrtko Ursulin wrote:
> 
> On 06/30/2015 11:33 AM, Chris Wilson wrote:
> >On Tue, Jun 30, 2015 at 11:27:20AM +0100, Tvrtko Ursulin wrote:
> >>+	list_for_each_entry(obj, &dev_priv->mm.bound_list, global_list) {
> >>+		list_for_each_entry(vma, &obj->vma_list, vma_link)
> >
> >If only there was already a list of vma bound in the GGTT...
> 
> Let me guess, you have patches for that? :) But for this maybe not
> yet, if I can hazard a guess you are referring to the big VMA
> rewrite? Which is still in progress?

In upstream you can simply walk the lists of
i915->gtt.base.active/i915->gtt.base.inactive.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux