* [PATCH v2] drm: Document requirements for driver-specific KMS props in new drivers
@ 2024-03-11 15:58 Sebastian Wick
2024-03-14 10:20 ` Maxime Ripard
0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Wick @ 2024-03-11 15:58 UTC (permalink / raw)
Cc: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Jonathan Corbet, dri-devel, linux-doc,
linux-kernel
When extending support for a driver-specific KMS property to additional
drivers, we should apply all the requirements for new properties and
make sure the semantics are the same and documented.
v2: devs of the driver which introduced property shall help and ack
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
---
Documentation/gpu/drm-kms.rst | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/gpu/drm-kms.rst b/Documentation/gpu/drm-kms.rst
index 13d3627d8bc0..b98b98359c90 100644
--- a/Documentation/gpu/drm-kms.rst
+++ b/Documentation/gpu/drm-kms.rst
@@ -496,6 +496,13 @@ addition to the one mentioned above:
* An IGT test must be submitted where reasonable.
+For historical reasons, non-standard, driver-specific properties exist. If a KMS
+driver wants to add support for one of those properties, the requirements for
+new properties apply where possible. Additionally, the documented behavior must
+match the de facto semantics of the existing property to ensure compatibility.
+Developers of the driver that first added the property should help with those
+tasks and must ACK the documented behavior if possible.
+
Property Types and Blob Property Support
----------------------------------------
--
2.44.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] drm: Document requirements for driver-specific KMS props in new drivers
2024-03-11 15:58 [PATCH v2] drm: Document requirements for driver-specific KMS props in new drivers Sebastian Wick
@ 2024-03-14 10:20 ` Maxime Ripard
2024-03-19 15:36 ` Daniel Vetter
0 siblings, 1 reply; 4+ messages in thread
From: Maxime Ripard @ 2024-03-14 10:20 UTC (permalink / raw)
To: Sebastian Wick
Cc: David Airlie, Daniel Vetter, Maarten Lankhorst, Thomas Zimmermann,
Jonathan Corbet, dri-devel, linux-doc, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
On Mon, Mar 11, 2024 at 04:58:58PM +0100, Sebastian Wick wrote:
> When extending support for a driver-specific KMS property to additional
> drivers, we should apply all the requirements for new properties and
> make sure the semantics are the same and documented.
>
> v2: devs of the driver which introduced property shall help and ack
>
> Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
We probably want to have Dave or Sima ack on that one too
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] drm: Document requirements for driver-specific KMS props in new drivers
2024-03-14 10:20 ` Maxime Ripard
@ 2024-03-19 15:36 ` Daniel Vetter
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Vetter @ 2024-03-19 15:36 UTC (permalink / raw)
To: Maxime Ripard
Cc: Sebastian Wick, David Airlie, Daniel Vetter, Maarten Lankhorst,
Thomas Zimmermann, Jonathan Corbet, dri-devel, linux-doc,
linux-kernel
On Thu, Mar 14, 2024 at 11:20:09AM +0100, Maxime Ripard wrote:
> On Mon, Mar 11, 2024 at 04:58:58PM +0100, Sebastian Wick wrote:
> > When extending support for a driver-specific KMS property to additional
> > drivers, we should apply all the requirements for new properties and
> > make sure the semantics are the same and documented.
> >
> > v2: devs of the driver which introduced property shall help and ack
> >
> > Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
>
> Acked-by: Maxime Ripard <mripard@kernel.org>
>
> We probably want to have Dave or Sima ack on that one too
Yeah that's a good idea and defacto how we handled this - additional users
of anything (whether library or uapi or whatever) get to clean up an
existing mess if it's too bad. But for uapi it's good to be really
explicit and document that.
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cheers, Sima
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] drm: Document requirements for driver-specific KMS props in new drivers
@ 2024-04-10 12:20 Sebastian Wick
0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Wick @ 2024-04-10 12:20 UTC (permalink / raw)
To: dri-devel
Cc: David Airlie, Daniel Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Jonathan Corbet, linux-doc, linux-kernel,
Daniel Vetter
When extending support for a driver-specific KMS property to additional
drivers, we should apply all the requirements for new properties and
make sure the semantics are the same and documented.
v2: devs of the driver which introduced property shall help and ack
Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
Documentation/gpu/drm-kms.rst | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/gpu/drm-kms.rst b/Documentation/gpu/drm-kms.rst
index 13d3627d8bc0..b98b98359c90 100644
--- a/Documentation/gpu/drm-kms.rst
+++ b/Documentation/gpu/drm-kms.rst
@@ -496,6 +496,13 @@ addition to the one mentioned above:
* An IGT test must be submitted where reasonable.
+For historical reasons, non-standard, driver-specific properties exist. If a KMS
+driver wants to add support for one of those properties, the requirements for
+new properties apply where possible. Additionally, the documented behavior must
+match the de facto semantics of the existing property to ensure compatibility.
+Developers of the driver that first added the property should help with those
+tasks and must ACK the documented behavior if possible.
+
Property Types and Blob Property Support
----------------------------------------
--
2.44.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-04-10 12:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-11 15:58 [PATCH v2] drm: Document requirements for driver-specific KMS props in new drivers Sebastian Wick
2024-03-14 10:20 ` Maxime Ripard
2024-03-19 15:36 ` Daniel Vetter
-- strict thread matches above, loose matches on Subject: below --
2024-04-10 12:20 Sebastian Wick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox