Skip to content

Commit 60341a6

Browse files
hcodinaFomys
authored andcommitted
drm/atomic-helper: Add a note in drm_atomic_helper_reset_crtc() kernel-doc
As suggested in [0], add a note indicating that drm_atomic_helper_reset_crtc() can be a no-op in some cases. [0]:https://lore.kernel.org/all/[email protected]/ Signed-off-by: Herve Codina <[email protected]> Reviewed-by: Simona Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Louis Chauvet <[email protected]>
1 parent 4ce2c7e commit 60341a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/gpu/drm/drm_atomic_helper.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3409,6 +3409,10 @@ EXPORT_SYMBOL(drm_atomic_helper_disable_all);
34093409
* This implies a reset of all active components available between the CRTC and
34103410
* connectors.
34113411
*
3412+
* NOTE: This relies on resetting &drm_crtc_state.connectors_changed.
3413+
* For drivers which optimize out unnecessary modesets this will result in
3414+
* a no-op commit, achieving nothing.
3415+
*
34123416
* Returns:
34133417
* 0 on success or a negative error code on failure.
34143418
*/

0 commit comments

Comments
 (0)