[PATCH v2 0/2] Add "pixel_encoding" to switch between RGB & YUV color modes

Maxime Ripard mripard at kernel.org
Wed Aug 27 09:41:17 UTC 2025


Hi,

On Wed, Aug 27, 2025 at 12:26:56AM +0800, Shengyu Qu wrote:
> Thanks for reply.I have some questions:
> 
> 1.Can you send patch with only i915/amdgpu first? It's a long-needed feature
> to deal with some monitors/TVs with broken EDID.

If it's to workaround broken monitors, then it's really not something we
should be doing using a property.

Most likely, those monitors don't support YUV* output and will just need
to be forced to RGB, so it's not something that the user (or the
compositor, really) has to care about.

And it would be broken with every driver, not just i915 and amdgpu.

We already have some quirks infrastructure in place, the only thing we
need to do is create an EDID_QUIRK_NO_$FORMAT, clear
drm_display_info->color_formats based on it, and you're done. No uapi to
agree upon, support, test, and it works with every driver.

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20250827/78dfa216/attachment.sig>


More information about the amd-gfx mailing list