On 3/11/25 6:17 PM, Maxime Ripard wrote: > On Tue, Mar 11, 2025 at 12:57:38PM +0200, Cristian Ciocaltea wrote: >> Provide tests to verify that drm_atomic_helper_connector_hdmi_check() >> helper behaviour when using YUV420 output format is to always set the >> limited RGB quantization range to 'limited', no matter what the value of >> Broadcast RGB property is. [...] > We need more tests than that to test the various combinations, whether > the fallback to YUV420 should work or not depending on the EDID, the > driver capabilities, YUV420-only vs YUV420-also, etc. Some fallback tests were provided in the next patch, including checks like: KUNIT_ASSERT_TRUE(test, drm_mode_is_420_only(info, yuv420_only_mode)); KUNIT_ASSERT_TRUE(test, drm_mode_is_420_also(info, preferred)); I'll try to further extend the test coverage. Regards, Cristian