Skip to content

Commit e0e4c64

Browse files
kbinghamLaurent Pinchart
authored andcommitted
drm: rcar-du: Add DSI support to rcar_du_output_name
The DSI output names were not added when the DSI pipeline support was introduced. Add the correct labels for these outputs, and fix the sort order to match 'enum rcar_du_output' while we are here. Fixes: b291fdc ("drm: rcar-du: Add r8a779a0 device support") Suggested-by: Biju Das <[email protected]> Signed-off-by: Kieran Bingham <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]>
1 parent f0ce591 commit e0e4c64

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/gpu/drm/rcar-du/rcar_du_drv.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,10 +544,12 @@ const char *rcar_du_output_name(enum rcar_du_output output)
544544
static const char * const names[] = {
545545
[RCAR_DU_OUTPUT_DPAD0] = "DPAD0",
546546
[RCAR_DU_OUTPUT_DPAD1] = "DPAD1",
547-
[RCAR_DU_OUTPUT_LVDS0] = "LVDS0",
548-
[RCAR_DU_OUTPUT_LVDS1] = "LVDS1",
547+
[RCAR_DU_OUTPUT_DSI0] = "DSI0",
548+
[RCAR_DU_OUTPUT_DSI1] = "DSI1",
549549
[RCAR_DU_OUTPUT_HDMI0] = "HDMI0",
550550
[RCAR_DU_OUTPUT_HDMI1] = "HDMI1",
551+
[RCAR_DU_OUTPUT_LVDS0] = "LVDS0",
552+
[RCAR_DU_OUTPUT_LVDS1] = "LVDS1",
551553
[RCAR_DU_OUTPUT_TCON] = "TCON",
552554
};
553555

0 commit comments

Comments
 (0)