Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp506570lql; Mon, 11 Mar 2024 08:59:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWIQTLxzLsIUq7+PDqhYEPLGaQ/poYNiOVa68iSiCkLfDBtBvyLw+oR8wTKgkm4f8q/aisPS+0C4WrmlLAceEOzVsNZFgh+RXK1u9cwlQ== X-Google-Smtp-Source: AGHT+IEmCYjnBpAGC+nvuLKdaortZ/UXOsHlj6xRnf1CY/Nhb1+hlXZJCNbvOgSp9Ac1fS8GqqAG X-Received: by 2002:a17:903:32c3:b0:1dd:1365:a682 with SMTP id i3-20020a17090332c300b001dd1365a682mr7185126plr.8.1710172794951; Mon, 11 Mar 2024 08:59:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710172794; cv=pass; d=google.com; s=arc-20160816; b=SSSH5R6uoaEaS/jNVUUkvGqleTNPrr9xEoNndqW8lgmKR/kzBGmQGMt/uFXPO3DiEr fmHx0IplxgALold0js/rnAjW2ELkNWqlko5hyLkjRh6/eg/174dbC6BY2r2xJHSuxk5j AAy+s84PxqeFWw8CkkY6AqmouFDtLjlBh4EkH7REhKxIMUHPwizfM1yMz4uah0Kh0o45 ea4/fAU3WylrsKM2eNKJ8Nf0dF2iARZnycNnHWejmVdGVgSAHOve6xvvgaIV0F27KGRV dc83+j8rz5kmFNSsbfQ1poC4GkNNTQY12T6qFUyLnAjDk7rdk+iXH/1yhtsCgl8Lh3xZ 19cg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=0DaVe9UI/74uhr3vyv9Mr2EI8STk16ojBYtV0kWhR6s=; fh=fUSxJn1IxIEst8CCAUogVbEIdTbDLKcV7xphO2DDGhE=; b=c22vY7UtR5lIHmzcAAgv+/wgSezHuyIscuAi4ULCT7VuTBPxccmRH38AIY5l9rS4vX 04UbrSVP5MzumkvqaLzao2ZwXZGnZPDaPiIZyKMrPYyHwL7dJp37obR/P2E7mwbBzWA4 Dvq1VzKlG7jpynWJfKGVbTClN/E7Za1+JtgCQJ11XrDNiNbQE3/5/m6Vii97ZoeyQHwy TPj643akzbsppAYsfL3uwbyYibZ+qrN9rI216oQwAjP4+EwkOAKaNFIEtnmYwOudlOFz YB21qgmDxhwCtZaZ4H8QsPkLOQB0P9UecqJKJD9G3lwO4vslzcKz9K+L/EfhhyWj/wz6 j3tg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UPlFA3HQ; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-99162-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99162-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t14-20020a17090340ce00b001dc7362736bsi5228070pld.23.2024.03.11.08.59.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 08:59:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99162-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=UPlFA3HQ; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-99162-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99162-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 5B3CEB20A9A for ; Mon, 11 Mar 2024 15:59:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4613C47A66; Mon, 11 Mar 2024 15:59:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="UPlFA3HQ" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7B2C4503F for ; Mon, 11 Mar 2024 15:59:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710172751; cv=none; b=HaDI/fkSLjoC7MJhNLG1uPw2ivEFihZQXRE56qqV9Qy+DswLIEsNXxn/A44C/Xma7U4SSF5viAxipqCCgTx5yo+a6vbC5c98wXS8NBeRH8Aoth1gBjspbI3kiMxnNMo+T9De/cErBqGVindCD6kWGjF+B1Nw3iS2OCzzn10uDVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710172751; c=relaxed/simple; bh=18xX4OvWa+leBjLCZv7ewn4yGUE9xohPXWWIi7DpOLg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KAWgI4JiKYqk/Jk5hdOOL8TsGGqwhWBwjtSKxp7Qi/fmNUU7d1BOO/QVAbTSQ4sYm9mHhsiPcbmRzMwqGoqQlPTmZeBOlvm7/ApuCliTf8sUYCVD/F3xtk++2Q6CcRoPAn9oYyucS9X2ftEj+f8FmWzHfLA/ai9fvBja5dfmgl0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=UPlFA3HQ; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710172748; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=0DaVe9UI/74uhr3vyv9Mr2EI8STk16ojBYtV0kWhR6s=; b=UPlFA3HQ7cIxVDsQJcOWlRZHKlrn+pKQDD7fIp8nIO+B6qwe98VtnIAL6unfrBQeS3WIs8 4cRvT29+gqS/2jisjpu37gNxkpa/AKr4+M0qKJt/szm4uFCX7EFC83ugU9fEBxcom/EP9Q qgwamYn94P9+idAY3dmDKS7ns/M3iZs= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-318-LNBdpNHDOdCF8MgVYOe9Cw-1; Mon, 11 Mar 2024 11:59:07 -0400 X-MC-Unique: LNBdpNHDOdCF8MgVYOe9Cw-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-33d8d208be9so1976055f8f.2 for ; Mon, 11 Mar 2024 08:59:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710172746; x=1710777546; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0DaVe9UI/74uhr3vyv9Mr2EI8STk16ojBYtV0kWhR6s=; b=Vou6NE0q6u3GiUl59jUJ3sQwtnh5J3KL0BbO+0BJ++C8l8kHLqBcyhkJKelxir2sBb 8asqupqQPdZ2q+g54L1JOOVTYHOxCxx5qEFSIQGEBCiEHvNWE287ds0bCb74T6paWeiq lzzAZg4cpWiicEBSUA3AO8upMqKCLBLByk6fr+HPP1bxJXZXvFPekoYPSDi8W3x3zTgR uDHsX5pZfyYuDKNo/FpGNjeN7/MLOR3ObF2Xe/ayaaxRimT6JnwvyyBxWZ5biYPTvwyG GyxjAcNPShUm7rtNiTEkfXtjxDXItCS67LjdVlGUODEfJrHRFQZrCkrRwG1I1PsYb2e8 qVSA== X-Forwarded-Encrypted: i=1; AJvYcCW6wJGG+AuYICQRivIdAvzLj+gUK7ImxbvU/m7N3XUe9dClIfjNnqmgzN7GSFVq+kmg4V8bKOsLT5XJgT9gbNm1stue2lrpbPKmIAFU X-Gm-Message-State: AOJu0YyfuoZNsHKGNzcRh5o4tg4kQtIXf4TfMt7fhs+eVxAwwzzTJ2PN 1udDtBhSyfWWMBEFqGMFoEuPloP5g0CW63azXIel6qKbsvJxp5gLaxbACjtMqMZfItoNJDQ9GNj T+OkPCum/8GkpvLStzR7163nXagfwNaOpa26LCnOeY9GiiXZwNeG/nh05PxuHTGh8+RSbqw== X-Received: by 2002:a5d:5266:0:b0:33e:7bef:8ac9 with SMTP id l6-20020a5d5266000000b0033e7bef8ac9mr4426684wrc.42.1710172745899; Mon, 11 Mar 2024 08:59:05 -0700 (PDT) X-Received: by 2002:a5d:5266:0:b0:33e:7bef:8ac9 with SMTP id l6-20020a5d5266000000b0033e7bef8ac9mr4426674wrc.42.1710172745566; Mon, 11 Mar 2024 08:59:05 -0700 (PDT) Received: from toolbox.fritz.box ([2001:9e8:89a8:bc00:4f1a:435e:d5a8:5d5a]) by smtp.gmail.com with ESMTPSA id p12-20020adf9d8c000000b0033cf60e268fsm6774274wre.116.2024.03.11.08.59.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 08:59:05 -0700 (PDT) From: Sebastian Wick To: Cc: David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Jonathan Corbet , dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] drm: Document requirements for driver-specific KMS props in new drivers Date: Mon, 11 Mar 2024 16:58:58 +0100 Message-ID: <20240311155904.323488-1-sebastian.wick@redhat.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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