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/Z7XfnPGDYspwG42y@phenom.ffwll.local/ Signed-off-by: Herve Codina <herve.codina@bootlin.com> Reviewed-by: Simona Vetter <simona.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20250220140406.593314-1-herve.codina@bootlin.com Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
1 parent 4ce2c7e commit 60341a6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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)