From 8602879ed6444cd61c11c7271b43eddfa1715662 Mon Sep 17 00:00:00 2001 From: Ke Ai Date: Fri, 9 Mar 2012 09:18:33 +0800 Subject: [PATCH] GFX-Display: change GI PWM frequnce to 1KHZ. 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 Reviewed-on: http://android.intel.com:8080/38042 Reviewed-by: Tong, BoX Tested-by: Tong, BoX Reviewed-by: buildbot Tested-by: buildbot --- drivers/staging/mrst/drv/gi_sony_cmd.c | 2 +- drivers/staging/mrst/drv/gi_sony_vid.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/mrst/drv/gi_sony_cmd.c b/drivers/staging/mrst/drv/gi_sony_cmd.c index ab5ec9c..96f9695 100644 --- a/drivers/staging/mrst/drv/gi_sony_cmd.c +++ b/drivers/staging/mrst/drv/gi_sony_cmd.c @@ -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}; diff --git a/drivers/staging/mrst/drv/gi_sony_vid.c b/drivers/staging/mrst/drv/gi_sony_vid.c index 60a4de4..3f065f3 100644 --- a/drivers/staging/mrst/drv/gi_sony_vid.c +++ b/drivers/staging/mrst/drv/gi_sony_vid.c @@ -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}; -- 2.7.4