summaryrefslogtreecommitdiff
path: root/drivers/media
AgeCommit message (Collapse)Author
2010-11-15Merge remote branch 'tiler/for-integ' into L24.11ti-2.6.35-omap4-L24.11-p3G, Manjunath Kondaiah
2010-11-12TILER: Don't declare big table on stackRob Clark
Signed-off-by: Rob Clark <rob@ti.com> Acked-by: Lajos Molnar <molnar@ti.com> Acked-by: David Sin <davidsin@ti.com>
2010-11-12TILER: Adjust when to issue a cleanup notificationDavid Sin
Instead of issuing an event each time the ref count equals zero in the driver release call, only do it if the buffer list is not empty. Signed-off-by: David Sin <davidsin@ti.com>
2010-10-29OMAP: V4L2/WB: Use 4 byte TILER container for YUYVMukund Mittal
A 4 byte TILER container is used instead of 2 byte container in WB to keep it in sync with the other pipelines Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Mukund Mittal <mmittal@ti.com>
2010-10-29V4L2/DSS2: Add support for bottom/top interlaced formats.Lajos Molnar
This patch adds support for bottom/top interlaced formats (both interleaved and sequential). It also clarifies unsupported field formats. Signed-off-by: Lajos Molnar <molnar@ti.com>
2010-10-29OMAP: DSS2: Improved interlaced mode supportLajos Molnar
Simplified and optimized code based on review comments. Also removed trailing spaces in affected files. Change-Id: I60ed8e43273d985503ab374197d6801cb6019c82 Signed-off-by: Lajos Molnar <molnar@ti.com> Signed-off-by: Sujeet Baranwal <s-baranwal@ti.com>
2010-10-09V4L2: Assign YUYV to 2 bytes per pixel in omap_vout_try_formatArchit Taneja
YUYV BPP was incorrectly assigned 4 bpp throughout V4L2, this cause incorrect stide calculations and mapping of buffers to TILER Signed-off-by: Archit Taneja <archit@ti.com>
2010-10-08DSS2/V4L2: Fix: Do not check omap_dispc_register_isr for errorsArchit Taneja
DSS2/V4L2: Fix: Do not check omap_dispc_register_isr for errors Error checking was introduced in streamon and streamoff to return error from the case where the mainclk is diabled. Doing a CTRL^C in the middle of streaming returns an error in unregister_isr anyway. So even if the mainclk is enabled, the irq register and unregister ISRs throw an error. Hence error checking shouldn't be done in streamon for in streamon and streamoff Signed-off-by: Archit Taneja <archit@ti.com>
2010-10-04DSS2/V4L2: Fail to register DSS isr if mainclk is diabledArchit Taneja
Fail to register DSS isr's if mainclk is diabled since they write/read to DISPC registers. Signed-off-by: Archit Taneja <archit@ti.com>
2010-10-04OMAP4: V4L2/DSS - Fix wrong configuration for YUV422Alberto Aguirre
Correct configuration for YUV422 formats involves allocating YUV422 format in a 32-bit tiler container with half width. Video pipeline rotation attributes must be configured when using YUV422 formats. Change-Id: I7126440874fb5e9eede600bf287704ecfa5ac481 Signed-off-by: Alberto Aguirre <a-aguirre@ti.com> Signed-off-by: Archit Taneja <archit@ti.com>
2010-09-27OMAP: Panel Taal: Destroy Workqueue after panel suspendArchit Taneja
Use of workqueues in Taal is causing issues with acquire_console_sem() used in linux-fb. On destroying/creating workqueus after Taal suspend/resume resolves the issue partially. Signed-off-by: Archit Taneja <archit@ti.com>
2010-09-27OMAP: V4L2/DSS2: Use 4 byte TILER container for YUYV buffersArchit Taneja
A 4 byte TILER container is used instead of 2 byte container to preserve the YUYV pixel content after rotation. Some artifacts are still seen on 90 and 270 rotation and are being worked upon. Signed-off-by: Archit Taneja <archit@ti.com>
2010-09-17OMAP4:V4l2: Changing the cpu check to cpu_is_44xx()Archit Taneja
Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Samreen <samreen@ti.com>
2010-09-15TILER: Fix Checkpatch warningDavid Sin
Signed-off-by: David Sin <davidsin@ti.com>
2010-09-15TILER: Add OMAP4 checks in DMM and TILER initDavid Sin
Signed-off-by: David Sin <davidsin@ti.com> Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
2010-09-15TILER: Export sita init functionDavid Sin
Fix for build error when building TILER as a module Signed-off-by: David Sin <davidsin@ti.com>
2010-09-15TILER: Makefile correctionDavid Sin
Signed-off-by: David Sin <davidsin@ti.com>
2010-09-15V4L2: PM constraints for omap_vout driverArchit Taneja
2010-09-14OMAP4: DSS: Interlace SupportSujeet Baranwal
This patch enables all 4 combinations of interlaced and progressive buffer and display devices. 1.Interlaced buffer & progressive display device 2.Interlaced buffer & Interlaced display device 3.progressive buffer & Interlaced display device 4.progressive buffer & progressive display device Signed-off-by: Sujeet Kumar Baranwal <s-baranwal@ti.com> Signed-off-by: Mukund Mittal <mmittal@ti.com>
2010-09-14V4L2: Increase MAX_WIDTH of buffer to width of Tiler BufferArchit Taneja
Signed-off-by: Archit Taneja <archit@ti.com>
2010-09-14TILER: Remove BUG_ON macros.David Sin
Replace BUG_ON macros with WARN_ON. Signed-off-by: David Sin <davidsin@ti.com>
2010-09-14TILER: Make tiler rotation functions staticDavid Sin
Sparse fixes. Signed-off-by: David Sin <davidsin@ti.com>
2010-09-14TILER: Make tiler functions and structs staticDavid Sin
Sparse fixes. Signed-off-by: David Sin <davidsin@ti.com>
2010-09-14TILER: Make sita scan function staticDavid Sin
Sparse fixes. Signed-off-by: David Sin <davidsin@ti.com>
2010-09-14TILER: vma flags need not to be set in tiler mmap functionHari Kanigeri
vma flags are set by remap_pfn_range function in mmap function, so don't need to set this seperatly in the function. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: David Sin <davidsin@ti.com>
2010-09-14TILER: Don't assign mem struct inside kernel listDavid Sin
It's possible that the mem struct assignment inside of the kernel list doesn't assigned properly (e.g. NULL), which causes a deref crash during the free call. Signed-off-by: David Sin <davidsin@ti.com>
2010-09-14TILER: Fix when get element from empty listFernando Guzman Lugo
If free_list is empty the element won't be assigned to NULL. Causing issues when freeing the pages. Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com> Signed-off-by: Bhavin Shah <bshah@ti.com> Signed-off-by: David Sin <davidsin@ti.com>
2010-09-14OMAP Writeback ChangesArchit Taneja
2010-09-14Removal of warnings & code cleanupSamreen
2010-09-14V4L2: Warning fixesarchit taneja
Warning fixes for omap_vout.c and omap_wb.c
2010-09-14OMAP4: video_Kconfig: Setting proper macros default valuesRicardo Perez Olivares
Setting proper default values for video / display Kconfig files. Signed-off-by: Ricardo Perez Olivares <x0081762@ti.com>
2010-09-14Merge Fix : Remove build errors when HDMI is disabledSamreen
2010-09-14OMAP:V4l2:Patch to add v4l2 Api set/get format of vid overlay in WritebackArchit Taneja
Signed-off-by: Mythri P K <mythripk@ti.com>
2010-09-14OMAP:v4l2:Patch to support the color mode for WB in V4l2Archit Taneja
Signed-off-by: Mythri P K <mythripk@ti.com>
2010-09-14OMAP:V4L2:Patch to correct the width and height setting for WB in V4l2Archit Taneja
Signed-off-by: Mythri P K <mythripk@ti.com>
2010-09-14OMAP:DSS:Patch to add flush of WB This will clear the output to WB in the ↵Mythri P K
VID* Attributes Signed-off-by: Mythri P K <mythripk@ti.com>
2010-09-14Merge Fix V4l2 and DSISamreen
2010-09-14TILER: notifier callback mechanism for eventsAngela Stegmaier
This patch adds a tiler notifier callback mechanism for events. This covers file close events. Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2010-09-14omap_vout: changes for xoverlayRob Clark
1) Allow multiple processes to open the v4l2 device, and set correctly the device capabilities. 2) Make VIDIOC_S_FMT of overlay parameters take immediate effect, rather than waiting for a buffer flip. This way the video position updates even if the video playback is paused or slow. Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Mayuresh Janorkar <mayur@ti.com>
2010-09-14OMAP: DSS2/V4L2: V4L2 WB fixes, ES2.0 changesArchit Taneja
2010-09-14V4L2: Add source files for WB capture deviceArchit Taneja
Signed-off-by: Archit Taneja <archit@ti.com>
2010-09-14V4L2: Writeback changes for omap_vout.c and omap_voutdef.hArchit Taneja
Signed-off-by: Archit Taneja <archit@ti.com>
2010-09-14Do not disable tearing for manual updateArchit Taneja
2010-09-14V4L2: Temporarily write the correct value of global_alphaArchit Taneja
The global_alpha value is now taken from the omap_overlay_info structure, previously if the vidioc_s_fmt ioctl was called twice ,it led to an incorrect value being passed to the overlay cache. This is a temporary fix. Signed-off-by: Archit Taneja <archit@ti.com>
2010-09-14V4L2: picoDLP changes for omap_vout_isrMythri P K
Signed-off-by: Mythri P K <mythripk@ti.com>
2010-09-14V4L2: hdmi changes for omap_vout_isrArchit Taneja
Signed-off-by: Archit Taneja <archit@ti.com>
2010-09-14V4L2 crop support with streamingLajos Molnar
Adds the crop support while STREAMON Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Guruswamy Senthilvadivu <svadivu@ti.com>
2010-09-14V4L2 Multi Display Support in ISRArchit Taneja
Restructs the omap_vout_isr to handle multiple displays Signed-off-by: Lajos Molnar <molnar@ti.com> Signed-off-by: Sumit Semwal <sumit.semwal@ti.com> Signed-off-by: Guruswamy Senthilvadivu <svadivu@ti.com>
2010-09-14V4L2 Add Tiler Support voutdef.hSemwal, Sumit
Adds the needed function and variable declarations Signed-off-by: Lajos Molnar <molnar@ti.com> Signed-off-by: Guruswamy Senthilvadivu <svadivu@ti.com>
2010-09-14V4L2 Add Tiler Support in vout.cSemwal, Sumit
Adds uv_addr for NV12. Changes video_mode_to_dss_mode API Signed-off-by: Lajos Molnar <molnar@ti.com Signed-off-by: Guruswamy Senthilvadivu <svadivu@ti.com>