On Thu, Feb 9, 2012 at 21:24, Eugeni Dodonov <eugeni@xxxxxxxxxxx> wrote: > On Thu, Feb 9, 2012 at 15:56, Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> wrote: >> >> This prevents a race between module init and sysfs access (usually only >> seen at module reload time, or if somehow your userspace starts fast >> enough and pokes at /sys/class/drm while the drivers are still >> initializing). >> >> Signed-off-by: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> > Reviewed-by: Eugeni Dodonov <eugeni.dodonov@xxxxxxxxx> drm_global_mutex is our own little bkl and we won't ever be fixing this disaster by spreading the disease. So lacking better reasons for this patch: Nacked-by: Daniel Vetter <daniel.vetter@xxxxxxxx> Yes, I know that setup/teardown in drm core is a full-blown middlelayer screwup ... -- Daniel Vetter daniel.vetter@xxxxxxxx - +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel