diff options
| author | Maxime Ripard <mripard@kernel.org> | 2026-08-21 16:39:21 +0200 |
|---|---|---|
| committer | Maxime Ripard <mripard@kernel.org> | 2026-08-31 15:11:16 +0200 |
| commit | 902a278a72fd319caf97666eef54fef35621b293 (patch) | |
| tree | 0b925612b51cf9290154b86c80fa41c366233832 /rust/kernel/alloc/kvec | |
| parent | 4dcd9f545ee3254630c0d5a804278ab7763c1b87 (diff) | |
drm/komeda: Convert to atomic_create_state
The komeda crtc implementation provides a custom reset hook. However,
this hook only allocates the state, initializes it with
__drm_atomic_helper_crtc_reset(), and frees the previous state. It
does not perform any hardware reset.
Since this is exactly what the atomic_create_state hook is meant to
do, minus the old state cleanup which the caller handles, convert the
implementation to use atomic_create_state with
__drm_atomic_helper_crtc_state_init() instead.
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260821-drm-no-more-crtc-reset-v1-45-fb793475c05a@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec')
0 files changed, 0 insertions, 0 deletions
