drm/sun4i: tcon: multiply the vtotal when not in interlace
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 27 May 2017 16:09:31 +0000 (18:09 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 1 Jun 2017 07:49:59 +0000 (09:49 +0200)
commitb8317a3d50ceb3eae3a280c50c0de61ec302b806
tree77b07dda3a12309d6bac7d15031f31aedf10acc8
parenta88cbbd469b05548f499e4320758f0364beada08
drm/sun4i: tcon: multiply the vtotal when not in interlace

It appears that the total vertical resolution needs to be doubled when
we're not in interlaced. Make sure that is the case.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/sun4i_tcon.c