From: Daniel Vetter <daniel@ffwll.ch>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>,
daniel.vetter@ffwll.ch, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org
Subject: Re: Thunderbolt, Apple Monitor & MBA, and excess kworker load
Date: Wed, 20 Jun 2012 18:10:12 +0200 [thread overview]
Message-ID: <20120620161012.GK7170@phenom.ffwll.local> (raw)
In-Reply-To: <20120620155626.GA3384@kroah.com>
On Wed, Jun 20, 2012 at 08:56:26AM -0700, Greg KH wrote:
> On Wed, Jun 20, 2012 at 05:48:42PM +0200, Dominik Brodowski wrote:
> > Hi,
> >
> > At work, I wish to attach a 27" Apple Display using thunderbolt to my Mac
> > Book Air 4,2 13". Using OS X, it works fine, but as I prefer using Linux, I
> > tested out Ubuntu's stock kernel and (among other) 3.5.0-rc3+ as of f40759e.
> > Hotplug doesn't work (known issue), but also with coldplug the display
> > reacts _very_ slow, way too slow for real use: The screen updates only every
> > half second or so. Is this a known bug? Might something go afoul with
> > kworker -- they need about 75% of the CPU with the large display attached,
> > and less than 1% _without_ the large display.
>
> It's not really a known bug, but it is known that Thunderbolt doesn't
> work all that well, if at all, in Linux due to the BIOS issues that you
> have run into (the hotplug stuff.)
>
> Once the device is seen, it should just work like any other PCI device,
> and so, that might be a DRM driver issue somehow.
A quick full-system profile would be a good start to tell where we're
burning through all these cycles exaclty. Also, anything special going on
with interrupts (if this excessive load is due to supurious display
hotplug events, drm/i915 should get _tons_ of interrupts).
-Daniel
--
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48
next prev parent reply other threads:[~2012-06-20 16:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-20 15:48 Thunderbolt, Apple Monitor & MBA, and excess kworker load Dominik Brodowski
2012-06-20 15:56 ` Greg KH
2012-06-20 16:10 ` Daniel Vetter [this message]
2012-06-21 10:59 ` Dominik Brodowski
2012-06-21 14:46 ` Greg KH
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=20120620161012.GK7170@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@dominikbrodowski.net \
/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