All of lore.kernel.org
 help / color / mirror / Atom feed
* DPCD/AUX locking
@ 2014-05-06 23:20 Dave Airlie
  2014-05-07  5:26 ` Ben Skeggs
  2014-05-07  8:26 ` Daniel Vetter
  0 siblings, 2 replies; 5+ messages in thread
From: Dave Airlie @ 2014-05-06 23:20 UTC (permalink / raw)
  To: dri-devel, Thierry Reding, Daniel Vetter

So now I've been playing with MST I think get the feeling I might need
some explicit locking on the AUX channel, I think at the moment the
mode_config mutex implicitly defends the aux channel as the only real
paths into it are

a) from userspace connector probing,
b) from HPD irqs,

currently both of these on i915 at least take mode config,

however with MST I can't use mode_config for this, so I'm wondering if
I should be adding some explicit locking in the helpers or make it the
drivers problem to lock around helper access?

Any ideas, it would most likely have to be a mutex since DPCD can in
theory sleep.

Dave.

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

end of thread, other threads:[~2014-05-07  8:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06 23:20 DPCD/AUX locking Dave Airlie
2014-05-07  5:26 ` Ben Skeggs
2014-05-07  7:12   ` Dave Airlie
2014-05-07  8:01     ` Thierry Reding
2014-05-07  8:26 ` Daniel Vetter

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.