]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm: renesas: rcar-du: Switch to new VSP API
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 11 May 2026 23:56:27 +0000 (02:56 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Thu, 21 May 2026 07:10:15 +0000 (09:10 +0200)
The vsp1_du_setup_lif() function is deprecated. Use the new
vsp1_du_enable() and vsp1_du_disable() functions instead.

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Dave Airlie <airlied@redhat.com>
Link: https://patch.msgid.link/20260511235637.3468558-4-laurent.pinchart+renesas@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/gpu/drm/renesas/rcar-du/rcar_du_vsp.c

index a4a49dcd82330c5a9a690cea7cfe338a12186be8..5cfb4d50bc67a6fef975069f637f543867411679 100644 (file)
@@ -87,12 +87,12 @@ void rcar_du_vsp_enable(struct rcar_du_crtc *crtc)
 
        __rcar_du_plane_setup(crtc->group, &state);
 
-       vsp1_du_setup_lif(crtc->vsp->vsp, crtc->vsp_pipe, &cfg);
+       vsp1_du_enable(crtc->vsp->vsp, crtc->vsp_pipe, &cfg);
 }
 
 void rcar_du_vsp_disable(struct rcar_du_crtc *crtc)
 {
-       vsp1_du_setup_lif(crtc->vsp->vsp, crtc->vsp_pipe, NULL);
+       vsp1_du_disable(crtc->vsp->vsp, crtc->vsp_pipe);
 }
 
 void rcar_du_vsp_atomic_begin(struct rcar_du_crtc *crtc)