drm/i915: Fix cursor visibility check with negative coordinates
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 4 Sep 2013 15:25:30 +0000 (18:25 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Sep 2013 07:25:27 +0000 (09:25 +0200)
commitefc9064e7282aab65b281738089245c229c2df45
tree0a93b3d0622690361397e076a930019bf5cac086
parent5113bc9b2357bbfe64c8c36bb05dad3eeeabd166
drm/i915: Fix cursor visibility check with negative coordinates

When the cursor x coordinate is exactly -cursor_width, the cursor is
invisible. And obviously the same holds for the y coordinate and
cursor_height.

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_display.c