summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-01ARM: tegra: fix max freq selectiontegra-l4t-r21-21.2Bibek Basu
Remove check for required mV less than max mV because required mV for pllX is different from dfll Bug 200059817 Change-Id: Idb34e60479922bdc2913166447d47c5553eafb71 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/656475 Reviewed-by: Eric Brower <ebrower@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-12-01ARM: tegra: pinmux: correct clk3 & pcc1 groupBibek Basu
pcc1 & clk3_req_pee1 pins are moved to correct group Bug 1551864 Change-Id: Icf106aac866eec02afe7e703f879e5e7f6d722be Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/655140 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-11-21arm: tegra12: add support for CD575M 24x7 ChipBibek Basu
Added DVFS support for CD575M Always on behaviour. With this personality configuration for the chip,the lifetime of the chip increases to 5 Yrs Operating Temp : -25 to 105 degC CPU DVFS: Max Freq 1938Mhz. Max Voltage 1.12V SOC DVFS: Max Voltage0 1.01V EMC dvfs max freq 792Mhz GPU DVFS: Max Freq 804Mhz and Ma Voltage 1.09V Bug 1563635 Change-Id: If7fec38b83ae4de8c5435006207fa3cf717384c0 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/594855 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-11-20Revert "arm: tegra: usb: enable unaligned dma buf support"Bibek Basu
This reverts commit 1f73f964718a8752dc285f401749178abc6e3038. Bug 200055390 Bug 200046201 Bug 200024046 Change-Id: Id97f2e7fde800b3c484aa1e117eea530884922a9 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/605957 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-11-20media: tegra_camera: bypass pixel transformBryan Wu
Disable pixel transform for our L4T/V42L use case. This patch also add some missing settings for CSI-B. Bug 1579773 Change-Id: I0f7d81799e5edcae80329d9bdf3d5c56fa9c295d Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/604312 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-11-14kernel: driver: modify ar0330 power sequenceMing Wong
Bug 1552628 Bug 1576621 Change-Id: Icc881724f0e4e5c0346aa44ffeb80dc8d498919c Signed-off-by: Ming Wong <miwong@nvidia.com> Reviewed-on: http://git-master/r/598929 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2014-11-11arm64: boot: dts: Change tegra132-jetson ModelMike Thompson
Change Tegra132 Jetson Model to jetson_t132 Bug 1569387 Change-Id: I67e97f821306b802aaaa475efc690c08926be556 Signed-off-by: Mike Thompson <mikthompson@nvidia.com> Reviewed-on: http://git-master/r/562627 GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-11-10arm: tegra12: mc: disable vpr dec error interruptsKrishna Reddy
Disable vpr dec error interrupts to avoid spurious mc error messages, which are result of speculative reads from cpu. Bug 1550455 Change-Id: I1ea04aec92ba1976dfadbda2e4b1ee7223591296 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/538497 (cherry picked from commit 72d7f6754bae3312140a16626225c3fd14d2e0fb) Reviewed-on: http://git-master/r/595094 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2014-11-06android: lowmemkiller: don't consider CMA memory as freeKrishna Reddy
As CMA memory can only be used for Movable allocations, Android lowmemkiller shouldn't consider this as free memory for lowmem kill decisions. If it considered as free memory, It can delay the killing of apps and lead to slowness of system as memory allocations start waiting for kswap daemon to free up the memory. Bug 1550455 Change-Id: Ica8da48ef48912d89cde526f0ba3676df6ab10f1 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/542209 (cherry picked from commit 24a7d99f9117e250dbf276d453c336b31dc2c127) Reviewed-on: http://git-master/r/592901 GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-11-06video: tegra: dc: increase V_REF_TO_SYNCJon Mayo
Increase V_REF_TO_SYNC value to the maximum size. This adjusts where the flip activation occurs and permits spool up to include more of the front porch time. Bug 1528419 Change-Id: I981d3ffca49c694acf0806279bcf87d92084169c Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/440817 (cherry picked from commit 1c9c042b31735bb1b04780037ba5d7b6aee9fcd2) Reviewed-on: http://git-master/r/441378 (cherry picked from commit 24afa49b1c471bdd90f06a5cee840d8101761b31) Reviewed-on: http://git-master/r/592932 Reviewed-by: Automatic_Commit_Validation_User
2014-11-05fs: inode: don't use movable allocationsKrishna Reddy
Movable allocation requests can get CMA memory. CMA memory is mapped as non-cached normal memory. f2fs code can perform test_bit operations on the memory allocated, which inturn uses ldr/str exclusive instuctions on ARM. ldr/str exclusive instructions casue unhandled exceptions and kernel panics. [ 6934.858377] Unhandled fault: unknown 53 (0x96000035) at 0xffffffc0699c1000 [ 6934.866608] Internal error: : 96000035 [#1] PREEMPT SMP [ 6934.871883] CPU: 1 PID: 666 Comm: LazyTaskWriterT Tainted: G W 3.10.40-g3bdd559-dirty #39 [ 6934.880975] task: ffffffc06079a040 ti: ffffffc02a7bc000 task.ti: ffffffc02a7bc000 [ 6934.888565] PC is at test_and_clear_bit+0x14/0x40 [ 6934.893304] LR is at f2fs_delete_entry+0xd8/0x28c Bug 1550455 Change-Id: I9645296a052301820063b9737bf06c8c9e059986 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/533926 (cherry picked from commit 2bae286b8f91c06f384749120596532af9da04ad) Reviewed-on: http://git-master/r/592900 GVS: Gerrit_Virtual_Submit
2014-11-05Revert "lowmemorykiller: zram space available should be accounted"Krishna Reddy
This reverts commit b0a90d9e2cbca96e755f7e385665f1be97fa9a69. This patch causes slow responsiveness of apps as apps would start waiting for kswap daemon to free memory when memory reaches to critically low. Change-Id: I9b6ed33d93a207c93560443152dfb0231215d31f Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/552601 (cherry picked from commit 5c4229269e32b817feb906953ad2221f4aaa8ed1) Reviewed-on: http://git-master/r/592899 GVS: Gerrit_Virtual_Submit
2014-11-05mm: compaction: don't restrict page isolation during CMA page migrationKrishna Reddy
don't limit the number of pages isolated during CMA page migration. Bug 1550455 Change-Id: Ib6edcb090b30212302543098a05b85e669ade45d Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/495283 (cherry picked from commit ec9ed2b5c4418c658fe2a3b00b0baf6179b3b452) Reviewed-on: http://git-master/r/592898 GVS: Gerrit_Virtual_Submit
2014-11-05mm: avoid allocating CMA memory for stackKrishna Reddy
allocation of CMA memory for user stack would cause permanent migration failures and result in CMA allocation failures. Bug 1550455 Change-Id: I75ac13416dbcf1810c89641cefdd0d56726cc36a Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/495322 (cherry picked from commit 3c59fb443605d5975b9d8e250c4ca52ae1650fe5) Reviewed-on: http://git-master/r/592897 GVS: Gerrit_Virtual_Submit
2014-11-05arm: tegra: retry on vpr update config failureKrishna Reddy
sleep and retry on vpr update config on failure. Bug 1517584 Change-Id: Ib3320037aba651de56d2f9f9efcb2cfb9bbdca0a Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/494000 (cherry picked from commit 98bf6523b1b2ddc54529aa392a6ec5f111f17c4b) Reviewed-on: http://git-master/r/592896 GVS: Gerrit_Virtual_Submit
2014-11-04config: add ar0330 supportMing Wong
Bug 1552628 Change-Id: I959eb0e54966d0ad163920a187e37b0b76142433 Signed-off-by: Ming Wong <miwong@nvidia.com> Signed-off-by: Mihir Thakkar <mthakkar@nvidia.com> Reviewed-on: http://git-master/r/562206 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
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>