MLK-19152-3 drm/imx: lcdif: add horizontal crop support to plane update
Add horizontal cropping support when atomic plane update is
running, and if the attached CRTC needs modeset. And if the
width of visible portion of plane is equal to the fb surface
width, the Pigeon Mode will be disabled, so cropping will be
disabled.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit
30672b2b18a07a2926979cc533cbb84ea4a642dd)
(cherry picked from commit
3bdf9efa9f1ebb995c79a60da4d579d21310670d)