drm/i915: create intel_update_pipe_size()
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 10 Sep 2014 15:04:17 +0000 (12:04 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 12:43:08 +0000 (14:43 +0200)
commite30e8f7536f14ce42841f0d30bb2ca3d14f120f3
tree581a178e561e584fe945db36ccecafbaf0d8365b
parent25067bfc060d1a481584dcb51ef4b5680176ecb6
drm/i915: create intel_update_pipe_size()

Factor out a piece of code from intel_pipe_set_base() that updates
the pipe size and adjust fitter.

This will help refactor the update primary plane path.

v2: use struct intel_crtc as argument to intel_update_pipe_size()

v3: use 'crtc' as argument name

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c