summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_modeset_helper_vtables.h
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-07-03 09:50:17 +0200
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-07-07 07:52:18 +0200
commit814bde99ee809c172a409829889d1bafc3e4bcf7 (patch)
treef02af5c8d495c63d9d6f2993c98b142d0363cd4d /include/drm/drm_modeset_helper_vtables.h
parent425132fdb169c2a2772190ff56e0e8eea37ff716 (diff)
downloadlinux-814bde99ee809c172a409829889d1bafc3e4bcf7.tar.gz
linux-814bde99ee809c172a409829889d1bafc3e4bcf7.tar.bz2
linux-814bde99ee809c172a409829889d1bafc3e4bcf7.zip
drm/connector: Make ->atomic_commit() optional
Not all writeback connector implementations might want to commit things from the connector driver. Some, like the malidp driver, commit things from their main commit_tail() function, and would rather not have to implement a dummy hook for drm_connector_helper_funcs.atomic_commit(). Make this function optional and reflect this fact in the doc. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Acked-by: Liviu Dudau <liviu.dudau@arm.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180703075022.15138-4-boris.brezillon@bootlin.com
Diffstat (limited to 'include/drm/drm_modeset_helper_vtables.h')
-rw-r--r--include/drm/drm_modeset_helper_vtables.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_modeset_helper_vtables.h b/include/drm/drm_modeset_helper_vtables.h
index fb841f44949c..d0eb76c4b309 100644
--- a/include/drm/drm_modeset_helper_vtables.h
+++ b/include/drm/drm_modeset_helper_vtables.h
@@ -983,6 +983,8 @@ struct drm_connector_helper_funcs {
* The writeback_job to commit is available in
* &drm_connector_state.writeback_job.
*
+ * This hook is optional.
+ *
* This callback is used by the atomic modeset helpers.
*/
void (*atomic_commit)(struct drm_connector *connector,