]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm: rz-du: Ensure correct suspend/resume ordering with VSP
authorTommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Mon, 30 Mar 2026 14:46:47 +0000 (16:46 +0200)
committerBiju Das <biju.das.jz@bp.renesas.com>
Fri, 10 Apr 2026 08:03:08 +0000 (09:03 +0100)
commitc94e765abb051df62b9f7c27116ef9307216c868
tree717465a8e60b7d34ce308f34200bd4eba055e749
parent3e9a1da270ddff449b1ad9eadc958f43bc204bd2
drm: rz-du: Ensure correct suspend/resume ordering with VSP

The VSP serves as an interface to memory and a compositor to the DU. It
therefore needs to be suspended after and resumed before the DU, to be
properly stopped and restarted in a controlled fashion driven by the DU
driver. This currently works by chance. Avoid relying on luck by
enforcing the correct suspend/resume ordering with device links.

Based on similar work done by Laurent Pinchart for R-Car DU.
commit db5be3a7d6bd ("drm: rcar-du: Ensure correct suspend/resume
ordering with VSP")

Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Link: https://patch.msgid.link/20260330144651.817338-1-tommaso.merciai.xr@bp.renesas.com
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
drivers/gpu/drm/renesas/rz-du/rzg2l_du_vsp.c
drivers/gpu/drm/renesas/rz-du/rzg2l_du_vsp.h