]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/tests: hdmi: Add limited range tests for YUV420 mode
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 27 May 2025 12:11:23 +0000 (15:11 +0300)
committerMaxime Ripard <mripard@kernel.org>
Mon, 2 Jun 2025 09:02:37 +0000 (11:02 +0200)
commit8138078dc048c5160d59b55a33f618688b5fe74b
tree9f9f07261d6d0661dfba165f18840d638800ffa7
parent58fe1d78605e78e94341b89b98a47f1aca944441
drm/tests: hdmi: Add limited range tests for YUV420 mode

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.

Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-15-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c