7 years ago[tegra/usb host] enabling support for USB3 host
Suresh Mangipudi [Tue, 9 Nov 2010 10:40:16 +0000]
[tegra/usb host] enabling support for USB3 host

Adding support for USB 3 host, adding parameters for other ports as well!

Bug 724111

Original-Change-Id: I1cba398defb544a6928e5a2584e3c4a9728e9229
Reviewed-on: http://git-master/r/10355
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rd026123f0c2840706b840e33c681cf2d93e7e9b4

7 years agotegra/rfkill: enable rfkill device
Anantha Idapalapati [Fri, 1 Oct 2010 16:30:58 +0000]
tegra/rfkill: enable rfkill device

Adding platform level definition of bcm4329 rfkill driver.

Bug 724106

Original-Change-Id: Ib439e25826361bb8d78f592372337832cd3b8502
Reviewed-on: http://git-master/r/10018
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Re8cdedfc5a92c285dd2969c422425b8973f41550

7 years ago[ARM] tegra: ventana: register akm8975 compass
Gary King [Fri, 11 Feb 2011 08:14:53 +0000]
[ARM] tegra: ventana: register akm8975 compass

For Ventana board registering i2c board info for akm8975
compass on i2c bus4.

Original-Change-Id: Ie5a293699e69a9c94d89bb419db26ca81e5c4a91
Reviewed-on: http://git-master/r/7974
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R10647df6bb1889c2a80cb4fc1d86dc48914bd624

7 years ago[ARM] tegra: ventana: register nct1008
Gary King [Fri, 17 Sep 2010 02:31:03 +0000]
[ARM] tegra: ventana: register nct1008

Original-Change-Id: I3cd1824726ebc37233e9d5e8afa0d1af42e03737

Rebase-Id: R0295bffb28d11c02bc65597f3bff71347d44e63a

7 years ago[ARM] tegra: ventana: register isl29018 prox sensor
Gary King [Fri, 24 Sep 2010 00:07:13 +0000]
[ARM] tegra: ventana: register isl29018 prox sensor

Original-Change-Id: Iabf9eb7585a7c2469b66808ed6661e90c488a779
Signed-off-by: Gary King <gking@nvidia.com>

Rebase-Id: Re96d897258428d9817fa206e8d7289df43b02672

7 years ago[ARM] tegra: ventana: registering bq20z75 gas gauge
Gary King [Fri, 17 Sep 2010 22:25:32 +0000]
[ARM] tegra: ventana: registering bq20z75 gas gauge

Registering i2c_board_info() for TI's bq20z75 gas gauge IC.

Original-Change-Id: I444c7e70fed8433c75cc1142c461ea476b7c812c

Rebase-Id: R7bd8891ed5ab7ec676887a034e25fe734c03b157

7 years agotegra: ventana: register wdt device
Gary King [Mon, 30 Aug 2010 23:19:54 +0000]
tegra: ventana: register wdt device

Original-Change-Id: I658276762261fd4b9d96a7ebbbac459583d82865

Rebase-Id: Rf0644928f651d765bf2963e14bd721cf14ee70f8

7 years agoARM: config: tegra3: Enable NEON
Dan Willemsen [Thu, 14 Jul 2011 20:18:37 +0000]
ARM: config: tegra3: Enable NEON

Change-Id: I3451fd9954763b2336170659fc1347a41b1a13a1
Reviewed-on: http://git-master/r/41080
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R66c117823358cc1e7a0bdae95ff66f6929490870

7 years agoARM: config: tegra3: Enable TPS6591 for cardhu
Dan Willemsen [Mon, 27 Jun 2011 02:53:44 +0000]
ARM: config: tegra3: Enable TPS6591 for cardhu

Rebase-Id: Rcfe87837310ce0ffef650226d4cfa8c16126ef3c

7 years agoARM: config: Add tegra3 defconfig
Dan Willemsen [Sun, 26 Jun 2011 02:13:24 +0000]
ARM: config: Add tegra3 defconfig

Rebase-Id: R29d97f93b207b7ac98673ab1ce6856971f1a54f0

7 years agoARM: config: tegra: Enable MAX8907c for whistler
Dan Willemsen [Fri, 24 Jun 2011 20:18:28 +0000]
ARM: config: tegra: Enable MAX8907c for whistler

Rebase-Id: Rd9b0de424e19008bf096a6ae969ef15ab36e5ceb

7 years agoARM: config: tegra: Add Whistler
Dan Willemsen [Fri, 24 Jun 2011 00:17:05 +0000]
ARM: config: tegra: Add Whistler

Rebase-Id: Re53cf9f6d39ebcd8fa82583cd13cd0dd4ec30f04

7 years agoARM: config: tegra: disable CPU_IDLE
Dan Willemsen [Mon, 20 Jun 2011 23:59:56 +0000]
ARM: config: tegra: disable CPU_IDLE

Rebase-Id: Rff3859dd167efdf8a7dea7b656f2519b51a61108

7 years agoARM: config: tegra: enable USB, DC, FB, SND
Dan Willemsen [Mon, 20 Jun 2011 22:16:26 +0000]
ARM: config: tegra: enable USB, DC, FB, SND

Rebase-Id: Rc5b2be31858d9d9f82455340cc6263e0c03d5efe

7 years agoARM: config: tegra: Enable EXT4
Dan Willemsen [Sat, 14 May 2011 22:27:40 +0000]
ARM: config: tegra: Enable EXT4

Rebase-Id: Rbc31c28085a0fa0b2b33af8147f361ae83d4ca7f

7 years agoRemove DEBUG_LL temporarily
Dan Willemsen [Sat, 14 May 2011 21:31:50 +0000]
Remove DEBUG_LL temporarily

Rebase-Id: R001ec1d6f0b7380519bc7857f9c1efec8fcf26bf

