OSDN Git Service

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)
commitbeea6214d1cc5bb08ce25ffe06b57fb948445bed
tree9d45de25f97e72db53e3c57814f65feeb5abb6e3
parent2419672f4c96ca678a95d0f733f44d3ee036b5c8
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