From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Guo Tang" Subject: Questions about tripple display Date: Fri, 13 Jul 2012 08:59:15 -0700 Message-ID: <201207130859149921639@sonoartis.com> Reply-To: "guo.tang" Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1333662594==" Return-path: Received: from mail-yw0-f49.google.com (mail-yw0-f49.google.com [209.85.213.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 27219A1158 for ; Fri, 13 Jul 2012 08:59:25 -0700 (PDT) Received: by yhjj52 with SMTP id j52so621635yhj.36 for ; Fri, 13 Jul 2012 08:59:24 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx List-Id: intel-gfx@lists.freedesktop.org This is a multi-part message in MIME format. --===============1333662594== Content-Type: multipart/alternative; boundary="----=_001_NextPart552887733371_=----" This is a multi-part message in MIME format. ------=_001_NextPart552887733371_=---- Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: base64 SGksIA0KR3JlZXRpbmdzIQ0KDQpJIGhhdmUgYSBzeXN0ZW0gd2l0aCBHTSA0NSBjaGlwIHNldC4g SSB3YW50IHRvIGhhdmUgMyBkaXNwbGF5czogTFZEUywgVkdBLCBhbmQgVFYgb3V0cHV0LiBUaGVy ZSBpcyBubyBuZWVkIGZvciANCnRoZW0gdG8gc2hvdyBkaWZmZXJlbnQgY29udGVudHMuIFNvIG9u bHkgY2xvbmUgZGlzcGxheSBpcyByZXF1aXJlZC4gRnJvbSBHTSA0NSBjaGlwIHNldCBzcGVjLCBs b29rcyBsaWtlIG9ubHkgMiANCmRpc3BsYXkgcG9ydHMgY2FuIGJlIGFjdGl2ZSBhdCB0aGUgc2Ft ZSB0aW1lLiBJcyBpdCBwb3NzaWJsZSB0byBtb2RpZnkgZHJpdmVyIHRvIGdldCAzIGNsb25lIGRp c3BsYXlzPyBBbnkgc3VnZ2VzdGlvbiANCnRvIHdoZXJlIGluIHRoZSBkcml2ZXIvS2VybmVsIEkg Y2FuIHBva2UgYXJvdW5kIHdvdWxkIGJlIGFwcHJlY2lhdGVkLg0KDQpUaGFua3MsDQpHdW8= ------=_001_NextPart552887733371_=---- Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi,
Greetings!
 
I have a system with GM 45 chip set. I want to have 3 displays: LVDS,= VGA,=20 and TV output. There is no need for
them to show different contents. So only clone display is required. F= rom GM=20 45 chip set spec, looks like only 2
display ports can be active at the same time. Is it possible to modif= y=20 driver to get 3 clone displays? Any suggestion
to where in the driver/Kernel I can poke around would be appreciated.=
 
Thanks,
Guo
 
 
------=_001_NextPart552887733371_=------ --===============1333662594== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1333662594==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: Questions about tripple display Date: Fri, 13 Jul 2012 18:10:35 +0200 Message-ID: References: <201207130859149921639@sonoartis.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-gg0-f177.google.com (mail-gg0-f177.google.com [209.85.161.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 440379E93B for ; Fri, 13 Jul 2012 09:10:36 -0700 (PDT) Received: by ggcs5 with SMTP id s5so4077829ggc.36 for ; Fri, 13 Jul 2012 09:10:35 -0700 (PDT) In-Reply-To: <201207130859149921639@sonoartis.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: "guo.tang" Cc: intel-gfx List-Id: intel-gfx@lists.freedesktop.org On Fri, Jul 13, 2012 at 5:59 PM, Guo Tang wrote: > Hi, > Greetings! > > I have a system with GM 45 chip set. I want to have 3 displays: LVDS, VGA, > and TV output. There is no need for > them to show different contents. So only clone display is required. From GM > 45 chip set spec, looks like only 2 > display ports can be active at the same time. Is it possible to modify > driver to get 3 clone displays? Any suggestion > to where in the driver/Kernel I can poke around would be appreciated. This does not work, because both LVDS and TV run on a fixed clock (which does not necessarily agree with the dotclock of the mode), hence you can't clone them. At least not in all cases, and imo trying to support such a configuration in more cases is wasted effort. If you need to drive that many outputs, you're not in the market of a low-end igd solution like gm45 imho. Cheers, Daniel -- Daniel Vetter daniel.vetter@ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guo Tang Subject: Re: Questions about tripple display Date: Fri, 13 Jul 2012 09:36:09 -0700 Message-ID: References: <201207130859149921639@sonoartis.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1725326109==" Return-path: Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 07B7D9E76D for ; Fri, 13 Jul 2012 09:36:09 -0700 (PDT) Received: by vbbfo1 with SMTP id fo1so2629715vbb.36 for ; Fri, 13 Jul 2012 09:36:09 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Daniel Vetter Cc: intel-gfx List-Id: intel-gfx@lists.freedesktop.org --===============1725326109== Content-Type: multipart/alternative; boundary=20cf307f3b7468691004c4b8ad48 --20cf307f3b7468691004c4b8ad48 Content-Type: text/plain; charset=ISO-8859-1 Hi, Daniel, Thanks for the prompt reply. From your reply looks like I still have a little hope. How about if I only run 1024x768@60Hz or 30Hz resolution? Will that address the dotclock problem between LVDS and TV? Thanks, Guo On Fri, Jul 13, 2012 at 9:10 AM, Daniel Vetter wrote: > On Fri, Jul 13, 2012 at 5:59 PM, Guo Tang wrote: > > Hi, > > Greetings! > > > > I have a system with GM 45 chip set. I want to have 3 displays: LVDS, > VGA, > > and TV output. There is no need for > > them to show different contents. So only clone display is required. From > GM > > 45 chip set spec, looks like only 2 > > display ports can be active at the same time. Is it possible to modify > > driver to get 3 clone displays? Any suggestion > > to where in the driver/Kernel I can poke around would be appreciated. > > This does not work, because both LVDS and TV run on a fixed clock > (which does not necessarily agree with the dotclock of the mode), > hence you can't clone them. At least not in all cases, and imo trying > to support such a configuration in more cases is wasted effort. If you > need to drive that many outputs, you're not in the market of a low-end > igd solution like gm45 imho. > > Cheers, Daniel > -- > Daniel Vetter > daniel.vetter@ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch > --20cf307f3b7468691004c4b8ad48 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Daniel,

Thanks for the prompt reply. From your reply= looks like I still have a little hope.=A0

How abo= ut if I only run 1024x768@60Hz or 30Hz resolution? Will that address the do= tclock problem=A0
between LVDS and TV?=A0

Thanks,
Guo=

On Fri, Jul 13, 2012 at 9:10 AM, = Daniel Vetter <daniel@ffwll.ch> wrote:
On F= ri, Jul 13, 2012 at 5:59 PM, Guo Tang <guo.tang@sonoartis.com> wrote:
> Hi,
> Greetings!
>
> I have a system with GM 45 chip set. I want to have 3 displays: LVDS, = VGA,
> and TV output. There is no need for
> them to show different contents. So only clone display is required. Fr= om GM
> 45 chip set spec, looks like only 2
> display ports can be active at the same time. Is it possible to modify=
> driver to get 3 clone displays? Any suggestion
> to where in the driver/Kernel I can poke around would be appreciated.<= br>
This does not work, because both LVDS and TV run on a fixed clo= ck
(which does not necessarily agree with the dotclock of the mode),
hence you can't clone them. At least not in all cases, and imo trying to support such a configuration in more cases is wasted effort. If you
need to drive that many outputs, you're not in the market of a low-end<= br> igd solution like gm45 imho.

Cheers, Daniel
--
Daniel Vetter
daniel.vetter@ffwll.ch - +41= (0) 79 364 57 48 - = http://blog.ffwll.ch

--20cf307f3b7468691004c4b8ad48-- --===============1725326109== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1725326109==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: Questions about tripple display Date: Fri, 13 Jul 2012 18:38:35 +0200 Message-ID: References: <201207130859149921639@sonoartis.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-gh0-f177.google.com (mail-gh0-f177.google.com [209.85.160.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 685C09E76D for ; Fri, 13 Jul 2012 09:38:36 -0700 (PDT) Received: by ghbf11 with SMTP id f11so4106990ghb.36 for ; Fri, 13 Jul 2012 09:38:35 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Guo Tang Cc: intel-gfx List-Id: intel-gfx@lists.freedesktop.org On Fri, Jul 13, 2012 at 6:36 PM, Guo Tang wrote: > Hi, Daniel, > > Thanks for the prompt reply. From your reply looks like I still have a > little hope. > > How about if I only run 1024x768@60Hz or 30Hz resolution? Will that address > the dotclock problem > between LVDS and TV? As I've said, carefully picking a dotclock that matches up with TV or LVDS can work, but we don't bother to support that in the driver because imo it's not worth the hassle. If you really want to stitch something like this together, grep for needs_tvclock in the drm/i915 sources (or check out the lvds panel fitter code). I.e. it's by far not as simple as just picking the same mode as e.g. on the TV. And you'd need to restructure the kernel driver quite a bit to make it work. -Daniel -- Daniel Vetter daniel.vetter@ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guo Tang Subject: Re: Questions about tripple display Date: Fri, 13 Jul 2012 09:44:36 -0700 Message-ID: References: <201207130859149921639@sonoartis.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1338897383==" Return-path: Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by gabe.freedesktop.org (Postfix) with ESMTP id EF6BC9E76D for ; Fri, 13 Jul 2012 09:44:37 -0700 (PDT) Received: by vcbfl13 with SMTP id fl13so306925vcb.36 for ; Fri, 13 Jul 2012 09:44:37 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Daniel Vetter Cc: intel-gfx List-Id: intel-gfx@lists.freedesktop.org --===============1338897383== Content-Type: multipart/alternative; boundary=bcaec502d726ae04ee04c4b8cbc1 --bcaec502d726ae04ee04c4b8cbc1 Content-Type: text/plain; charset=ISO-8859-1 Great! Thanks for the direction. We will give it a shoot! - Guo On Fri, Jul 13, 2012 at 9:38 AM, Daniel Vetter wrote: > On Fri, Jul 13, 2012 at 6:36 PM, Guo Tang wrote: > > Hi, Daniel, > > > > Thanks for the prompt reply. From your reply looks like I still have a > > little hope. > > > > How about if I only run 1024x768@60Hz or 30Hz resolution? Will that > address > > the dotclock problem > > between LVDS and TV? > > As I've said, carefully picking a dotclock that matches up with TV or > LVDS can work, but we don't bother to support that in the driver > because imo it's not worth the hassle. If you really want to stitch > something like this together, grep for needs_tvclock in the drm/i915 > sources (or check out the lvds panel fitter code). I.e. it's by far > not as simple as just picking the same mode as e.g. on the TV. And > you'd need to restructure the kernel driver quite a bit to make it > work. > -Daniel > -- > Daniel Vetter > daniel.vetter@ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch > --bcaec502d726ae04ee04c4b8cbc1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Great! Thanks for the direction. We will give it a shoot!

- Guo

On Fri, Jul 13, 2012 at 9:38 AM, = Daniel Vetter <daniel@ffwll.ch> wrote:
On Fri, Jul 13, 2012 at 6:= 36 PM, Guo Tang <guo.tang@sono= artis.com> wrote:
> Hi, Daniel,
>
> Thanks for the prompt reply. From your reply looks like I still have a=
> little hope.
>
> How about if I only run 1024x768@60Hz or 30Hz resolution? Will that ad= dress
> the dotclock problem
> between LVDS and TV?

As I've said, carefully picking a dotclock that matches up with T= V or
LVDS can work, but we don't bother to support that in the driver
because imo it's not worth the hassle. If you really want to stitch
something like this together, grep for needs_tvclock in the drm/i915
sources (or check out the lvds panel fitter code). I.e. it's by far
not as simple as just picking the same mode as e.g. on the TV. And
you'd need to restructure the kernel driver quite a bit to make it
work.
-Daniel

--bcaec502d726ae04ee04c4b8cbc1-- --===============1338897383== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1338897383==--