video: tegra: hdmi: validate clocks per frame of HDMI mode
authorYoungjin Kim <nkim@nvidia.com>
Fri, 9 Mar 2012 07:30:09 +0000 (16:30 +0900)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Thu, 15 Mar 2012 17:14:01 +0000 (10:14 -0700)
commita1490ac1a719e2e10a02e0d4b55ff3a2b362e78e
tree4ae61905800c7c449fd8ddb723d0a8233a8d4004
parent4fa51e5bb36cfadde3e6677e032c43951321d382
video: tegra: hdmi: validate clocks per frame of HDMI mode

There are HDMI modes which have different margin/sync values
although resolution and pixel clock are the same. One example
is 1080p/24Hz and 1080p/30Hz case.

Those modes are not distinguished when we check if given two
modes are equal. So clocks per frame also should be validated
to decide sameness of the modes.

Bug 950935

Signed-off-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-on: http://git-master/r/89026
(cherry picked from commit b9e6316850a47445be7545aaec85c6a247c44cb9)
Change-Id: I06d3c0f41e63d65f1908614d09df4d16028895f0
Reviewed-on: http://git-master/r/90030
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/video/tegra/dc/hdmi.c