drm/tilcdc fixup mode to workaround sync for tda998x
authorDarren Etheridge <detheridge@ti.com>
Wed, 14 Aug 2013 19:43:33 +0000 (21:43 +0200)
committerDave Airlie <airlied@redhat.com>
Sun, 18 Aug 2013 23:10:54 +0000 (09:10 +1000)
commita9767188678725aac99d7990025dd5b822728ba8
tree74fa670bc920f9193882395c8233cfcf157e4b04
parent179f1aa407b466c06a94f9e54abc948d1e1146e7
drm/tilcdc fixup mode to workaround sync for tda998x

Add a fixup function that will flip the hsync priority and
add a hskew value that is used to shift the tda998x to the
right by a variable number of pixels depending on the mode.
This works around an issue with the sync timings that tilcdc
is outputing.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Russell King <rmk_kernel@arm.linux.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c
drivers/gpu/drm/tilcdc/tilcdc_slave.c