On 10/13/25 11:55 PM, Dmitry Baryshkov wrote: > On Mon, Oct 13, 2025 at 09:27:17PM +0300, 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. > > > Please provide IGT tests. I'd at least check that using the > BACKGROUND_COLOR results in the same CRC as then one when there is a > plane covering the whole screen.
Done: https://lore.kernel.org/all/[email protected]/ > Additional note. I see a value in having the CRTC property for the > background colour. However it might be more flexible to reuse old > proposal for solid fill planes ([1]) and instead implement the lowest > Z-order plane supporting only solid fill colour as an image source. Thanks for pointing this out. Will keep it in mind as for now there is no (immediate) plan to consider the alternative(s).
