commit | 4fa62c890cea83f28c30e1d5dc8fc86f61210280 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Apr 15 21:41:38 2014 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed May 21 09:55:53 2014 +0200 |
tree | 762dfa0079c5532a2d80b9da4005eb1330104c35 | |
parent | 6304cd91e7f05f8802ea6f91287cac09741d9c46 [diff] |
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ä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>