]> 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>
Mon, 16 Jun 2014 15:57:55 +0000 (17:57 +0200)
commitd181f1c7714ad38c924660044ba52869db75c475
tree2961edbe2c1558beec18f616cbc721c93b9ab34c
parenta541bc0f4c84736fc51b433fb5c5a7f01d123888
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