summaryrefslogtreecommitdiff
path: root/drivers/media
AgeCommit message (Collapse)Author
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>
2010-09-14V4L2 Exclude VRFB for OMAP4Semwal, Sumit
Temporarily #ifdef VRFB related functions and calls Signed-off-by: Guruswamy Senthilvadivu <svadivu@ti.com>
2010-09-14OMAP4 V4L2: Make VRFB depend on OMAP2,3Guruswamy Senthilvadivu
Selecting VRFB by default could be changed to depend on OMAP2,3 to allow OMAP4 only builds to go through. Signed-off-by: Guruswamy Senthilvadivu <svadivu@ti.com>
2010-09-14TILER: Set the free page stack cap to 128MBDavid Sin
Currently, the free page stack keeps 40MB worth of pages on hand. Since there are still some system workarounds that are being resolved using tiler memory, we need to temporarily adjust this figure. Also, we haven't quite figured out what amount to keep that would strike a balance between performance and memory consumption. Signed-off-by: David Sin <davidsin@ti.com>
2010-09-14TILER: Corrrect PAT array allocation error handlingDavid Sin
Signed-off-by: Bryan Wu <bryan.wu@canonical.com> Signed-off-by: David Sin <davidsin@ti.com>
2010-09-14TILER: Replace dsb calls with wmb for es2.0David Sin
This patch will resolve the data inconsistency problems seen in omap 4 es2.0. For es1.0, we were creating a memory barrier using dsb() around the PAT reg accesses. Additionally, we have added wmb() calls before the call to the PAT refill function to ensure that the data reaches the main memory beforehand. Signed-off-by: David Sin <davidsin@ti.com>
2010-09-14tiler: Ensure the pat refill has correct data before programming itSantosh Shilimkar
2010-09-14TILER: Limit the amount of pages available in the free page stackDavid Sin
Add logic to cap the total amount of pages to keep on hand. Signed-off-by: David Sin <davidsin@ti.com>
2010-09-14TILER: Move dma_alloc_coherent call to tiler initDavid Sin
Instead of allocating and freeing PAT page array memory each time, allocate 128k upfront and reuse the memory. This will avoid the possibilty of not being able to obtain the memory after driver initialization. Signed-off-by: David Sin <davidsin@ti.com>