drm/i915: select TV format according to connector type
authorMa Ling <ling.ma@intel.com>
Mon, 24 Aug 2009 05:50:25 +0000 (13:50 +0800)
committerEric Anholt <eric@anholt.net>
Fri, 4 Sep 2009 20:05:10 +0000 (13:05 -0700)
For integrated TV there are 3 connector types: S-VIDEO, Composite and
Component(YprPb). Those tv formats whose component flag is true should
be assigned to Component connector, others are for S-VIDEO and Composite.
The patch intends to find appropriate tv format for each connector.
In such case it will return the correct modeline to user space. Otherwise
it will return the incorrect modeline when S-video/composite is connected.

Signed-off-by: Ma Ling <ling.ma@intel.com>
reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found