7 years agoARM: config: add ventana
Dan Willemsen [Sat, 14 May 2011 02:40:45 +0000]
ARM: config: add ventana

Rebase-Id: R620cc1cbf4445766624eea38e282db346b891b28

7 years agoMerge branch 'buckets/watchdog' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:19 +0000]
Merge branch 'buckets/watchdog' into after-buckets

7 years agoMerge branch 'buckets/video' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:19 +0000]
Merge branch 'buckets/video' into after-buckets

7 years agoMerge branch 'buckets/usb' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:18 +0000]
Merge branch 'buckets/usb' into after-buckets

7 years agoMerge branch 'buckets/spi' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:17 +0000]
Merge branch 'buckets/spi' into after-buckets

7 years agoMerge branch 'buckets/sound' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:17 +0000]
Merge branch 'buckets/sound' into after-buckets

7 years agoMerge branch 'buckets/serial' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:16 +0000]
Merge branch 'buckets/serial' into after-buckets

7 years agoMerge branch 'buckets/rtc' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:15 +0000]
Merge branch 'buckets/rtc' into after-buckets

7 years agoMerge branch 'buckets/regulator' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:15 +0000]
Merge branch 'buckets/regulator' into after-buckets

7 years agoMerge branch 'buckets/power' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:14 +0000]
Merge branch 'buckets/power' into after-buckets

7 years agoMerge branch 'buckets/net' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:13 +0000]
Merge branch 'buckets/net' into after-buckets

7 years agoMerge branch 'buckets/mmc' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:13 +0000]
Merge branch 'buckets/mmc' into after-buckets

7 years agoMerge branch 'buckets/misc' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:12 +0000]
Merge branch 'buckets/misc' into after-buckets

7 years agoMerge branch 'buckets/mfd' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:12 +0000]
Merge branch 'buckets/mfd' into after-buckets

7 years agoMerge branch 'buckets/media' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:11 +0000]
Merge branch 'buckets/media' into after-buckets

7 years agoMerge branch 'buckets/mach-tegra' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:10 +0000]
Merge branch 'buckets/mach-tegra' into after-buckets

7 years agoMerge branch 'buckets/input' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:10 +0000]
Merge branch 'buckets/input' into after-buckets

7 years agoMerge branch 'buckets/i2c' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:09 +0000]
Merge branch 'buckets/i2c' into after-buckets

7 years agoMerge branch 'buckets/hwmon' into after-buckets
Dan Willemsen [Thu, 1 Dec 2011 05:45:09 +0000]
Merge branch 'buckets/hwmon' into after-buckets

7 years agotegra:watchdog: Change timer src to timer10 for watchdog.
vdumpa [Thu, 24 Feb 2011 00:10:27 +0000]
tegra:watchdog: Change timer src to timer10 for watchdog.

Fix wdt resource definition issue either.
Bug 790458

Original-Change-Id: I7c80d6c243c42a0e632603dfcc255b70995358b2
Reviewed-on: http://git-master/r/20646
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I9897fb6614d75508bd0ffd6e866acf27a24a0cb5

Rebase-Id: R165f408464819298bdcc1f0b677c50b46071be90

7 years agotegra:watchdog: Use new watchdog controller.
vdumpa [Wed, 16 Feb 2011 08:01:24 +0000]
tegra:watchdog: Use new watchdog controller.

Use new watch dog controller for CONFIG_ARCH_TEGRA_3x_SOC.
Bug 790458

Original-Change-Id: I43975a2794f44f612a5f16674cd674aeebe4e6be
Reviewed-on: http://git-master/r/19715
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: Ic8c9907998a2ab1777ea2b00f1acceb6d66c10e5

Rebase-Id: Ra0b9af5a0642fab2d13816f04c0c340ea42a45c8

7 years agowatchdog: tegra_wdt: fix WDT open() kernel panic
Xin Xie [Sat, 19 Mar 2011 01:08:28 +0000]
watchdog: tegra_wdt: fix WDT open() kernel panic

Opening the Tegra WDT device from user space is causing the kernel
panic. It is found that the device file private data pointer is passing
incorrectly in the orignal code.

bug 786885

Original-Change-Id: I4646b02c5a804c07d05ba01e35034408cc8e3e4e
Reviewed-on: http://git-master/r/23629
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Ra37e36461d02b1482bcb815dc554104cf552544d

7 years agovideo: tegra: dc: add window inversion interface to overlay driver
Michael I. Gold [Tue, 14 Jun 2011 19:10:44 +0000]
video: tegra: dc: add window inversion interface to overlay driver

Support INVERT_H and INVERT_V flags and pass through to the DC driver.
Also support TILED flag instead of a separate tiled field.

Original-Change-Id: If5aa4e24666020d85272a955ef7b6ce6f70aeccb
Reviewed-on: http://git-master/r/36553
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Michael I Gold <gold@nvidia.com>
Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com>

Rebase-Id: R58c32fc4a09ac4f5004d101d29740b934011049f

7 years agoaat2870: Change suspend and resume event source
Jin Park [Fri, 3 Jun 2011 11:25:49 +0000]
aat2870: Change suspend and resume event source

Change aat2870_bl suspend and resume event source to backlight driver
from platform driver.
Clean-up codes.

Bug 813111

Change-Id: If04b77bf0c3c3118f05107db6ffeaea7a21cdfac
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/35390
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rd0d57cb8166b138754e374dbbc47ab011c30d13d

7 years agovideo: tegra: dc: DC and HDMI debug info display
Heechul Yun [Fri, 20 May 2011 00:18:56 +0000]
video: tegra: dc: DC and HDMI debug info display

Following files will show information of DC and hdmi
/sys/kernel/debug/tegradc.[01]/{regs,mode,stats}
/sys/kernel/debug/tegra_hdmi/regs
/sys/devices/nvhost/tegradc.[01]/stats_enable

