Files
linux/drivers/gpu/drm
Daniel Vetter 4e5b54f127 drm: prevent double-(un)registration for connectors
If we're unlucky then the registration from a hotplugged connector
might race with the final registration step on driver load. And since
MST topology discover is asynchronous that's even somewhat likely.

v2: Also update the kerneldoc for @registered!

v3: Review from Chris:
- Improve kerneldoc for late_register/early_unregister callbacks.
- Use mutex_destroy.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161218133545.2106-1-daniel.vetter@ffwll.ch
(cherry picked from commit e73ab00e9a)
2017-01-30 10:17:17 +01:00
..
2017-01-04 12:09:30 +01:00
2016-12-08 10:25:37 +10:00
2016-12-02 17:15:20 +01:00
2016-09-19 15:04:15 +02:00
2016-11-17 11:58:09 +01:00
2016-09-19 11:22:08 +02:00
2016-09-06 13:56:41 -04:00
2016-11-15 23:33:48 +01:00
2016-09-19 13:57:38 +02:00
2016-12-08 10:00:15 +01:00
2016-11-15 23:33:48 +01:00
2016-09-19 13:57:38 +02:00