summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2014-04-15 21:41:38 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-21 09:55:53 +0200
commit4fa62c890cea83f28c30e1d5dc8fc86f61210280 (patch)
tree762dfa0079c5532a2d80b9da4005eb1330104c35 /include/drm
parent6304cd91e7f05f8802ea6f91287cac09741d9c46 (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>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions