From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: Second HDMI port not visible Date: Wed, 7 Aug 2013 13:29:53 -0700 Message-ID: <20130807132953.5ad95f07@jbarnes-desktop> References: <20130807084847.241e4ad2@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy14-pub.mail.unifiedlayer.com (oproxy14-pub.mail.unifiedlayer.com [67.222.51.224]) by gabe.freedesktop.org (Postfix) with SMTP id 612FEE71EB for ; Wed, 7 Aug 2013 13:29:25 -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: "Matsumura, Ryan" Cc: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org Chris's machine would be a good regression test for this. If it works for him too, I think we should push it. Thanks, Jesse On Wed, 7 Aug 2013 19:15:10 +0000 "Matsumura, Ryan" wrote: > Awesome, that worked thanks Jesse! Will this be just a hack or will you push this as a fix in future releases? > > -Ryan > -----Original Message----- > From: Jesse Barnes [mailto:jbarnes@virtuousgeek.org] > Sent: Wednesday, August 07, 2013 8:49 AM > To: Daniel Vetter > Cc: Matsumura, Ryan; intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] Second HDMI port not visible > > On Wed, 7 Aug 2013 09:41:39 +0200 > Daniel Vetter wrote: > > > On Wed, Aug 7, 2013 at 5:10 AM, Matsumura, Ryan > > wrote: > > > I have a BayTrail board with two HDMI ports and running the default Tizen 3.0M1 release. The first HDMI shows up just fine but I can't get the second screen to display anything. I tried enabling the second screen through the kernel command line parameters (video=HDMI-1:e video=HDMI-2:e) and running xrandr. This is my output from xrandr -q > > > > Iirc Baytrail still has a bunch of hardcoded ports ... Jesse? > > I don't know of any boards with two HDMI ports, but if they're wired up > correctly something like this might work: > > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_d > index 468dbc9..81e86af 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -9304,8 +9304,13 @@ static void intel_setup_outputs(struct drm_device *dev) > intel_dp_init(dev, PCH_DP_D, PORT_D); > } else if (IS_VALLEYVIEW(dev)) { > /* Check for built-in panel first. Shares lanes with HDMI on SDV > - if (I915_READ(VLV_DISPLAY_BASE + DP_C) & DP_DETECTED) > - intel_dp_init(dev, VLV_DISPLAY_BASE + DP_C, PORT_C); > + if (I915_READ(VLV_DISPLAY_BASE + GEN4_HDMIC) & SDVO_DETECTED) { > + intel_hdmi_init(dev, VLV_DISPLAY_BASE + GEN4_HDMIC, > + PORT_C); > + if (I915_READ(VLV_DISPLAY_BASE + DP_C) & DP_DETECTED) > + intel_dp_init(dev, VLV_DISPLAY_BASE + DP_C, > + PORT_C); > + } > > if (I915_READ(VLV_DISPLAY_BASE + GEN4_HDMIB) & SDVO_DETECTED) { > intel_hdmi_init(dev, VLV_DISPLAY_BASE + GEN4_HDMIB, > -- Jesse Barnes, Intel Open Source Technology Center