summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorMaxime Ripard2019-06-19 12:17:52 +0200
committerMaxime Ripard2019-06-19 12:17:52 +0200
commit731514b446fe6748d5a55a3dff202efb45c7d8df (patch)
tree8c8159600c32d8ff77b9fc91588c9479e894f70e /include/drm
parentdrm/modes: Parse overscan properties (diff)
downloadkernel-qcow2-linux-731514b446fe6748d5a55a3dff202efb45c7d8df.tar.gz
kernel-qcow2-linux-731514b446fe6748d5a55a3dff202efb45c7d8df.tar.xz
kernel-qcow2-linux-731514b446fe6748d5a55a3dff202efb45c7d8df.zip
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
Diffstat (limited to 'include/drm')
-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 4e6d2e7a40b8..e4577cc11689 100644
--- a/include/drm/drm_atomic_state_helper.h
+++ b/include/drm/drm_atomic_state_helper.h
@@ -62,6 +62,7 @@ void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane,
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_duplicate_state(struct drm_connector *connector,
struct drm_connector_state *state);