Bug 827295

Change-Id: I60bcf4454b9ea7d0ed73a6199595b06dbfa32cd7
Reviewed-on: http://git-master/r/32454
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rcd7e9f5cb51e0b7613ab3f8cc802b30f45b3092c

7 years agovideo: tegra: dc: underflow reset is for tegra2
Jon Mayo [Tue, 14 Jun 2011 22:20:24 +0000]
video: tegra: dc: underflow reset is for tegra2

only tegra2 needs dc underflow reset worker, disable worker if tegra2
support is disabled.

bug 836677

Change-Id: I98ba440f1d93c900fa1ce7d1bfd239e3060c437a
Reviewed-on: http://git-master/r/36597
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R0fc472527407865e5f8d6ec072d16778cd092d31

7 years agoarm: tegra: disable HDA clocks while not in use
Sumit Bhattacharya [Tue, 14 Jun 2011 14:46:13 +0000]
arm: tegra: disable HDA clocks while not in use

Disable HDA related clocks when device is not connected
to HDMI. HDA clocks will be enabled from HDMI driver when
HDMI device is hot plugged.

Bug 820213

Change-Id: I4e6839aab0dc5277b11c415cbb495766f72442b8
Reviewed-on: http://git-master/r/36517
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Niranjan Wartikar <nwartikar@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R0c38182820603e98ed36019858920632cf3f69e5

7 years agovideo: dsi: tegra: driver power management
Animesh Kishore [Fri, 10 Jun 2011 18:38:10 +0000]
video: dsi: tegra: driver power management

Implementation for:
- syncpt for ulpm
- power saving in different components of the controller
- correcting syncpt sequence for BTA

Bug 833709
Bug 793857

Change-Id: I60ff03c64dc46a3dd8e09e1c6d43ab8355b8b649
Reviewed-on: http://git-master/r/36142
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R63486a8fbdbe5a0181cda9336ca1a73b95bdd780

7 years agonvhost: Add checks for # of GPU register sets.
Terje Bergstrom [Fri, 29 Apr 2011 07:45:50 +0000]
nvhost: Add checks for # of GPU register sets.

Checks from a fuse whether we have one or two register sets.

 - fuse.h/fuse.c: Implement tegra_register_sets()

 - nvhost_3dctx.c: Use tegra_register_sets() to determine number of
   sets to save.

 - dev.c: Create entry /sys/module/nvhost/parameters/register_sets to
   return to user space the number of sets.

Change-Id: Ibd9a50cfe77a642335bd85b5814e8fdd8d2c35e6
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/29786
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R2f4e5bb376ad669781e6289a9b11eb86ad63b472

7 years agonvhost: Enable MPE powergating, except when open.
Terje Bergstrom [Mon, 16 May 2011 07:24:08 +0000]
nvhost: Enable MPE powergating, except when open.

Enable MPE power gating, but keep it powered on when userspace has a
channel open.

Bug 809847

Change-Id: I30a297c079c0911fdaf9de528e3d5bf4a7cc1d72
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/32179
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R2c0b0d6a38011c08181c95886ac5df1c822c6a33

7 years agoarm: tegra: enterprise: Controls for 3d barrier
Alex Odorovic [Mon, 23 May 2011 10:42:27 +0000]
arm: tegra: enterprise: Controls for 3d barrier

Adds userspace control for 3d barrier on 3d panel found on enterprise.
Provides 2 sysfs files:

/sys/devices/nvhost/tergradc/stereo_mode
/sys/devices/nvhost/tergradc/stereo_orientation

These are used to enable/disable 3d barrier and control it's
orientation, respectively.

Change-Id: I580f0992c19cbee9a695bac9bef503c9888abc83
Reviewed-on: http://git-master/r/32575
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rcbf4758dbc1637ebfe924d48f543cc657dd8abdc

7 years agovideo: tegra: nvmap: Fix nvmap_handle.c compile
Dan Willemsen [Mon, 13 Jun 2011 22:04:10 +0000]
video: tegra: nvmap: Fix nvmap_handle.c compile

Rebase-Id: Re05bf8da51b75cfd7c8a10677fce557c76593a43

7 years agovideo: tegra: nvmap: Fix iovm_commit accounting issue.
vdumpa [Thu, 9 Jun 2011 00:42:19 +0000]
video: tegra: nvmap: Fix iovm_commit accounting issue.

Bug 835748

Original-Change-Id: I67766cc94496162816cbef4689fa806553d6edfa
Reviewed-on: http://git-master/r/35792
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: Ree8a45408d5763ec8db2cc4072add4c347326f99

7 years agovideo: tegra: dc: configurable LCD parent clock
Jon Mayo [Thu, 2 Jun 2011 03:10:27 +0000]
video: tegra: dc: configurable LCD parent clock

use a .parent_clk field to allow forced configuration of parent of
LCD/RGB clock. default is to use "pll_p".

Bug 829081

Original-Change-Id: If891e38022b7e88836d41385f60be66d48e366f9
Reviewed-on: http://git-master/r/34833
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Tested-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rb97abda6cee3fcff379fe253372c203df073dbab

7 years agonvrm: move stale wait checking into the kernel
Chris Johnson [Sat, 30 Apr 2011 21:24:44 +0000]
nvrm: move stale wait checking into the kernel

The kernel now receives wait tracking data (similar to gathers and
relocs) and compares the current syncpt with the threshold value.

If it's old, it gets a kernel mapping and rewrites the method data
to use a kernel reserved syncpt that is always 0 (so trivially pops
when seen by the HW).

Bug 519650
Bug 785525
Bug 803452

The waitchk implementation is also backward compatible with older
user space code that didn't supply waitchk data as part of the
submit.

