video: tegra: dc: update VIC identification
authorNaveen Kumar S <nkumars@nvidia.com>
Thu, 26 Nov 2015 09:55:39 +0000 (14:55 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 27 Nov 2015 15:41:26 +0000 (07:41 -0800)
commit1ee939ea33c893a5b98652cef4d0fae5c7f25c32
tree2b5197f54c5922ba370de3a33d95b18e545fff2a
parent2046174796fc8ad124b7b34d641ed5acf9f5640c
video: tegra: dc: update VIC identification

Adding few more checks to help VIC identification.
Comparing 1001/1000 value of pixclock to take care of
pclk rounding-off issue. Also, comparing mode->flag value
helps in choosing the CEA mode with matching aspect ratio.

bug 200148145
bug 200145631
bug 1689283

Change-Id: Ia80ba4dd3337772b24b74ee355a1032d59b31d9d
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/838452
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/video/tegra/dc/hdmi2.0.c