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

David Herrmann dh.herrmann at gmail.com
Thu Jul 24 02:00:54 PDT 2014


Hi

On Thu, Jul 24, 2014 at 10:49 AM, Dave Airlie <airlied at gmail.com> wrote:
>>
>> 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.

Good point. So all fine with me the way it is.

Thanks
David


More information about the dri-devel mailing list