]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00279413 pxp/v4l2: get the right framebuffer start address at run time
authorRobby Cai <R63905@freescale.com>
Thu, 12 Sep 2013 11:11:54 +0000 (19:11 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:32 +0000 (10:06 +0200)
commit4fe67ff7c3a30590d0eb90dafbeedceba23adb29
treecdfbbf0f8f73b014fad3d19373550d43296ee248
parentd01817a960a53fa2cf47b153f8b89fb99297a11b
ENGR00279413 pxp/v4l2: get the right framebuffer start address at run time

Previously the driver gets the framebuffer start address at probe time.
But this address might be changed if the framebuffer drivers re-allocate
the frame buffers due to the application changes the yres_virtual.
As a result, some garbage data can be observed on display.
This patch adjusts the way to detect the start address at run time to
fix this problem.

Signed-off-by: Robby Cai <R63905@freescale.com>
drivers/media/platform/mxc/output/mxc_pxp_v4l2.c