From: Chris Wilson Date: Thu, 14 Apr 2011 08:41:17 +0000 (+0100) Subject: drm/i915: Combine pinning with setting to the display plane X-Git-Tag: v3.1-rc1~230^2~18^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2da3b9b940e2a18147422c54ed8b29d01e1ade88;p=pandora-kernel.git drm/i915: Combine pinning with setting to the display plane We need to perform a few operations in order to move the object into the display plane (where it can be accessed coherently by the display engine) that are important for future safety to forbid whilst pinned. As a result, we want to need to perform some of the operations before pinning, but some are required once we have been bound into the GTT. So combine the pinning performed by all the callers with set_to_display_plane(), so this complication is contained within the single function. Signed-off-by: Chris Wilson Reviewed-by: Daniel Vetter --- Reading git-diff-tree failed