(cherry picked from commit 4069d8e67665624ad3dceb628e572980dd57acd0)
(cherry picked from commit 6e4336408588e348804a62e53386acc9abc06823)
(cherry picked from commit 87a9efe751716ca741caac72b9061fdfdcec540a)
(cherry picked from commit 6d8d2c454e835f7cfe34371e07dac173f3153452)

Original-Change-Id: I1bf4c940fefb6e251aa8c396e92631fa3cbe32df
Reviewed-on: http://git-master/r/23159
Reviewed-on: http://git-master/r/30281
Reviewed-on: http://git-master/r/32669
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rbad4942a103de7d64d8a6a11d4a973740c56fa8e

7 years agoarm: tegra: nvhost: Add debugfs entry for null GPU kickoff
Janne Hellsten [Tue, 24 May 2011 12:34:13 +0000]
arm: tegra: nvhost: Add debugfs entry for null GPU kickoff

Add a debugfs entry for enabling/disabling GPU null kickoff of
graphics submits on a per process basis.

Restructure existing tegra_host debugfs node by making the existing
tegra_host file a directory and moving the status query under its own
status node.  Thus the file system structure changes from:

/sys/kernel/debug/tegra_host - status

to

/sys/kernel/debug/tegra_host/status - status
/sys/kernel/debug/tegra_host/null_kickoff_pid - null GPU ctl

Bug 826513

Original-Change-Id: Id7ccbce1bb9e53c6e3b036d10f23563fab6bf481
Reviewed-on: http://git-master/r/32765
Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
Tested-by: Janne Hellsten <jhellsten@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

Rebase-Id: R8bfacafbd0a74cddf33cded06331e52b53564156

7 years agovideo: tegra: host: Work towards enabling 3d power gating
Shashank Garg [Tue, 17 May 2011 11:25:23 +0000]
video: tegra: host: Work towards enabling 3d power gating

Fixed clock enable/disable balance issue. Added code for power gating 3d1.

Power gating still disabled as it won't work for T20 or T30 A01.

Original-Change-Id: Idcc5fd9d21d43c796bbeeac378a46f9eca3ab1c9
Reviewed-on: http://git-master/r/31142
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Shashank Garg <sgarg@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R80f171724518d94364e169416788d4ce577b3a66

7 years agovideo: tegra: nvmap: Add support to allocate specific IOVM
vdumpa [Mon, 16 May 2011 02:31:15 +0000]
video: tegra: nvmap: Add support to allocate specific IOVM

Original-Change-Id: I95cdf71e74947d4394e0cfd272a29c47562d4059
Reviewed-on: http://git-master/r/31648
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rb8c6f92bdfd0bf124a878800a793828fa61c0043

7 years agovideo: dsi: tegra: Stop dc stream before configuring dsi
Animesh Kishore [Thu, 2 Jun 2011 16:25:37 +0000]
video: dsi: tegra: Stop dc stream before configuring dsi

Advantage is that it avoids glitches on panel arising while dsi
registers are being configured.

Bug 833685

Original-Change-Id: I6c36749ae964aa4669c4e3cccd551405d3542a4e
Reviewed-on: http://git-master/r/34926
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R423ce1bc27a1cf99c441ee4d56aba2dd53dcf696

7 years agovideo: tegra: nvmap: single page allocation policy corrected
Kirill Artamonov [Tue, 24 May 2011 10:12:43 +0000]
video: tegra: nvmap: single page allocation policy corrected

When user doesn't use default heap policy and selects
GART or carveout allocation, automatic single-page-to-sysmem
rule doesn't work. Because of broken rule many single page
allocations take extra space in carveout and create
unnecessary page mappings in GART and SMMU.

The fix adds sysmem bit to heap mask when allocation is
single page and GART or carveout is present in heap mask.

bug 730124
bug 731923

The change also does sanity check of available system memory
before adding sysmem bit for carveout allocations.

bug 777839

Original-Change-Id: I13a62653825f6c80581adcd2682fb2608d3a284e
Reviewed-on: http://git-master/r/31383
Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com>
Tested-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R278606210f20aacc885fa9eb06b3a2a3d8677b55

7 years agovideo: tegra: dc: Selecting proper output signal or LM0/1
Laxman Dewangan [Wed, 1 Jun 2011 17:41:56 +0000]
video: tegra: dc: Selecting proper output signal or LM0/1

If LM0/LM1 output signal is selected from the PWM PM0 and PM1 then
configuring the output select register accordingly.

bug 831073

Original-Change-Id: I7546fd86a10dbf3ca3fa114d0e528ec8b9ee0e4f
Reviewed-on: http://git-master/r/34733
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R99e5dff91c5e7c9c7367c2b591ca16c804cdbed1

7 years agovideo: backlight: tegra: Supporting DC-pwm on Tegra3.
Laxman Dewangan [Wed, 1 Jun 2011 17:46:03 +0000]
video: backlight: tegra: Supporting DC-pwm on Tegra3.

Supporting the dc pwm based backlight control for TEGRA3
SOC.

bug 831073

Original-Change-Id: I21e430e28472285636612b71732a8b94e609bb91
Reviewed-on: http://git-master/r/34734
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Re9ee1077cf2c77017472740ac7bc50e4dc7e3ce8

7 years agovideo: tegra: dc: fix ksv_list query sequence and timeout handling
Peter Zu [Sat, 28 May 2011 06:13:15 +0000]
video: tegra: dc: fix ksv_list query sequence and timeout handling

- remove delay on i2c r/w success to fix hdcp test case 1b-03 failure
- do not turn on hdcp crypt before verifying repeater

bug 829599

Original-Change-Id: I43718636342cb0d396cc702a8374d61da72844a7
Reviewed-on: http://git-master/r/34645
Tested-by: Peter Zu <pzu@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R209e114e898cb2052233d6e8d24a2e5be3fbd32a

