]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
drivers: video: tegra: dc: Fix VIC for a few modes
authorNaveen Kumar S <nkumars@nvidia.com>
Fri, 20 Nov 2015 14:15:10 +0000 (19:45 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 26 Nov 2015 09:47:26 +0000 (01:47 -0800)
commit2046174796fc8ad124b7b34d641ed5acf9f5640c
treee62466b9061cd34c68f57c5238c9c5fff25e4cd3
parent08a35d81dc3ba7492ff78c14026278d9c4d549d8
drivers: video: tegra: dc: Fix VIC for a few modes

This change fixes the VIC not being set correctly on a few modes. For
1000/1001 modes, the pixclock is now reverted back to the mode
corresponding to the CEA modedb before it is compared.

Since the refresh in the mode database is also not trustable, it
compares the modes from the CEA modedb with a +/- 1 offset

Bug 200148145
Bug 200145631
Bug 1689283

Change-Id: I3742b4d090c26d6c1fc3e2f4af44fd1389079d1a
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/837681
Reviewed-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
Tested-by: Manish Tuteja <mtuteja@nvidia.com>
drivers/video/tegra/dc/hdmi2.0.c