All of lore.kernel.org
 help / color / mirror / Atom feed
From: Seth Forshee <seth.forshee@canonical.com>
To: Bernhard Froemel <froemel@vmars.tuwien.ac.at>
Cc: Matthew Garrett <mjg@redhat.com>,
	platform-driver-x86@vger.kernel.org,
	Andreas Heider <andreas@meetr.de>,
	Greg KH <gregkh@linuxfoundation.org>
Subject: Re: [PATCH] apple-gmux: Add support for message box interface (as found in MBP10,1/Retina MacBook Pro)
Date: Mon, 13 Aug 2012 12:09:08 -0500	[thread overview]
Message-ID: <20120813170908.GC24088@thinkpad-t410> (raw)
In-Reply-To: <5028CC19.6070003@vmars.tuwien.ac.at>

On Mon, Aug 13, 2012 at 11:42:49AM +0200, Bernhard Froemel wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Dear all,
> 
> Apple changed the interface to the gmux device in recent models (at
> least MBP 10,1).
> This patch [1] (also attached) against 3.6-rc1 adds support for the
> changed interface.
> Previously the interface to gmux registers was memory mapped, now there
> is a message box
> interface (address, status, data I/O ports). The gmux register layout
> itself seems to be unchanged.
> I chose rather safe delays (1 ms) for access relaxation -- without any
> relaxation the
> communication is unreliable for me.
> If someone with an older MBP could test whether the interface detection
> (DPM/classic) works it
> would be great. I used a similar detection routine Apple is using in
> their driver.

Matthew also made some progress with this last week, at least enough to
get the backlight working. From what I remember of looking at his
changes these look fairly similar, but I think his implementation looked
cleaner and possibly more complete.

> I see that there is a lot going on concerning and related to the
> apple-gmux currently:
> https://lkml.org/lkml/2012/7/9/715
> https://lkml.org/lkml/2012/8/3/300

I'm slowly making progress on the graphics switching stuff. I've got
patches for vga_switcheroo and apple-gmux that make the muxing itself
work fine, the problems now all revolve around making the graphics
drivers deal with difficult behavior from Apple machines.

Thanks,
Seth

  reply	other threads:[~2012-08-13 17:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-13  9:42 [PATCH] apple-gmux: Add support for message box interface (as found in MBP10,1/Retina MacBook Pro) Bernhard Froemel
2012-08-13 17:09 ` Seth Forshee [this message]
2012-08-13 18:01   ` Bernhard Froemel
2012-08-13 18:13     ` Greg KH
2012-08-13 18:21       ` Seth Forshee
2012-08-13 18:28         ` Seth Forshee
2012-08-13 18:36         ` Bernhard Froemel
2012-08-13 18:17     ` Seth Forshee
2012-08-13 18:59       ` Bernhard Froemel
2012-08-13 19:15         ` Seth Forshee

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=20120813170908.GC24088@thinkpad-t410 \
    --to=seth.forshee@canonical.com \
    --cc=andreas@meetr.de \
    --cc=froemel@vmars.tuwien.ac.at \
    --cc=gregkh@linuxfoundation.org \
    --cc=mjg@redhat.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /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 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.