]> www.infradead.org Git - users/willy/xarray.git/commit
drm: bridge: ti-sn65dsi83: Move LVDS format selection to .mode_set()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 21 Jun 2021 12:55:14 +0000 (15:55 +0300)
committerRobert Foss <robert.foss@linaro.org>
Tue, 22 Jun 2021 08:15:52 +0000 (10:15 +0200)
commitb966d857c57acb5cd2b12e5e6e466c980d90d362
tree6ce0abd51455de5dfb96fb96d2301b49040120fe
parent4824a5f7ce10d8d34fd5807be42206bbf30d5b66
drm: bridge: ti-sn65dsi83: Move LVDS format selection to .mode_set()

The LVDS format is selected based on the bus format reported by the
connector. This is currently done in .mode_fixup(), but that's not the
right place, as the format should be selected when setting the mode.
Move it to .mode_set().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210621125518.13715-2-laurent.pinchart@ideasonboard.com
drivers/gpu/drm/bridge/ti-sn65dsi83.c