drm/i915: Don't change the blank/sync width when calculating scaled modes
authorZhao Yakui <yakui.zhao@intel.com>
Mon, 22 Jun 2009 07:31:26 +0000 (15:31 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 23 Jun 2009 02:35:08 +0000 (19:35 -0700)
commitaa0261f230105b86409e29bbe851b09830d93d50
tree43e27301b555f4f2305730eba9152cc95986d17b
parent3fbe18d65d66054667aaee849bed74674bb50062
drm/i915: Don't change the blank/sync width when calculating scaled modes

Also, use the border instead of border minus one.

At the same time, make sure the horizontal border and hsync are even for
the LVDS that works in dual-channel mode. So both horizontal border and hsync
start are also changed to be even, even for the LVDS in single-channel mode.

https://bugs.freedesktop.org/show_bug.cgi?id=20951

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_lvds.c