diff options
| author | Maxime Ripard <mripard@kernel.org> | 2026-08-21 16:39:22 +0200 |
|---|---|---|
| committer | Maxime Ripard <mripard@kernel.org> | 2026-08-31 15:11:17 +0200 |
| commit | 2ee29c1c1caa37a7f5ee432af364b3fc4c364717 (patch) | |
| tree | 3baa2d6c5fc9fe87dae2ca61b3d7b1231025a631 /rust/kernel/alloc/kvec/errors.rs | |
| parent | 902a278a72fd319caf97666eef54fef35621b293 (diff) | |
drm/malidp: Convert to atomic_create_state
The malidp 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-46-fb793475c05a@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
