summaryrefslogtreecommitdiffstats
path: root/net/x25/x25_subr.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-07-25 19:04:56 +0200
committerKeith Packard <keithp@keithp.com>2011-07-25 23:54:22 +0200
commita65e34c79c88895766ab1f8a5afa451eed26622b (patch)
tree02ebb8818c40f44c248b5c322ee9c301af984dc6 /net/x25/x25_subr.c
parentdrm/i915/dp: Explicitly request 8/10 channel coding (diff)
downloadlinux-a65e34c79c88895766ab1f8a5afa451eed26622b.tar.xz
linux-a65e34c79c88895766ab1f8a5afa451eed26622b.zip
drm/i915: Hold mode_config->mutex during hotplug processing
Hotplug detection is a mode setting operation and must hold the struct_mutex or risk colliding with other mode setting operations. In particular, the display port hotplug function attempts to re-train the link if the monitor is supposed to be running when plugged back in. If that happens while mode setting is underway, the link will get scrambled, leaving it in an inconsistent state. This is a special case -- usually the driver mode setting entry points are covered by the upper level DRM code, but in this case the function is invoked as a work function not under the control of DRM. Signed-off-by: Keith Packard <keithp@keithp.com> Cc: stable@kernel.org Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'net/x25/x25_subr.c')
0 files changed, 0 insertions, 0 deletions