commit | 1caea6e945e0867d391369097937620c945dcec1 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Fri Mar 28 23:29:32 2014 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Mar 31 10:46:33 2014 +0200 |
tree | 571c190878b0e9f8fd0d787e7066a488409f9443 | |
parent | efc2cfff28a9424a0f9f8b068c6c8697435664c3 [diff] |
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ä <ville.syrjala@linux.intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>