Re: [PATCH 31/70] drm/tiny: appletbdrm: Switch to drm_atomic_helper_crtc_create_state

Aditya Garg <[email protected]>
Newsgroups org.freedesktop.lists.dri-devel
Message-ID <DTRHMWQ3XspmkGczwZhAQOeOEDX7UrR3mIJFxQPPsCKvwlzw8cxkhYUZnPxEWMELBWhxch4jYT5PbFrLx3gGlbmmeEl7w-R6TNG3liLhMVA=@proton.me>
Please use my linux.dev email

Acked-by: Aditya Garg <[email protected]>

-------- Original Message --------
On Friday, 08/21/26 at 20:10 Maxime Ripard <[email protected]> wrote:
The appletbdrm crtc implementation uses the deprecated
drm_atomic_helper_crtc_reset() as its reset hook.

Switch to drm_atomic_helper_crtc_create_state() instead.

Signed-off-by: Maxime Ripard <[email protected]>
---
Cc: Aditya Garg <[email protected]>
Cc: Aun-Ali Zaidi <[email protected]>
---
 drivers/gpu/drm/tiny/appletbdrm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/tiny/appletbdrm.c b/drivers/gpu/drm/tiny/appletbdrm.c
index cdd35af49892..94bad6dc720e 100644
--- a/drivers/gpu/drm/tiny/appletbdrm.c
+++ b/drivers/gpu/drm/tiny/appletbdrm.c
@@ -596,11 +596,11 @@ static const struct drm_connector_helper_funcs appletbdrm_connector_helper_funcs
 static const struct drm_crtc_helper_funcs appletbdrm_crtc_helper_funcs = {
 	.mode_valid = appletbdrm_crtc_helper_mode_valid,
 };

 static const struct drm_crtc_funcs appletbdrm_crtc_funcs = {
-	.reset = drm_atomic_helper_crtc_reset,
+	.atomic_create_state = drm_atomic_helper_crtc_create_state,
 	.destroy = drm_crtc_cleanup,
 	.set_config = drm_atomic_helper_set_config,
 	.page_flip = drm_atomic_helper_page_flip,
 	.atomic_duplicate_state = drm_atomic_helper_crtc_duplicate_state,
 	.atomic_destroy_state = drm_atomic_helper_crtc_destroy_state,

--
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.