drm/atomic: Add a function to reset connector TV properties
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 19 Jun 2019 10:17:52 +0000 (12:17 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 19 Jun 2019 10:17:52 +0000 (12:17 +0200)
commit731514b446fe6748d5a55a3dff202efb45c7d8df
tree8c8159600c32d8ff77b9fc91588c9479e894f70e
parent3d46a3007cd8f73bae502bf5c171977b91d7aacc
drm/atomic: Add a function to reset connector TV properties

During the connector reset, if that connector has a TV property, it needs
to be reset to the value provided on the command line.

Provide a helper to do that.

Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/84a7b657f09303a2850e1cc79e68f623547f3fdd.1560783090.git-series.maxime.ripard@bootlin.com
drivers/gpu/drm/drm_atomic_state_helper.c
include/drm/drm_atomic_state_helper.h