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 72586C77B7C for ; Thu, 11 May 2023 19:29:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 39EEA10E09A; Thu, 11 May 2023 19:29:51 +0000 (UTC) Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) by gabe.freedesktop.org (Postfix) with ESMTPS id B0F5910E09A for ; Thu, 11 May 2023 19:29:48 +0000 (UTC) Date: Thu, 11 May 2023 19:29:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail; t=1683833385; x=1684092585; bh=LnOAuB6RhwhVFrFTqDl0rTz44h20G9jcFumgJfQCe4Q=; 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=m36fvbScLYMFhFsqYXSSjW4KW2GVaDNi9ikcNYDmn7EcaVZ/+A7irDB1Q6B+8H9SL 5zKdFPEbVhc3Cm+9UNZIjDJ8ENKNSZ4vB/lHjtDWzsCpTaVOOGFI+cztja9KVrRoLW JOlgKZmzZcY1LoZZ3QddKHRu+J5ZxMVODi3pFxPZbbxBN1SrBJbwsNWx1OwvVb72SA NGaBa35V6JFNRH5RQQm99yTRaBAXPmqhewm9DzYIljihhF7+OswAQGsG63Zce5P6Z5 qDNYKWAfXlgKrtFP8Y65bLovlCkAvxANaYob0yES/UXxf91nAcVZ7yGASexNIxvzjr Vha3Yo+qs6N1A== To: Joshua Ashton From: Simon Ser Subject: Re: [RFC] Plane color pipeline KMS uAPI Message-ID: In-Reply-To: References: Feedback-ID: 1358184:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: Sebastian Wick , Pekka Paalanen , Karol Herbst , Aleix Pol , DRI Development , "xaver.hugl@gmail.com" , Melissa Wen , =?utf-8?Q?Jonas_=C3=85dahl?= , Uma Shankar , Victoria Brekenfeld , =?utf-8?Q?Michel_D=C3=A4nzer?= , wayland-devel Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thursday, May 11th, 2023 at 18:56, Joshua Ashton wrot= e: > When we are talking about being 'prescriptive' in the API, are we > outright saying we don't want to support arbitrary 3D LUTs, or are we > just offering certain algorithms to be 'executed' for a plane/crtc/etc > in the atomic API? I am confused... >From a kernel PoV: - Prescriptive =3D here are the available hardware blocks, feel free to configure each as you like - Descriptive =3D give me the source and destination color-spaces and I take care of everything This proposal is a prescriptive API. We haven't explored _that_ much how a descriptive API would look like, probably it can include some way to do Night Light and similar features but not sure how high-level they'd look like. A descriptive API is inherently more restrictive than a prescriptive API.