drm/atomic: Add TV subconnector property to get/set_property
authorMaxime Ripard <maxime@cerno.tech>
Thu, 29 Sep 2022 16:31:00 +0000 (18:31 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 10 Oct 2022 11:56:42 +0000 (13:56 +0200)
commit941731a2684251e8854366c75df19185f586c784
tree94fb3bf6da98739c513f67fb41d93da8d0409c02
parentd0236008f833e058c6abbcbf725cfa60a4d3efc5
drm/atomic: Add TV subconnector property to get/set_property

The subconnector property was created by drm_mode_create_tv_properties(),
but wasn't exposed to the userspace through the generic
atomic_get/set_property implementation, and wasn't stored in any generic
state structure.

Let's solve this.

Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://lore.kernel.org/r/20220728-rpi-analog-tv-properties-v4-6-60d38873f782@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/drm_atomic_uapi.c
include/drm/drm_connector.h