]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm: renesas: Extend RZ/G2L supported KMS formats
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Sun, 30 Mar 2025 10:23:53 +0000 (11:23 +0100)
committerBiju Das <biju.das.jz@bp.renesas.com>
Mon, 7 Apr 2025 06:30:01 +0000 (07:30 +0100)
commitbc3faba1f96983f0aa9a6b2e800457e7e3b9a051
treef20bbc9cb195f05f9ec02deb915c456ef6383487
parent2f31808bc75072a819c7dbf28bf273d2940f360b
drm: renesas: Extend RZ/G2L supported KMS formats

The RZ/G2L driver utilises the VSPD to read data from input sources.

The rzg2l_du_kms component lists a restricted subset of the capabilities
of the VSPD which prevents additional formats from being used for
display planes.

The supported display plane formats are mapped in rzg2l_du_vsp_formats[].

Extend the rzg2l_du_format_infos[] table with the corresponding mappings
between the supported DRM formats and the formats exposed by the VSP in
rzg2l_du_vsp_formats, maintaining the same ordering in both tables.

The RPF module on VSPD supports various format conversion and send the
image data to BRS(Blend ROP Sub Unit) for further processing.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Link: https://lore.kernel.org/r/20250330102357.56010-3-biju.das.jz@bp.renesas.com
drivers/gpu/drm/renesas/rz-du/rzg2l_du_kms.c