summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2026-09-15 16:24:50 +0200
committerMaxime Ripard <mripard@kernel.org>2026-09-16 09:24:23 +0200
commit5354d1e5fba4753efc4e5e27e671de5febc21ec0 (patch)
tree877d9bba33b43d4d45ebe315b33f94aad76f4c4e /include
parentc4967fd8b43e5b44386e8a3feecab89eacb398d9 (diff)
downloadlinux-next-5354d1e5fba4753efc4e5e27e671de5febc21ec0.tar.gz
linux-next-5354d1e5fba4753efc4e5e27e671de5febc21ec0.zip
drm/atomic-helper: Remove drm_atomic_helper_crtc_reset
All users of drm_atomic_helper_crtc_reset() have been converted to drm_atomic_helper_crtc_create_state(). Remove the now unused helper. Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patch.msgid.link/20260915-drm-no-more-crtc-reset-v5-9-bda007735748@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_atomic_state_helper.h1
-rw-r--r--include/drm/drm_crtc.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/include/drm/drm_atomic_state_helper.h b/include/drm/drm_atomic_state_helper.h
index 34a599c3d86d..df70817c94fc 100644
--- a/include/drm/drm_atomic_state_helper.h
+++ b/include/drm/drm_atomic_state_helper.h
@@ -44,7 +44,6 @@ void __drm_atomic_helper_crtc_state_init(struct drm_crtc_state *state,
struct drm_crtc *crtc);
void __drm_atomic_helper_crtc_reset(struct drm_crtc *crtc,
struct drm_crtc_state *state);
-void drm_atomic_helper_crtc_reset(struct drm_crtc *crtc);
struct drm_crtc_state *
drm_atomic_helper_crtc_create_state(struct drm_crtc *crtc);
void __drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc,
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 152349f973e3..746d049f1b6e 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -429,9 +429,6 @@ struct drm_crtc_funcs {
* Reset CRTC hardware and software state to off. This function isn't
* called by the core directly, only through drm_mode_config_reset().
* It's not a helper hook only for historical reasons.
- *
- * Atomic drivers can use drm_atomic_helper_crtc_reset() to reset
- * atomic state using this hook.
*/
void (*reset)(struct drm_crtc *crtc);