Re: [WIP RFC v2 09/35] WIP: rust: drm/kms: Add Connector.attach_encoder()

2024-11-27 Thread Daniel Almeida
Hi Lyude > On 30 Sep 2024, at 20:09, Lyude Paul wrote: > > This adds a simple binding for completing the last step of creating a DRM > connector - attaching its encoder. This function should only be called > before the connector is registered, and DRM should enforce this itself by > returning an

[WIP RFC v2 09/35] WIP: rust: drm/kms: Add Connector.attach_encoder()

2024-09-30 Thread Lyude Paul
This adds a simple binding for completing the last step of creating a DRM connector - attaching its encoder. This function should only be called before the connector is registered, and DRM should enforce this itself by returning an error if a driver tries to add an encoder to an already-registered