drm/atomic-helper: Add a note in drm_atomic_helper_reset_crtc() kernel-doc
Subsystems (2)
PATCH 1/1 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]/
---
This patch applies on top of the following commit available in drm-misc
ab83b7f6a0c1 ("drm/atomic-helper: Introduce drm_atomic_helper_reset_crtc()")
drivers/gpu/drm/drm_atomic_helper.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/drm_atomic_helper.c +4 -0
@@ -3371,6 +3371,10 @@ EXPORT_SYMBOL(drm_atomic_helper_disable_all);* This implies a reset of all active components available between the CRTC and * connectors. * +* NOTE: This relies on resetting &drm_crtc_state.connectors_changed. +* For drivers which optimize out unnecessary modesets this will result in +* a no-op commit, achieving nothing. +* * Returns: * 0 on success or a negative error code on failure. */
Signature · 1 line
2.48.1
Quoted 6 lines · Herve Codina
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]>
I'm assuming you or someone else at bootling has commit rights? Otherwise I guess on Maxime to get that sorted.
-Sima
Quoted 25 lines
---
This patch applies on top of the following commit available in drm-misc
ab83b7f6a0c1("drm/atomic-helper: Introducedrm_atomic_helper_reset_crtc()")drivers/gpu/drm/drm_atomic_helper.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/gpu/drm/drm_atomic_helper.c +4
-0@@ -3371,6 +3371,10 @@ EXPORT_SYMBOL(drm_atomic_helper_disable_all);* This implies a reset of all active components available between the CRTC and * connectors. * +* NOTE: This relies on resetting &drm_crtc_state.connectors_changed. +* For drivers which optimize out unnecessary modesets this will result in +* a no-op commit, achieving nothing. +* * Returns: * 0 on success or a negative error code on failure. */ Signature · 1 line
2.48.1
Signature · 3 lines
Simona Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch
Le 21/02/2025 à 10:51, Simona Vetter a écrit :
Quoted 11 lines · Herve Codina
Quoted 6 lines
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]>I'm assuming you or someone else at bootling has commit rights?
Yes, I have!
Quoted 3 lines
Otherwise
I guess on Maxime to get that sorted.
-Sima
Applied on drm-misc-next, thanks!
Louis Chauvet
Quoted 26 lines
Quoted 25 lines
---
This patch applies on top of the following commit available in drm-misc
ab83b7f6a0c1("drm/atomic-helper: Introducedrm_atomic_helper_reset_crtc()")drivers/gpu/drm/drm_atomic_helper.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/gpu/drm/drm_atomic_helper.c +4
-0@@ -3371,6 +3371,10 @@ EXPORT_SYMBOL(drm_atomic_helper_disable_all);* This implies a reset of all active components available between the CRTC and * connectors. * +* NOTE: This relies on resetting &drm_crtc_state.connectors_changed. +* For drivers which optimize out unnecessary modesets this will result in +* a no-op commit, achieving nothing. +* * Returns: * 0 on success or a negative error code on failure. */ Signature · 1 line
2.48.1
Signature · 3 lines
Louis Chauvet, Bootlin Embedded Linux and Kernel engineering https://bootlin.com