Gfx-display: fix issue of screen mess on HDMI during MT call
authorLei Zhang <lei.zhang@intel.com>
Tue, 8 May 2012 02:09:27 +0000 (10:09 +0800)
committerbuildbot <buildbot@intel.com>
Mon, 21 May 2012 07:47:27 +0000 (00:47 -0700)
commit284de340161a6b6a95ca1db360444e0cb85628c5
tree906f601b38d69f1d20e332dc818860e47220f665
parentce2554e00d60e1ef6aebc3de31c7ee60cf3bfe93
Gfx-display: fix issue of screen mess on HDMI during MT call

BZ: 34312

This issue is because under the scenario of playing video while receiving
a MT call, the size and stride of HDMI plane are set to be the video size.
When restore the surface to be init_screen, as the size and stride are not
correct, it will show the messy picture on HDMI.
Fix this issue by adding the restore of init_screen size and stride.

Change-Id: I0e757ed1d9788fca2b10958e9814cd2ed72f9d21
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
Signed-off-by: Geng Xiujun <xiujun.geng@intel.com>
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/47713
Reviewed-by: Ai, Ke <ke.ai@intel.com>
Reviewed-by: Xu, Randy <randy.xu@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/psb_drv.h
drivers/staging/mrst/drv/psb_intel_display2.c
drivers/staging/mrst/drv/psb_intel_hdmi.c