]> git.kernelconcepts.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)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:55:45 +0000 (09:55 +0800)
commit002a35101a27eb0028cbce5df1d4037a00941320
tree4acb449ba723769b2b89fd25c16028a0c3148144
parent1cf749e2d948bd4aa7fc7e82957da54b36860db6
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