Commits
Richard Liu committed d2628ca7fd1
MA-14578 enable 2D HWC to support 4K60 video playback on 8qxp/qm VPU tile + DPU 2D HWC composition can save bandwidth and make 4K60 video playback no frame drop on 4K display. This patch will load DPU 2D composition engine at start and make GPU output buffer without compression (DPU 2D can't process compression data from GPU), then DPU 2D hwcomposer can dynamic enable when play 4K video with Gallery and Cactus player. Side effect is GPU compression be disabled always as we can't judge whether the layer will be composited by 3D OpenGL ES or 2D HWC when create it, so must static disable GPU compression to make sure 2D HWC works well. NenaMark2.0 benchmark 52.3fps drop to 51.3fps. Change-Id: Ia344d85db0b1b879745e55ab87e73ca5456795e0 Signed-off-by: Richard Liu <xuegang.liu@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/8110 Reviewed-by: ming.zhou <ming.zhou@nxp.com>