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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 B1EEDCA1007 for ; Tue, 2 Sep 2025 19:26:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=R6D/xXb9w2UMR0QwqHfKit+sVVq49y14UQyu7joBmfc=; b=dPD65pTBfhcVKz xvbIYz48TfsB6I5McF4S9FrpXe/DY9zD2D87qhajHDcasJIdy2/hZ/UIVzQWPWk7pMOE3bHJ0WCWE +C9nAWR/YLhSBcD9U/2XYg6//Kl+fRKfWhsfDNV0Wy71FvsbRAkAHhEYc3luaywPI04i4chAWjzb3 X9PqE702dKlX00WXZsaoOJ1NNY4Axc+TJ4/ffuqj+V0qfbjEsK9Zb4hOYRzQwehPLDepUBpygSPM5 dd/5zPCEQP65ar+E+IcsuV2sJfBe3DKSnuEfVD6GZsB65SHjQVzfieYVLYz59GL+uer5ema7SWDlv DBT58Unn5idA3KXErtuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1utWeC-00000001iMP-1bLK; Tue, 02 Sep 2025 19:26:28 +0000 Received: from bali.collaboradmins.com ([148.251.105.195]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1utTV7-00000000qsu-3pBN; Tue, 02 Sep 2025 16:04:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1756829092; bh=ovWdbmcLBmA33JBDYg84OE2PqHzIKb6iNt+T6eoF2kw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=FUUfI3WXYc1B8QJ6WeBpPvR0+1cMVN778Sl29SAmhAoSko8l+RH/Bxm0WuqqyJJW1 lrMAWYbfZ80CGBKTAcbSG/5phmbYDtRElhkRWQsS9uubdqJ8wRB8MMfG+ZuqR0EuH5 cc4hQYsR8yFJX4o5sAEOP2F17NHZFKm/Loaa7WpvuUrKY1fNLRA9RgbCkxZUyWSGld ZMvRimQ+t3ZM3ANHSvPz18MV+Wjp08FasY9xoJR+TY+A4eE9FUKLI9OF72e5kPK8jO J7wJyFTpc76oxwxhQbs+xMKsWOMZ1oUXQNvGMP9PG9O5KdeNyGwlOdVxEehCPDsBh3 4dG8NXOEAcTIg== Received: from [192.168.1.90] (unknown [82.79.138.60]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by bali.collaboradmins.com (Postfix) with ESMTPSA id 5E63E17E131D; Tue, 2 Sep 2025 18:04:51 +0200 (CEST) Message-ID: Date: Tue, 2 Sep 2025 19:04:50 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] Introduce BACKGROUND_COLOR DRM CRTC property To: Raphael Gallais-Pou , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Sandy Huang , =?UTF-8?Q?Heiko_St=C3=BCbner?= , Andy Yan Cc: kernel@collabora.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Matt Roper References: <20250902-rk3588-bgcolor-v1-0-fd97df91d89f@collabora.com> <50e3f25c-f4e1-40f6-8e36-23193863f1ee@foss.st.com> Content-Language: en-US From: Cristian Ciocaltea In-Reply-To: <50e3f25c-f4e1-40f6-8e36-23193863f1ee@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250902_090454_109141_D715F129 X-CRM114-Status: GOOD ( 14.79 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Hi Raphael, On 9/2/25 4:19 PM, Raphael Gallais-Pou wrote: > > > On 9/2/25 11:27, Cristian Ciocaltea wrote: >> Some display controllers can be hardware-configured to present non-black >> colors for pixels which are not covered by any plane (or are exposed >> through transparent regions of higher planes). >> >> The first patch of the series introduces the BACKGROUND_COLOR DRM >> property that can be attached to a CRTC via a dedicated helper function. >> A 64-bit ARGB color value format is also defined and can be manipulated >> with the help of a few utility macros. > > Hi Cristian, > > Thanks for this work ! :) > > FWIW I sent a series also based on Matt's work four years ago: > https://lore.kernel.org/dri-devel/20210707084557.22443-2-raphael.gallais-pou@foss.st.com/ > > IIRC at the time there was some questions around the pixel format used for the > property, and non-opaque color vs alpha pre-multiplication. > Mind that on STM32MP platforms alpha channel for the background color is not > supported. > > Hope the thread can bring some insights. Thanks for pointing this out, I will consider it for v2. Regards, Cristian _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip