aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorClément G <geecko.dev@free.fr>2013-08-15 23:59:31 +0200
committerClément G <geecko.dev@free.fr>2013-08-16 23:33:19 +0200
commit008d6925cd8509bcf525950f66d9c9f913a207ab (patch)
tree809d20beb56610fd7f022925782df6dbdf40da64 /drivers
parentbfed9629ed3cc5b2e805abd0b3c62aa677b87502 (diff)
downloadkernel_samsung_smdk4412-008d6925cd8509bcf525950f66d9c9f913a207ab.zip
kernel_samsung_smdk4412-008d6925cd8509bcf525950f66d9c9f913a207ab.tar.gz
kernel_samsung_smdk4412-008d6925cd8509bcf525950f66d9c9f913a207ab.tar.bz2
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
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/samsung/mali/platform/orion-m400/mali_platform_dvfs.c8
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 3bf6805..e0199b2 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 */