From: Ville Syrjälä Date: Fri, 28 Mar 2014 21:29:32 +0000 (+0200) Subject: drm/i915: Make sure vsyncshift is positive X-Git-Tag: v3.15-rc1~51^2~1^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1caea6e945e0867d391369097937620c945dcec1;p=pandora-kernel.git drm/i915: Make sure vsyncshift is positive If vsyncshift comes out as negative, add one htotal to it to get the corresponding positive value. This is rather theoretical as it would require a mode where the hsync+back porch is very long and the active+front porch very short. Signed-off-by: Ville Syrjälä Reviewed-by: Jesse Barnes Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed