]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/st7586: Use regular atomic helpers; drop simple-display helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 19 Mar 2026 15:59:47 +0000 (16:59 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 25 Mar 2026 14:05:06 +0000 (15:05 +0100)
commit078e60d90a70c14d9756d500ee20ce83e785175b
tree811c7965d87368a9d8e5135e34fd77f142da6189
parent2aa7a49cbb16282fa6ded10c23f1b3fffca138a0
drm/st7586: Use regular atomic helpers; drop simple-display helpers

Replace simple-display helpers with regular atomic helpers. Store the
pipeline elements in struct st7586_device and initialize them as part
of probing the device. Use mipi-dbi's existing helpers and initializer
macros where possible.

Effectively open-codes the modesetting code in the initializer helpers
of mipi-dbi and simple-display. St7586 requires custom helpers for
various pipeline elements, and non-freeing cleanup of the pipeline.

v3:
- return early in st7586_plane_helper_atomic_update (David)
v2:
- fix connector initialization

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: David Lechner <david@lechnology.com>
Tested-by: David Lechner <david@lechnology.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20260319160110.109610-12-tzimmermann@suse.de
drivers/gpu/drm/sitronix/st7586.c