From: Lukas Wunner <lukas@wunner.de>
To: Darren Hart <dvhart@linux.intel.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>, dri-devel@lists.freedesktop.org
Subject: [PATCH 0/1] apple-gmux: Assign apple_gmux_data before registering
Date: Mon, 9 Nov 2015 20:28:39 +0100 [thread overview]
Message-ID: <cover.1447097319.git.lukas@wunner.de> (raw)
Hi Darren,
the following patch is a useful fix for apple-gmux by Matthew Garrett
which is well over a year old but unfortunately never got merged.
The commit message makes it sound as if the fix is only needed for
reprobing (in case apple-gmux registers after the DRM drivers).
I'm not yet sure if we'll use reprobing or deferred initialization,
however the patch is needed even if we go with deferred initialization
as it fixes a race condition that is triggered by invoking a handler
callback between the call to vga_switcheroo_register_handler() and the
assignment of apple_gmux_data.
The patch has seen extensive testing and is actively used by myself
and others on various MacBook Pro models.
Could you take a look at the patch and (barring any objections) ack it?
Thanks,
Lukas
Matthew Garrett (1):
apple-gmux: Assign apple_gmux_data before registering
drivers/platform/x86/apple-gmux.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
--
1.8.5.2 (Apple Git-48)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2015-11-09 20:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 19:28 Lukas Wunner [this message]
2014-03-05 22:34 ` [PATCH 1/1] apple-gmux: Assign apple_gmux_data before registering Lukas Wunner
2015-11-23 19:17 ` Darren Hart
2015-11-16 19:21 ` [PATCH 0/1] " Darren Hart
2015-11-16 20:38 ` [PATCH 1/1] " Lukas Wunner
-- strict thread matches above, loose matches on Subject: below --
2015-11-16 20:38 [PATCH 0/1] " Lukas Wunner
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=cover.1447097319.git.lukas@wunner.de \
--to=lukas@wunner.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=dvhart@linux.intel.com \
--cc=mjg59@srcf.ucam.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.