diff options
| author | Maxime Ripard <mripard@kernel.org> | 2026-09-16 10:55:50 +0200 |
|---|---|---|
| committer | Maxime Ripard <mripard@kernel.org> | 2026-09-16 17:22:03 +0200 |
| commit | e62864df82f6a47c969485636b2894472f321acd (patch) | |
| tree | 56f800fb4a1ab583078967ec5d38d0b21d531fae /include/drm | |
| parent | 79d498da3eee2ea6945840e8e051fb7564a17cc5 (diff) | |
| download | linux-next-e62864df82f6a47c969485636b2894472f321acd.tar.gz linux-next-e62864df82f6a47c969485636b2894472f321acd.zip | |
drm/atomic-state-helper: Remove drm_atomic_helper_plane_reset()
drm_atomic_helper_plane_reset() is no longer used: all callers now go
through drm_atomic_helper_plane_create_state(). Remove it.
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260916-drm-no-more-plane-reset-v5-7-f590d2003f2c@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'include/drm')
| -rw-r--r-- | include/drm/drm_atomic_state_helper.h | 1 | ||||
| -rw-r--r-- | include/drm/drm_plane.h | 3 |
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 480eaae42f45..49acd05552a5 100644 --- a/include/drm/drm_atomic_state_helper.h +++ b/include/drm/drm_atomic_state_helper.h @@ -58,7 +58,6 @@ struct drm_plane_state * drm_atomic_helper_plane_create_state(struct drm_plane *plane); void __drm_atomic_helper_plane_reset(struct drm_plane *plane, struct drm_plane_state *state); -void drm_atomic_helper_plane_reset(struct drm_plane *plane); void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane, struct drm_plane_state *state); struct drm_plane_state * diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h index 2c5a5a70a71b..e757e9dbf132 100644 --- a/include/drm/drm_plane.h +++ b/include/drm/drm_plane.h @@ -365,9 +365,6 @@ struct drm_plane_funcs { * Reset plane 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_plane_reset() to reset - * atomic state using this hook. */ void (*reset)(struct drm_plane *plane); |
