diff options
author | Pankaj Dabade <pdabade@nvidia.com> | 2015-02-10 15:53:41 +0530 |
---|---|---|
committer | Winnie Hsu <whsu@nvidia.com> | 2015-02-10 18:08:26 -0800 |
commit | a06c5b8f052309125b0325823fa2afe17a6ef375 (patch) | |
tree | 6a11d266e52724849b02633558c13fe33dcc718f /arch/arm | |
parent | dc96e4178b5a232456468ffaf21799146a5b9a1e (diff) |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index 00037f5025a9..2ec68436eace 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -6,7 +6,7 @@ * Author: * Erik Gilling <konkers@google.com> * - * Copyright (c) 2010-2014, NVIDIA CORPORATION, All rights reserved. + * Copyright (c) 2010-2015, NVIDIA CORPORATION, All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and @@ -119,6 +119,8 @@ struct tegra_dsi_cmd { bool club_cmd; }; +extern struct fb_videomode tegra_dc_vga_mode; + #define CMD_CLUBBED true #define CMD_NOT_CLUBBED false |