From 773d508df724f1b19f728ff3b5df46467b89de67 Mon Sep 17 00:00:00 2001 From: Zheng Yang Date: Tue, 5 Dec 2017 16:14:19 +0800 Subject: drm: introduce atomic_begin for connector atomic_begin is used to prepare for update flush. Change-Id: I1d3a2afaea4022c065bda2b4c0746464cc0c1303 Signed-off-by: Zheng Yang --- include/drm/drm_crtc_helper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/drm/drm_crtc_helper.h b/include/drm/drm_crtc_helper.h index c110e07d437f..d8d2bc14ee5b 100644 --- a/include/drm/drm_crtc_helper.h +++ b/include/drm/drm_crtc_helper.h @@ -185,6 +185,8 @@ struct drm_connector_helper_funcs { struct drm_encoder *(*best_encoder)(struct drm_connector *connector); struct drm_encoder *(*atomic_best_encoder)(struct drm_connector *connector, struct drm_connector_state *connector_state); + void (*atomic_begin)(struct drm_connector *connector, + struct drm_connector_state *conn_state); void (*atomic_flush)(struct drm_connector *connector, struct drm_connector_state *conn_state); }; -- cgit v1.2.3