]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/ili9486: Use regular atomic helpers; drop simple-display helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 19 Mar 2026 15:59:44 +0000 (16:59 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 25 Mar 2026 14:04:55 +0000 (15:04 +0100)
commit2f1a2ce427b848cfca4fd3c5d50e293fda25a088
treecef6f798fa3baa35c40ef456712e86ee2a0d4634
parent35d0679f68f7e0ec28b92de05e1743c027839674
drm/ili9486: Use regular atomic helpers; drop simple-display helpers

Replace simple-display helpers with regular atomic helpers. Store the
pipeline elements in struct ili9486_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. Ili9486 requires a custom helper for
CRTC enablement, and non-freeing cleanup of the pipeline.

v3:
- set ili9486 variable (David)
v2:
- fix connector initialization

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