tegra: fb: Check DC max pixel clock supported
authorPankaj Dabade <pdabade@nvidia.com>
Tue, 10 Feb 2015 10:23:41 +0000 (15:23 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Wed, 11 Feb 2015 02:08:26 +0000 (18:08 -0800)
commita06c5b8f052309125b0325823fa2afe17a6ef375
tree6a11d266e52724849b02633558c13fe33dcc718f
parentdc96e4178b5a232456468ffaf21799146a5b9a1e
tegra: fb: Check DC max pixel clock supported

Check max clock supported by DC before programming it with that mode.
If the requested pixel clock is greater than the maximum supported,
fall back to default mode.

Bug 200031813

Change-Id: I9c5d4373ff0ee8de039af42f46323909b0bec272
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/676941
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
arch/arm/mach-tegra/include/mach/dc.h
drivers/video/tegra/dc/dc.c
drivers/video/tegra/fb.c