summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2026-09-16 10:55:52 +0200
committerMaxime Ripard <mripard@kernel.org>2026-09-16 17:22:04 +0200
commit5589ef09f93b85b6f506e279a502d4cf1654f232 (patch)
treebfef814f421b4b2a1a334028a14263bca67279fc /include
parent18216d5fa8dc29c76c4d3944282d990ebc41514c (diff)
downloadlinux-next-5589ef09f93b85b6f506e279a502d4cf1654f232.tar.gz
linux-next-5589ef09f93b85b6f506e279a502d4cf1654f232.zip
drm/plane: Remove reset
All plane drivers now implement the atomic_create_state hook instead of the reset hook for initial state creation. The reset hook conflated initial state allocation at probe time with hardware and software reset during suspend/resume, making error handling difficult since it is not fallible. Remove the reset hook from struct drm_plane_funcs and the associated call in drm_mode_config_reset(). Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patch.msgid.link/20260916-drm-no-more-plane-reset-v5-9-f590d2003f2c@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_plane.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
index e757e9dbf132..a16e96aa7e60 100644
--- a/include/drm/drm_plane.h
+++ b/include/drm/drm_plane.h
@@ -360,15 +360,6 @@ struct drm_plane_funcs {
void (*destroy)(struct drm_plane *plane);
/**
- * @reset:
- *
- * 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.
- */
- void (*reset)(struct drm_plane *plane);
-
- /**
* @set_property:
*
* This is the legacy entry point to update a property attached to the