drm/i915: Fixup for 'Hold mode_config->mutex during hotplug'
authorKeith Packard <keithp@keithp.com>
Thu, 28 Jul 2011 22:31:19 +0000 (15:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Aug 2011 01:31:35 +0000 (18:31 -0700)
commitc1c741511cbe9fe55257959a83d1fa4361afc5dd
treefca812d5d2ce5f960a151c35850f968dad0fdd5a
parent8b01249b9fe0697eb66e8d0bf41a714d91d039ce
drm/i915: Fixup for 'Hold mode_config->mutex during hotplug'

commit 40ee3381dd1010432acc13e907329029096c5bfc upstream.

drm_helper_hpd_irq_event queues another work proc to go and deliver
the user-space event, and that function also wants to hold the config
mutex, so we shouldn't hold the mutex across the
drm_helper_hpd_irq_event call.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_irq.c