Skip to content
Commit a3e17eb8 authored by Zhao Yakui's avatar Zhao Yakui Committed by Eric Anholt
Browse files

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: default avatarZhao Yakui <yakui.zhao@intel.com>
tested-by: default avatarZhao Jian <jian.zhao@intel.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 9216d44d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment