drm/i915: Relax the sprite scaling limits checks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 24 Apr 2013 15:52:39 +0000 (18:52 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 30 Apr 2013 20:20:10 +0000 (22:20 +0200)
commit3c3686cd9700efefcfc24ab5910b3e5fffd0b069
treea06ecf1ed74659526fa61e2933c56a3a29c64b41
parent1731693a5a372869d017e601a23b1ce2eb3135ed
drm/i915: Relax the sprite scaling limits checks

Reduce the size of the the src/dst viewport to keep the scalign ratios
in check.

v2: Below min size sprite handling squashed to previous patch

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sprite.c