From: Thomas Zimmermann Date: Thu, 19 Mar 2026 15:59:47 +0000 (+0100) Subject: drm/st7586: Use regular atomic helpers; drop simple-display helpers X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=078e60d90a70c14d9756d500ee20ce83e785175b;p=thirdparty%2Flinux.git 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 Acked-by: David Lechner Tested-by: David Lechner Reviewed-by: Dmitry Baryshkov Link: https://patch.msgid.link/20260319160110.109610-12-tzimmermann@suse.de --- diff --git a/drivers/gpu/drm/sitronix/st7586.c b/drivers/gpu/drm/sitronix/st7586.c index 0fce12a09be06..e5a26604cd2e7 100644 --- a/drivers/gpu/drm/sitronix/st7586.c +++ b/drivers/gpu/drm/sitronix/st7586.c @@ -13,6 +13,7 @@ #include