summaryrefslogtreecommitdiff
path: root/drivers/media
AgeCommit message (Collapse)Author
2012-06-14media: video: tegra: fix compilation warningJuha Tukkinen
Get rid of maybe-uninitialized warning when using 4.6 toolchain. Bug 949219 Bug 999222 Change-Id: Id7c2187cb75293515e4018cac814bd7f2ce343a9 Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-on: http://git-master/r/108218 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Stefan Becker <stefanb@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2012-06-14media: video: tegra: ar0832: Make focuser range, slew rate tunableNaren Bhat
The range parameters & slew rate from the blocks-camera are being passed down to ODM and then to kernel. Generic structure added for sharing the data between ODM and kernel instead of specific structure. Bug 954874 Change-Id: I84656e36a5a2721c007de78aa5c20f5dfeb00361 Signed-off-by: Naren Bhat <nbhat@nvidia.com> Reviewed-on: http://git-master/r/102077 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-06-13media: video: tegra: ov5650: enable DPC featureCharlie Huang
enable Defective Pixel Correction block on sensor SOC. bug 976218 Change-Id: I754200b7f625509950b061173c7e5de2a831d607 Signed-off-by: Charlie Huang <chahuang@nvidia.com> Reviewed-on: http://git-master/r/104776 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bhushan Rayrikar <brayrikar@nvidia.com> Reviewed-by: Krupal Divvela <kdivvela@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Amy Deng <amyd@nvidia.com> Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Wei Chen <wechen@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-06-11media: video: tegra: Update ad5816 focuser driverSudhir Vyas
Modify code structure and incorporate few review comments raised in base change of ad5816 driver implementation. Bug 947792 Change-Id: I4b9e95669353f6e9bb71f4e172b71b4e31b1f0d7 Signed-off-by: Sudhir Vyas <svyas@nvidia.com> Reviewed-on: http://git-master/r/105933 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-06-07Merge remote branch 'origin/android-tegra-nv-3.1' into HEADTom Cherry
2012-06-06media: video: tegra: resolve compilation warningsSanjay Singh Rawat
- Adding flag to treat warning as error. - Warnings handled are unused functions, wrong C coding style, function argument mismatch. Bug 949219 Change-Id: I52cf5298ba552747dd4292af5b20db5ac8993cb0 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/106208 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2012-06-05Merge commit 'main-ics-2012.06.04-A5' into HEADTom Cherry
Conflicts: drivers/media/video/tegra/nvavp/nvavp_dev.c Change-Id: I7779b0ce58004f80cccf6193148ac49551ce5da5
2012-06-04arm: tegra: resolve compilation time warningsSanjay Singh Rawat
Bug 949219 Change-Id: I91a67d30869e9800c483f112d58b9f76e2dbe361 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/103534 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-06-03media: video: nvavp: Add audio channel supportVandana Salve
Added support for audio channel. Push buffers can be submitted on audio channel. bug 964514 Change-Id: Ib13b6ed41678e9dcc170fddc64ab4646f960838b Signed-off-by: Vandana Salve <vsalve@nvidia.com> Reviewed-on: http://git-master/r/97534 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gajanan Bhat <gbhat@nvidia.com>
2012-05-31media: video: tegra: space correctionPreetham Chandru
A space is missing between the words 'an' and 'independent' in the print statement: dev_info(&info->i2c_client->dev, "%s no regulator found for %s. " "This board may not have an" "independent %s regulator.\n", __func__, info->vreg[j].vreg_name, info->vreg[j].vreg_name); Bug 991768 Signed-off-by: Preetham Chandru <pchandru@nvidia.com> Change-Id: Idde809c162b3b32c1db57436273af1810f03000a Reviewed-on: http://git-master/r/105157 Tested-by: Preetham Chandru <pchandru@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-05-31media: video: ov2710: add sensor group holdPablo Ceballos
Implements a group hold so that the gain, frame length, and coarse time can all be written in one ioctl call Also fixes AEC manual control register value Also implements bulk i2c send in the same way as ov5650 Bug 953910 Change-Id: Iaa2e8ac6c0156564920696afaa099321db6314f6 Signed-off-by: Pablo Ceballos <pceballos@nvidia.com> Reviewed-on: http://git-master/r/94380 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Patrick Shehane <pshehane@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2012-05-30Merge commit 'main-ics-2012.05.30-A1' into dev-jb-stagingTom Cherry
2012-05-24media: video: tegra: Add ad5816 focuser driverSudhir Vyas
- Implement new focuser ad5816 driver. - Complies to latest NVC framework. Bug 947792 Change-Id: I1661de027062d2a9b4112fd24dc255d810c7afa0 Signed-off-by: Sudhir Vyas <svyas@nvidia.com> Reviewed-on: http://git-master/r/103131 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-05-23Merge commit 'main-ics-2012.05.22-B3' into HEADTom Cherry
Conflicts: arch/arm/mach-tegra/pm.c drivers/media/video/tegra/nvavp/nvavp_dev.c drivers/power/smb349-charger.c include/linux/smb349-charger.h include/trace/events/power.h Change-Id: Ia8c82e2acfe3463ae6778bdd03aac8da104f7ad3
2012-05-23media: video: tegra: Do not use nvmap private headerTerje Bergstrom
Do not include nvmap private header. The needed function is available in the public header. Bug 965206 Change-Id: I2ff752c66e66f64e8c518711aecf6f54dc152d41 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/103676 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-23video: tegra: host: move function pointers to nvhost_driverMayuresh Kulkarni
- currently, function pointers are inside nvhost_device - these functions abstract the device specific implementation of a functionality per SoC - move them to nvhost_driver so that nvhost_device can be instantiated from arch code using board files/device trees - add support to use single driver for multiple devices using concept of id_table. this will be useful in supporting multiple SoC devices binding single driver - also add some notes about how device name is expected Bug 871237 Change-Id: I4c75d7121d26c3bdc50f058e0d144d89ca0edbd9 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/100985 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-22media: video: tegra: fix nvc power managementAnton Kondratenko
NVC focuser code was not up to date with the latest changes related to power management in upper layers. This change is to fix it. Bug 968003 Change-Id: I362fa062039eaa06c4f67644eac7ee2db0bf7d6b Signed-off-by: Anton Kondratenko <akondratenko@nvidia.com> Reviewed-on: http://git-master/r/103188 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-05-18media: video: tegra: Use nvmap.h include file from kernel/includeKrishna Reddy
Use nvmap.h include file from kernel/include instead of mach-tegra/include. Bug 854182 Change-Id: I85ee8d8aacf5884d6a1b6bb3fb70e6f6d4110011 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/102724 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-18media: video: tegra: add EMC clock rate controlJihoon Bang
Add EMC clock rate control to tegra_camera ioctl. This change allows user space to change EMC clock requirement for camera based on use case and resolution. For example, video recording use case needs more than double memory bandwidth of preview use case. Bug 964635 Change-Id: Ibe5a77a810869b53b6e057f2ee62ebb96997c2f4 Signed-off-by: Jihoon Bang <jbang@nvidia.com> Reviewed-on: http://git-master/r/101274 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2012-05-16media: video: tegra: add GPL v2 MODULE_LICENSEEric Brower
Add MODULE_LICENSE to modules that do not advertise a license, and therefore taint the kernel. Bug 979176 Change-Id: I1abbfa9ca1535b39e70d8bf7aa975e2663a6e45d Signed-off-by: Eric Brower <ebrower@nvidia.com> Reviewed-on: http://git-master/r/100214 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-14media: video: tegra: ov5640: add supportCharlie Huang
add ov5640 yuv sensor support - initial. bug 921322 Change-Id: I813afa8963e39afe475f9fdd43152cfaf1a16ae1 Signed-off-by: Charlie Huang <chahuang@nvidia.com> Reviewed-on: http://git-master/r/99506 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-14video: tegra: nvavp: Add a clock request ioctlHyung Taek Ryoo
Add nvavp_force_clock_stay_on ioctl which provides way for user-mode driver to request the VDE/BSEV clocks. This change is to fix a hang during DRM session close. The AVP driver may have already turned the clocks off since playback was paused prior to session teardown. This situation can cause the OTF driver on secure side to hang if the VDE/BSEV clocks are not explicitly enabled prior to calling session terminate. Bug 960130 Bug 961015 Bug 979102 Change-Id: I3c09a6766f50a01ed04fbfd03e723ad9e978909f Reviewed-on: http://git-master/r/102024 Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com> Tested-by: Prajakta Gudadhe <pgudadhe@nvidia.com>
2012-05-14media: nvavp: make the clock requests be reference countedDima Zavin
Previously we only managed the clocks around pushbuffer submit by using the non-emptiness of the pushbuffer as an implicit refcnt on the clock. Add an actual refcnt on the clocks to allow other entities to keep references on the clocks. Still use the queue being non-empty to request clock, now represented by the pending flag. This is a prerequisite for a follow-on patch that will allow avp client to keep extra refs on the clocks to workaround an issue where the bsev clocks need to be on to erase the DRM keys AFTER decode has been finished. Currently, this would cause a lockup since the clocks would be turned off at the end of decode. Change-Id: I8314657d0073614ab6a2f6708ed1785e9aff2ff2 Reviewed-on: http://git-master/r/102023 Reviewed-by: Karan Jhavar <kjhavar@nvidia.com> Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com> Tested-by: Prajakta Gudadhe <pgudadhe@nvidia.com>
2012-05-04media: video: tegra: ov5650: read sensor fuse idCharlie Huang
The sequence of read fuse id is: 1. write to OTP index register 0x3d00. 2. read out byte from ox3d04. 3. repeat step 1 to the next byte with its index respectively. also fixed ov5650_read_reg always fail issue. bug 957657 Change-Id: I649a7765320d0d4be8111a7f523d8487b872b620 Signed-off-by: Charlie Huang <chahuang@nvidia.com> Reviewed-on: http://git-master/r/98330 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Wei Chen <wechen@nvidia.com> Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-01media: video: tegra: sh532u focus driverErik Lilliebjerg
- Abort initialization if an I2C error to avoid excessive load on the I2C bus since it is heavily used during initialization. - Updated to the latest NVC framework. - Added feature that allows for the key focus points to be set at runtime and the relative positions recalculated. Bug 929133 Bug 938934 Change-Id: Ida4ab885bf35057ae6df131e3ec3587a891a7dc9 Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/93944 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-04-30media: video: tegra: ar0832: adjust frame rateJihoon Bang
Change line_length for 1080p mode in order to change frame rate from 31.30 to 29.50 fps. The reason that new fps is not 30 is because flicker detection requires fps not to be multiples of 60/50Hz. This change helps save power and lower the chance of frame drop. Bug 928296 Change-Id: I4fda13d9334c725754b3f5eab034309a1dfef3dc Signed-off-by: Jihoon Bang <jbang@nvidia.com> Reviewed-on: http://git-master/r/83636 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-04-24media: video: tegra: tegra_camera: re-arch power and clockJihoon Bang
There are a couple of issues found in tegra_camera. 1. clock enable/disable is controlled by user space. -> If client process crashes, there is no way to disable clock. 2. power enable/disable is associated with clock enable. -> There is no reason to relate power with clock. -> There is only one regulator for this driver. -> As same as #1, it may leave power up when client process crashes. 3. driver allows multiple clients to access. -> This is not the case for this driver. This changes addresses the problems described above. Bug 948780 Change-Id: Ie534771327175f56cf0e138f1c07096ddba470a8 Signed-off-by: Jihoon Bang <jbang@nvidia.com> Reviewed-on: http://git-master/r/92386 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2012-04-23video: tegra: nvavp: Add force clock stay on APIHyung Taek Ryoo
Add nvavp_force_clock_stay_on ioctl which provides way for user-mode driver to stay on AVP clock state. This change is to fix LP0 resume fail during Widevine playback. Since VDE/BSEV clocks are used by OTF driver in secure world during closing sesssion, the change makes VDE/BSEV clocks running while entering LP0. Bug 960130 Bug 961015 Change-Id: I7eaaa9a33537a72b6ae0a016372bc513fef532e2 Reviewed-on: http://git-master/r/96302 Reviewed-by: Hyung Taek Ryoo <hryoo@nvidia.com> Tested-by: Hyung Taek Ryoo <hryoo@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Karan Jhavar <kjhavar@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2012-04-19drivers: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I5942ba86bd1cbe1f1bd06a7c9f51a10d83e6cabb Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92819 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-04-12video: tegra: nvavp: Remove T30 A01 workaroundJuha Tukkinen
Remove CONFIG_TEGRA_SMMU_BASE_AT_E0000000 workaround as T30 A01 is no longer supported. Change-Id: Ic47d0aa16c555bd7821416fff29d723924c6118b Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-on: http://git-master/r/95645 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com> Reviewed-by: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-04-10video: tegra: dtv: Remove check for dma req list before cancellingLaxman Dewangan
Removing the checking whether dma req queue is empty or not before canceling/stopping dma. This function cannot guarantee correct result as there may be the race between hw and sw status update. If client wants to cancel dma req, it can directly call tegra_dma_cancel(). As the function tegra_dma_is_empty() does not return correct result, it will be depreciated from the dma apis. Change-Id: I3f5ebee8a7be345b02fcd8a69530c9b53207ef28 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/95090 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2012-04-10nvavp: Add ioctl for wake_avpMandar Potdar
Add wake_avp ioctl which provides way for user-mode driver to simply wake-up the AVP. bug 914504 Change-Id: I3075ba944d39749559f2c340a4851902821c344f Signed-off-by: Mandar Potdar <mpotdar@nvidia.com> Reviewed-on: http://git-master/r/93877 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Gajanan Bhat <gbhat@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-04-05dmaengine/dma_slave: introduce inline wrappersAlexandre Bounine
Add inline wrappers for device_prep_slave_sg() and device_prep_dma_cyclic() interfaces to hide new parameter from current users of affected interfaces. Convert current users to use new wrappers instead of direct calls. Suggested by Russell King [https://lkml.org/lkml/2012/2/3/269]. Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com> cherry-picked from mainline commit 16052827d98fbc13c31ebad560af4bd53e2b4dd5 Change-Id: I929a49556539621a0546829e88b3caa498c94be2 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/94463
2012-03-22video: tegra: nvavp: Fix for high SMMU apartureKaz Fukuoka
- With this fix NVAVP works with CONFIG_TEGRA_SMMU_BASE_AT_E0000000. Change-Id: I9c267bc9b008a57f6f0cc4e9b27dbee0501e6a77 Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com> Reviewed-on: http://git-master/r/91316 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-20arm: tegra: nvmap: Update nvmap_alloc api.Krishna Reddy
Update nvmap_alloc api to take heap_mask as arg. This is to let clients specify the specific heap needed. Change-Id: I9950b3e60e6dac0301b6dc66be3e9d0bab8e0fee Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/90471 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2012-03-06drivers: media: tegra: Fix compilation errorChao Xu
Change-Id: If3a7c3911add67ff9f9aecd3c2b933a8553747f3 Signed-off-by: Chao Xu <cxu@nvidia.com> Reviewed-on: http://git-master/r/87313 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-03-02dtv: Added power management supportAdam Jiang
Added suspend/resume function in kernel model to support power management. fixed bug 914638 Change-Id: I2746710b6eba6d2528f27b4226383985e314943f Signed-off-by: Adam Jiang <chaoj@nvidia.com> Reviewed-on: http://git-master/r/86757 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-28media: tegra: avp: set emc to max for video onlyBharat Nihalani
emc should be set to MAX only in case of video and not otherwise Bug 941448 Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-on: http://git-master/r/85766 (cherry picked from commit 736072f72b468449246f5c943f87ce83092579c4) Change-Id: I8bda6c47a07534ef35305795449835364a129864 Reviewed-on: http://git-master/r/86306 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-23media: video: tegra: nvavp: Fix build warningHiroshi DOYU
Use correct type. Change-Id: Ic08214f97d721311dde07ac35664bc3b766ba131 Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/84948 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-02-17dtv: Fixed file-private_data assigned errorAdam Jiang
NULL pointer caused kernel crash when tegra_dtv driver was opened. This patch fixed the bug. fixed Bug 940932 Change-Id: I09f8caff789ea8e1222f4afd9bf73ef890472583 Signed-off-by: Adam Jiang <chaoj@nvidia.com> Reviewed-on: http://git-master/r/84284 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-02-17media: video: ov14810: Add new 720p modeKrupal Divvela
Add a new 1280x720@120 fps - 4lane mode to ov14810 sensor. Bug 935663 Change-Id: I3e8e552071e41bf6932582ae3a0b2467b380eecd Signed-off-by: Krupal Divvela <kdivvela@nvidia.com> Reviewed-on: http://git-master/r/84041 Reviewed-by: Amit Arora <amita@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-16media: video: tegra: Set EMC rate to max when VDE is enabledPrashant Gaikwad
Do not set EMC rate to minimum when module other than VDE is enabled. This reverts the max rate set when VDE was enabled if VDE is still enabled. Bug 930230 Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> (cherry picked from commit 692291955e650c87b7cf6ecac03df2ef0445609d) Change-Id: Ief0e1d6116f064ba09b17ba01c7df0dc7905e0a0 Reviewed-on: http://git-master/r/84057 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-15media: video: tegra: set camera emc clk preferenceshivabassu boragalli
Set camera emc clock to 300Mhz for T20. This change fixes the display corruption observed after video recording and adb cable is disconnected. Bug 930239 Signed-off-by: Shivabassu Boragalli <sboragalli@nvidia.com> Reviewed-on: http://git-master/r/83031 (cherry picked from commit 425cabdc52868d5dca9fd9cd9a82f18d41f0a957) Change-Id: I29b0d83f0cb3e69e48d25d896ff3c88c2e3e7673 Reviewed-on: http://git-master/r/83398 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-02-15ARM: tegra: nvavp: Fix a build errorHiro Sugawara
Change-Id: I6e010e39bc11291e6ff812185db0482e793784ea Reviewed-on: http://git-master/r/83577 Reviewed-by: Hiro Sugawara <hsugawara@nvidia.com> Tested-by: Hiro Sugawara <hsugawara@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2012-02-14media: video: tegra: enable VCLK on tegra2shivabassu boragalli
yuv sensor on tegra2 uses VIP clock. This change enables VCLK pad to get external clock for VI. Bug 930769 Bug 936053 Change-Id: I4958d354a59dec0a92ca9b049ff22b7ca4cac0ad Signed-off-by: Shivabassu Boragalli <sboragalli@nvidia.com> Reviewed-on: http://git-master/r/83394 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-14media: video: ov14810: Don't reprogram uCKrupal Divvela
Do not reprogram the micro controller everytime camera is opened. Bug 935336 Change-Id: Ib9f67fce07332e15e812be7a9d4efef802a7bd58 Signed-off-by: Krupal Divvela <kdivvela@nvidia.com> Reviewed-on: http://git-master/r/83059 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-02-13media: video: tegra: nvavp: Fix resource cleanupKamal Kannan Balagopalan
Fix bug in releasing nvmap client handles when nvavp release is invoked. Bug 930028 Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com> Reviewed-on: http://git-master/r/78594 (cherry picked from commit 232e208f6c12d6112efe96f434b34c2b8c83d809) Change-Id: I94f6990dddf7e683adbd896e059ba1b5e5aa3a75 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82708 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-01Merge remote-tracking branch 'origin/dev/k3.3-rc1-iommu' into ↵Rohan Somvanshi
android-tegra-nv-3.1 Change-Id: I9001bb291779f107bbcb593d48f9f0f734074d0e
2012-01-31media: fix corner case in tegra_mediaserverColin Patrick McCabe
Reviewed-on: http://git-master/r/77465 Change-Id: I653afbb6f766493e5d458b2ba4babb8e400c30c1 Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78016 Reviewed-by: Automatic_Commit_Validation_User
2012-01-31media: tps61050: fix NVC_IOCTL_PWR_RDColin Patrick McCabe
Reviewed-on: http://git-master/r/77403 Change-Id: If51967720de2f4dc1634906fa263c693aef87d75 Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78012 Reviewed-by: Automatic_Commit_Validation_User