drm/omap: venc: Fixup video mode in .check_timings() 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)
commita730ce996ce4da09979bac884ddb62daf413b79e
tree62d7105bd0f1c3208ed2d51de5316bb2b23ae7ce
parent96fc64c775370b18bbf53732ad5130a6662cf1a2
drm/omap: venc: Fixup video mode in .check_timings() operation

The VENC encoder modifies the requested video mode to match the NTSC or
PAL timings (or reject the video mode completely) in the .set_timings()
operation. This should be performed in the .check_timings() operation
instead. Move the fixup.

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/venc.c