linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Brad Campbell <lists2009@fnarfbargle.com>
Cc: linux-kernel@vger.kernel.org, michael.jamet@intel.com,
	YehezkelShB@gmail.com
Subject: Re: Thunderbolt DP oddity on v5.2.9 on iMac 12,2
Date: Wed, 28 Aug 2019 10:33:02 +0300	[thread overview]
Message-ID: <20190828073302.GO3177@lahna.fi.intel.com> (raw)
In-Reply-To: <472bee84-d62b-bfcb-eb83-db881165756b@fnarfbargle.com>

On Wed, Aug 28, 2019 at 03:09:07PM +0800, Brad Campbell wrote:
> G'day All,

Hi,

> 5.2 is the first kernel that has allowed me to use 2 Apple Thunderbolt
> display on a 2011 vintage iMac. Awesome work and many thanks!
> 
> I boot this machine in BIOS (Bootcamp) mode as that gave me brightness
> control over the internal panel.
> 
> I've been using it with a Thunderbolt display and a standard DVI display
> since 2012 as the Apple firmware would only set up a single Thunderbolt
> display at bootup. Didn't find that out until I'd bought a second one and
> kept it around as a spare.
> 
> When I saw the changelog for 5.2 I thought I'd see if it would run 2
> Thnunderbolt displays, and it does after a minor fiddle. I have tried this
> with the Kanex adapter unplugged just for completeness. No change.
> 
> When I boot the machine it picks up both displays :
> 
> [    1.072080] thunderbolt 0-1: new device found, vendor=0x1 device=0x8002
> [    1.072086] thunderbolt 0-1: Apple, Inc. Thunderbolt Display
> [    1.392076] random: crng init done
> [    1.595609] thunderbolt 0-3: new device found, vendor=0x1 device=0x8002
> [    1.595615] thunderbolt 0-3: Apple, Inc. Thunderbolt Display
> [    1.905117] thunderbolt 0-303: new device found, vendor=0xa7 device=0x4
> [    1.905121] thunderbolt 0-303: Kanex Thunderbolt to eSATA+USB3.0 Adapter
> [    1.910098] thunderbolt 0000:07:00.0: 0:c: path does not end on a DP
> adapter, cleaning up
> 
> Display 0-3 works. Display 0-1 remains blank.
> 
> If I unplug 0-1 and re-plug it, it is detected and comes up perfectly.

Can you add "thunderbolt.dyndbg" to the kernel command line and
reproduce this? That gives bit more information what might be happening.

I'm suspecting that the boot firmware does configure second DP path also
and we either fail to discover it properly or the boot firmware fails to
set it up.

Also if you boot with one monitor connected and then connect another
(when the system is up) does it work then?

  reply	other threads:[~2019-08-28  7:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-28  7:09 Thunderbolt DP oddity on v5.2.9 on iMac 12,2 Brad Campbell
2019-08-28  7:33 ` Mika Westerberg [this message]
2019-08-28  9:12   ` Brad Campbell
2019-08-28  9:34     ` Brad Campbell
2019-08-28 10:23     ` Mika Westerberg
2019-08-28 10:43       ` Brad Campbell
2019-08-28 13:19         ` Mika Westerberg
2019-08-28 16:27           ` Brad Campbell
2019-09-03 10:13             ` Mika Westerberg
2019-09-03 10:36               ` Mika Westerberg
2019-09-03 11:11               ` Brad Campbell
2019-09-03 11:55                 ` Mika Westerberg
2019-09-03 12:54                   ` Brad Campbell
2019-09-03 13:33                     ` Mika Westerberg
2019-09-13  8:24                       ` Mika Westerberg

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=20190828073302.GO3177@lahna.fi.intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=YehezkelShB@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lists2009@fnarfbargle.com \
    --cc=michael.jamet@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;
as well as URLs for NNTP newsgroup(s).