drm/i915: Enable PAL and SECAM format and add the propery for SDVO-TV
authorZhao Yakui <yakui.zhao@intel.com>
Mon, 24 Aug 2009 05:50:26 +0000 (13:50 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 4 Sep 2009 20:05:11 +0000 (13:05 -0700)
commitce6feabd1b38f9adf4a962d71bc4762047e8f889
tree068d83b9daad99c36323ae5d269e757b6c9b74d0
parent213c2e643145fc7d8a67f2d5d54ee0f6d7193e2e
drm/i915: Enable PAL and SECAM format and add the propery for SDVO-TV

Currently SDVO TV only support NTSC-M format. In this patch
we introduce PAL and SECAM formats available and create seting-format
property at init time. When user dynamically chose preferred
format by xrandr command, it will refine all modelines
provided by SDVO device, then instruct SDVO device to execute.
At the same time the property is added for SDVO-TV so that the SDVO-TV mode can be changed
by using xrandr.

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

Signed-off-by: Ma Ling <ling.ma@intel.com>
review-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_sdvo.c