MLK-14720 epdc: correct WFE setting when bypass legacy process
authorRobby Cai <robby.cai@nxp.com>
Thu, 20 Apr 2017 09:17:42 +0000 (17:17 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit73f22713d2dbb8180823a2ba5220c9d405475903
tree3088b8f9a72ab957e4b234868ab5339a3d5f5531
parentd6dc6e3676d0de0d4bad04c3235b87bc4d281e61
MLK-14720 epdc: correct WFE setting when bypass legacy process

set WFE (WFE_A on imx7d, and WFE_B on imx6ull/imx6sll) input address to
framebuffer start address, and set left/top coordinate since the framebuffer is
the original source of WFE (i.e., not from PXP output) when bypass legacy mode.
The patch also limits the condition to bypass legacy mode when not use
EPDC_FLAG_USE_ALT_BUFFER.

Signed-off-by: Robby Cai <robby.cai@nxp.com>
(cherry picked from commit 7f19940705902623166777c675f5e10c9e7fc477)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c