summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-04kernel: add ar0330 supportMing Wong
add support for dual ar0330 Bug 1552628 Change-Id: I6ccd6ea0886f17710de3e241c408788cc608dce9 Signed-off-by: Ming Wong <miwong@nvidia.com> Reviewed-on: http://git-master/r/558147 GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-11-04dts: add ar0261 and ar0330Ming Wong
Add ar0261 and ar0330 in the dts Bug 1552628 Change-Id: I341c979f7980f3635b28cd24f2b2295375096430 Signed-off-by: Ming Wong <miwong@nvidia.com> Reviewed-on: http://git-master/r/562569 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-11-03gpu:nvgpu: update aelpg parameterMahantesh Kumbar
Updated aelpg parameter APCTRL_CYCLES_PER_SAMPLE_MAX_DEFAULT default value to 200 Bug 1536384 Bug 200043556 Change-Id: I090e50d0025f16c006429455d161bee26fc64173 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: http://git-master/r/455440 (cherry picked from commit 4442b73ba0a9fb9d9d6c9c19b319146365ebfa96) Reviewed-on: http://git-master/r/553687 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-10-29tegra: JetsonTK1: Added NVD9A951 camera supportTushar Khinvasara
Added NVD9A951 camera module support for Jetson TK1. Bug 1359310 Change-Id: I5be95fdf16de00fe662f20f52ded9de16aa4aa4e Signed-off-by: Tushar Khinvasara <tkhinvasara@nvidia.com> Signed-off-by: Mihir Thakkar <mthakkar@nvidia.com> Reviewed-on: http://git-master/r/555463 GVS: Gerrit_Virtual_Submit Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-29ARM: tegra: laguna-erss: add camera module supportShreshtha Sahu
Adds tegra124-pm359-camera-a00.dtsi file and support for camera module NVD9A951 which consists of imx135 sensor and dw9718 focuser. Bug 1359310 Change-Id: I6b377255471566a1e95b2ace8c3f18c5aa230c3f Signed-off-by: Tushar Khinvasara <tkhinvasara@nvidia.com> Signed-off-by: Mihir Thakkar <mthakkar@nvidia.com> Reviewed-on: http://git-master/r/555462 GVS: Gerrit_Virtual_Submit Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-29ARM: tegra: ardbeg: add 2.8V supply for dw9718Shreshtha Sahu
Add 2.8V supply required by dw9718. Bug 1359310 Change-Id: I5c2a73e69f321793db819618a9bab62d2935e353 Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com> Signed-off-by: Mihir Thakkar <mthakkar@nvidia.com> Reviewed-on: http://git-master/r/555461 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Tushar Khinvasara <tkhinvasara@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-29media: tegra: add regulator vana for dw9718Shreshtha Sahu
add regulator vana for dw9718 Bug 1259310 Change-Id: I654669b1f02af9b7afbf51e8077a4f8324ead403 Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com> Signed-off-by: Mihir Thakkar <mthakkar@nvidia.com> Reviewed-on: http://git-master/r/555460 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Tushar Khinvasara <tkhinvasara@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-28tegra: hdmi: Add enable functionality to hotplugPankaj Dabade
Function handle_enable_l will notify virtual terminals about new hotplug, triggering notifier call chain to blank/unblank sequence. Bug 200045281 Change-Id: Iaa6cbf9ca201dd7ac5f390b79af1dae5eac8b3b0 Signed-off-by: Pankaj Dabade <pdabade@nvidia.com> Reviewed-on: http://git-master/r/558798 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Naveen Kumar S <nkumars@nvidia.com> Tested-by: Naveen Kumar S <nkumars@nvidia.com> Reviewed-by: Jeffery Yu <jefferyy@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-10-27arm: tegra12: Enable CPU CVB supportsreenivasulu velpula
- Add cl-dvfs platform data - Add function call to get cpu clock switch cooling device trip points. Bug 1563635 Change-Id: I07e0a9e8d170543906f91979fb35b98c02fe18cb Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com> Reviewed-on: http://git-master/r/437195 (cherry picked from commit 55321cec6a72dd9b2e0ad6fb94ff2cc42937a14a) Reviewed-on: http://git-master/r/559393 Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-27arm: t12: dvfs: Add CPU CVB entriessreenivasulu velpula
- Add CPU CVB entries for automotive speedo - Install clock switch cooling device for automotive speedo Bug 1563635 Change-Id: Ib318f75ade00d6d174996dbc1eb8e02ae1a2a470 Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com> Reviewed-on: http://git-master/r/437194 (cherry picked from commit f0cadfa72c91a055b6ce79f89d0c99b7136a17f5) Reviewed-on: http://git-master/r/559392 Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-27arm: t12: clock: Change use_dfll behavioursreenivasulu velpula
- If CONFIG_TEGRA_USE_DFLL_RANGE is set to '3' then do not allow use_dfll sysfs to control dfll range. AND during kernel init also, by default dfll range becomes 0. Bug 1563635 Change-Id: I886a6ca365a1ee0fd7619312eca1ccd17d73222b Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com> Reviewed-on: http://git-master/r/439769 (cherry picked from commit ce3cd984f88d19f5d929c0acbe509486fddcb8bc) Reviewed-on: http://git-master/r/559391 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-27arm: tegra: dvfs: Add cpu clock switch cdevsreenivasulu velpula
- Add cpu clock switch cooling device to switch between PLL and DFLL dynamically based on temperature. Bug 1563635 Change-Id: I098d41eb64ec53a284db310131c4f604c808645c Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com> Reviewed-on: http://git-master/r/439762 (cherry picked from commit 5cc4e0b770331dc2096d69b96ee8d27e585d8cde) Reviewed-on: http://git-master/r/559390 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-27arm: tegra: clock: Add dfll clock range controlsreenivasulu velpula
Add function tegra_clk_dfll_range_control to change dfll range for any value of 0, 1 or 2. Bug 1563635 Change-Id: I0b76fd48d102e2e702d88749d71c1bd65a610611 Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com> Reviewed-on: http://git-master/r/439761 (cherry picked from commit 465c6b2738b1b4f7b8a6c3672c47e8d1c5157021) Reviewed-on: http://git-master/r/559389 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-27arm: tegra: Modify TEGRA_USE_DFLL_RANGEsreenivasulu velpula
Change TEGRA_USE_DFLL_RANGE to add one more range value "3" - DFLL usage is controlled by thermal cooling device Bug 1563635 Change-Id: Ib8443e0f9574632e0e2370618175fd40132a4488 Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com> Reviewed-on: http://git-master/r/439760 (cherry picked from commit 930c190253d3253a632d8a3c0e12c08a2e490eef) Reviewed-on: http://git-master/r/559388 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-27arm: tegra12 :emc: update dvfs table for Jetson-TK1Bibek Basu
Updated dvfs table for Jetson-tk1 2GB Bug 200028708 Change-Id: Ia6000916ca7388b6c5f17af6f399a4b11a0ed650 Signed-off-by: Jeetesh Burman <jburman@nvidia.com> Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/495978 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-24arm: configs: L4T config for intel7260 wirelessPhilip Rakity
bug 1567414 Change-Id: I9f41f991940016ce6b66777ec10703acef1c96b5 Signed-off-by: Philip Rakity <prakity@nvidia.com> Reviewed-on: http://git-master/r/561969 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-10-17gpu: nvgpu: gk20a: check ctx valid bitMayank Kaushik
When determining the chid for the current context, first check the ctx valid bit. Bug 1485555 Change-Id: I6c3096d800a6cef38b656d525437a2c4f8b45774 Signed-off-by: Mayank Kaushik <mkaushik@nvidia.com> Reviewed-on: http://git-master/r/496140 (cherry picked from commit 20a7a9635e9f969782da6695d99bc99c4ed8fa32) Reviewed-on: http://git-master/r/555054 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-10-17video: tegra: host: Fix channel refcount issuesArto Merilainen
This patch fixes few possible races in channel initialisation and deinitialisation: - If two channel initialisations were running concurrently for the same device and the first initialisation failed, we potentially gave an uninitialised channel to the second requester - If putchannel() triggered uninitialisation, we were still able to give the channel in getchannel(). Bug 200013323 Change-Id: I99fa726db99fbb98401d5703cc2572131907f726 (cherry picked from commit 4fb20fef4a9eaf222c3f6d4c83fcb495f207c478) Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/498509 Reviewed-on: http://git-master/r/538725 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com> Tested-by: Shreshtha Sahu <ssahu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
2014-10-17video: tegra: host: Fix debug dumpArto Merilainen
Currently the debug dump routine is vulnerable against tricky races. As normal operation is more important than getting the full dump always, this patch reworks mutex usage in debug dump routine: - lock the channel list is now before going through channels. This ensures that channel states remain valid even if some of the channels were finished during dump. - this patch modifies mutex_lock() calls to mutex_trylock() calls. This ensures that the function call cannot block. Bug 1517429 Change-Id: Idf170de196bcededbaec6c9031d268cf2d8bc35d (cherry picked from commit 544cbc483b973ca1c78173edcf2072434c02b5dd) Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/498508 Reviewed-on: http://git-master/r/538724 GVS: Gerrit_Virtual_Submit Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com> Tested-by: Shreshtha Sahu <ssahu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
2014-10-17video: tegra: host: revise channel refcnt API'sShridhar Rasal
Use only one API to subtract channel refcnts. To check unbanalaced channel refcnt add WARN_ON when count goes below zero. Print error number when channel unmap fails. Bug 1526504 Change-Id: If88f028a44c9b796d8eaae4affcd0026758cfbe8 (cherry picked from commit f98ce1fc2066e2309af2ef7a52801abadbd40f00) Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-on: http://git-master/r/496479 Reviewed-on: http://git-master/r/538723 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com> Tested-by: Shreshtha Sahu <ssahu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-17video: tegra: host: simplify channel map usageShridhar Rasal
Use array instead list to hold all channels. Remove unused references. Bug 1526504 Change-Id: I49596238d38d5aa78ff32a59b8c0f2c116136a09 (cherry picked from commit 93d7a5f52d3f3aad28187aed15877994d8781cbc) Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-on: http://git-master/r/496478 Reviewed-on: http://git-master/r/538722 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com> Tested-by: Shreshtha Sahu <ssahu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-07arm: tegra12_defconfig: set 3GB-16MB task sizetegra-l4t-r21.1daily-2014.11.07.1_l4t/l4t-r21Zheng Liu
The previously used 3GB-24MB task size caused relocation failures when loading kernel modules. This happened because part of the module loading area got beyond the 32MB relocation range from kernel .text segment. This problem is ARM32-specific and does not affect ARM64. Bug 1489463 Change-Id: I255eb605988b3095d49f05d4d4b199bf2c796bfd Signed-off-by: Zheng Liu <zhliu@nvidia.com> Reviewed-on: http://git-master/r/553996 Reviewed-by: Winnie Hsu <whsu@nvidia.com> Tested-by: Winnie Hsu <whsu@nvidia.com>
2014-10-07arm: tegra12_defconfig: make audio drivers inbuiltZheng Liu
Revert previous changes to modularize the audio drivers. The module probe/remove paths of these drivers are untested and buggy. Make these drivers built-in until the bugs are worked out, and schedule allows for thorough testing. Bug 1536426 Change-Id: Ic1698e7205b1d97461051cd1e25a513dac9649fe Signed-off-by: Zheng Liu <zhliu@nvidia.com> Reviewed-on: http://git-master/r/554287 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-10-07ASoC: tegra: fix avp module removeShreshtha SAHU
- avp module remove should not try to release client if avp pcm open was never called and client was never allocated - avp module remove should deregister offload ops Bug 200043253 Change-Id: I11a6d65afab4d88aa5669553809e99fd69cfd000 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/554153 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Zheng Liu <zhliu@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-10-02mmc: sdhci: tegra: initialize local variableBibek Basu
Initialize uninitialized variable vmin_tap_hole & vmax_tap_hole Bug 200042035 Change-Id: I5e9303f2b585423d936b289a59228028275ec5ec Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/542582 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-02firmware: enable default printing of direct loadingBibek Basu
Move pr_dbg to pr_info for direct firmware loading. Bug 200026940 Change-Id: I617fde8aac85be01857b963c0e18ae6cf22aa444 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/542581 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-01arm: tegra12_defconfig: max98090 as loadable moduleShreshtha SAHU
Bug 1550880 Change-Id: I6278cde7643dd3b298d72c54497cb5274a5de544 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/551903 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-01soc: codecs: max98090: free_irq during module removeShreshtha SAHU
Bug 1550880 Change-Id: I54697780893c17a1c117483fd9bf271ba31209d4 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/551902 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-01soc: tegra: max98090: laguna: fix error return pathsShreshtha SAHU
- Remove switch_dev_unregister and call tegra_asoc_switch_unregister instead in error return path corresponding to tegra_asoc_switch_register. - Skip max97236 registration for laguna erss platorm. Issues surfaced out on making max98090 as removable KO module. Bug 1550880 Change-Id: I6a6c0185a3980efab3592f0733bda214aac4fc81 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/551901 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-01asoc: rt5639: fix missing regmap_exit during removeShreshtha SAHU
without regmap_exit in remove, next modprobe of modprobe used to complain of "Failed to create debugfs directory" due to stale debugfs directory. Bug 200038898 Change-Id: Ie6373f40b50c1307ee7d114dc0f44164c4b426eb Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/542646 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-26gpu: nvgpu: Increase PBDMA timeoutTerje Bergstrom
PBDMA timeout can cause stale data in FIFO. Default value equals 1ms. Increase it to max. Bug 1537636 Change-Id: I1c6c6b10abaece3a64b77b9b3ef77ff726ff67cf Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/457047 (cherry picked from commit f516652f567a44e2e1c6313dccd3dc80172a980f) Reviewed-on: http://git-master/r/457067 (cherry picked from commit f5219cf5888502de3f6cabb2db3e8968b6d20b7c) Reviewed-on: http://git-master/r/504534 Reviewed-by: Automatic_Commit_Validation_User
2014-09-26media: tegra_v4l2_camera: set clock rate for pll_dBryan Wu
Test pattern generator in VI needs PLL_D running at certain clock rate, then CSI clock is a child of PLL_D can get the right clock for operation. If DC disable DSI and set PLL_D as a very low frequency and VI driver forgets to set PLL_D rate back, test pattern generator won't work. This patch will set PLL_D as 927M when we do test pattern generator testing. Bug 1515755 Change-Id: I8fd27d193a436e1057ce2bce8f8153630dc5cdce Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/489043 (cherry picked from commit e09393ad2a02309f63a3baeb567460e1e2f79cd9) Reviewed-on: http://git-master/r/498938 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26ARM: ardbeg: enable imx135 V4L2 sensor driverBryan Wu
Bug 1380143 Change-Id: I9292465b0652c5287db6bbc97a08c76c1ad48484 Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/337471 (cherry picked from commit e83a8827e9888f567a5859ecac6a1041edcf0db9) Reviewed-on: http://git-master/r/498937 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26media: tegra_camera: vi2: support for real sensorBryan Wu
Add code to support RAW10 capture from real sensor like IMX135. Add flag to skip register program from second frame. Fix sync point operations. Bug 1380143 Change-Id: I19bcd17ddfba0e16b4b3a34ae8a4e5a0119e85e1 Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/337470 (cherry picked from commit ff1055fa436ffb5c1d57eee2e09c17578774d65f) Reviewed-on: http://git-master/r/498936 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26media: soc_camera: add imx135 sensor driverBryan Wu
Sony IMX135 camera sensor can be found on Ardbeg/Laguna. This patch introduced sensor driver for imx135 using soc_camera interface. Bug 1380143 Change-Id: Ifa0becf1ec2d9931ebf9ea3a4e9ea3e1013a9e36 Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/337469 (cherry picked from commit 94a04c2c9b614519aab6f718d60bcf1d8032aa8f) Reviewed-on: http://git-master/r/498935 GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26video: tegra: nvmap: remove support for Deprecated GET_ID/FROM_ID ioctl'sManeet Singh
Remove support and add warning message for deprecated IOCTL's - NVMAP_IOC_FROM_ID and NVMAP_IOC_GET_ID. These ioctl calls are deprecated by corresponding FD ioctl calls. Bug 1553082 Change-Id: I3cd531422293f19496687f346692fa91ebe58a40 Signed-off-by: Maneet Singh <mmaneetsingh@nvidia.com> Reviewed-on: http://git-master/r/498045 (cherry picked from commit 420dce0a99231453ebbd091f110d0de816e4885e) Reviewed-on: http://git-master/r/538987 GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26video: tegra: nvmap: fix use-after-free race conditionManeet Singh
Incremented nvmap_handle ref count in utility function nvmap_get_id_from_dmabuf_fd() before the function release reference to dma buffer. This is required to avoid race conditions in nvmap code where nvmap_handle returned by this function could be freed concurrently while the caller is still using it. As a side effect of above change, every caller of this utility function must decrement nvmap_handle ref count after using the returned nvmap_handle. Bug 1553082 Change-Id: Iffc2e5819f8b493d5ed95a9d0c422ccd52438965 Signed-off-by: Maneet Singh <mmaneetsingh@nvidia.com> Reviewed-on: http://git-master/r/498135 (cherry picked from commit afddea745cc4f4a824be501ecbbb50f55e7e6f04) Reviewed-on: http://git-master/r/538986 GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26video: tegra: nvmap: cleanup redundant functionsManeet Singh
Removed redundant function unmarshal_user_id() and replaced it with unmarshal_user_handle() which it internally calls without any other changes. Bug 1553082 Change-Id: I7d998966c593f11a3322b0503ef11311fc1ae5e7 Signed-off-by: Maneet Singh <mmaneetsingh@nvidia.com> Reviewed-on: http://git-master/r/498103 (cherry picked from commit 4880b6c2bdf5b10e4a71b5b79e7878343b9e7e3b) Reviewed-on: http://git-master/r/538985 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-24ARM: tegra12: add clock preinit code for U-BootBryan Wu
U-Boot doesn't setup clock as NVTBoot or fastboot, so clocks need to be preinit before our normal clock init. Bug 1482099 Change-Id: I5ad8dc7e61f1ad4864410a808c41298a91c7198f Signed-off-by: Bryan Wu <pengw@nvidia.com> Signed-off-by: Prabhu Kuttiyam <pkuttiyam@nvidia.com> Reviewed-on: http://git-master/r/408427 (cherry picked from commit 6682ca58527e47fe6db40855d2deba48a6d321d3) Reviewed-on: http://git-master/r/500873 Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-24ARM: tegra12: config: enable clock preinit codeBryan Wu
Enable clock preinit code by default for U-Boot. Bug 1482099 Change-Id: I72fa1e9b45f580813846c7506efec5a03347efcd Signed-off-by: Bryan Wu <pengw@nvidia.com> Signed-off-by: Prabhu Kuttiyam <pkuttiyam@nvidia.com> Reviewed-on: http://git-master/r/408428 (cherry picked from commit 8f2ff20c410a8b7a25e4132e6a194117e4f74361) Reviewed-on: http://git-master/r/500874 Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-24video: tegra: host: gk20a: reduce gr delaysPrashant Malani
The delay value used in gr usleep_range calls is too high. We can start at a much lower value. Bug 200032452 Change-Id: I7d196d0e3be0a5cd84e8c4dad537fae043da6274 Signed-off-by: Prashant Malani <pmalani@nvidia.com> Reviewed-on: http://git-master/r/335234 (cherry picked from commit 49bb8436a534496c70e6238d3bc20ed280d5b654) Reviewed-on: http://git-master/r/504632 Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com> Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-19edp: sysedp : CPU/GPU priority depends on fGPUMatt Longnecker
Provide sysedp_dynamic_capping with the instantaneous GPU frequency when notifying it of the GPU load. Modify the gpu/cpu priority decision logic to choose CPU priority until GPU frequency gets "near" the CPU-priority-limited-GPU-fmax. Introduce the priority_bias debugfs parameter to facilitate tuning of "near". priority_bias takes a value from 0 to 100. Change-Id: I57df17d50cd8077a512b5932f4a304ca5e6992aa Signed-off-by: Matt Longnecker <mlongnecker@nvidia.com> Reviewed-on: http://git-master/r/481720 (cherry picked from commit b2ac745a45e273e849d7b190913ee97092fdebc2) Reviewed-on: http://git-master/r/498901 GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-19asoc: rt56xx: fix missing device_remove_fileShreshtha SAHU
added missing device_remove_file during device remove this resulted failure in modprobe of module Bug 200038187 Bug 200037087 Change-Id: Ibbe8cf92162144d438f5b563bf6d2b9787acc04e Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/499745 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Zheng Liu <zhliu@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-18video: tegra: dc: Avoid FRAME_END_INT conflictDaniel Solomon
Allowing for dc->lock to be acquired by the caller in function tegra_dc_config_frame_end_intr can result in FRAME_END_INT mask register being overwritten if the lock is actually acquired by another thread. Refactor the critical section into its own function and allow callers to call either function. Also Change the name of tegra_dc_wait_for_frame_end to indicate that it should be called with dc->lock locked. Bug 1534724 Change-Id: I87b1fc529f29f707a1bdadf18efa6bb19d6966b3 Signed-off-by: Daniel Solomon <daniels@nvidia.com> Reviewed-on: http://git-master/r/456988 (cherry picked from commit ec9b7f555b9648e3aee0cd9781a92b14178a3344) Reviewed-on: http://git-master/r/496581 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jong Kim <jongk@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-18video: tegra: dc: Fix and refactor FRAME_END_INTDaniel Solomon
- Fix a conflict with other DC interrupt masks when the DSI driver waits on FRAME_END_INT - Move generic FRAME_END_INT mask/unmask and wait-for functions to dc.c Bug 1534724 Change-Id: I40e26ada2f0494782979e32c1a22906361b214b5 Signed-off-by: Daniel Solomon <daniels@nvidia.com> Reviewed-on: http://git-master/r/451186 (cherry picked from commit 24a39c49f63eea704003ee27296f1f70d46bcbd0) Reviewed-on: http://git-master/r/496580 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jong Kim <jongk@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-17ata: Skip ahci dump call if probe is not ivokedPreetham Chandru R
Skip ahci dump call if probe is not ivoked and even if CONFIG_TEGRA_SATA_IDLE_POWERGATE is not defined Bug 200010376 Change-Id: I4ec5f6643b3bc0dbbebbd65b6085d9ea2353eac1 Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/455571 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-17arm: tegra12: jetson-tk1: add debounce to power keyBibek Basu
Continuous press & release of power key during resume cause power key to generate continious interrupt leading to hang of device. So add debounce time Bug 200037478 Change-Id: Ia3081700af3291813450dda7205f842f511e63db Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/499296 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-16arm: tegra: Ram repair for slow clusterBibek Basu
Do ram repair for slow cluster also during boot Bug 1528461 Change-Id: I71ed7891aaff48f0b87438ad029b22ced9be0f04 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/494787 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-16ASoC: Tegra: Fix double regulator disableShreshtha SAHU
digital_reg was disabled second time instead of codec_reg Bug 200036995 Change-Id: I8e9b3aeafa613a5a58063b88ee81bf3d0aaf4e43 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/498837 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vinayak Pane <vpane@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-16usb: xhci: tegra: remove PCIe dependencyHaribabu Narayanan
PCIe powergating dependency is now handled internally in the powergating module for t12x/t13x. This patch removes PCIe related powergating calls from XHCI driver for tegra. Bug 1451279 Bug 1524744 Bug 200027067 Change-Id: I0752cd745f218266e1636cc7c40a6c29dee3b3d4 Reviewed-on: http://git-master/r/424036 (cherry picked from commit 91e2bd6728ca1969615081c70be6b2f21acd43d5) Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Reviewed-on: http://git-master/r/498662 Reviewed-by: Matthew Pedro <mapedro@nvidia.com>