7 years agotegra: dc: fix dc hang during dc reset
Min-wuk Lee [Thu, 2 Jun 2011 02:03:01 +0000]
tegra: dc: fix dc hang during dc reset

1. fix dc hang during dc reset
2. do dc reset after dc clk enabling
in reset worker function
3. remove a few build warnings

Bug 801463

Original-Change-Id: Ib7fe65555d7b0cdc8ae73fd3afd28d2b95e2d57e
Reviewed-on: http://git-master/r/33112
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Tested-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>

Rebase-Id: R4e8a48b950a7f5965953dcb9490a61a486c4d779

7 years agoarm: tegra: Clean up SOC conditionals
Scott Williams [Tue, 24 May 2011 05:08:42 +0000]
arm: tegra: Clean up SOC conditionals

Change SOC conditionals to make them more forward-looking.

Original-Change-Id: Ib60db4e690c2f396afdec962616d735548b5a8a9
Reviewed-on: http://git-master/r/32706
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R4731d27b650940a5d532419616fefc495c621305

7 years ago[ARM] tegra: Extend the wait interface in the host
Paul Hodgson [Wed, 9 Mar 2011 12:18:26 +0000]
[ARM] tegra: Extend the wait interface in the host

Extend the wait interface to relay the actual resultant waited
point back.

Original-Change-Id: Idbaa96b186390a2383ef2cc99aefb950648a2d19
Reviewed-on: http://git-master/r/23033
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rd30d550f9adbd84f643201c17c61a46e80884e86

7 years agovideo: tegra: host: add additional syncpoint id
Prayas Mohanty [Mon, 2 May 2011 10:54:23 +0000]
video: tegra: host: add additional syncpoint id

For stereo camera, we need to read syncpoints from
both the rear sensors which are on their own pixel
parsers. Add an additional sw syncpoint for that.

bug 787214
bug 786928

Original-Change-Id: I4dff7fa636ff548de44544f845a5a1ba0c402d6d
Reviewed-on: http://git-master/r/30009
Tested-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R927b1c2297441f9c30afdc8c623a8299340b6771

7 years agovideo: dsi: tegra: Support for sync point
ankishore [Wed, 18 May 2011 05:48:13 +0000]
video: dsi: tegra: Support for sync point

Adding support for sync point in dsi kernel driver

Bug 807903

Original-Change-Id: Id0520be9896bdb7f96718e38d548bc2f7e52fa3e
Reviewed-on: http://git-master/r/31939
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R364c6b99608b2743c94cf80779305ce56e1570ea

7 years agovideo: dsi: tegra: driver power management
ankishore [Mon, 16 May 2011 09:16:24 +0000]
video: dsi: tegra: driver power management

Support for power management in dsi kernel driver

Bug 793857

Original-Change-Id: If2ac183c830974d33b9aeeb615178cf554136bbf
Reviewed-on: http://git-master/r/31541
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>

Rebase-Id: R25378071d2ca6ad17982d1cad5512d66ebe63c1e

7 years agotegra: iovm: Limit forced Carveout-to-IOVM conversion to tegra 3
Hiro Sugawara [Tue, 17 May 2011 20:15:05 +0000]
tegra: iovm: Limit forced Carveout-to-IOVM conversion to tegra 3

Bug 828027

Original-Change-Id: I890e0481be5aade59bc68510c9fe5929bb3b64a2
Reviewed-on: http://git-master/r/31902
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R7daa676019d94684e5245d850a49274903578332

7 years agoARM: tegra: dc: lower hdmi clock before set rate
Jon Mayo [Sat, 14 May 2011 00:28:58 +0000]
ARM: tegra: dc: lower hdmi clock before set rate

choose a higher clock divider on hdmi before switching clock parents.
This prevents hdmi from exceeding its DVFS clock limits.

Original-Change-Id: I09c23498bf6450cf19e91accb788715582c3befb
Reviewed-on: http://git-master/r/31605
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: Red51c8e99dcc60fe4cda52efba77e1182e89e3b5

7 years agomedia: tegra: avp: Allocate IOVMM first for AVP
Kaz Fukuoka [Sun, 15 May 2011 00:46:24 +0000]
media: tegra: avp: Allocate IOVMM first for AVP

bug 827505

Original-Change-Id: If6d4fd137b72c3a08bf8fb1094d8dd31ab361f1c
Reviewed-on: http://git-master/r/31633
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Tested-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Frank Thomas Bourgeois <fbourgeois@nvidia.com>

Rebase-Id: R563eaa39b299d89133f7a9fb4b1c7129e8ddb71e

7 years agoarm: tegra: nvmap: Forcing to convert CarveOut requests to IOVM
Hiro Sugawara [Thu, 17 Mar 2011 20:58:13 +0000]
arm: tegra: nvmap: Forcing to convert CarveOut requests to IOVM

Adding a build time CONFIG option to enable forcing of conversion
of non-IRAM CarveOut memory allocation requests to IOVM requests.
Default is "y" to force the conversion.
Each forced conversion is reported to console.
Allocation alignments larger than page size for IOVM are enabled.
Single page CarveOut allocations are converted to system memory.
CarveOut memory reservation has been removed for aruba, cardhu,
and enterprise.

Original-Change-Id: I3a598431d15b92ce853b3bec97be4b583d021264
Reviewed-on: http://git-master/r/29849
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R602260e283f721b7e0f0d802092516ff68c068fe

7 years agovideo: tegra: dsi: Adjusted the values of packet sequence registers.
Kevin Huang [Tue, 3 May 2011 17:52:24 +0000]
video: tegra: dsi: Adjusted the values of packet sequence registers.

Changed the values of packet sequence registers for DSI burst video mode.

Original-Change-Id: I70188ed3c8fff094862a89377457751fd0d4382c
Reviewed-on: http://git-master/r/31080
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Tested-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R15b821f1f77afa2a323c92b4db660781a3f6a219

7 years agonvhost: Add tracing to nvhost driver.
Terje Bergstrom [Thu, 28 Apr 2011 13:32:33 +0000]
nvhost: Add tracing to nvhost driver.

Creates /d/tracing/events/nvhost. Logs channel opens, closes,
writes and flushes. For writes, logs number, size and address
of cmdbufs and number of relocs.

Original-Change-Id: I5bdadcb40c31e3f057eb8c4579b95e235d860e39
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/29770
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

Rebase-Id: Rbe763a4da9f5c431170301f91fa1bc4cb4ed8f0e

7 years agovideo: tegra: Added sysfs for dc/smartdimmer
Laurence Harrison [Thu, 7 Apr 2011 01:26:21 +0000]
video: tegra: Added sysfs for dc/smartdimmer

Includes:
1.) Added basic DC sysfs objects.
2.) Sysfs objects and functions for smartdimmer settings.
3.) Register dump access for smartdimmer.
4.) Improvements to the behavior of smartdimmer (now updates
    at the end of vblank instead of the beginning).
5.) Rename v_blank_complete to vblank_complete to keep in
    same effective style as the rest of the code.

Original-Change-Id: I59addcc479880322d49b24d1206009def3c4b392
Reviewed-on: http://git-master/r/29893
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3a65726e3644d01b374f9774e966d635234567b4

7 years agovideo: tegra: Fixed compilation warnings.
Kevin Huang [Fri, 6 May 2011 20:40:53 +0000]
video: tegra: Fixed compilation warnings.

Original-Change-Id: Ie46f78c54ea8f7bf04fa33c368123e760c072999
Reviewed-on: http://git-master/r/30751
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Raf05cd039655b68ebd398c5cf517c292ba10d493

7 years agoARM: tegra: dc: Fix overlay emc scaling calculations
Alex Frid [Wed, 4 May 2011 05:36:43 +0000]
ARM: tegra: dc: Fix overlay emc scaling calculations

Bug 822754

Original-Change-Id: I0b46083137efe1221faf4b71763c5c805c2b928d
Reviewed-on: http://git-master/r/30310
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb6df5db1b5e18ef45d8b492c467409bed01f6733

7 years agovideo: tegra: dc: handle error condition
Amit Kamath [Wed, 27 Apr 2011 12:23:43 +0000]
video: tegra: dc: handle error condition

Do not handle requests further for displays that are not enabled

BUG 813310

Original-Change-Id: Id4dc73cd9603b84d4ff1c62ae58fb19fc59a7e41
Reviewed-on: http://git-master/r/29515
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R602328df16df1b9c5e94a2737fa20181359a3c6e

7 years agoARM: tegra: dc: fix h_ref_to_sync calculation
Jon Mayo [Fri, 29 Apr 2011 23:43:24 +0000]
ARM: tegra: dc: fix h_ref_to_sync calculation

use smaller h_ref_to_sync values.
removed old debug printks

Bug 806009

Original-Change-Id: Iaf2cf258fcfb840df1863a69bcbba236486d2551
Reviewed-on: http://git-master/r/29900
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Chong Zhang <chzhang@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rddb9941a95c37a509a024036bc8711019a65baf6

7 years agovideo: tegra: dc: stop hdcp when keys are missing
Jon Mayo [Fri, 29 Apr 2011 23:57:07 +0000]
video: tegra: dc: stop hdcp when keys are missing

verify Aksv, if it is invalid then quickly disable further hdcp checks.

Bug 792855

Original-Change-Id: I4a9d689d571d2f916e11f92f5b897f287f724068
Reviewed-on: http://git-master/r/29899
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R198c9da7c918732a9b764063d12fd7de3792e5b8

7 years agoARM: tegra: dc: clip invalid windows to screen res
Jon Mayo [Fri, 29 Apr 2011 03:25:13 +0000]
ARM: tegra: dc: clip invalid windows to screen res

clip invalid windows to fix screen size, failure to do so causes display
errors that result in corrupted display and invalid video modes.
prints a warning only once, if this warning is present in the logs then
there is a misbehaving application.

Bug 821094

Original-Change-Id: Ief7b6379026e6abeb31a28aabf920618edd7ab44
Reviewed-on: http://git-master/r/29759
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rbbd1c33e5d4b58b5ddc8a4910b6851dc9bb73d63

7 years agoARM: tegra: dc: fix mutex lock in reset worker
Jon Mayo [Fri, 29 Apr 2011 22:08:56 +0000]
ARM: tegra: dc: fix mutex lock in reset worker

unlock mutex if reset worker finds the display disabled.

Bug 801463

Original-Change-Id: I22bff26b5b72e75f0c46efb68446ec2257e8273f
Reviewed-on: http://git-master/r/29898
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Michael I Gold <gold@nvidia.com>

Rebase-Id: Rc38b140352b443963756a0b0385261065a58b1e0

7 years agoHACK: Enable HDMI hotplug
Dan Willemsen [Fri, 1 Apr 2011 06:33:08 +0000]
HACK: Enable HDMI hotplug

Original-Change-Id: I0aabdebab1765014c2a853f41ec53fba3cce6670

Rebase-Id: R4ac77645bd5c1a615d9045dccdd1cc40e9d05938

7 years agovideo: dsi: tegra: Read from dsi panel
ankishore [Fri, 15 Apr 2011 06:16:51 +0000]
video: dsi: tegra: Read from dsi panel

Support to read from dsi panel even with dc stream on.

Original-Change-Id: I4ecbeded43d3e8424d66f64321f902c540163427
Reviewed-on: http://git-master/r/27465
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Original-Change-Id: I68c59bb0d8f8761102e10f130029ffce827cdadb

Rebase-Id: R6b3498b0cb1b9608ca457ab9869d97ad46bea4f9

7 years agoARM: tegra: Use proper type for physical addresses
Scott Williams [Wed, 13 Apr 2011 00:47:52 +0000]
ARM: tegra: Use proper type for physical addresses

Original-Change-Id: I158d2be97c795313e7e74ce9fb4ec0bdc7d95496
Reviewed-on: http://git-master/r/27559
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Hiro Sugawara <hsugawara@nvidia.com>
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I0ff198daa548ed2837f7fb1794013bf0adf7e5a1

Rebase-Id: R83df5f3b5104183bfe774d8eed8ce94427c9b7fc

7 years agoarm: video: tegra: dc callbacks for hotplug init
Jon Mayo [Wed, 13 Apr 2011 01:14:22 +0000]
arm: video: tegra: dc callbacks for hotplug init

add new dc out callback hotplug_init and postsuspend to handle board
specific configuration of power and gpios for detecting hotplug.

bug 812083 bug 811523

Original-Change-Id: Ia7937cc9461465502cabbd2a5efaee0093bccfe0
Reviewed-on: http://git-master/r/27570
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: Iab0fbe0e493ad3818416454ba7a2dda679f68dfb

Rebase-Id: R8869de766d7939a7be48a4860c45d18ac7a2ffed

7 years agoARM: tegra: dc: hdmi drive strength changes
Jon Mayo [Thu, 10 Feb 2011 23:35:38 +0000]
ARM: tegra: dc: hdmi drive strength changes

use pixel clock to configure HDMI interface signaling properties.
These options are different depending on which SoC.

Bug 786961 Bug 795251

Original-Change-Id: Ic898e87134cbac0fe5723242febdf46bc5b72d32
Reviewed-on: http://git-master/r/19176
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I98d68da65e590a0eb5cf7fac166d05e0c531bd5f

Rebase-Id: Re162cfbb1042f6e19b38d2de3e278677dc702361

7 years agovideo: tegra: nvmap: Remove dead code
Dan Willemsen [Fri, 1 Apr 2011 06:36:58 +0000]
video: tegra: nvmap: Remove dead code

This commit:
tegra:video:nvmap: optimize cache_maint operation.

added some dead code

Original-Change-Id: I9193a7865f5e3126b06950efaf9b5a4b6c7fd919

Rebase-Id: R30ba7719d8aa6ad48d708714396299b154cf0131

7 years agoARM: tegra: dc: fix deadlock on overlay wq flush
Jon Mayo [Thu, 31 Mar 2011 03:23:39 +0000]
ARM: tegra: dc: fix deadlock on overlay wq flush

dc lock is head while flush occurred, but functions called by workers need
take the dc lock to proceed.

Bug 807015

Original-Change-Id: Id30c5c768947f8f9959b01be3983761a18c5a1e5
Reviewed-on: http://git-master/r/24890
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I6537018e03cfc354af9a7187d2fdd019cfe55960

Rebase-Id: Rc1c42255aef998f6741fe1484356a884479b8ec8

7 years agovideo: tegra: dsi: Stop dc stream at the frame end
kevinh [Fri, 18 Mar 2011 07:12:40 +0000]
video: tegra: dsi: Stop dc stream at the frame end

Fixed tegra_dsi_stop_dc_stream() to flush register immediately.
Added tegra_dsi_stop_dc_stream_at_frame_end().

Original-Change-Id: Ie4fe1f6d59e6bf0dab40251f33a0c2f8d816fdd8
Reviewed-on: http://git-master/r/23488
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Tested-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I398cb977146656936c5768c2bc3ec83f7bdc7c66

Rebase-Id: Rda5a11692992edd47c49e0f30446efc0a26e747e

7 years agovideo: tegra: host: Backwards compatible null kickoff
Andrew Howe [Thu, 24 Mar 2011 16:24:47 +0000]
video: tegra: host: Backwards compatible null kickoff

Change back to the backwards compatible null kickoff method
(having a separate ioctl).

Original-Change-Id: Ifb6e706ac9e068c5bc8d834fe61f797f14c5889f
Reviewed-on: http://git-master/r/24159
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Ifde9ee33e072ec502fcd855ffc8d92d312946a00

Rebase-Id: R1884e0a57bf63fced738567acf5c521d1c8109b9

7 years agovideo: tegra: host: Add emc clock to gr2d, gr3d and mpe modules
Andrew Howe [Thu, 24 Mar 2011 15:06:50 +0000]
video: tegra: host: Add emc clock to gr2d, gr3d and mpe modules

Add emc to the set of units to power-manage.

Original-Change-Id: I9d9624ce3673fc005447df3356867b37f4a75006
Reviewed-on: http://git-master/r/24158
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I75a48f19bd94b832b9f70707806aef26a53cae45

Rebase-Id: Rac3067ac41491e4e3a63f64ff87df851b2e9bc6c

7 years agovideo: tegra: host: Renovate debug code
Andrew Howe [Tue, 22 Mar 2011 16:38:23 +0000]
video: tegra: host: Renovate debug code

Bring in changes to enable dumping the debug state
to the kernel log (used when module suspend times out).

Rewrote debug code to get that working more cleanly (no 16K buffer).

Refactored & cleaned up debug code to make it easier to understand.

Original-Change-Id: I22db36a627bfb1815a46866dfe23a5d3aa693edc
Reviewed-on: http://git-master/r/24157
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I92d7dcc4ede088179a5a1bca982fdfba1eeb3553

Rebase-Id: Ra013bf33c1002d2e37a7c97b7d4b441ad51f7211

7 years agovideo: tegra: host: Revert previous merge
Kishore Kumar Kunche [Tue, 8 Feb 2011 05:18:00 +0000]
video: tegra: host: Revert previous merge

