[PATCH 0/2] Introduce BACKGROUND_COLOR DRM CRTC property
Cristian Ciocaltea
cristian.ciocaltea at collabora.com
Tue Sep 2 09:04:50 PDT 2025
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
More information about the linux-arm-kernel
mailing list