drm/i915: Check framebuffer stride more thoroughly
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 May 2012 17:39:17 +0000 (20:39 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 25 Oct 2012 16:57:37 +0000 (19:57 +0300)
commit6b8a0506d1749e1d867c71aa3492d60205c8ee88
treed7430c257eca13e584cf807ae4950466fc7e4f4a
parent14a51db8f1fce032553e3211aa64d467a1bd0808
drm/i915: Check framebuffer stride more thoroughly

Make sure the the framebuffer stride is smaller than the maximum
accepted by any plane.

Also when using a tiled memory make sure the object stride matches
the framebuffer stride.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c