drm: Fix references to drm_plane_helper_check_state()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 19 Jul 2023 15:23:37 +0000 (17:23 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Sat, 29 Jul 2023 19:25:18 +0000 (21:25 +0200)
As of commit a01cb8ba3f628293 ("drm: Move drm_plane_helper_check_state()
into drm_atomic_helper.c"), drm_plane_helper_check_state() no longer
exists, but is part of drm_atomic_helper_check_plane_state().

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/8bb42a92fc20e3d11e5847e7f15a47c687b73104.1689779916.git.geert+renesas@glider.be
drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.c
drivers/gpu/drm/tidss/tidss_plane.c

index d759e019218181ce06d052357a450f33e8d04d9a..e445fac8e0b46c21b28d4b01dc1fb7bfd5db4a38 100644 (file)
@@ -600,7 +600,8 @@ int __rcar_du_plane_atomic_check(struct drm_plane *plane,
        if (!state->crtc) {
                /*
                 * The visible field is not reset by the DRM core but only
-                * updated by drm_plane_helper_check_state(), set it manually.
+                * updated by drm_atomic_helper_check_plane_state(), set it
+                * manually.
                 */
                state->visible = false;
                *format = NULL;
index 6bdd6e4a955ab3cca15f81d9e931616f3bea453c..e1c0ef0c3894c8552328fdfcd2da71ba5c629c69 100644 (file)
@@ -38,7 +38,8 @@ static int tidss_plane_atomic_check(struct drm_plane *plane,
        if (!new_plane_state->crtc) {
                /*
                 * The visible field is not reset by the DRM core but only
-                * updated by drm_plane_helper_check_state(), set it manually.
+                * updated by drm_atomic_helper_check_plane_state(), set it
+                * manually.
                 */
                new_plane_state->visible = false;
                return 0;