From: Ville Syrjälä Date: Wed, 4 Sep 2013 15:25:31 +0000 (+0300) Subject: drm/i915: Fix cursor visibility checks also for the right/bottom screen edges X-Git-Tag: v3.13-rc1~76^2~114^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6e4db15ed93e6c3857b904f33ac759d4c66fba9;p=pandora-kernel.git drm/i915: Fix cursor visibility checks also for the right/bottom screen edges First of all we should not be looking at fb->{width,height} as those do not tell us what the actual pipe size is. Second of all we need to use >= for the comparison. So fix the comparison, and make use of the new pipe_src_{w,h} to determine the real pipe source dimensions. Reviewed-by: Chris Wilson Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed