GFX-DISPLAY: Fix screen messy display or flash issue when pressing pwr button to...
authorLi Zhuangzhi <zhuangzhi.li@intel.com>
Thu, 17 May 2012 07:23:06 +0000 (15:23 +0800)
committerbuildbot <buildbot@intel.com>
Wed, 23 May 2012 17:38:23 +0000 (10:38 -0700)
commita9b42d8e5c2a39d4a1e3a013fb02a87e4b5bd093
tree2f9a1b3004350a70ddceb959369250a7dd1ede3d
parent20e9fc3d2ab555ab4bf3b3af57a7793875d72550
GFX-DISPLAY: Fix screen messy display or flash issue when pressing pwr button to resume system

BZ: 36939

Issue:
Board screen display flash while pressing power key to resume system on Lexington DUT.

Solution:
Case1:
When panel and interface are initializing, there maybe some noise showed on display,
We'd better turn on the backlight after the initialization operation, this can avoid some
noise issue. And it's not good turn on backlight with full brightness at the beginning,
it will cause a flash when screen on, the brightness level should be controlled by
lastbrightnesslevel parameter after initialization.
Case2:
__dpi_panel_power_on() will reset the panel and then enable DSI
PLL, config the DSI controller, then exit ULPS state, set low
power output hold, then call p_funcs->drv_ic_init(), at this
moment, the MIPI is in low power mode, so change the hs to lp in
init to improve the ic init stability.

Change-Id: If2b5d748c00a60680536435acb0a1908d163466b
Signed-off-by: Li Zhuangzhi <zhuangzhi.li@intel.com>
Signed-off-by: Tong, Bo <box.tong@intel.com>
Reviewed-on: http://android.intel.com:8080/49302
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Xu, Randy <randy.xu@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/staging/mrst/drv/gi_sony_vid.c