drm/i2c: tda998x: prepare for broken sync workaround
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 14 Aug 2013 19:43:32 +0000 (21:43 +0200)
committerDave Airlie <airlied@redhat.com>
Sun, 18 Aug 2013 23:10:48 +0000 (09:10 +1000)
commit179f1aa407b466c06a94f9e54abc948d1e1146e7
tree0f9b9ac75dfe2098cfffa8dff11cb44f2ab760b7
parent088d61d1fdfde56850c157138a6dc08880c1853d
drm/i2c: tda998x: prepare for broken sync workaround

Some LCD controller cannot provide valid VESA style sync, i.e. coincident
HS/VS edges. First, this patch adds hskew passed from the adjusted_mode to
reference pixel calculation to allow those controllers to add an offset
relative to the expected reference pixel.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-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/i2c/tda998x_drv.c