Gfx-Display: fixed the issue that HDMI can't show video playback with HW Composer.
authorAustin Hu <austin.hu@intel.com>
Mon, 5 Dec 2011 10:04:13 +0000 (18:04 +0800)
committerbuildbot <buildbot@intel.com>
Mon, 12 Dec 2011 07:05:32 +0000 (23:05 -0800)
commit9e9816f90bdf06d0bd615d0f5a4ef0f0e1f5983d
tree701b4c4190a23bd6d2e4aebb3a074111457608e7
parentbd2baf5d9a4453c8c1db409915ec466b5969b5cf
Gfx-Display: fixed the issue that HDMI can't show video playback with HW Composer.

BZ: 16345

When play video with HDMI by Gallery, overlay crashes because overlay plane size
(= HDMI sink device mode) exceeds DC source image size in aspect ratio mode.

Fixed the issue by setting HDMI default scaling mode to center. And Resoure Manager
can decide to set HDMI scaling to center before playing video via HDMI, to avoid
such issue.

Change-Id: I8cf42740962377125ac9ed631cd1fa828b57555f
Signed-off-by: Austin Hu <austin.hu@intel.com>
Reviewed-on: http://android.intel.com:8080/26915
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/psb_intel_display2.c
drivers/staging/mrst/drv/psb_intel_hdmi.c