dc: mode : choose VRR native mode h&v ref_to_sync
authorJonathan McCaffrey <jmccaffrey@nvidia.com>
Thu, 29 Oct 2015 15:51:15 +0000 (15:51 +0000)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 3 Nov 2015 16:41:30 +0000 (08:41 -0800)
commit6ee047249470c6fedb5224d70e303ecea3ce44e2
tree389bfc0c112e48bbed0a0622e8eb12f793cc88f5
parentd8288d24384767784950189b07c8d006597ff7a9
dc: mode : choose VRR native mode h&v ref_to_sync

For DSI panels, if VRR is initialized, set the v & h ref_to_sync values from
the VRR native mode.

This was previously not done ifdef CONFIG_TEGRA_HDMI2_0, which led to display
corruption with TEGRA_DC_EXT_FLIP_HEAD_FLAG_VRR_MODE set, the because the
v_ref_to_sync value was greater than v_front_porch_min,

Bug 1689933

Change-Id: I81e215553ef90636aed319574d20d9e7ea96f696
Signed-off-by: Jonathan McCaffrey <jmccaffrey@nvidia.com>
Reviewed-on: http://git-master/r/824973
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/mode.c