aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-12-16LINARO: lt-mx5_defconfig: make GPU driver built-inlt-3.1-2011.12lt-3.1Eric Miao
BugLink: http://bugs.launchpad.net/bugs/901508 Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-30LINARO: Add lt-mx5_defconfigEric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-29MXC PWM: should active during STOP/DOZE/WAIT modeJason Chen
BugLink: http://launchpad.net/bugs/897122 Signed-off-by: Jason Chen <jason.chen@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-29ARM i.MX5: fix system_rev if not set by atag or DTJason Chen
BugLink: http://launchpad.net/bugs/893879 Signed-off-by: Jason Chen <jason.chen@linaro.org>
2011-11-29ENGR00162701 mxc_vout: fix potential deadlock of fb_blankJason Chen
add FBINFO_MISC_USEREVENT flag before calling fb_blank Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-29ENGR00162666 mxc_vout: v4l2 playback blocking issueJason Chen
1. add pos restore to 0,0 2. adjust code sequnce to avoid lock issue. 3. add on-the-fly S_CTRL support Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-29ENGR00162665 ipuv3 fb: fix non-interleave format wrong color issueJason Chen
fix fb offset base address under non-interleave format. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-29ENGR00162664 mxc_vout: modify pp bypass conditionJason Chen
1. pp bypass's rotate value should be smaller than IPU_ROTATE_HORIZ_FLIP. 2. use del_timer_sync instead of del_timer for SMP. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-29ENGR00162663 ipuv3 fb: add vertical flip supportJason Chen
support vertical flip for fb. just set it by: echo 1 > /sys/class/graphics/fb0/rotate Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-29ENGR00162475 ipuv3 fb: fix camera preview failureYuxi Sun
fix camera preview failure when using double buffer mode for frame buffer Signed-off-by: Yuxi Sun <b36102@freescale.com>
2011-11-29ENGR00162360 mxc_vout: fix STREAMOFF and G_CROP issuesJason Chen
1. move videobuf_mmap_free to mxc_vout_release. 2. call videobuf_queue_cancel in mxc_vout_release if no streamon called. 3. correct return value of G_CROP for support_window case. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-29ENGR00162358 ipuv3 fb: only check pos when fb is unblankJason Chen
only check pos when fb is unblank Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-29ENGR00162354 ipuv3 device: correct kthread operation for split taskJason Chen
make could_finish to volatile. do_exit in split_task_thread instead of kthread_stop. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-28SAUCE: mx53: add mxc_lcdif supportJason Chen
Signed-off-by: Jason Chen <Jason.chen@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-24SAUCE: add arm-pmu deviceEric Miao
BugLink: http://launchpad.net/bugs/893653 Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-23SAUCE: skip resume soc-audio device without codecslt-3.1-2011.11-1Eric Miao
BugLink: http://bugs.launchpad.net/bugs/882723 There are cases where there is no working codec on the soc-audio devices, and snd_soc_suspend() will skip such device when suspending. Yet its counterpart snd_soc_resume() does not check this, causing complaints about spinlock lockup: [ 176.726087] BUG: spinlock lockup on CPU#0, kworker/0:2/1067, d8ab82a8 [ 176.732539] [<80014a14>] (unwind_backtrace+0x0/0xec) from [<805b3fc8>] (dump_stack+0x20/0x24) [ 176.741082] [<805b3fc8>] (dump_stack+0x20/0x24) from [<80322208>] (do_raw_spin_lock+0x118/0x158) [ 176.749882] [<80322208>] (do_raw_spin_lock+0x118/0x158) from [<805b7874>] (_raw_spin_lock_irqsave+0x5c/0x68) [ 176.759723] [<805b7874>] (_raw_spin_lock_irqsave+0x5c/0x68) from [<8002a020>] (__wake_up+0x2c/0x5c) [ 176.768781] [<8002a020>] (__wake_up+0x2c/0x5c) from [<804a6de8>] (soc_resume_deferred+0x3c/0x2b0) [ 176.777666] [<804a6de8>] (soc_resume_deferred+0x3c/0x2b0) from [<8004ee20>] (process_one_work+0x2e8/0x50c) [ 176.787334] [<8004ee20>] (process_one_work+0x2e8/0x50c) from [<8004fd08>] (worker_thread+0x1c8/0x2e0) [ 176.796566] [<8004fd08>] (worker_thread+0x1c8/0x2e0) from [<80053ec8>] (kthread+0xa4/0xb0) [ 176.804843] [<80053ec8>] (kthread+0xa4/0xb0) from [<8000ea70>] (kernel_thread_exit+0x0/0x8) Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-23SAUCE: remove unnecessary suspend/resume functions from mxc_spdifEric Miao
BugLink: http://bugs.launchpad.net/bugs/882723 Disabling/re-enabling clocks is not necessary as it's done in *_startup() and *_shutdown() functions, and shall be performed during suspend/resume. This is causing warnings of un-matched clk_enable()/clk_disable() Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-16ENGR00162218 mxc_vout: put set position function before set varlt-3.1-2011.11-0Jason Chen
fb set var will check the window position with window size, so the correct way is setting position before fb_set_var. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00162208 ipuv3 device: fix jitter issue of split modeJason Chen
if play video with split mode, there is chance to see jitter of split stripe. fix it by correct sync method of split mode kthreads. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00162206 mxc_vout: resize output crop on-the-flyJason Chen
adding support of set crop during streamon. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00162064 mxc v4l2 output: check ipu task in S_CROP ioctlJason Chen
In mxc_vout, ioctl S_CROP should call before S_FMT, for fist time S_CROP, will not check ipu task, it actually will check in S_FMT, after S_FMT, S_CROP should check ipu task too. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00161948 mxc v4l2 output: fix case of input crop with xoffsetJason Chen
run test like: /unit_tests//mxc_v4l2_output.out -iw 1280 -ih 720 -cr 1024 700 40 0 -ow 1024 -oh 700 /unit_tests/720p.yuv Under IPU IC bypass mode, the output color is not correct. And sometimes come out tearing issue. Fix them by modify fb driver adding xpanstep support and set vb->state to DONE after it finish show. When previous videobuf finish show and next videobuf ready to show, set VIDEOBUF_DONE state to avoid tearing issue, which make sure showing buffer will not be dequeue to write new data. It also bring side-effect that the last buffer can not be dequeue correctly, app need take care about it. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00161845 mxc v4l2 output: add check of S_CROP width and heightJason Chen
To avoid CROP width=0 or height=0 case. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16mxc edid: remove test edid dataJason Chen
Signed-off-by: Jason Chen <jason.chen@linaro.org>
2011-11-16ENGR00161315 IPUv3 fix VDIC split line between up/down stripeSandor Yu
In IPU split mode, if deinterlace is enable, there are obvious line between up and down stripe, it is cause by VDIC module. Fix it. Signed-off-by: Sandor YU <r01008@freescale.com>
2011-11-16ENGR00161607 mxc v4l2 output: return real phys offset after mmapJason Chen
vpu unit test failed because it need phys offset of each buffer allocated by v4l2 output driver. videobuf dma contig method only allocate real dma buffer when user call mmap. Fix this issue by adding code to querybuf ioctl, return real phys after buffer mmaped. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00161526 mxc v4l2 output: 720p ic bypass output may failed in blockJason Chen
Repeat play with below cmdline: /unit_tests/mxc_v4l2_output.out -iw 1280 -ih 720 -ow 1280 -oh 720 -fr 10 -l 1 /unit_tests/720p.yuv Found the ipu update offset function cause this issue, it can be work-around by setting it only when value changed. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00160878-2 mxc v4l2 output: new mxc v4l2 output driver based on videobufJason Chen
This new v4l2 output driver is based on videobuf, using dma contig alloc method. It creates video dev node for each display framebuffer begin from /dev/video16 by default. If need post-processing, this driver will do it by ipu pp driver which support: - resizing - CSC - rotate - deinterlacing If no need post-processing, the IPU IC will be bypassed as old driver, the buf will be set to fb buffer directly by crack fb smem_start. The user should do setting before streamon like below: 1. set output crop 2. set ctrl like rotate/vflip/hflip/deinterlacing motion 3. set fmt 4. reqbuf The new features compare to old driver: - support multi-instance - support user point buffer - runtime suspend/resume For suspend/resume, still has chance to meet issue on mx6q, will fix later. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00160878-1 mxc v4l2 output: new mxc v4l2 output driver based on videobufJason Chen
This new v4l2 output driver is based on videobuf, using dma contig alloc method. It creates video dev node for each display framebuffer begin from /dev/video16 by default. If need post-processing, this driver will do it by ipu pp driver which support: - resizing - CSC - rotate - deinterlacing If no need post-processing, the IPU IC will be bypassed as old driver, the buf will be set to fb buffer directly by crack fb smem_start. The user should do setting before streamon like below: 1. set output crop 2. set ctrl like rotate/vflip/hflip/deinterlacing motion 3. set fmt 4. reqbuf The new features compare to old driver: - support multi-instance - support user point buffer - runtime suspend/resume For suspend/resume, still has chance to meet issue on mx6q, will fix later. This patch for head file. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00160877 ipuv3: pm method changeJason Chen
1. use late suspend early resume 2. disable/enable clk when suspend/resume with clk on. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00160876 videobuf: add timestamp for user point bufferJason Chen
1. add timestamp for userpoint buffer 2. use pgprot_writecombine for mmap Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00160875-3 ipuv3 dev: low performance if enable rotationJason Chen
1. no dma alloc for rot buf every time which will cost time. 2. fix split mode condition. 3. export some functions. This patch for driver file. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00160875-2 ipuv3 dev: low performance if enable rotationJason Chen
1. no dma alloc for rot buf every time which will cost time. 2. fix split mode condition. 3. export some functions. This patch for MSL file. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00160875-1 ipuv3 dev: low performance if enable rotationJason Chen
1. no dma alloc for rot buf every time which will cost time. 2. fix split mode condition. 3. export some functions. This patch for common head file. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00160626 fix system hang when ipu clk get rateYuxi
Enable ipu clk when try get rate Signed-off-by: Yuxi Sun <b36102@freescale.com>
2011-11-16ENGR00158456-2 ipuv3 dev: return error for split mode with rotationJason Chen
Currently we do not support split mode with rotation. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-16ENGR00158456-1 ipuv3 dev: return error for split mode with rotationJason Chen
Currently we do not support split mode with rotation. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-15SAUCE: fix oops caused by cpuidleEric Miao
BugLink: http://bugs.launchpad.net/bugs/890578 Fix the oops by adding the missing initialization code in imx53_soc_init() Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-15SAUCE: support building of imx51 and imx53 in a single zImageEric Miao
Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-15SAUCE: mxc_spdif: spdif gets clock from spdif streamAlan Tull
BugLink: http://bugs.launchpad.net/bugs/880632 The S/PDIF block's DPLL recovers the clock from the input bitstream. Signed-off-by: Alan Tull <alan.tull@freescale.com> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-15SAUCE: ENGR00158176 SGTL5000: I/O Error appeared when recording mono wav ↵Lionel Xu
through HW BugLink: http://bugs.launchpad.net/bugs/856933 When recording mono wav, SSI's network mode should be closed, or it will influence the internal freq config, making recording fail. Signed-off-by: Lionel Xu <Lionel.Xu@freescale.com> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-15SAUCE: mx53_loco: fix deadlock report from sdma_tx_submit() during bootHaitao Zhang
BugLink: http://bugs.launchpad.net/bugs/878701 Adjust to use spin_lock_irqsave()/spin_lock_irqresotre(), so to make it safe when called from interrupt context. Signed-off-by: Haitao Zhang <haitao.zhang@linaro.org> Signed-off-by: Eric Miao <eric.miao@linaro.org>
2011-11-15ENGR00156996 ipuv3: fix pixel clock look up tableJason Chen
if there are two ipu, they will use same pixel look up table. which will confuse get_clk Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-15add dummy cpu_is_mx6q support.Jason Chen
Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-15ENGR00156673-3 ipuv3: move mach related definition to mach dirJason Chen
for driver files. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-15ENGR00156673-2 ipuv3: move mach related definition to mach dirJason Chen
for arch/arm/plat-mxc/include/mach/ipu-v3.h Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-15ENGR00156673-1 ipuv3: move mach related definition to mach dirJason Chen
for include/linux/ipu.h. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-15ENGR00156374 ipuv3: check channel busy while wait disable irqJason Chen
there is chance channel already quit busy before wait disable irq in ipu_disable_channel, so add check during irq wait. this patch also comments f_calc and m_calc fix build warning. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-15ENGR00156234 ipuv3: fix cpmem issueJason Chen
sometimes update to cpmem may not correct. make ipu_get_soc more robust. Signed-off-by: Jason Chen <b02280@freescale.com>
2011-11-15ENGR00155146 ipuv3: use mutex instead of spin lockJason Chen
keep spin lock for irq function, but use mutex replace other splin lock to provide better sync method. Add _ipu_get/put function to check clock enable. Signed-off-by: Jason Chen <b02280@freescale.com>