drm/bridge: dw_hdmi: set vdisplay for frame packing 3d mode
authoralgea.cao <algea.cao@rock-chips.com>
Mon, 27 Mar 2017 08:34:35 +0000 (16:34 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Sat, 1 Apr 2017 02:55:27 +0000 (10:55 +0800)
commit18d3f3e7ce3024c6b50ec7f79943ea25f4de48f5
tree443f3cfeeebc02b26a50fe52f2e24db384a76535
parent7e5e16acbea0f92e93e5b8d9edbb1beb9d613664
drm/bridge: dw_hdmi: set vdisplay for frame packing 3d mode

This patch is only applicable to 3d frame packing
of progressive mode.
According to HDMI Specification 1.4b 8.2.3.2,
vertical toatal line is x2 of 2D vertical toatal line
and pixel clock frequency is x2 of 2D pixel clock frequency.

vdisplay += vtotal
mpixelclock *= 2

Change-Id: I097c25cd1a930635e33f0a7bc86797ad1c7ed607
Signed-off-by: algea.cao <algea.cao@rock-chips.com>
drivers/gpu/drm/bridge/dw-hdmi.c