From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A15A8EE20A0 for ; Fri, 6 Feb 2026 13:28:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1172D10E66B; Fri, 6 Feb 2026 13:28:42 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=collabora.com header.i=nfraprado@collabora.com header.b="MrABODs6"; dkim-atps=neutral Received: from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com [136.143.188.112]) by gabe.freedesktop.org (Postfix) with ESMTPS id 967E710E66B for ; Fri, 6 Feb 2026 13:28:40 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; t=1770384499; cv=none; d=zohomail.com; s=zohoarc; b=DNhXkQAPNzKgJra5xvbEkd80zM2ctRyQgWLurnlSVP13dexpfwbAKcknatu//Q/o50gvTzcTEQ1NKyu4UyPQubFoIfJj4S1uvzA4F86BsTqZWnzD5BFKT0lbGbCBxvP6u33L52vMVEiBEx1xnqNWPkOqyqCzvTXOOFWBDQx4Bwg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1770384499; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=csYVRUvVWbvvf8wcgd3EzDmqbBogEBisUcbX8ERb4cc=; b=krYDuojyZe9hxAX+UOlCdC2mVhUbMfhuPLmX5QHqX2jXYjuoOaNz0p81QpwP9tkJQIBY++TDZUzlCbo8pJTHM7xQ5iXOL+4v6boDpZiiJsq2BLg93Jp5mes0JCKBEa07dy/MYKrR/qCqfjKYXX2zf/9kNAtUzIePQZi6dDqDgAE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=nfraprado@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1770384499; s=zohomail; d=collabora.com; i=nfraprado@collabora.com; h=Message-ID:Subject:Subject:From:From:To:To:Cc:Cc:Date:Date:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:MIME-Version:Message-Id:Reply-To; bh=csYVRUvVWbvvf8wcgd3EzDmqbBogEBisUcbX8ERb4cc=; b=MrABODs6Py2CZvfpDoWRviO/GTkEp24s+p+eSLIJjgdUCsmV3rSofLHtmRnF9AlB g1FUot3Db3J43BCNok1/pw+tAAHX+T57QxXQxqOsfDKN5vLn4VDBDquF+GobbLl6C6H IHbllLMwcl6p6cei54ZQmkuUz9CM38SovbYHkROs= Received: by mx.zohomail.com with SMTPS id 1770384497666336.13465611924744; Fri, 6 Feb 2026 05:28:17 -0800 (PST) Message-ID: <5963bca37996fa054ad75d4e5017d9c7e5158e9f.camel@collabora.com> Subject: Re: [PATCH 00/11] Plane Color Pipeline support for MediaTek From: =?ISO-8859-1?Q?N=EDcolas?= "F. R. A. Prado" To: Pekka Paalanen , Harry Wentland Cc: Shengyu Qu , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Chun-Kuang Hu , Philipp Zabel , Matthias Brugger , AngeloGioacchino Del Regno , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, daniels@collabora.com, ariel.dalessandro@collabora.com, kernel@collabora.com, xaver.hugl@gmail.com Date: Fri, 06 Feb 2026 08:28:14 -0500 In-Reply-To: <20260206110901.660cf712@eldfell> References: <20251223-mtk-ovl-pre-blend-colorops-v1-0-0cb99bd0ab33@collabora.com> <20260206110901.660cf712@eldfell> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-8 MIME-Version: 1.0 X-ZohoMailClient: External X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Fri, 2026-02-06 at 11:09 +0200, Pekka Paalanen wrote: > On Fri, 2 Jan 2026 13:40:21 -0500 > Harry Wentland wrote: >=20 > > On 2026-01-01 07:37, Shengyu Qu wrote: > > >=20 > > >=20 > > > =E5=9C=A8 2025/12/30 02:53, Shengyu Qu =E5=86=99=E9=81=93:=C2=A0=20 > > > >=20 > > > >=20 > > > > =E5=9C=A8 2025/12/24 3:44, N=C3=83 colas F. R. A. Prado =E5=86=99= =E9=81=93:=C2=A0=20 >=20 > > > > > Given the lack of support for writeback connectors on the > > > > > MediaTek KMS driver, combined with limited hardware > > > > > documentation, I haven't been able to verify the correctness > > > > > of > > > > > each curve, only that they were visually sane (gamma curves > > > > > made > > > > > the image on the display brighter, while inverse gamma made > > > > > it > > > > > darker).=C2=A0=20 > > > >=20 > > > > Hmmm I don't think this is acceptable. sRGB/scRGB has two > > > > transfer > > > > functions mentioned in original specification[1]. To keep color > > > > accuracy, we need someone from mediatek confirm whether this is > > > > piece- wise or pure power 2.2 transfer function, this is > > > > already > > > > done in original amdgpu color pipeline series, sRGB means > > > > piece-wise while also dedicated power 2.2 function exists.=C2=A0= =20 > >=20 > > Not sure what you mean with this not being acceptable. This is > > about > > enabling HW support for this functionality. Not every HW has > > writeback for testing. At some point you'll have to trust the > > driver > > devs if you're going to use functionality of the driver. We're not > > always going to get everything perfect, but if that's really such a > > worry you can always use shaders to do precisely what you want. > >=20 >=20 > Hi Harry, >=20 > yes, but I understood that in this case, the hardware documentation > available is so vague that it's impossible to say what it will > actually > do. There are no formulas given or referenced in the documentation, > are > there, N=C3=ADcolas? No formulas at all, the only documentation I had available for the curves was the register definition, which simply lists the possible values: SCRGB, BT709, BT2020, HLG. --=20 Thanks, N=C3=ADcolas