The proper host driver patches will follow, based on the
pre-merge state.

also includes:
[ARM]: tegra: host disable MPE auto power gate
Fixes Random CRC failures on T30.
Original-Change-Id: Ib42b8efc30d9e8910934bb9350e8170c9096e614
Reviewed-on: http://git-master/r/18663

Original-Change-Id: I985bfbef277db4d533b67ee674db41d4a8daa18a
Reviewed-on: http://git-master/r/24296
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Iec8ea27d5648b7f9f8ac51f2aca79b5e7cf44879

Rebase-Id: Rcfb56b73d820c182354e6b91afa219148e4000b0

7 years agoUpdate copyrights
Scott Williams [Mon, 28 Mar 2011 07:34:42 +0000]
Update copyrights

Original-Change-Id: I2ffeaf6f8dfeb279b40ca6f69f6c9157401a746a

Rebase-Id: R5a6d087b717731c957b016f903fb82b4ea22b92d

7 years agovideo: dsi: tegra: Removing the dsi related macros
ankishore [Thu, 24 Mar 2011 12:26:51 +0000]
video: dsi: tegra: Removing the dsi related macros

Due to dynamic recognition of the board id these macros are no longer
required

Original-Change-Id: I4eafad1a8ccab3a3e493944fd4a90df8972e7521
Reviewed-on: http://git-master/r/24127
Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com>
Original-Change-Id: I90c1fe2a6a6f2a22b6389b3080c743dd20f1fe1a

Rebase-Id: Ra862a12a1b7882bd7a0d6633277ad2e9299cd74d

7 years agovideo: dsi: tegra: Support for dsi 2nd instance
ankishore [Tue, 22 Mar 2011 06:10:33 +0000]
video: dsi: tegra: Support for dsi 2nd instance

Made necessary changes in dsi kernel driver to support dsi 2nd instance
Bug id: 805483

Original-Change-Id: I1e333b243e31f285dca22351d999328d9d5f0485
Reviewed-on: http://git-master/r/22174
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I10ff6243a0c3b0e7114976a4615e8b26f382b7ec

Rebase-Id: R48ba2a5247d6e6d28d0794ae698e7afe877b2fd6

7 years agovideo: tegra: Added initial smartdimmer support
Laurence Harrison [Wed, 16 Mar 2011 04:43:45 +0000]
video: tegra: Added initial smartdimmer support

includes:
1.) changes to DC init to add SD functionality
2.) changes to DC flip to add SD functionality

Original-Change-Id: I8c729e16e2b8a5a4158697b99cc4b3d07bf02001
Reviewed-on: http://git-master/r/21452
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I4ad3ee3778a0e859e0d2b0c36ee6369193795cd3

Rebase-Id: Rd133da1af5c8b283b1886b025b8b1880ec61fde0

7 years agovideo: tegra: calculate h_ref_to_sync for mode
Jon Mayo [Fri, 11 Mar 2011 22:39:26 +0000]
video: tegra: calculate h_ref_to_sync for mode

add tegra_dc_set_fb_mode() to create tegra_dc_mode from fb_videmode.

Original-Change-Id: Icfaf99ab1c14b64f52b5b382bc8b94ed2e8306db
Reviewed-on: http://git-master/r/22689
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I233b15e1c88e0946752cac1251d5122a1f50a579

Rebase-Id: R7e280e6d4a1e2f2432ec4ca85bfcf209fd55c9dc

7 years agoarm: tegra: Ignore DC interrupts on FPGA platforms
Bo Yan [Fri, 11 Mar 2011 02:04:22 +0000]
arm: tegra: Ignore DC interrupts on FPGA platforms

Bug 800669

Original-Change-Id: I4b3a58b4938c4582a3738714c301541b752be844
Reviewed-on: http://git-master/r/22500
Tested-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: Id050088e6b2ac4289ab9a5dcca0f7f3288354dac

Rebase-Id: Rc7e17b39fd0a986a333bd8aae78a116fca9ebbdc

7 years agovideo: dsi: tegra: Correcting clock api in dsi driver
ankishore [Mon, 14 Mar 2011 06:02:34 +0000]
video: dsi: tegra: Correcting clock api in dsi driver

Corrected the arguments being passed in the clock api.

Original-Change-Id: I1515280b2f1e4856910923340aeb67b4a4867e7b
Reviewed-on: http://git-master/r/22780
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Original-Change-Id: Ibc2ce652b8dbfb8aa40d75ac502cf72768697480

Rebase-Id: Redbc4be423706727d150798bc78273bafafd89d1

7 years agovideo: tegra: use low power for any type of blank
Jon Mayo [Thu, 10 Mar 2011 23:42:15 +0000]
video: tegra: use low power for any type of blank

use a lower power mode for any type of FB_BLANK instead of only supporting
FB_BLANK_POWERDOWN.

Original-Change-Id: I1dc9a6bb29808802563afb07fb5d7b41a5ba5c3d
Reviewed-on: http://git-master/r/22467
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Tested-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: I4402e7f067a7f30e6a728c8b3ec4a00821741cbe

Rebase-Id: R6e8ac6c8cecd5ae91817e4225a166bac155c9d72

7 years agoarm: tegra: hdmi:audio freq and source selection
mohit singh [Tue, 1 Mar 2011 05:49:35 +0000]
arm: tegra: hdmi:audio freq and source selection

- moving the new API to a new file under mach tegra
  include.

Original-Change-Id: I0e898883bbf5ab0f24573bb334ff355564118f2f
Reviewed-on: http://git-master/r/21206
Tested-by: Mohit Singh <mpsingh@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I232974ba41e9b3589aebf6aa25a9ab17d4dd12dd

Rebase-Id: R09f335e4905579ca334a1f8132a3d6f96ada0555