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>