From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: "Matsumura, Ryan" <ryan.matsumura@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Subject: Re: Second HDMI port not visible
Date: Wed, 7 Aug 2013 08:48:47 -0700 [thread overview]
Message-ID: <20130807084847.241e4ad2@jbarnes-desktop> (raw)
In-Reply-To: <CAKMK7uFF9MQKjRHk09oTwcG8YarQK2+c-ok+y-sf8n8rk_6OOg@mail.gmail.com>
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
next prev parent reply other threads:[~2013-08-07 15:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-08-07 19:15 ` Matsumura, Ryan
2013-08-07 20:29 ` Jesse Barnes
2013-08-09 12:50 ` Chris Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130807084847.241e4ad2@jbarnes-desktop \
--to=jbarnes@virtuousgeek.org \
--cc=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=ryan.matsumura@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox