drm/omap: dsi: Fixup video mode in .set_config() operation
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 8 Jun 2018 12:59:31 +0000 (15:59 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Sep 2018 13:13:30 +0000 (16:13 +0300)
commit7d39e59be51bddbd5cd487274d48969a39a3bcd1
tree49c41de9facec3a778db9b33f13d86d979971bbb
parentf79fa7da6a2953c9964f285dfddc61f92ced0a5a
drm/omap: dsi: Fixup video mode in .set_config() operation

The DSI encoder modifies the passed videomode to take the requirements
of the internal DISPC-DSI bus into account in the .enable_video_output()
operation. This should be performed in the .check_timings() operation
instead. There is however no .check_timings() operation as the DSI
encoder uses a custom API, so move it to the closest match which is the
.set_config() operation.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/dsi.c