[PATCH] drm: kms_helper: don't lose hotplug event

2012-11-23 Thread Daniel Vetter
Hi Dave, Will hunting down a patch in my machine farm I've stumbled over this one here. It fixes a detection race I've noticed while testing the new hpd stuff a while back. Chris already smashed his r-b onto it. Can you please include this in drm-next for 3.8? Thanks, Daniel On Wed, Oct 24,

Re: [PATCH] drm: kms_helper: don't lose hotplug event

2012-11-23 Thread Daniel Vetter
Hi Dave, Will hunting down a patch in my machine farm I've stumbled over this one here. It fixes a detection race I've noticed while testing the new hpd stuff a while back. Chris already smashed his r-b onto it. Can you please include this in drm-next for 3.8? Thanks, Daniel On Wed, Oct 24,

[PATCH] drm: kms_helper: don't lose hotplug event

2012-10-25 Thread Chris Wilson
On Wed, 24 Oct 2012 21:16:53 +0200, Daniel Vetter wrote: > There's a race window (small for hpd, 10s large for polled outputs) > where userspace could sneak in with an unrelated connnector probe > ioctl call and eat the hotplug event (since neither the hpd nor the > poll code see a state

[PATCH] drm: kms_helper: don't lose hotplug event

2012-10-24 Thread Daniel Vetter
There's a race window (small for hpd, 10s large for polled outputs) where userspace could sneak in with an unrelated connnector probe ioctl call and eat the hotplug event (since neither the hpd nor the poll code see a state change). To avoid this, check whether the connector state changes in all