From: Ville Syrjälä Date: Tue, 15 Apr 2014 18:41:38 +0000 (+0300) Subject: drm/i915: Move buffer pinning and ring selection to intel_crtc_page_flip() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~44^2~38^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fa62c890cea83f28c30e1d5dc8fc86f61210280;p=pandora-kernel.git drm/i915: Move buffer pinning and ring selection to intel_crtc_page_flip() All of the .queue_flip() callbacks duplicate the same code to pin the buffers and calculate the gtt_offset. Move that code to intel_crtc_page_flip(). In order to do that we must also move the ring selection logic there. Signed-off-by: Ville Syrjälä Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed