drm/i915: Add support for changing LVDS panel fitting using an output property.
commit3fbe18d65d66054667aaee849bed74674bb50062
authorZhao Yakui <yakui.zhao@intel.com>
Mon, 22 Jun 2009 07:31:25 +0000 (22 15:31 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 23 Jun 2009 02:31:05 +0000 (22 19:31 -0700)
treec80b52cd5ca66ee8d4542e9237292e7f39794fbd
parent9e06dd39f2b6d7e35981e0d7aded618686b32ccb
drm/i915: Add support for changing LVDS panel fitting using an output property.

Previously the driver would always scale the chosen video mode to fill the
panel.  This adds 1:1 and maintain-aspect-ratio scaling modes.

v2: the drm_calloc/drm_free is replaced by kzalloc/kfree based
on Eric's suggestion.

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