From: Ben Widawsky Date: Tue, 24 Sep 2013 16:57:57 +0000 (-0700) Subject: drm/i915: Provide a cheap ggtt vma lookup X-Git-Tag: v3.13-rc1~76^2~80^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c2abbeab798154166d42fce4f71790caa6dd9bc;p=pandora-kernel.git drm/i915: Provide a cheap ggtt vma lookup "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 Chris in <20130911221430.GB7825@nuc-i3427.alporthouse.com> Reviewed-by: Chris Wilson Signed-off-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed