drm/i915: Fix not checking cursor and object sizes
authorGustavo Padovan <[email protected]>
Wed, 24 Sep 2014 17:20:25 +0000 (14:20 -0300)
committerDaniel Vetter <[email protected]>
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 <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/intel_display.c