Revert "drm: kms_helper: don't lose hotplug event"
authorDave Airlie <airlied@redhat.com>
Fri, 28 Jun 2013 10:31:34 +0000 (20:31 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Jun 2013 10:31:34 +0000 (20:31 +1000)
commitd482e5fa299c2cfbb4700143dd766273730e2357
tree817263cf3963a143ffa63396c4ac4ee32bed10a6
parent421cda3e324fce40e3f7abdf3d31cae1d0deddcd
Revert "drm: kms_helper: don't lose hotplug event"

This reverts commit 160954b7bca43da7cd3cfbce310e6df919a8216e.

This was rearming the workqueue with a 0 timeout, causing
a WARN_ON, and possible loop.

Daniel writes:
"I've looked a bit into this and I think we need to have a separate
work struct for recovering these lost hotplug events since the
continuous self-rearming case is a real risk (e.g. if a connector
flip-flops all the time). At least I don't see a sane way to block out
re-arming with the current code in a simple way. So reverting the
offender seems like the right thing and I'll go back to the drawing
board for 3.12."

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c
include/drm/drm_crtc.h