diff options
| author | 2026-05-26 18:46:23 +0200 | |
|---|---|---|
| committer | 2026-05-29 11:41:53 +0200 | |
| commit | 915fdd2c7e87c5af4fe2d1a0ef4fac515da6ef9b (patch) | |
| tree | 21c79d7e6cb3b6abd401d96458011aef71f4a1da /scripts/Makefile.thinlto | |
| parent | drm/plane: Add new atomic_create_state callback (diff) | |
drm/atomic-state-helper: Rename __drm_atomic_helper_crtc_state_reset()
__drm_atomic_helper_crtc_state_reset() is used to initialize a newly
allocated drm_crtc_state, and is being typically called by the
drm_crtc_funcs.reset implementation.
Since we want to consolidate DRM objects state allocation around the
atomic_create_state callback that will only allocate and initialize a
new drm_crtc_state instance, we will need to call
__drm_atomic_helper_crtc_state_reset() from both the reset and
atomic_create hooks.
To avoid any confusion, we can thus rename
__drm_atomic_helper_crtc_state_reset() to
__drm_atomic_helper_crtc_state_init().
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://patch.msgid.link/20260526-drm-mode-config-init-v6-11-852346394200@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
