Age | Commit message (Collapse) | Author |
|
|
|
|
|
Digi 01262011 Release
|
|
During v4l2 output playback, there is performance issue after below
commit:
UBUNTU: SAUCE: (upstream) netdev/fec: fix performance impact from
mdio poll operation
Use common workqueue cause this issue, so create an own workqueue for
v4l2 output.
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
iMX53 was not in list of parts that include VDI, iMX53 was add.
Signed-off-by: Ran Ferderber r53561@freescale.com
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
Uncorrect bits_per_pixel will make wrong fb memaloc size, which will
cause Oops for filling black color operation.
Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit 1ac0858a4c6a384f039dfc3f8131d86040c14a58)
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
Enable fb display channel before buffer select, it avoid display frame
lost for small windows between timming of buffer select and channel
enalbe.
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
This patch supports camera's MCLK be derived from SSI_EXT1_CLK.
Signed-off-by: Liu Ying <b17645@freescale.com
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
For MX23, the maximum down scaling factor is 1/2.
For MX28, it's 1/4.
If the scaling factor is below the factor, PxP may not function as expected.
Signed-off-by: Robby Cai <R63905@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
change rgbbuf to outbuf, etc. to eliminate confusion for MX28
Signed-off-by: Robby Cai <R63905@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
correct the setting of HW_PXP_OLnSIZE and HW_PXP_RGBSIZE(or HW_PXP_OUTSIZE)
Signed-off-by: Robby Cai <R63905@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
Copied back the pxp.[ch] from branch 2.6.31
Signed-off-by: Robby Cai <R63905@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
pxp.[ch] to mxs_pxp.[ch]
Signed-off-by: Robby Cai <R63905@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
Adjust PxP driver for MX23
Signed-off-by: Robby Cai <R63905@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
Porting PxP(combined with V4L2) driver onto MX28
Signed-off-by: Robby Cai <R63905@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
As CSI->MEM channel keeps on writing the buffer which is set to
ready latestly and raising up end of frame interrupts, the current
v4l2 capture realization mechanism is not appropriate for this channel.
This patch will update the idmac buffer to a dummy buffer whenever
there is no buffers queued by the user.
Signed-off-by: Liu Ying <b17645@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
To preview with V4L2 overlay and capture at the same time may fail.
This patch implements workaround for this issue by enabling CSI after
PRP channels are setup.
Signed-off-by: Liu Ying <b17645@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
There is a short show of previous played frame if not fill black color
to display fb.
Because fb device will unblank ahead of real data come.
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
if dqueue buffer before the third frame queue, dqueue will failed.
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
This change makes us get rid of DIx_SYNC_DISP_ERR. The error sometimes
causes the backgound framebuffer reinitialized automatically, even if
we preview captured video on overlay framebuffer.
Signed-off-by: Liu Ying <b17645@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
After TV/LCD switch, PXP uses wrong old FB info to set RGBBUF/RGBSIZE.
This patch fixes this problem by notifying PXP to adjust when FB changed.
Signed-off-by: Robby Cai <R63905@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
blank/unblank fb during v4l2 playback, unblank will cause current buffer
of display channel to be 1. This patch make the sequence of select
display buffer correct.
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
1. Blank BG during video play on FG:
./mxc_v4l2_output.out -iw 320 -ih 240 -ow 1024 -oh 768 -d 3 qvga.yuv
echo 1 > /sys/class/graphics/fb0/blank
echo 0 > /sys/class/graphics/fb0/blank
2. The same input and output (ic_bypass):
./mxc_v4l2_output.out -iw 320 -ih 240 -ow 320 -oh 240 -d 3 qvga.yuv
echo 1 > /sys/class/graphics/fb0/blank
echo 0 > /sys/class/graphics/fb0/blank
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
To use manually buffer select instead of channel link, which resolve fb
blank during v4l2 running issue.
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
Use DP to do CSC for preview on DPFG instead of using IC channel
so that we can get better performance. This change can make us
get rid of IC channel bandwidth limitation when using IC channel
to do upsizing from low resolution to high resolution and CSC.
This change doesn't touch V4L2 overlay for DPBG, because using DP
to do CSC will change the pixel format for DPBG(usually for GUI).
This change doesn't touch V4L2 capture, because users rarely do
upsizing with high multiple in this case.
Signed-off-by: Liu Ying <b17645@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
Support YUYV and UYVY input pixel format for mxc V4L2 output.
Signed-off-by: Liu Ying <b17645@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
when Cropping happen, for display 5(tvout), fb setting still need keep
as org.
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
Some kernel resource can be accessed in interrupt handler and user
controlled V4L2 ioctrls, so there is a race condition which makes
the kernel malfunction potentially.
Signed-off-by: Liu Ying <b17645@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
|
|
Support NV12 output pixel format for still capture.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Use fbi screen_base as virtual addr instead of phys_to_virtual.
Signed-off-by: Jason Chen <b02280@freescale.com>
|
|
use PXP_NEXT register to implement double buffering schema.
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
There is one CSI crop improvement (engr117261) in v4l2 capture.
But the improvement is not suitable for tvin module since the
ACT_FRM_SIZE wouldn't be the same with the SENSOR_SIZE.
Signed-off-by: Miao Yu <r65093@freescale.com>
|
|
Fixing IC bypass behavoir for cropping
Signed-off-by: Mark Gutman <r58412@freescale.com>
|
|
Crop support for outgoing picture to TVE in 720P format
Signed-off-by: Mark.Gutman@freescale.com>
|
|
Crop support for outgoing picture to TVE in PAL and NTSC formats
Signed-off-by: Mark.Gutman@freescale.com>
|
|
Fix PXP compiling problem after V4L2 option turned on as well
Signed-off-by: Robby Cai <R63905@freescale.com>
|
|
Miss one header file which includes the definition of mxc_tvin_platform_data
Signed-off-by: Miao Yu <r65093@freescale.com>
|
|
Added mx25 new V4L2 ioctls(included VIDIOC_QBUF and VIDIOC_DQBUF etc).
Signed-off-by: Guoqing Jiang <b22156@freescale.com>
(cherry picked from commit f5658a339a5c6a9c2202b0c2bd7c99dd4eb19030)
|
|
Update CSI V4L2 capture driver for 2.6.31 kernel.
Signed-off-by: Sammy He <r62914@freescale.com>
|
|
Make the camera support D1(PAL/NTSC) resolution.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
1) When using CSI->MEM to capture frames, the output frame resolution of
channel CSI->MEM should be the same with that of cropping input frame.
2) Enable to capture frames bigger than the cropped input frames.
Signed-off-by: Liu Ying <b17645@freescale.com>
(cherry picked from commit eee5a08306df7d9b1f23f463c9e9439e04293b57)
|
|
1)Update MXC V4L2 capture driver for 2.6.31 kernel.
2)Update ov3640 camera and ov2640 camera driver for 2.6.31 kernel.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Update MXC V4L2 output driver for 2.6.31 kernel.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Separate chromakey setting for s1 and s0.
Set chromakey for S1 via S_FMT
set chromakey for S0 via S_CTRL (with private CID)
Current V4l2 framework can not support this case with only S_FMT.
Signed-off-by: Robby Cai <r63905@freescale.com>
|
|
A new feature is added to support to upsizing by horizontal stripes
via IC PP channels double using.
Signed-off-by: Mark Gutman <r58412@freescale.com>
|
|
1) Set camera iomux when initializing camera device, and reset camera iomux
when camera driver disconnects with v4l2 capture master.
2) Remove the forcing debug messages.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
Putting PXP in reset state gains the lowest power.
Restrore the PXP regs once PXP comes out of reset state.
Signed-off-by: Robby Cai <r63905@freescale.com>
|
|
Use IC channel to do input cropping even when other conditions make the
V4L2 output driver to bypass IC channel.
Signed-off-by: Liu Ying <b17645@freescale.com>
|
|
This is i.MX BSP 5.0.0 release ported to 2.6.31
Signed-off-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Alan Tull <r80115@freescale.com>
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
|
|
use pgprot_writethru instead
Signed-off-by: Robby Cai <r63905@freescale.com>
|