drm/i915: Fix not checking cursor and object sizes
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 24 Sep 2014 17:20:25 +0000 (14:20 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:00 +0000 (16:34 +0200)
commite391ea882b1a04fb3f559287ac694652a3cd9da9
treec177499836403c550bab1b4872a9247768dd43da
parent757f9a3e5b8a812af0c213099a5b31cb423f4d3c
drm/i915: Fix not checking cursor and object sizes

Even if the fb is the same we should still check if the sizes are
valid to be set.

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