]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: enable sdvo lvds scaling function.
authorling.ma@intel.com <ling.ma@intel.com>
Tue, 30 Jun 2009 03:35:35 +0000 (11:35 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 1 Jul 2009 18:44:45 +0000 (11:44 -0700)
commitf058cb8d10410bd6685664a682eb4c8729d72392
tree6f2e0386c92931000f8e5dcb873fc57c3d4d32b8
parent4501d9dc81fb8c90e86c41bca2a559700e2fcbf6
drm/i915: enable sdvo lvds scaling function.

Currently we implemented basic sdvo lvds function,
But except for sdvo lvds fixed mode, we can not switch
to other modes, otherwise display get black. The patch
handle three operations to enable sdvo lvds. At first
duplicate sdvo fixed mode for adjustment, then according
to fixed mode line valid all modes, at last adjust input
mode to fit our requirement.

Acked by Li Peng <peng.li@linux.intel.com>
Signed-off-by: Ma Ling <ling.ma@intel.com>
Reviewed-by: Ian Romanick <idr@freedesktop.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/i915/intel_sdvo_regs.h