drm/atomic-helper: Add an analog TV atomic_check implementation
authorMaxime Ripard <maxime@cerno.tech>
Thu, 17 Nov 2022 09:28:57 +0000 (10:28 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 24 Nov 2022 11:42:40 +0000 (12:42 +0100)
commit5a28cefda3a94afc7761abbf4cb6270deeef8105
treeb5922dbb825515dd54abf0b1a54bfd04fd6d83a9
parent00e77a697df29cadfbb78d4b14c357b07f3bb221
drm/atomic-helper: Add an analog TV atomic_check implementation

The analog TV connector drivers share some atomic_check logic, and the new
TV standard property have created some boilerplate that can be shared
across drivers too.

Let's create an atomic_check helper for those use cases.

Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Tested-by: Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com>
Acked-in-principle-or-something-like-that-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://lore.kernel.org/r/20220728-rpi-analog-tv-properties-v10-14-256dad125326@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/drm_atomic_state_helper.c
include/drm/drm_atomic_state_helper.h