On Fri, 2025-12-19 at 23:47 +0200, Cristian Ciocaltea wrote:
> Make use of the BACKGROUND_COLOR CRTC property when filling the
> background during blending. It already defaults to solid black.
>
> Since the internal representation of the pixel color in VKMS relies
> on
> 16 bits of precision, use the newly introduced
> DRM_ARGB64_GET{R|G|B}()
> helpers to access the individual components of the background color
> property, which is compliant with DRM_FORMAT_ARGB16161616.
>
> It's worth noting the alpha component is ignored, hence non-opaque
> background colors are not supported.
>
> Signed-off-by: Cristian Ciocaltea <[email protected]>
Reviewed-by: Nícolas F. R. A. Prado <[email protected]>
--
Thanks,
Nícolas