]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/connector: hdmi: Add Broadcast RGB property
authorMaxime Ripard <mripard@kernel.org>
Mon, 27 May 2024 13:58:07 +0000 (15:58 +0200)
committerMaxime Ripard <mripard@kernel.org>
Tue, 28 May 2024 08:24:37 +0000 (10:24 +0200)
commitab52af4ba7c7dc2e226ede5935a0587743b747d3
treec04c32e19e653132a301004a39c8f2ceea04fcde
parent10af38d9e7d2537aa08a4d04ca3a903b16a300c3
drm/connector: hdmi: Add Broadcast RGB property

The i915 driver has a property to force the RGB range of an HDMI output.
The vc4 driver then implemented the same property with the same
semantics. KWin has support for it, and a PR for mutter is also there to
support it.

Both drivers implementing the same property with the same semantics,
plus the userspace having support for it, is proof enough that it's
pretty much a de-facto standard now and we can provide helpers for it.

Let's plumb it into the newly created HDMI connector.

Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240527-kms-hdmi-connector-state-v15-18-c5af16c3aae2@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Documentation/gpu/kms-properties.csv
drivers/gpu/drm/display/drm_hdmi_state_helper.c
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_uapi.c
drivers/gpu/drm/drm_connector.c
include/drm/drm_connector.h