* Second HDMI port not visible @ 2013-08-07 3:10 Matsumura, Ryan 2013-08-07 7:41 ` Daniel Vetter 0 siblings, 1 reply; 7+ messages in thread From: Matsumura, Ryan @ 2013-08-07 3:10 UTC (permalink / raw) To: 'intel-gfx@lists.freedesktop.org' 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 Screen 0: minimum 320 x 200, current 640 x 480, maximum 8192 x 8192 VGA1 connected 640x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.0 800x600 60.3 56.2 848x480 60.0 640x480 59.9* HDMI1 connected 640x480+0+0 (normal left inverted right x axis y axis) 256mm x 144mm 1920x1080 60.0 + 60.0 50.0 59.9 40.0 1920x1080i 60.1 50.0 60.0 1280x720 60.0 50.0 59.9 1440x576i 50.1 1440x480i 60.1 60.1 720x576 50.0 720x480 60.0 59.9 640x480 60.0 59.9* DP1 disconnected (normal left inverted right x axis y axis) Is there some other configuration I need? I tried this on both X and Wayland. Seems more like a DRM issue at this point. -Ryan ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Second HDMI port not visible 2013-08-07 3:10 Second HDMI port not visible Matsumura, Ryan @ 2013-08-07 7:41 ` Daniel Vetter 2013-08-07 10:44 ` Ville Syrjälä 2013-08-07 15:48 ` Jesse Barnes 0 siblings, 2 replies; 7+ messages in thread From: Daniel Vetter @ 2013-08-07 7:41 UTC (permalink / raw) To: Matsumura, Ryan; +Cc: intel-gfx@lists.freedesktop.org On Wed, Aug 7, 2013 at 5:10 AM, Matsumura, Ryan <ryan.matsumura@intel.com> 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? -Daniel > > Screen 0: minimum 320 x 200, current 640 x 480, maximum 8192 x 8192 > VGA1 connected 640x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm > 1024x768 60.0 > 800x600 60.3 56.2 > 848x480 60.0 > 640x480 59.9* > HDMI1 connected 640x480+0+0 (normal left inverted right x axis y axis) 256mm x 144mm > 1920x1080 60.0 + 60.0 50.0 59.9 40.0 > 1920x1080i 60.1 50.0 60.0 > 1280x720 60.0 50.0 59.9 > 1440x576i 50.1 > 1440x480i 60.1 60.1 > 720x576 50.0 > 720x480 60.0 59.9 > 640x480 60.0 59.9* > DP1 disconnected (normal left inverted right x axis y axis) > > Is there some other configuration I need? I tried this on both X and Wayland. Seems more like a DRM issue at this point. > > -Ryan > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Second HDMI port not visible 2013-08-07 7:41 ` Daniel Vetter @ 2013-08-07 10:44 ` Ville Syrjälä 2013-08-07 15:48 ` Jesse Barnes 1 sibling, 0 replies; 7+ messages in thread From: Ville Syrjälä @ 2013-08-07 10:44 UTC (permalink / raw) To: Daniel Vetter; +Cc: Matsumura, Ryan, intel-gfx@lists.freedesktop.org On Wed, Aug 07, 2013 at 09:41:39AM +0200, Daniel Vetter wrote: > On Wed, Aug 7, 2013 at 5:10 AM, Matsumura, Ryan > <ryan.matsumura@intel.com> 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? Currently the code assumes that port C is eDP, not DP/HDMI. The specs say that physically either port should be able to function in any role (eDP/DP/HDMI). Not sure if there's some way to detect which way the board is wired (some VBT stuff like the eDP on port D on HSW?), or maybe we should just register the DP/HDMI ports if eDP init fails? > -Daniel > > > > > Screen 0: minimum 320 x 200, current 640 x 480, maximum 8192 x 8192 > > VGA1 connected 640x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm > > 1024x768 60.0 > > 800x600 60.3 56.2 > > 848x480 60.0 > > 640x480 59.9* > > HDMI1 connected 640x480+0+0 (normal left inverted right x axis y axis) 256mm x 144mm > > 1920x1080 60.0 + 60.0 50.0 59.9 40.0 > > 1920x1080i 60.1 50.0 60.0 > > 1280x720 60.0 50.0 59.9 > > 1440x576i 50.1 > > 1440x480i 60.1 60.1 > > 720x576 50.0 > > 720x480 60.0 59.9 > > 640x480 60.0 59.9* > > DP1 disconnected (normal left inverted right x axis y axis) > > > > Is there some other configuration I need? I tried this on both X and Wayland. Seems more like a DRM issue at this point. > > > > -Ryan > > _______________________________________________ > > Intel-gfx mailing list > > Intel-gfx@lists.freedesktop.org > > http://lists.freedesktop.org/mailman/listinfo/intel-gfx > > > > -- > Daniel Vetter > Software Engineer, Intel Corporation > +41 (0) 79 365 57 48 - http://blog.ffwll.ch > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Ville Syrjälä Intel OTC ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Second HDMI port not visible 2013-08-07 7:41 ` Daniel Vetter 2013-08-07 10:44 ` Ville Syrjälä @ 2013-08-07 15:48 ` Jesse Barnes 2013-08-07 19:15 ` Matsumura, Ryan 1 sibling, 1 reply; 7+ messages in thread From: Jesse Barnes @ 2013-08-07 15:48 UTC (permalink / raw) To: Daniel Vetter; +Cc: Matsumura, Ryan, intel-gfx@lists.freedesktop.org On Wed, 7 Aug 2013 09:41:39 +0200 Daniel Vetter <daniel@ffwll.ch> wrote: > On Wed, Aug 7, 2013 at 5:10 AM, Matsumura, Ryan > <ryan.matsumura@intel.com> 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 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: Second HDMI port not visible 2013-08-07 15:48 ` Jesse Barnes @ 2013-08-07 19:15 ` Matsumura, Ryan 2013-08-07 20:29 ` Jesse Barnes 0 siblings, 1 reply; 7+ messages in thread From: Matsumura, Ryan @ 2013-08-07 19:15 UTC (permalink / raw) To: 'Jesse Barnes', Daniel Vetter; +Cc: intel-gfx@lists.freedesktop.org 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 <daniel@ffwll.ch> wrote: > On Wed, Aug 7, 2013 at 5:10 AM, Matsumura, Ryan > <ryan.matsumura@intel.com> 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 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: Second HDMI port not visible 2013-08-07 19:15 ` Matsumura, Ryan @ 2013-08-07 20:29 ` Jesse Barnes 2013-08-09 12:50 ` Chris Wilson 0 siblings, 1 reply; 7+ messages in thread From: Jesse Barnes @ 2013-08-07 20:29 UTC (permalink / raw) To: Matsumura, Ryan; +Cc: 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" <ryan.matsumura@intel.com> 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 <daniel@ffwll.ch> wrote: > > > On Wed, Aug 7, 2013 at 5:10 AM, Matsumura, Ryan > > <ryan.matsumura@intel.com> 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Second HDMI port not visible 2013-08-07 20:29 ` Jesse Barnes @ 2013-08-09 12:50 ` Chris Wilson 0 siblings, 0 replies; 7+ messages in thread From: Chris Wilson @ 2013-08-09 12:50 UTC (permalink / raw) To: Jesse Barnes; +Cc: Matsumura, Ryan, intel-gfx@lists.freedesktop.org On Wed, Aug 07, 2013 at 01:29:53PM -0700, Jesse Barnes wrote: > Chris's machine would be a good regression test for this. If it works > for him too, I think we should push it. Well, the good news is that it adds another HDMI connection. The bad news is that the hardware refuses to acknowledge my connections anyway so I have no idea if it is now broken. Doesn't look for any reason like it should spontaneously break, so lgtm. -Chris -- Chris Wilson, Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-08-09 12:51 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-08-07 3:10 Second HDMI port not visible Matsumura, Ryan 2013-08-07 7:41 ` Daniel Vetter 2013-08-07 10:44 ` Ville Syrjälä 2013-08-07 15:48 ` Jesse Barnes 2013-08-07 19:15 ` Matsumura, Ryan 2013-08-07 20:29 ` Jesse Barnes 2013-08-09 12:50 ` Chris Wilson
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.