[PATCH v8 0/4] Introduce BACKGROUND_COLOR DRM CRTC property

Daniel Stone daniel at fooishbar.org
Wed Mar 18 08:29:17 PDT 2026


Hi Cristian,

On Tue, 3 Mar 2026 at 19:24, Cristian Ciocaltea
<cristian.ciocaltea at collabora.com> 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 1st patch of the series provides DIV_ROUND_CLOSEST() to uapi, as a
> prerequisite to the 2nd patch introducing 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.
>
> Note this is a reworked version of the patch [1] submitted (many) years
> ago by Matt Roper.  The main changes are:
> [...]
>
> The subsequent patches add background color support to VKMS and the VOP2
> display controller used in the RK3568, RK3576, and RK3588 Rockchip SoC
> families.
>
> The validation has been done using a dedicated IGT test [2] - see the
> reported results below.
>
> On the userland side, a Weston merge request [3] is available, providing
> support for the BACKGROUND_COLOR CRTC property to the DRM backend.  It
> relies on the already existing background-color setting in weston.ini:
>
>   [shell]
>   background-color=0xAARRGGBB

Thanks for all this.

To ssh://ssh.gitlab.freedesktop.org/drm/misc/kernel.git
   25854131c04a5..bec7cbfa7d4f5  drm-misc-next -> drm-misc-next

Cheers,
Daniel



More information about the Linux-rockchip mailing list