]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm: Document requirements for driver-specific KMS props in new drivers
authorSebastian Wick <sebastian.wick@redhat.com>
Wed, 10 Apr 2024 12:20:06 +0000 (14:20 +0200)
committerMaxime Ripard <mripard@kernel.org>
Mon, 15 Apr 2024 07:10:50 +0000 (09:10 +0200)
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>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240410122008.38207-1-sebastian.wick@redhat.com
Documentation/gpu/drm-kms.rst

index 13d3627d8bc083f0eb48b4c3f955f5c8e7117489..b98b98359c901f0b02b77b52261c9388f7c73906 100644 (file)
@@ -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
 ----------------------------------------