]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/panel-mipi-dbi: Use regular atomic helpers; drop simple-display helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 19 Mar 2026 15:59:46 +0000 (16:59 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 25 Mar 2026 14:05:02 +0000 (15:05 +0100)
commit2aa7a49cbb16282fa6ded10c23f1b3fffca138a0
tree9507373e72c3817de297d2716f7dbff3ca71366e
parent2f39d093cc96dec3fc726d0ce9400c5a84c0e11f
drm/panel-mipi-dbi: Use regular atomic helpers; drop simple-display helpers

Replace simple-display helpers with regular atomic helpers. Store the
pipeline elements in struct panel_mipi_dbi_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. Panel-mipi-dbi 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>
Tested-by: David Lechner <david@lechnology.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20260319160110.109610-11-tzimmermann@suse.de
drivers/gpu/drm/tiny/panel-mipi-dbi.c