From: Chris Wilson Date: Thu, 7 Jun 2012 14:38:42 +0000 (+0100) Subject: drm/i915: Introduce drm_i915_gem_object_ops X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~20^2~14^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e680a15ff6375ff02773161f817e90a38c51f7;p=pandora-kernel.git drm/i915: Introduce drm_i915_gem_object_ops In order to specialise functions depending upon the type of object, we can attach vfuncs to each object via a new ->ops pointer. For instance, this will be used in future patches to only bind pages from a dma-buf for the duration that the object is used by the GPU - and so prevent them from pinning those pages for the entire of the object. v2: Bonus comments. Signed-off-by: Chris Wilson Reviewed-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed