Re: [PATCH 1/4] WIP: rust: Add basic KMS bindings

2024-04-25 Thread Benno Lossin
On 22.04.24 03:47, Lyude Paul wrote: > On Wed, 2024-03-27 at 20:50 +0000, Benno Lossin wrote: >> Hi, >> >> I just took a quick look and commented on the things that stuck >> out to me. Some general things: >> - several `unsafe` blocks have missing SAFETY comment

Re: [PATCH 2/4] WIP: drm: Introduce rvkms

2024-04-25 Thread Benno Lossin
On 22.04.24 03:54, Lyude Paul wrote: > On Wed, 2024-03-27 at 21:06 +0000, Benno Lossin wrote: >> On 22.03.24 23:03, Lyude Paul wrote: >>> + >>> +pub(crate) type Connector = connector::Connector; >>> + >>> +impl connector::DriverConnector for Drive

Re: [PATCH 1/4] WIP: rust: Add basic KMS bindings

2024-03-28 Thread Benno Lossin
Hi, I just took a quick look and commented on the things that stuck out to me. Some general things: - several `unsafe` blocks have missing SAFETY comments, - missing documentation and examples. On 22.03.24 23:03, Lyude Paul wrote: > Signed-off-by: Lyude Paul > --- > rust/bindings/bindings_helpe

Re: [PATCH 2/4] WIP: drm: Introduce rvkms

2024-03-28 Thread Benno Lossin
On 22.03.24 23:03, Lyude Paul wrote: > diff --git a/drivers/gpu/drm/rvkms/connector.rs > b/drivers/gpu/drm/rvkms/connector.rs > new file mode 100644 > index 0..40f84d38437ee > --- /dev/null > +++ b/drivers/gpu/drm/rvkms/connector.rs > @@ -0,0 +1,55 @@ > +// TODO: License and stuff > +/