summaryrefslogtreecommitdiff
path: root/drivers/mxc/ipu3
AgeCommit message (Collapse)Author
2010-05-26ccwmx51: Fix compilation issues after applying Freescale patchesAlejandro Gonzalez
The mach-mx51 folder has been replaced by mach-mx5 to enable the addition of more platforms. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122962 ipu: don't set axi id to 1 on mx53Rob Herring
Setting the AXI ID on to 1 for sync display channels on MX53 causes display flickering when system is heavily loaded. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122388-2 V4L2 capture:Support camera's MCLK from SSI_EXT1_CLKLiu Ying
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>
2010-05-25ENGR00121922 ipuv3: move ipu reset function to MSLJason Chen
move ipu reset function to MSL. Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121797 Fix IPU register access for ipuv3mDinh Nguyen
Fix IPU register access for IPU v2 and v3. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121700: ipu: add support for ipuv3M memory mappingRob Herring
The memory map on IPUv3M is compressed into a smaller region, so support this as revision 3 of the h/w. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121100 tve: fix issue of make tve as primary displayJason Chen
This patch make tve primary display work for both imx51_bbg and imx37_3stack. For imx51_bbg, add "hdtv=2" to cmdline, for imx37_3stack, add "tv" to cmdline. Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120903 ipuv3 fb: make hdtv as primary displayJason Chen
1. Add "hdtv=2' to boot cmdline. HDTV should be primary display device. 2. Color key need be convert to YUV format when output is YUV, to correct the convertion function, negative coefficents of RGB2YUV CSC matrix could not use complement number. Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120807 V4L2 capture:Change the mechanism for CSI->MEM captureLiu Ying
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>
2010-05-24ENGR00119169 V4L2 capture:enable CSI after PRP channels are setupLiu Ying
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>
2010-05-24ENGR00120615-1 Add IPU_CSC_UPDATE case for ipu ioctlSammy He
Add IPU_CSC_UPDATE case for ipu ioctl. Signed-off-by: Sammy He <r62914@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120521 NV12 pixelformat fail on VDIRan Ferderber
Fix stride calculation Signed-off-by: Ran Ferderber r53561@freescale.com Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120523 Down sizing of stream bigger then 1024 two stripe failedRan Ferderber
Fix stripe size calculation Signed-off-by: Ran Ferderber r53561@freescale.com Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120428 v4l2 output: jitter after blank/unblank fbJason Chen
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>
2010-05-24ENGR00120370 v4l2 output: fix display fail for blank fb during video playJason Chen
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>
2010-05-24ENGR00119975 IPUv3:Inform user when IDMAC UV-offset overflowsLiu Ying
UBO and VBO are 22-bit in CPMEM. When processing a high resolution frame in YUV format, the value of UV-offset may overflow, but the driver keeps silent. Signed-off-by: Liu Ying <b17645@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00119720 IPUv3:Fix wrong UV offset set in CPMEM when idmac cropsLiu Ying
The UV offset is set wrongly when idmac does cropping. This patch changes to get the UV offset from user in this case now. Signed-off-by: Liu Ying <b17645@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00119531 ipuv3: dmfc setting restore during resumeJason Chen
dmfc setting should be restored after system resume. Signed-off-by: Jason Chen <b02280@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-02-15CCWMX51: Compilation and runtime issues for Linux-2.6.31Alejandro Gonzalez
Fix compilation errors and warnings and initialize FEC ethernet driver. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-02-12ENGR00119274 TVE: HDTV can not workJason Chen
1.arrange display port according to choice of different display device 2.for ipu_disp.c: not round pixel clock to even for tvout. 3.cmdline "hdtv" enable 720P, "hdtv=2" enable 720P as primary. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-02-12ENGR00119136 ipuv3: support 720p for ipu libJason Chen
To support 720p output for ipu lib. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-02-12ENGR00119275 ipuv3: dmfc size controlJason Chen
add dmfc size control for dynamic change and _setup. DMFC_NORMAL: segment 0,1 for DC, 4,5 for DP-BG, 6,7 for DP-FG. DMFC_HIGH_RESOLUTION_DC: segment 0~3 for DC, 4,5 for DP-BG, 6,7 for DP-FG. DMFC_HIGH_RESOLUTION_DP: segment 0,1 for DC, 2~5 for DP-BG, 6,7 for DP-FG. DMFC_HIGH_RESOLUTION_ONLY_DP: segment 0~3 for DP-BG, 4~7 for DP-FG. IPU diplay driver will try to enlarge its related DMFC segment size when it meet high resolution condition, but if dmfc is already in high resolution setting, dmfc will not change.That said, first request wins. For cmdline setting, "dmfc=1" is DMFC_HIGH_RESOLUTION_DC, "dmfc=2" is DMFC_HIGH_RESOLUTION_DP, "dmfc=3" is DMFC_HIGH_RESOLUTION_ONLY_DP. NOTE: DMFC_HIGH_RESOLUTION_ONLY_DP only can be set by cmdline. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-02-12ENGR00114151 800x600-16@60 video not play correctlyRan Ferderber
Setting "video=mxcfb:800x600-16@60" in the exec command makes video not play correctly, IPU didn't play video when panel blank line where lower then minimum required by IPU Signed-off-by: Ran Ferderber r53561@freescale.com
2010-02-12ENGR00119263: MX51 : Fix pll_set_rate functionRanjani Vaidyanathan-RA5478
pll_set_rate function should only wait for PLL relock if PLL is enabled. Also add a timeout to the infinte loop. Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-02-12ENGR00119202: Fix DVFS-PER related bugs.Ranjani Vaidyanathan-RA5478
DVFS-PER needs to make sure that the pixel clock divider is an even integer. Added support for pixel clock being sourced from an external clock (PLL3) Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-02-12ENGR00119199: ipu: add clock nodes for pixel clocksRanjani Vaidyanathan-RA5478
Added clock nodes for pixel clocks so that their rates and parents can be easily tracked. Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-02-12ENGR00088305: Add DVFS-PER supportRanjani Vaidyanathan-RA5478
Added support for DVFS-PER for both MX37 and MX51. Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
2010-02-12ENGR00118712 ipuv3: add ipu channel disable timeoutJason Chen
Add timeout in ipu channel disable while loop. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-02-12ENGR00116028 CROP for TVE 720Pmark gutman
Crop support for outgoing picture to TVE in 720P format Signed-off-by: Mark.Gutman@freescale.com>
2010-02-12ENGR00116313 ipuv3: DP gamma supportJason Chen
Support DP gamma by setting piecewise linear approximation, application need set coefficient const[k] and slope[k]. The algorithm to calculate these coefficient pls refer to unit test. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-02-12ENGR00118252 ipuv3: change dp csc coeff for rgb2yuvJason Chen
After switch DP(2 layer) from lcd to tvout, fb1 use RGBP format, the output of fb1's color was not exactly correct. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-02-12ENGR00118147 IPUv3 FB:Synchronize DP local alpha update with sdc FBLiu Ying
Synchronize DP local alpha update with sdc framebuffer in pan display. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-02-12ENGR00117982 ipuv3: add SRC reset before ipu initJason Chen
Bootload may do ipu init to display something, add SRC reset here to make sure ipu working well in BSP. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-02-12ENGR00117388 ipuv3: Futher fix for diable IPU channelJason Chen
IPU channel disable should wait all channels finish busy state, should wait for input dma interrupt first then output dma interrupt as the correct sequence for all channels. This patch fix the DQ_BUF fail issue in VPU unit test. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-02-12ENGR00117373 ipuv3: disable IPU channel not correctJason Chen
IPU channel disable should wait all channels finish busy state, should wait for input dma interrupt as the correct finish signal for all channels. This patch fix the DQ_BUF fail issue in VPU unit test. Signed-off-by: Jason Chen <b02280@freescale.com>
2010-02-12ENGR00115576 ipuv3: support for 720P upsizingMark Gutman
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>
2010-02-12ENGR00116436 IPUv3:camera preview and camera capture can be used simultaneouslyLiu Ying
PRP_VF and PRP_ENC channels are able to be used at the same time when their sources are the same. Signed-off-by: Liu Ying <b17645@freescale.com>
2010-02-12ENGR00117389 Port 5.0.0 release to 2.6.31Rob Herring
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>