From: Zhao Yakui Date: Sat, 10 Oct 2009 02:42:37 +0000 (+0800) Subject: drm/i915: Set the LVDS_BORDER when using LVDS scaling mode X-Git-Tag: v2.6.32-rc7~79^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3e17eb8f4080a79738a938abe718be255247a44;p=pandora-kernel.git drm/i915: Set the LVDS_BORDER when using LVDS scaling mode According to the spec the LVDS_BORDER_ENABLE bit decides whether the border data should be included in the active display and data sent to the panel. Border should be used when in VGA centered (un-scaled) mode or when scaling a 4:3 source image to a wide screen panel (typical 16:9). So when the LVDS scaling is used, decide whether the LVDS_BORDER should be enabled or not according to the current scaling mode. At the same time fix the typo error in LVDS center scaling mode. https://bugs.freedesktop.org/show_bug.cgi?id=23789 Signed-off-by: Zhao Yakui tested-by: Zhao Jian Signed-off-by: Eric Anholt --- Reading git-diff-tree failed