Re: [Intel-gfx] [PATCH 3/3] drm/i915: Make sure vsyncshift is positive

2014-03-29 Thread Daniel Vetter
On Fri, Mar 28, 2014 at 03:11:55PM -0700, Jesse Barnes wrote: On Fri, 28 Mar 2014 23:29:32 +0200 ville.syrj...@linux.intel.com wrote: From: Ville Syrjälä ville.syrj...@linux.intel.com If vsyncshift comes out as negative, add one htotal to it to get the corresponding positive value.

[Intel-gfx] [PATCH 3/3] drm/i915: Make sure vsyncshift is positive

2014-03-28 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com 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.

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Make sure vsyncshift is positive

2014-03-28 Thread Jesse Barnes
On Fri, 28 Mar 2014 23:29:32 +0200 ville.syrj...@linux.intel.com wrote: From: Ville Syrjälä ville.syrj...@linux.intel.com 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