Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp134037pxu; Tue, 5 Jan 2021 07:04:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/rFLbNyYPT8fk2u7fPQlXkumVmdyWAStdrbx8VSUBSemhCWWhgD1iTiVc8zKYsHgHhAbc X-Received: by 2002:a50:e845:: with SMTP id k5mr140869edn.35.1609859058116; Tue, 05 Jan 2021 07:04:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609859058; cv=none; d=google.com; s=arc-20160816; b=T4BhFpZ5SDwXN29d0deKXhdyMeUoXHij0TuirMP3Ut7sWshWJ76L4C/eCyDfTbHcY9 v6N9xjZoeDK3iHedx90ABqlnkrIwuPy8o9BN1rITdMYw9TB6WOvYTiNPx+giAX7j+Trc 3LiBYRiY23aG/AC/OVWFmlzL85Iq6V6KkAH4ptmGLvU7St3jK2AiARrthbndhYwhzRB1 +6eRhuV+vnIOEHrypUxk6I6eVvKwQkxwscL7Qu/IHXig3Hl/oEwVEgebYMVQAu6oZ4xP Jd4QnjkRxWVqxlxkCX/pyQ0tYq14K2BaevF5LfcPYAx9Df2Tzn3F7GcxOscU5+7FZG2p HHzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=QMV6Jte9OZ7GJbzCr8/zrEl2CX8O5a29LKxXhKJ6aUE=; b=x9lAXdvVzpZ/sfvrPKLYaWNz4Qu/vg3/K23G/HG94PPqY+buFcu8Om/pa4CtTr6YTp HqK+HD03wv1wA0snfNj45csrXHYCxdC7oDtPVLEv9K4NiX+ThjjoXLtmTxTB9DEHNU0n bAe2Jet6Rplk994v/5TW3Xeoc9NVDHc2uAU50PJIIEIObWwpWAqt4uNF73pW8fdWpquY NSUFBtl4YTe/ewqgXWdXHvIQKrYlI6DRNwr8Dn5ufDE40TgBKntMZ7cJ9s1cQQURlRRz H+JAvpxbqQGcw2MmRbHzZOAK0DRixB8GKAQqdG2ZS4MNz1vD2jco7QKs8OLbdRDDksz/ Vseg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cb6si30666505ejb.459.2021.01.05.07.03.54; Tue, 05 Jan 2021 07:04:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727036AbhAEPBB (ORCPT + 99 others); Tue, 5 Jan 2021 10:01:01 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:45291 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbhAEPBB (ORCPT ); Tue, 5 Jan 2021 10:01:01 -0500 X-Originating-IP: 93.29.109.196 Received: from aptenodytes (196.109.29.93.rev.sfr.net [93.29.109.196]) (Authenticated sender: paul.kocialkowski@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id DDD2B6000A; Tue, 5 Jan 2021 15:00:17 +0000 (UTC) Date: Tue, 5 Jan 2021 16:00:17 +0100 From: Paul Kocialkowski To: Ilia Mirkin Cc: Simon Ser , devicetree , Thomas Zimmermann , David Airlie , LKML , dri-devel , Rob Herring , Thomas Petazzoni , Lee Jones Subject: Re: [PATCH v8 4/4] NOTFORMERGE: drm/logicvc: Add plane colorkey support Message-ID: References: <20201223212947.160565-1-paul.kocialkowski@bootlin.com> <20201223212947.160565-5-paul.kocialkowski@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OSDOGVu8nZtJl5tY" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --OSDOGVu8nZtJl5tY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Wed 23 Dec 20, 18:31, Ilia Mirkin wrote: > FWIW this is something I added, hoping it was going to get used at > some point, but I never followed up with support in xf86-video-nouveau > for Xv. At this point, I'm not sure I ever will. I encoded the > "enabled" part into the value with a high bit (1<<24) -- not sure that > was such a great idea. All NVIDIA hardware supports colorkey (and not > actual alpha, until the very latest GPUs - Volta/Turing families), > although my implementation only covers the pre-G80 series (i.e. DX9 > and earlier GPUs - pre-2008). Should a determination of usefulness be > reached, it would be easy to implement on the remainder though. Interesting to know! Regarding a generic colorkey property, there was a discussion under thread: drm: Add generic colorkey properties for display planes and the latest proposal (RFC v4) can be found here: https://patchwork.ozlabs.org/project/linux-tegra/patch/20180807172202.1961-= 2-digetx@gmail.com/ It looks like this was much more complex than anticipated and the series was more or less abandonned. I didn't feel like picking it up in my logicvc series so I kept the colorkey patch as not for merge. If someone's up for picking the proposal and continuing the discussion, I could provide insight on how it would fit with logicvc though! Cheers, Paul > On Wed, Dec 23, 2020 at 5:20 PM Simon Ser wrote: > > > > nouveau already has something for colorkey: > > https://drmdb.emersion.fr/properties/4008636142/colorkey > > > > I know this is marked "not for merge", but it would be nice to discuss > > with them and come up with a standardized property. --=20 Paul Kocialkowski, Bootlin Embedded Linux and kernel engineering https://bootlin.com --OSDOGVu8nZtJl5tY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEJZpWjZeIetVBefti3cLmz3+fv9EFAl/0fwEACgkQ3cLmz3+f v9HOhgf8DU4twNl4hL4kO9201ULcHXezYqI7Ep2Kv9H4WmGOQHCYsz0Orr6KL8x7 xWdRsnet9x2vfN4UZRBRmSiXv2SA8nQL2TZHWH/VKyrwxmOD4Btt9C+qs0YWhfii XfvU0IGYI8Y10uA03JTB44BfiXn409OR7otd1abp9/cO0GAf3zspshGdVuWST4wh SgglQZvdpYQljgQJjIcmGJvwJ9hQ1Eyk1+XnBLFLBvZrsrrVgqboKRDSrJ28i+p2 fJIf2TSAzIdLnJbNBx77dRDiHTuHQlsdpOYomZyeeBPqcYvwiHBhJgE87JO27w03 OlOzyMecE1vud4/LLA7ySAHGczWt6Q== =Ahth -----END PGP SIGNATURE----- --OSDOGVu8nZtJl5tY--