video: tegra: dc: Open-up HDMI mode filter
authorShashank Sharma <shashanks@nvidia.com>
Tue, 8 May 2012 09:40:42 +0000 (14:40 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 23 May 2012 13:04:42 +0000 (06:04 -0700)
commitea14570cd39378a6098022e65d88410d618fa73f
tree3056ff7fd8f59836b96608191142439dde071d55
parent6b7e887d5742406d988cb6f797846a83f00a31bb
video: tegra: dc: Open-up HDMI mode filter

We support dynamic pixel-clock setting now, so open HDMI mode
filter by not rejecting a mode due to pixel clock mismatch. If the
mode's requested pixclock is within the suppoted range, check few
constraints of hardware and allow it.

Add aspect ratio check to reject modes with awkward aspect ratio.

Bug 967458
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>

Change-Id: Ife474dbfe4137a000a4a43b0e1ff72847f2a8b0a
Reviewed-on: http://git-master/r/96163
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
drivers/video/tegra/dc/hdmi.c