diff options
author | Clément G <geecko.dev@free.fr> | 2013-08-15 23:59:31 +0200 |
---|---|---|
committer | Clément G <geecko.dev@free.fr> | 2013-08-16 00:03:15 +0200 |
commit | ccb973cd15d20b7c33d1f2513019b248133a4be4 (patch) | |
tree | 57d13a479cc8582e8c30506049552f555135472d | |
parent | ac24bebb064fa1d51829b62b2b7fbecdaf11c0d0 (diff) | |
download | kernel_samsung_smdk4412-ccb973cd15d20b7c33d1f2513019b248133a4be4.tar.gz kernel_samsung_smdk4412-ccb973cd15d20b7c33d1f2513019b248133a4be4.tar.bz2 kernel_samsung_smdk4412-ccb973cd15d20b7c33d1f2513019b248133a4be4.zip |
Increase lowest GPU step for 1400MHz devices
Devices using the 1400MHz Exynos 4210 are using 1280*800 screens. This
is a much bigger resolution than the Galaxy S2. 100MHz as the lowest GPU
step is too low for these devices, resulting in lag. Bump it up to
134MHz.
Change-Id: Ifd08cdc2e263695232d034890e54585f122453ff
-rw-r--r-- | drivers/media/video/samsung/mali/platform/orion-m400/mali_platform_dvfs.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/video/samsung/mali/platform/orion-m400/mali_platform_dvfs.c b/drivers/media/video/samsung/mali/platform/orion-m400/mali_platform_dvfs.c index 3bf68051850..e0199b20ec9 100644 --- a/drivers/media/video/samsung/mali/platform/orion-m400/mali_platform_dvfs.c +++ b/drivers/media/video/samsung/mali/platform/orion-m400/mali_platform_dvfs.c @@ -76,7 +76,11 @@ int mali_dvfs_control=0; /*dvfs table*/ mali_dvfs_table mali_dvfs[MALI_DVFS_STEPS]={ +#ifdef CONFIG_EXYNOS4210_1400MHZ_SUPPORT + /*step 0*/{134 ,1000000 , 950000}, +#else /*step 0*/{100 ,1000000 , 950000}, +#endif /*step 1*/{160 ,1000000 , 950000}, /*step 2*/{267 ,1000000 ,1000000} }; @@ -87,7 +91,7 @@ mali_dvfs_table mali_dvfs[MALI_DVFS_STEPS]={ #define ASV_LEVEL_SUPPORT 0 static unsigned int asv_3d_volt_5_table[ASV_5_LEVEL][MALI_DVFS_STEPS] = { - /* L3 (100MHz) L2(160MHz), L1(267MHz) */ + /* L3 (100/134MHz) L2(160MHz), L1(267MHz) */ {1000000, 1000000, 1100000}, /* S */ {1000000, 1000000, 1100000}, /* A */ { 950000, 950000, 1000000}, /* B */ @@ -96,7 +100,7 @@ static unsigned int asv_3d_volt_5_table[ASV_5_LEVEL][MALI_DVFS_STEPS] = { }; static unsigned int asv_3d_volt_8_table[ASV_8_LEVEL][MALI_DVFS_STEPS] = { - /* L3 (100MHz) L2(160MHz), L1(267MHz) */ + /* L3 (100/134MHz) L2(160MHz), L1(267MHz) */ {1000000, 1000000, 1100000}, /* SS */ {1000000, 1000000, 1100000}, /* A1 */ {1000000, 1000000, 1100000}, /* A2 */ |