Re: [PATCH v5 02/17] drm: Add new general DRM property "color format"
From: Maxime Ripard
Date: Tue Dec 09 2025 - 09:12:47 EST
Hi,
On Fri, Nov 28, 2025 at 10:05:38PM +0100, Nicolas Frattaroli wrote:
> From: Andri Yngvason <andri@xxxxxxxxxxx>
>
> Add a new general DRM property named "color format" which can be used by
> userspace to request the display driver to output a particular color
> format.
>
> Possible options are:
> - auto (setup by default, driver internally picks the color format)
I'm not entirely sure that's how we should document it. i915, amdgpu,
and every driver using the hdmi helpers uses the same algorithm: first
try with RGB, then fallback to YUV420 if it doesn't work.
I think we should document that, and every driver exposing this property
should behave that way. It's going to be a mess otherwise.
Maxime
Attachment:
signature.asc
Description: PGP signature