Re: [Intel-gfx] [PATCH 2/6] drm/i915: Provide a cheap ggtt vma lookup

2013-09-24 Thread Daniel Vetter
On Tue, Sep 24, 2013 at 09:57:57AM -0700, Ben Widawsky wrote: > "We do fairly often lookup the ggtt vma for an obj." - Chris Wilson. As > such, provide a function to offer slightly cheaper access to the vma. > Not performance tested. By my quick estimation it saves at least 3 > pointer dereferences

[Intel-gfx] [PATCH 2/6] drm/i915: Provide a cheap ggtt vma lookup

2013-09-24 Thread Ben Widawsky
"We do fairly often lookup the ggtt vma for an obj." - Chris Wilson. As such, provide a function to offer slightly cheaper access to the vma. Not performance tested. By my quick estimation it saves at least 3 pointer dereferences from the existing mechanism. This patch mostly matches code from Chr

[Intel-gfx] [PATCH 2/6] drm/i915: Provide a cheap ggtt vma lookup

2013-09-14 Thread Ben Widawsky
"We do fairly often lookup the ggtt vma for an obj." - Chris Wilson. As such, provide a function to offer slightly cheaper access to the vma. Not performance tested. By my quick estimation it saves at least 3 pointer dereferences from the existing mechanism. This patch mostly matches code from Chr