Re: [WIP RFC v2 06/35] rust: drm/kms: Add drm_plane bindings

2024-12-12 Thread Lyude Paul
Some questions/responses down below: On Wed, 2024-11-27 at 11:05 -0300, Daniel Almeida wrote: > Hi Lyude, > > > On 30 Sep 2024, at 20:09, Lyude Paul wrote: > > > > The next step is adding a set of basic bindings to create a plane, which > > has to happen before we can create a CRTC (since we ne

Re: [WIP RFC v2 06/35] rust: drm/kms: Add drm_plane bindings

2024-11-27 Thread Daniel Almeida
Hi Lyude, > On 30 Sep 2024, at 20:09, Lyude Paul wrote: > > The next step is adding a set of basic bindings to create a plane, which > has to happen before we can create a CRTC (since we need to be able to at > least specify a primary plane for a CRTC upon creation). This mostly > follows the sa

Re: [WIP RFC v2 06/35] rust: drm/kms: Add drm_plane bindings

2024-10-03 Thread Lyude Paul
On Thu, 2024-10-03 at 10:30 +0200, Louis Chauvet wrote: > Hi Lyude > > Thank you for all this amazing work! > > [...] > > > +impl Plane { > > +/// Construct a new [`Plane`]. > > +/// > > +/// A driver may use this from their [`Kms::create_objects`] callback > > in order to construct

Re: [WIP RFC v2 06/35] rust: drm/kms: Add drm_plane bindings

2024-10-03 Thread Louis Chauvet
Hi Lyude Thank you for all this amazing work! [...] > +impl Plane { > +/// Construct a new [`Plane`]. > +/// > +/// A driver may use this from their [`Kms::create_objects`] callback in > order to construct new > +/// [`Plane`] objects. > +/// > +/// [`Kms::create_objects

[WIP RFC v2 06/35] rust: drm/kms: Add drm_plane bindings

2024-09-30 Thread Lyude Paul
The next step is adding a set of basic bindings to create a plane, which has to happen before we can create a CRTC (since we need to be able to at least specify a primary plane for a CRTC upon creation). This mostly follows the same general pattern as connectors (AsRawPlane, AsRawPlaneState, etc.).