dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] apple-gmux: Assign apple_gmux_data before registering
@ 2015-11-09 19:28 Lukas Wunner
  2014-03-05 22:34 ` [PATCH 1/1] " Lukas Wunner
  2015-11-16 19:21 ` [PATCH 0/1] " Darren Hart
  0 siblings, 2 replies; 4+ messages in thread
From: Lukas Wunner @ 2015-11-09 19:28 UTC (permalink / raw)
  To: Darren Hart; +Cc: Matthew Garrett, dri-devel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-23 19:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-09 19:28 [PATCH 0/1] apple-gmux: Assign apple_gmux_data before registering Lukas Wunner
2014-03-05 22:34 ` [PATCH 1/1] " Lukas Wunner
2015-11-23 19:17   ` Darren Hart
2015-11-16 19:21 ` [PATCH 0/1] " Darren Hart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox