[PATCH 2/2] drm: don't recycle used modeset IDs

2014-08-29 Thread Daniel Vetter
On Fri, Aug 29, 2014 at 02:57:12PM +0200, David Herrmann wrote: > Hi > > On Fri, Aug 29, 2014 at 2:51 PM, Daniel Vetter wrote: > > On Fri, Aug 29, 2014 at 02:01:01PM +0200, David Herrmann wrote: > >> With MST, we now have connector hotplugging, yey! Pretty easy to use in > >> user-space, but intr

[PATCH 2/2] drm: don't recycle used modeset IDs

2014-08-29 Thread David Herrmann
Hi On Fri, Aug 29, 2014 at 2:57 PM, David Herrmann wrote: > Hi > > On Fri, Aug 29, 2014 at 2:51 PM, Daniel Vetter wrote: >> On Fri, Aug 29, 2014 at 02:01:01PM +0200, David Herrmann wrote: >>> With MST, we now have connector hotplugging, yey! Pretty easy to use in >>> user-space, but introduces

[PATCH 2/2] drm: don't recycle used modeset IDs

2014-08-29 Thread David Herrmann
Hi On Fri, Aug 29, 2014 at 2:51 PM, Daniel Vetter wrote: > On Fri, Aug 29, 2014 at 02:01:01PM +0200, David Herrmann wrote: >> With MST, we now have connector hotplugging, yey! Pretty easy to use in >> user-space, but introduces some nasty races: >> * If a connector is removed and added again whi

[PATCH 2/2] drm: don't recycle used modeset IDs

2014-08-29 Thread Daniel Vetter
On Fri, Aug 29, 2014 at 02:01:01PM +0200, David Herrmann wrote: > With MST, we now have connector hotplugging, yey! Pretty easy to use in > user-space, but introduces some nasty races: > * If a connector is removed and added again while a compositor is in >background, it will get the same ID a

[PATCH 2/2] drm: don't recycle used modeset IDs

2014-08-29 Thread David Herrmann
With MST, we now have connector hotplugging, yey! Pretty easy to use in user-space, but introduces some nasty races: * If a connector is removed and added again while a compositor is in background, it will get the same ID again. If the compositor wakes up, it cannot know whether its the same

[PATCH 2/2] drm: don't recycle used modeset IDs

2014-08-29 Thread Rob Clark
On Fri, Aug 29, 2014 at 9:10 AM, David Herrmann wrote: > Hi > > On Fri, Aug 29, 2014 at 2:57 PM, David Herrmann > wrote: >> Hi >> >> On Fri, Aug 29, 2014 at 2:51 PM, Daniel Vetter wrote: >>> On Fri, Aug 29, 2014 at 02:01:01PM +0200, David Herrmann wrote: With MST, we now have connector ho