]> 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)
commit487474281fd17c63027aadfc95b2de0a1a6d37b2
tree9d45de25f97e72db53e3c57814f65feeb5abb6e3
parent32a9e2cd65a604c10bf21e9390ffd9198c571e45
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