From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Packard Subject: Re: [Intel-gfx] [PATCH] drm/i915: Hold struct_mutex during hotplug processing Date: Mon, 25 Jul 2011 10:55:05 -0700 Message-ID: References: <1311613829-4990-1-git-send-email-keithp@keithp.com> <20110725103732.623d7b65@jbarnes-desktop> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Andrew Lutomirski , Jesse Barnes Cc: Dave Airlie , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --=-=-= Content-Transfer-Encoding: quoted-printable On Mon, 25 Jul 2011 13:40:58 -0400, Andrew Lutomirski wrote: > Will test tonight. Thanks.=20 > 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. =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFOLa35Qp8BWwlsTdMRAkn9AJ48MSbESAgGvxW/kCXt/zWQ1c1TlACcDkB0 N6M2ytU22BKxfm9kBHGeF/w= =uVDe -----END PGP SIGNATURE----- --=-=-=--