aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm/drm_atomic_state_helper.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2022-11-17 10:28:56 +0100
committerMaxime Ripard <maxime@cerno.tech>2022-11-24 12:42:40 +0100
commit00e77a697df29cadfbb78d4b14c357b07f3bb221 (patch)
tree618440c5b5a892879095436168e048fcd67d256f /include/drm/drm_atomic_state_helper.h
parentdrm/probe-helper: Provide a TV get_modes helper (diff)
downloadwireguard-linux-00e77a697df29cadfbb78d4b14c357b07f3bb221.tar.xz
wireguard-linux-00e77a697df29cadfbb78d4b14c357b07f3bb221.zip
drm/atomic-helper: Add a TV properties reset helper
The drm_tv_create_properties() function will create a bunch of properties, but it's up to each and every driver using that function to properly reset the state of these properties leading to inconsistent behaviours. Let's create a helper that will take care of it. 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-13-256dad125326@cerno.tech Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'include/drm/drm_atomic_state_helper.h')
-rw-r--r--include/drm/drm_atomic_state_helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_atomic_state_helper.h b/include/drm/drm_atomic_state_helper.h
index 192766656b88..c8fbce795ee7 100644
--- a/include/drm/drm_atomic_state_helper.h
+++ b/include/drm/drm_atomic_state_helper.h
@@ -70,6 +70,7 @@ void __drm_atomic_helper_connector_state_reset(struct drm_connector_state *conn_
void __drm_atomic_helper_connector_reset(struct drm_connector *connector,
struct drm_connector_state *conn_state);
void drm_atomic_helper_connector_reset(struct drm_connector *connector);
+void drm_atomic_helper_connector_tv_reset(struct drm_connector *connector);
void drm_atomic_helper_connector_tv_margins_reset(struct drm_connector *connector);
void
__drm_atomic_helper_connector_duplicate_state(struct drm_connector *connector,