Re: [Intel-gfx] [PATCH 5/5] drm/i915: Move buffer pinning and ring selection to intel_crtc_page_flip()

2014-04-17 Thread Chris Wilson
On Tue, Apr 15, 2014 at 09:41:38PM +0300, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > 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

[Intel-gfx] [PATCH 5/5] drm/i915: Move buffer pinning and ring selection to intel_crtc_page_flip()

2014-04-15 Thread ville . syrjala
From: Ville Syrjälä 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ä --- drivers/gpu/drm/i915/