]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: fix analog tv-out modecheck
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 13 Jun 2017 09:02:09 +0000 (12:02 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 23 Aug 2017 09:22:08 +0000 (12:22 +0300)
commitc89bf634f8c3756cae971bf6053d2a24ce6e1eda
tree9d45de25f97e72db53e3c57814f65feeb5abb6e3
parent036bc38559ab3bfc3367c7e00bb75ed9771b47aa
drm/omap: fix analog tv-out modecheck

omapdrm rejects all venc (analog tv-out) videomodes, due to somewhat
strict checking of the values, making tv-out unusable.

We only support two videomodes, one for PAL and one for NTSC, so instead
of trying to check every field in the videomode struct, this patch makes
the driver check only the pixel clock and the size of the display.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/venc.c