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

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

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-15-tzimmermann@suse.de
drivers/gpu/drm/sitronix/st7735r.c