summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2026-09-04 11:07:29 +0200
committerMaxime Ripard <mripard@kernel.org>2026-09-11 15:11:01 +0200
commit18740b7fe4656ca6133c4e2d1dfa3ff6fee8f026 (patch)
tree37482754e11b841bd70208e5cca9be7ddf81c5d4 /include
parentc60095d8cd01740b442fd992bb9037f494bf87f2 (diff)
downloadlinux-next-18740b7fe4656ca6133c4e2d1dfa3ff6fee8f026.tar.gz
linux-next-18740b7fe4656ca6133c4e2d1dfa3ff6fee8f026.zip
drm/sitronix: st7920: Convert to atomic_create_state
The st7920 crtc implementation provides a custom reset hook. However, this hook only allocates the state, initializes it with __drm_atomic_helper_crtc_reset(), and warns if there's a 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: Iker Pedrosa <ikerpedrosam@gmail.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://lore.kernel.org/r/20260904-drm-no-more-crtc-reset-v3-11-27d9891512ce@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions