MGS-4265 gpu: imx: dpu-blit: fix video hang with g2d compositor
authorXianzhong <xianzhong.li@nxp.com>
Wed, 19 Sep 2018 18:47:16 +0000 (02:47 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitdcae1fd38c53af96f604f3141f03d607f4ac7827
tree7cbe8fd279198e8260d39d5ac6d59cf2c32224b0
parenta30c93296756bb51d929fd2030dd911a0a0191bc
MGS-4265 gpu: imx: dpu-blit: fix video hang with g2d compositor

video playback cause system hang with Wayland g2d compositor,
this also can be reproduced with Android G2D HWComposer.

the problem is second prg not handled between GPU and video.
need re-enable dprc & prg pipes when modifier changed.

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
(cherry picked from commit 8ca7df522719ac94d126d34618cc9d25a2798660)
drivers/gpu/imx/dpu-blit/dpu-blit.c
drivers/gpu/imx/dpu-blit/dpu-blit.h