Re: [RFC v3 03/33] rust: drm/kms: Introduce the main ModeConfigObject traits

2025-03-21 Thread Lyude Paul
On Fri, 2025-03-14 at 11:44 +0100, Maxime Ripard wrote: > On Wed, Mar 05, 2025 at 05:59:19PM -0500, Lyude Paul wrote: > > The KMS API has a very consistent idea of a "mode config object", which > > includes any object with a drm_mode_object struct embedded in it. These > > objects have their own ob

Re: [RFC v3 03/33] rust: drm/kms: Introduce the main ModeConfigObject traits

2025-03-14 Thread Maxime Ripard
On Wed, Mar 05, 2025 at 05:59:19PM -0500, Lyude Paul wrote: > The KMS API has a very consistent idea of a "mode config object", which > includes any object with a drm_mode_object struct embedded in it. These > objects have their own object IDs which DRM exposes to userspace, and we > introduce the

[RFC v3 03/33] rust: drm/kms: Introduce the main ModeConfigObject traits

2025-03-05 Thread Lyude Paul
The KMS API has a very consistent idea of a "mode config object", which includes any object with a drm_mode_object struct embedded in it. These objects have their own object IDs which DRM exposes to userspace, and we introduce the ModeConfigObject trait to represent any object matching these charac