drm/i915: Use a common function for computing the fb height alignment
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 20 Jan 2015 12:51:45 +0000 (12:51 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:01 +0000 (09:51 +0100)
commitec2c981e6232ac2039e679d24642b80fbbd2acc6
treecd590182407207070ba74e88ffe78125cb117510
parent49af449b457b721ac5c18f537cf7484903f212f8
drm/i915: Use a common function for computing the fb height alignment

If we need to change the fb height constraints, it sounds like a good
idea to have to do it in one place only.

v2: v2: Rebase on top of Ander's "Make intel_crtc->config a pointer"

Reviewed-By: Tvrtko Ursulin <tvrtko.ursulin@intel.com> (v1)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_fbdev.c