Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp199747lqg; Fri, 1 Mar 2024 02:31:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWJtr100bEYNLlQOqmc+Km/Uov4cAgMxG+07mUUwqmX65mi7wj0NjuT0h27jT03ssEj1XRe8jONPTUWYEhfHofYAVZqBS+K0pkZZN3mcw== X-Google-Smtp-Source: AGHT+IERX0zNzawwkmkC+HfvyIGjDl45TwjH3K/SdEbZCspjjqmLZ0L62z4Foqjc+9pBlHvDx+FS X-Received: by 2002:a17:90a:5986:b0:299:63bd:c17d with SMTP id l6-20020a17090a598600b0029963bdc17dmr1798498pji.2.1709289074480; Fri, 01 Mar 2024 02:31:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709289074; cv=pass; d=google.com; s=arc-20160816; b=a7DC3ikp7SzVJQwQdfGhrREiz3JbnD8dgqFLnRy9UmUzH9aSX1T04KlQaqRt+IYNQS 2o1G1eipPF6tnMuzX5CB6h3pwNo/NTy+9SFEDVbeMw72oVQRH3hG/Q7vMdQyLkVAsjco bttOV7cLNQVugNJ/2x8A/MdG1nYvtS4y7SRHP7pfgX6pY1Fzil3x0KHnlGYYkH8Ngjyq vKu9qBJG5GkWFxv0cj/VlY/2lI+mZaOyf6zccocpS/8mEYLyITYts+PY+wMxvVk8r6Ks C7ICG9gQnwAa6K475EJv9BUuckdtUXgsHkU0c/J84RZCkBGf/flU9rxofPJZ9Bh8Kq7C SPaA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uQgkHXN4H+2EnEtQ/LjGDBFFpLfCiV53FKU5omAVN9s=; fh=40h7fc//MRPVMi0gXDD/2nZaN3y1ADzuQ4VILpPQPYY=; b=PciOlPIIFsaV0J7I/JBr+FvoYBpvtaNQ5PRODGxh75/cGA6O7GDNRWd+FdS26ouuJF o1+cPJcFJfeo3FrDXn58ZhJgrQFtDP1GIu+jt1Aj/IOJdpYjlaifQUXE55PH9+IKvoLT i5huscq2sVMFyOhfLisIa7FLEhPM7H08qs+4T3b/FyEcVEniznIBwXsQXZDGQ7vqBMWu NX9CU3WuWLpMgtrOwCeq4Bk1SO3GqL2w+ilv9gqQ0zrIuofeA659xJzaVYm8c3evonaL 9ZZs+wMtFQBjwVbNPfPuXwbwaL+wF0N3NGKhOYCkDw4eBKSNP5RMfnCb5GOuFybQiRYS HiPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BuDHT623; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-88254-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88254-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id pv13-20020a17090b3c8d00b0029b2c7b7b9asi114194pjb.120.2024.03.01.02.31.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 02:31:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88254-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BuDHT623; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-88254-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88254-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 901FBB23A76 for ; Fri, 1 Mar 2024 10:31:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00D784438E; Fri, 1 Mar 2024 10:31:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BuDHT623" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1EB4C16FF46; Fri, 1 Mar 2024 10:30:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709289060; cv=none; b=lviUw83Ep+wliJF2Ee+q3fZDI6tMrDhGwHdWm1xxxYoMrK3i4zaSBDgxttAypA9fccO84Nb3LxYVcNrU2p0pn5ZotE66WMg6SCw5qfvvRXgUBt6EUmKN+ekVDqLUCMQPtqBwpCpKfbFVtc9Xsp0h80h/F9wIv3vqeje5TVfJ/ww= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709289060; c=relaxed/simple; bh=dgKpI41QjGCHxUXx9zUpZ2jMevchmNMDZ5zbAW9T4z4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=o7+4pO+poXUjPt4o1dmk0S/p8jlDg9OiRvVrg1KFqrJyC96wIUViVGbz4babipmRnqWqtXZPELO+QulmDIVFvRKUFLNOuUplMXAhM1AGb4Eud21zBS7tzT5KVU5LTuZghFWtzlGkdtu0PSUvwwOQeg6YfWvcyJrKy4foT/NIYsU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BuDHT623; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3BC35C433F1; Fri, 1 Mar 2024 10:30:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709289059; bh=dgKpI41QjGCHxUXx9zUpZ2jMevchmNMDZ5zbAW9T4z4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BuDHT623qzr/FGGXvtVM2chDjaossdPprsG1lRUK24tCYniAyYxhgC9m90qCS3Rru JIjXBMl6X99Id1h2tLMiwQqLk0Urq6YAWJWdYoZlLmcypM68yq2Gq1JlqJsfv2oxxx iCShHyIZvtG2HmHVD5kNQ1B4fFl5EU+KzBLVrOv1R3xoDoU7lmEEpq6VK+FHrG3NNe JEF5MeLLx92PDkZ37IVduLvnfZ0YQ08kB1Lvu5t5w0H72gkiveJ8KfcHRvW7OBAyW7 YM76A0g/1nQVocwGbQf6FvqwVFaLiTsQmIxMhtqX0zKKtFsRjh61pTPKOvsYkiPEAN 1kNeUGJJuARTw== Date: Fri, 1 Mar 2024 11:30:56 +0100 From: Maxime Ripard To: Sebastian Wick Cc: Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Jonathan Corbet , Sandy Huang , Heiko =?utf-8?Q?St=C3=BCbner?= , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Hans Verkuil , Ville =?utf-8?B?U3lyasOkbMOk?= , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-sunxi@lists.linux.dev, Dave Stevenson Subject: Re: [PATCH v7 21/36] drm/connector: hdmi: Add Broadcast RGB property Message-ID: <20240301-light-impressive-grasshopper-adabeb@houat> References: <20240222-kms-hdmi-connector-state-v7-0-8f4af575fce2@kernel.org> <20240222-kms-hdmi-connector-state-v7-21-8f4af575fce2@kernel.org> <20240229194726.GB166694@toolbox> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240229194726.GB166694@toolbox> On Thu, Feb 29, 2024 at 08:47:26PM +0100, Sebastian Wick wrote: > > @@ -1708,6 +1731,39 @@ EXPORT_SYMBOL(drm_connector_attach_dp_subconnect= or_property); > > /** > > * DOC: HDMI connector properties > > * > > + * Broadcast RGB (HDMI specific) > > + * Indicates the Quantization Range (Full vs Limited) used. The c= olor > > + * processing pipeline will be adjusted to match the value of the > > + * property, and the Infoframes will be generated and sent accord= ingly. > > + * > > + * This property is only relevant if the HDMI output format is RG= B. If > > + * it's one of the YCbCr variant, it will be ignored and the outp= ut will > > + * use a limited quantization range. >=20 > Uh, maybe just say that the quantization range is selected automatically > in case a YCbCr output format is in use. I'm not sure every YCbCr > variant requires limited and even if it does, new formats could change > this. I documented what i915 is doing: https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/i915/display= /intel_hdmi.c#L2143 Maxime