GFX-Display: change GI PWM frequnce to 1KHZ.
authorKe Ai <ke.ai@intel.com>
Fri, 9 Mar 2012 01:18:33 +0000 (09:18 +0800)
committerbuildbot <buildbot@intel.com>
Thu, 15 Mar 2012 07:49:37 +0000 (00:49 -0700)
BZ: 26690

the orginal is 20KHZ, which cause backlight to
filker when display not at 100%.

Num of PWM / 1frame = (BCFRQSEL + 1) * 2 ^ BL_DIMM_STEP

here set BCFRQSEL = 16 ==> 00010000
BL_DIMM_STEP = 1 ==> 000

Change-Id: Ia9329f8bbbe3b72d887366a9af89fbacd7feb523
Signed-off-by: Ke Ai <ke.ai@intel.com>
Reviewed-on: http://android.intel.com:8080/38042
Reviewed-by: Tong, BoX <box.tong@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/staging/mrst/drv/gi_sony_cmd.c
drivers/staging/mrst/drv/gi_sony_vid.c

index ab5ec9c..96f9695 100644 (file)
@@ -98,7 +98,7 @@ static u32 gi_l5f3_set_miectl1[] = {0x108080c0};
 /* static u32 gi_l5f3_set_bcmode[] = {0x000011c1}; */
 static u32 gi_l5f3_set_bcmode[] = {0x000012c1};
 static u32 gi_l5f3_set_wrmiectl2[] = {0x000008c2, 0x0000df01, 0x00003f01};
-static u32 gi_l5f3_set_wrblctl[] = {0x204e01c3};
+static u32 gi_l5f3_set_wrblctl[] = {0x201000c3};
 static u32 gi_l5f3_passwd1_off[] = {0x00a5a5f0};
 static u32 gi_l5f3_set_full_brightness[] = {0x0000ff51};
 static u32 gi_l5f3_turn_on_backlight[] = {0x00002453};
index 60a4de4..3f065f3 100644 (file)
@@ -86,7 +86,7 @@ static u32 gi_l5f3_set_ngammactl[] = {0x0f040cfb, 0x2d2f2e2e, 0x1f212421,
 static u32 gi_l5f3_set_miectl1[] = {0x108080c0};
 static u32 gi_l5f3_set_bcmode[] = {0x000011c1};
 static u32 gi_l5f3_set_wrmiectl2[] = {0x000008c2, 0x0000df01, 0x00003f01};
-static u32 gi_l5f3_set_wrblctl[] = {0x204e01c3};
+static u32 gi_l5f3_set_wrblctl[] = {0x201000c3};
 static u32 gi_l5f3_passwd1_off[] = {0x00a5a5f0};