video : hdmi: Add more checks in mode filter
authorPankaj Dabade <pdabade@nvidia.com>
Mon, 18 May 2015 07:12:48 +0000 (12:12 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Thu, 21 May 2015 04:59:01 +0000 (21:59 -0700)
commitb33d5ba398a9d495ab18039789a86bcb4ff35ba8
treedcee1e9da2ae83e62141fbcdf871fcae70cfb11b
parentafa0e03b25cc6107ac9882d91f5aee233840e92d
video : hdmi: Add more checks in mode filter

While programming DC controller it is decided at runtime
if a particular mode can be satisfied. This check relies
on the parent pixel clock settings. This patch adds same
check in the mode filter function for HDMI, eliminating
entries from modelist which will not be supported.

Bug 200080781

Change-Id: I6e39249e419bc83d549e561267a57ad25d4652ad
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/741686
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Miguel Angel Vico Moya <mvicomoya@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/video/tegra/dc/hdmi.c