[Intel-gfx] [PATCH] drm/i915: Hold struct_mutex during hotplug processing

Keith Packard keithp at keithp.com
Mon Jul 25 10:55:05 PDT 2011


On Mon, 25 Jul 2011 13:40:58 -0400, Andrew Lutomirski <luto at mit.edu> wrote:

> Will test tonight.

Thanks. 

> It looks like there is a lot of hotplug activity when 'xset dpms force
> off' gets run.  (That's not a typo.  I do mean "off," not "on."

Yup, that's what I've seen as well -- do a mode set to turn stuff off
and you get spammed with hotplug events.

> See attached trace.  perf rocks, even over ssh :)

Wow. You're nested about three deep in the mode setting code due to
overlapping hotplug events. What could possibly go wrong?

Makes me optimistic that a bit of locking will help a lot here.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20110725/ce05d5e3/attachment.pgp>


More information about the dri-devel mailing list