]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00279204-1 mxc vout: reconfig fb when necessary
authorLiu Ying <Ying.Liu@freescale.com>
Thu, 26 Sep 2013 05:41:17 +0000 (13:41 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:33 +0000 (10:06 +0200)
commit037130c443e317127a38067fe863f7684d822bc3
tree746467b5bf17c46f3ac2a3c1b3050af586e72342
parentbaa202e0b0d931317c5e14c026330576fe2a7f98
ENGR00279204-1 mxc vout: reconfig fb when necessary

Users may call VIDIOC_S_CTRL or VIDIOC_S_CROP ioctrls
to update streaming parameters on-the-fly after video
has been streamed on, such as for rotation/output
resolution/overlay output position change. Any
unnecessary frame buffer reconfiguration would cause
a pair of frame buffer blank/unblank events happen and
even makes the background framebuffer show up for a
short period of time if the video is rendered on an
overlay framebuffer. This patch compares the last time
video output pipe line settings with the current ones
to determine whether frame buffer reconfiguration is
necessary or not.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/media/platform/mxc/output/mxc_vout.c