video: tegra: fb: Call mode filter from check var
authorShashank Sharma <shashanks@nvidia.com>
Mon, 30 Apr 2012 13:53:57 +0000 (18:53 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Tue, 8 May 2012 13:07:22 +0000 (06:07 -0700)
commit86c9754e625b6b9ac86db944c08158c895ca7919
tree50f240a6b24fcce620b09c684688130d51584f66
parent4ab7c111fa8570e58ad70a6b0f7c6539b2c4ae3d
video: tegra: fb: Call mode filter from check var

Call dc_hdmi_mode_filter to validate a videomode. X prepares its
own modedb of supported HDMI modes, but all of them may not be
supported from the HDMI driver. This call makes sure a X-mode is
listed only if supported in DC driver.

Bug: 959676

Change-Id: I8aff65f4e08fcc4471af096150e3972b5913a95a
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/99650
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
drivers/video/tegra/dc/dc_priv.h
drivers/video/tegra/dc/hdmi.c
drivers/video/tegra/fb.c