Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp352985lqp; Wed, 22 May 2024 06:40:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUyt4WKrDmzUHwOtZYvN+ihx0T6bdre6zy4NQ/wnItjMtWOK3noJdJz985oSex8Uf9vdWjlZzPOGm+ahXOU2prSiYKQxwoM43CdO1vn/A== X-Google-Smtp-Source: AGHT+IEEWxCZMhQAch49s+KXhU69UfFZ3yC0hVXvm7DnW0Bcbsflc5Q77FPHkbho9cI4eakGdwxy X-Received: by 2002:a17:906:75b:b0:a59:c5c2:a31c with SMTP id a640c23a62f3a-a622812a542mr205767766b.33.1716385254362; Wed, 22 May 2024 06:40:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716385254; cv=pass; d=google.com; s=arc-20160816; b=auxuvj0oo6BQhoQoSGmBCkG4j4iz5KlXHT39r0SkBJyA2DNn7J7xGIcR1CoEYZ5xot Gqq+x17+efMaTn/FJdnmBXnm+cFc8bJEnRacc0ngW9PtjOsnv0iXP/KvzSXBFWE/hF3r c8wPcHGkyo6Emjg4Oij9j4ZV7SUy82SQlIIUz5Crt9+UNB0ucdM/AlUqdv15sMvsXzbk KdW1Nn6wTAZgverEdm+Fr95qUvHds88Ao1ADGCf89WAtJ6pb8JPy0egTKkGc+qmvSrOJ AyKkJkGuTh3wJ3WnGglXlaMpW9SjIie01Z8ASVR8WBFkwYPCZf4qo96/wegma7GKaD6/ ikoA== 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:feedback-id:references :in-reply-to:message-id:subject:cc:from:to:date:dkim-signature; bh=wtv5GehB0RNRrwKNMSpWWR1rBRSVtWsYLFCegIScuU4=; fh=hFIerUZ4gjqBONyrgzgiXK9bw2zcm9giF88FyCyzsRg=; b=ua+Zl6KU3n6Wt/am5LWdiDgqXLb/Mm/y8I5E6h53zqOMHWZw89em3H0oCjn6RcQ4GH G2xw0IQIuqr5tJ9luQ6LcS+FYHuS8mZmSS6lQrNy7xYUjqE8+0b7fTI/10GTGWh6Wjub TWxkItjWle47pOKfVSOBPBhyOLdp+jawH5seldHS1l3TTsTtLDLJBz0fMqidzFQhzRAe stxHFczhUrApo/1sEGmvLFeAwn/Z5JTRIPYsex+DMVkny7OHIIoP6Fde35nbCv2NNJ5U oCmMHIsebACYdGN8k/9aPHQ1ZvQfY7ryrISAXD+TvL7FxmwdDdPanZfbK8yD6CiY3k25 KJng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail3 header.b=yvIGFZrS; arc=pass (i=1 spf=pass spfdomain=emersion.fr dkim=pass dkdomain=emersion.fr dmarc=pass fromdomain=emersion.fr); spf=pass (google.com: domain of linux-kernel+bounces-186293-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186293-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17c2c694si1480128966b.1025.2024.05.22.06.40.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 06:40:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186293-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail3 header.b=yvIGFZrS; arc=pass (i=1 spf=pass spfdomain=emersion.fr dkim=pass dkdomain=emersion.fr dmarc=pass fromdomain=emersion.fr); spf=pass (google.com: domain of linux-kernel+bounces-186293-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186293-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 18EAA1F24368 for ; Wed, 22 May 2024 13:40:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C4774140394; Wed, 22 May 2024 13:40:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=emersion.fr header.i=@emersion.fr header.b="yvIGFZrS" Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) (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 32CAF13F44F for ; Wed, 22 May 2024 13:40:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716385246; cv=none; b=mM9U1JvUbS5DDgvxC88yYVWBhEGW5Dp/n4+GAmzxKs1pEs6osyH22zIp22NKTf/kARpucrqWWCtHqnqa/isVsp37muVJW7bOAtBz9V3dkpNuOgq6a5CztVuvIh505lHz2jIYR9Q2PTSr9zvlJdddaG5m5w8lyjgQnphlsLRNzJ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716385246; c=relaxed/simple; bh=wtv5GehB0RNRrwKNMSpWWR1rBRSVtWsYLFCegIScuU4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sinQ9GoWblbH/R+1Q5faNReEntG7GGCOTxBMeIr+W6yLLNTcEvtGQuP+fPqAZF/kx86cy/d7FD7ZHU+WkphB5xQHZNHp/N5O3Zz9cv4ogiL2Y/Ysu3Qm+wflpI/uY1d2dBtvcuZfXSNreL8mATQpoCbPoll8yvpBKqQmgZysDYs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=emersion.fr; spf=pass smtp.mailfrom=emersion.fr; dkim=pass (2048-bit key) header.d=emersion.fr header.i=@emersion.fr header.b=yvIGFZrS; arc=none smtp.client-ip=185.70.43.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=emersion.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=emersion.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail3; t=1716385240; x=1716644440; bh=wtv5GehB0RNRrwKNMSpWWR1rBRSVtWsYLFCegIScuU4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=yvIGFZrSL3iRU85LAzfwzh+uq0jLCjADU6LMEGnjMcGt++u5/NLIlJG88CSeTIRcf GPHdN9aBbDdIBmDReF13JTw6whWLxrYdcN0y0DLD7b2XyIHFcoIZu112gaPWkTiop9 9N/28V7OxshKIW5zjoaUo7dYNXP58prPUvRtEW7bF2Byi1O5XQxLpTE7v+vsMmhMsj S37g+lawcenjPzcgC6vZF2FwovTw1QBhHXJfxIhw+z3hFV3y2SxlBqrYoipBcVUhNg OI0R4GzDpatz7CDja0Q6bd8q7alaWZx2gzFAzSx0rMeyvVOMOJdesZW+WO+q2m2yRg cCT7AA126qLgA== Date: Wed, 22 May 2024 13:40:36 +0000 To: Mario Limonciello From: Simon Ser Cc: =?utf-8?Q?Rino_Andr=C3=A9_Johnsen?= , =?utf-8?Q?Christian_K=C3=B6nig?= , alexander.deucher@amd.com, Harry Wentland , Leo Li , Rodrigo Siqueira , "Pan, Xinhui" , David Airlie , Daniel Vetter , Aurabindo Pillai , Hersen Wu , Hamza Mahfooz , Wayne Lin , Srinivasan Shanmugam , Fangzhi Zuo , Tom Chung , Nicholas Kazlauskas , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] drm/amd/display: Add pixel encoding info to debugfs Message-ID: <1XiLpoWd2E_COrHNl9BYkmCXkUKK6Bv1wibdFxiw3Vi6AQOPAIhrIMPNEZmmKAp9yxC8Er4DEMqOqjshMgRqtpV3UkS7MN2OjCsDjllvdRE=@emersion.fr> In-Reply-To: <666e36b7-5379-46ef-a16b-00ec499fb42c@amd.com> References: <20240521051140.30509-1-rinoandrejohnsen@gmail.com> <17782a6e-db84-4c20-874a-342b9655ffc5@amd.com> <86410711-9b88-448c-9148-109f81b1ca55@amd.com> <666e36b7-5379-46ef-a16b-00ec499fb42c@amd.com> Feedback-ID: 1358184:user:proton X-Pm-Message-ID: b585325d54e6bc294fd23a41f27306f095acabbc 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=utf-8 Content-Transfer-Encoding: quoted-printable On Wednesday, May 22nd, 2024 at 15:36, Mario Limonciello wrote: > > To be perfectly honest with you, I haven't given that much though. I > > used the 'bpc' and 'colorspace' property in debugfs, since I could not > > find that information anywhere else. And since I also needed to verify > > the pixel encoding being used, I added it where those other values > > were. That made for a simple and easy addition for this property. > >=20 > > If you want me to do this differently, let me know. And please point > > me to the standardized DRM property where I should expose the values. FWIW, there is a patch from Andri to add a similar (?) property: https://lore.kernel.org/dri-devel/20240115160554.720247-1-andri@yngvason.is= / The patch also allows user-space to set the "pixel encoding".