[PATCH] [rfc] drm: close race in connector registration

Dave Airlie airlied at gmail.com
Thu Jul 24 01:49:17 PDT 2014


>
> This is the same we do for minor-objects, so fine with me. I'd prefer
> if the registration is done last in drm_connector_register(), not
> first, but I'm not sure the debugfs hooks work without the connector
> available in the lookup tables. Maybe worth a try.

I was worried sysfs registration would trigger something in userspace
to life, which wuold then fail because the connector wasn't there.

Dave.


More information about the dri-devel mailing list