diff options
| author | Maxime Ripard <mripard@kernel.org> | 2026-09-04 11:07:28 +0200 |
|---|---|---|
| committer | Maxime Ripard <mripard@kernel.org> | 2026-09-11 15:11:01 +0200 |
| commit | c60095d8cd01740b442fd992bb9037f494bf87f2 (patch) | |
| tree | 56a25c745b4601089723e70b69f71b05798cb450 /include | |
| parent | 4288a0bb6d75c88eead8fcc5396aee8e3668faa6 (diff) | |
| download | linux-next-c60095d8cd01740b442fd992bb9037f494bf87f2.tar.gz linux-next-c60095d8cd01740b442fd992bb9037f494bf87f2.zip | |
drm/mediatek: Convert to atomic_create_state
The mediatek 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.
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20260904-drm-no-more-crtc-reset-v3-10-27d9891512ce@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
