8 years agocrypto: tegra-aes: perf: remove unnecessary polling and memset
Varun Wadekar [Fri, 14 Jan 2011 07:49:25 +0000]
crypto: tegra-aes: perf: remove unnecessary polling and memset

Change-Id: I69731fcd50933ccea73542d046c3c5d86d03fcd9
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Raea837055fa37ce463585027b5fdcf6b8487d130

8 years agovideo: tegra: host: Force memory bus to full when using 2d, 3d or mpe
Colin Cross [Fri, 14 Jan 2011 23:07:27 +0000]
video: tegra: host: Force memory bus to full when using 2d, 3d or mpe

Change-Id: I7138af5d26c3f406537bc4b2bc4bb052de37f7bf
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: R7db42eb50c3465b3bbd1ab78959571c372ca5853

8 years agoARM: tegra: clock: Add round_rate op for shared clocks
Colin Cross [Fri, 14 Jan 2011 23:06:29 +0000]
ARM: tegra: clock: Add round_rate op for shared clocks

Change-Id: Ica3f9fd9db4fe38f2c9ca3fc248526211f59c622
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: R4158d17fdfd981f5a9c785fc2ffc21217dc50045

8 years agovideo: tegra: host: disable MPE auto-power-gate
Mayuresh Kulkarni [Fri, 14 Jan 2011 02:22:43 +0000]
video: tegra: host: disable MPE auto-power-gate

It is seen that auto-power-gate of MPE causes some issues when long run
camera stress test is run. The issue manifest itself in the form of
MPE sync-point not getting triggered from hardware and hence the caller
who is waiting on it hangs up the system.

Disabling auto-power-gate for MPE seems to resolve this issue.

Original work of Jay Cheng <jacheng@nvidia.com>
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

Change-Id: Iaef9f959cbc00dd715352ca637955cd2bea6f355

Rebase-Id: R8565f71486b11b946457f1cb015613b7ee7f4357

8 years agovideo: tegra: nvmap: Several fixes to the carveout killer
Rebecca Schultz Zavin [Thu, 13 Jan 2011 00:22:36 +0000]
video: tegra: nvmap: Several fixes to the carveout killer

-Modify the carveout killer to only kill tasks with lower priorities
than the one that's trying to allocate
-After delivering a sigkill to a task, wait for something to exit and
cleanup before retrying the allocation

Change-Id: If62b6ed008a73fc3c347ff26735a83eee284909e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

Rebase-Id: R67e238e36fdb9afe0e7a8aa4433babe59a610191

8 years agovideo: tegra: reset default window in release
Sergey Kudakov [Thu, 21 Oct 2010 22:55:50 +0000]
video: tegra: reset default window in release

Change-Id: I242e9fac525472c5c20f213a6de516f95b2f6a12
Cc: Sergey Kudakov <sergey.kudakov@motorola.com>
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: Rff527ad04253586f643503c76ddb3387871cabd6

8 years agocrypto: tegra-aes: Hack to disable HW AES for dm-crypt
Ken Sumrall [Wed, 12 Jan 2011 23:58:37 +0000]
crypto: tegra-aes: Hack to disable HW AES for dm-crypt

The hardware aes engine is required for key management for
HDCP, but since it's performance is bad, we don't want it
enabled for dm-crypt.  This hack changes the cra_name field
so dm-crypt won't find a match, but leaves the cra_driver_name
field unchanged to the device file interface will still find it.

Signed-off-by: Ken Sumrall <ksumrall@android.com>

Rebase-Id: R197f53f3b07876e4dde20c56a2aff533ea32c433

8 years agocrypto: tegra-aes: improve encrypt/decrypt performance
Varun Wadekar [Wed, 12 Jan 2011 20:59:14 +0000]
crypto: tegra-aes: improve encrypt/decrypt performance

- enable/disable clocks only once per request
- create a thread for handling the driver's work queue
- always set vde clocks to the max before processing a request

Change-Id: I935e5523e9e913c93705cc694f8a475d212c15ce
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R737736aa606fbf6c8f5320fa94a9772c5f61790f

8 years agovideo: tegra: nvmap: Don't store task struct for kernel threads
Rebecca Schultz Zavin [Wed, 12 Jan 2011 19:10:34 +0000]
video: tegra: nvmap: Don't store task struct for kernel threads

No need to maintain a reference to the task struct if the client
is a kernel thread.  In this case just set the task to NULL.

Change-Id: Ica4785388932f6b298eeb0da04b78b0e1cdc3a44
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

Rebase-Id: R552a2c353667528c27236454684d1a389dfcadff

8 years agocrypto: tegra-aes: call INIT_COMPLETION before setting the transfer
Varun Wadekar [Tue, 11 Jan 2011 08:33:54 +0000]
crypto: tegra-aes: call INIT_COMPLETION before setting the transfer

Change-Id: I368a9bf8aa1c311532e54d18a813b556576b8da1
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R762b99e1b2fd7a5451a921909257881cc071373d

8 years agocrypto: tegra-aes: do not reset bsev/vde per operation
Varun Wadekar [Fri, 7 Jan 2011 13:02:00 +0000]
crypto: tegra-aes: do not reset bsev/vde per operation

avp does not use the crypto engine inside the vde block,
so it is ok if we do not reset the entire block before
any crypto operation. this would save more than 100us per crypto
operation.

Change-Id: I4e6f4940c5b6e95498b6f7a62498fbf956e25254
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R5ac077596645edbcbb9f4715c7492d761f539f1e

8 years ago[ARM] tegra_i2s_audio: fixed several issues
Eric Laurent [Wed, 12 Jan 2011 03:39:58 +0000]
[ARM] tegra_i2s_audio: fixed several issues

- Acquire the DMA request spinlock in dma_tx_complete_callback()
(this was omitted)
- allow_suspend() was called by mistake in start_recording_if_necessary()
every time it was executed which could cause the wake lock to be
released during audio capture.

Signed-off-by: Eric Laurent <elaurent@google.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>

Rebase-Id: R3b5f8d6e3c389301684ca20520f7bbf3ad691869

8 years agovideo: tegra: work around overlay corruption on underflows
Erik Gilling [Wed, 12 Jan 2011 00:32:20 +0000]
video: tegra: work around overlay corruption on underflows

Overlays can get their internal state corrupted during and underflow
condition.  The only way to fix this state is to reset the DC.  If we get
4 consecutive frames with underflows, assume we're hosed and reset.

Change-Id: Icdf61517837c8570b8de35f585075de08aa35fe7
Signed-off-by: Erik Gilling <konkers@android.com>
Cc: Michael I. Gold <gold@nvidia.com>

Rebase-Id: R29183c78d7ae141da18fdaa1eeedc03a896ed663

8 years agowatchdog: tegra_wdt: Several changes to watchdog driver
Rebecca Schultz Zavin [Tue, 11 Jan 2011 23:35:47 +0000]
watchdog: tegra_wdt: Several changes to watchdog driver

Add a config option to enable the watchdog driver from probe
Reduce the default timeout to 30 seconds
Read the reset reason and print a messge if the last reboot was
due to watchdog reset

Change-Id: I7500ef236089b06ffcff3d8e7d86a5b9060b59cb
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

Rebase-Id: R120a350e6eee17d286555670d070584624b654cb

8 years agoARM: tegra: Fix powergate_debugfs_init return value
Benoit Goby [Mon, 10 Jan 2011 22:58:00 +0000]
ARM: tegra: Fix powergate_debugfs_init return value

Change-Id: Iff865e0f74e1667aa6e998a63d33d3b4cd09694c
Signed-off-by: Benoit Goby <benoit@android.com>

Rebase-Id: R6e019e592d687b69c0bc842e399e4ec1f27377d9

8 years agovideo: tegra: nvmap: Add carveout killer
Rebecca Schultz Zavin [Fri, 3 Dec 2010 23:43:33 +0000]
video: tegra: nvmap: Add carveout killer

This change attempts to reclaim carveout memory by killing
other carveout users when an allocation fails.  Processes
are killed in order of priority from lowest to highest, and then
from largest to smallest users.

Change-Id: Iee8a6f36269bc8165d691000a153dbf9f4337775
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

Rebase-Id: R73a95587250ab7b63a3c0ff62881f75bbef2b162

8 years agortc: tps6586x: Fix error in RTC tick calculations
Lowell Dennis [Wed, 15 Dec 2010 00:35:17 +0000]
rtc: tps6586x: Fix error in RTC tick calculations

In the TPS6586x PMU/PMIC RTC support code, when
converting from seconds to ticks using a shift
operator, the most significant bits were being lost
due to seconds being a 32-bit value and ticks being
a 64-bit value.  A hard cast was added to avoid this
loss.

Reviewed-by: Lowell Dennis <ldennis@nvidia.com>
Tested-by: Lowell Dennis <ldennis@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Peter Zu <pzu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: R52a09c0202e27c2761c5d1541d0aa7444e4a4435

8 years agousb: ehci: tegra: remove reschedule rh_timer
Jay Cheng [Thu, 6 Jan 2011 05:16:18 +0000]
usb: ehci: tegra: remove reschedule rh_timer

Reschedule rh_timer may cause usb device resume fail, as rh_timer may be
timeout and send USB_REQ_GET_STATUS SETUP control transfer by the time when
the device is handling clear suspend feature, which in turn the device may
drop clear suspend feature request.

Actually on port resume case, the host driver don't need to reschedule
rh_timer to check port status. The host driver will check port status right
after suspend feature is cleared.

Change-Id: I6205e97af49ed4349b6215b851f6b5f1394258d8
Signed-off-by: Jay Cheng <jacheng@nvidia.com>

Rebase-Id: Rb237c29547deb1ab0294fcf4e25263a4544b9297

8 years agoARM: tegra: powergate: Allow calling power up when already powered
Colin Cross [Sat, 8 Jan 2011 21:59:15 +0000]
ARM: tegra: powergate: Allow calling power up when already powered

Allow calling tegra_powergate_sequence_power_up on a partition
that is already powered.  Reset the partition, and return success
with the clock enabled.

Change-Id: I776c6a84091f0bb8faca22d87b3fabf0cfede564
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: Rbb11d3daa286f0eaf69c76c5ba023b3aa7188ed9

8 years agoNCT1008 temperature sensor driver
Todd Poynor [Mon, 20 Dec 2010 23:05:52 +0000]
NCT1008 temperature sensor driver

Replace the PM-only driver for NCT1008 with a new version written by
Varun Wadekar and Dmitriy Gruzman.  Add a callback to an alarm
function specified in the board platform data.

Change-Id: Ib429533930ee75af3402d24b0bc286da9f6ee67b
Signed-off-by: Todd Poynor <toddpoynor@google.com>

Rebase-Id: R50bf7691d332dd562e3ef125095c7cca7ccc3abf

8 years agomisc: Initial NCT1008 driver
Greg Meiste [Tue, 16 Nov 2010 19:33:06 +0000]
misc: Initial NCT1008 driver

Initial version of the NCT1008 driver to turn off the sensor when the
device is suspended.  This improves standby current drain.

Change-Id: Ia64613c33c0052434d5e304c434605611e5ef789
Signed-off-by: Greg Meiste <w30289@motorola.com>

Rebase-Id: R868814b9f4ec4ed834765d774195aad475bb7dcf

8 years agovideo: tegra: fix debug regs file hang
Erik Gilling [Sat, 8 Jan 2011 02:45:43 +0000]
video: tegra: fix debug regs file hang

Change-Id: I2bdfe5ec9f69b7b7960e59bec76fb9b02b61f3fb
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: Rf4388ddf3bdc23663351e3a5efccb334fe515589

8 years agocrytpo: tegra-aes: make aes_handle_req aynschronous
Varun Wadekar [Tue, 28 Dec 2010 09:31:18 +0000]
crytpo: tegra-aes: make aes_handle_req aynschronous

the encrypt/decrypt callbacks have to return with -EINPROGRESS
error code and the request complete callback needs to be
called from handle_req for aynchronous block ciphers. use
work queue to make the driver asynchronous.

Change-Id: I0dec1185c31e5de7ba039c39d6bd87c8b3487b2a
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rff5f6a454f4cea15dab0af972b4864ac94923cb9

8 years agovideo: tegra: host: Disable 3d powergating
Colin Cross [Fri, 7 Jan 2011 04:16:10 +0000]
video: tegra: host: Disable 3d powergating

It is possible for the 3d block to generate an invalid memory
request during the power up sequence in some cases.  Workaround
is to disable 3d block power gating.

Change-Id: I10efad1f7d3dada7cd3fe18e268f06d60bdbab67
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: Rf754e397b3028f644132795471ff942b3491464c

8 years ago[ARM] tegra: fuse: Add function to get Tegra revision
Colin Cross [Sun, 17 Oct 2010 22:00:08 +0000]
[ARM] tegra: fuse: Add function to get Tegra revision

Change-Id: I11783f5784454fec143393336195db40c9aa3160
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: Rb55e5d9039f2099f5b1c120c2faffc9ac65cb94f

8 years agoARM: tegra: Add emc_clk_rate field to dc platform data
James Wylder [Wed, 5 Jan 2011 21:27:03 +0000]
ARM: tegra: Add emc_clk_rate field to dc platform data

If passed in, use the required emc_clk_rate passed in from the
board file.  If no value set use ULONG_MAX as before.

Change-Id: I301f9fea8bf7297722b5e91e34c0dc7796c6095f
Signed-off-by: James Wylder <james.wylder@motorola.com>

Rebase-Id: R3a073a6bfd4a091814d633c48e6a9736a4a7719c

8 years agovideo: tegra: fix three overlay window blending
Ari Hirvonen [Thu, 30 Dec 2010 13:27:28 +0000]
video: tegra: fix three overlay window blending

Change-Id: I36e2540b5b98817b87efbe4ca2b1f4d4f19ceba4
Signed-off-by: Michael I. Gold <gold@nvidia.com>

Rebase-Id: Ra2444ecdbeaa627450858a57cca9eada15cfb6da

8 years agovideo: tegra: fix typo from register header
Ari Hirvonen [Thu, 30 Dec 2010 13:18:18 +0000]
video: tegra: fix typo from register header

Change-Id: Ifa7b454791f2d32cd1d12a8930890e061e835ef6
Signed-off-by: Michael I. Gold <gold@nvidia.com>

Rebase-Id: R5127808f5d09b23fdae1f7f65398d0071fef65a8

8 years agoARM: tegra: cpufreq thermal throttling cleanups
Todd Poynor [Tue, 21 Dec 2010 19:12:31 +0000]
ARM: tegra: cpufreq thermal throttling cleanups

Various review feedback, including:

Keep a global throttling index that specifies a ceiling CPU speed, lowered by one
at each delay interval (while the temperature alarm continues to be signalled).
Avoid lowering the throttle too far based on a transitory lowering of speed
requested by the governor.

Restore governor-requested speed when throttling turned off.

Add cpufreq sysfs attribute for checking throttling state.

Make throttling workqueue high-priority.

Cosmetic changes.

Change-Id: I068bf32115927fa61282f17f4a8798f2aee0b530
Signed-off-by: Todd Poynor <toddpoynor@google.com>

Rebase-Id: Rae4d1f856eeca986b163cdbc85f274d0e6493820

8 years agocrypto: tegra-aes: reduce ivsize to 16 bytes and priority to 100
Varun Wadekar [Mon, 27 Dec 2010 12:47:35 +0000]
crypto: tegra-aes: reduce ivsize to 16 bytes and priority to 100

Change-Id: I6f5a7107d1140cf67f6029111cb4df312ac1183c
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R4cb8c6376f56c01a44045e53bdf435c19d5ef14c

8 years agocrypto: tegra-aes: initialise bsev/vde clocks per operation
Varun Wadekar [Mon, 27 Dec 2010 06:53:47 +0000]
crypto: tegra-aes: initialise bsev/vde clocks per operation

Change-Id: Iaddea9ba9d3bee9c987776f37225dee483684274
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R9a109a6bc046bce0e4c06d3ba8d872cba36174a5

8 years ago[ARM] tegra: ventana: remove pda-power device
Varun Wadekar [Wed, 8 Dec 2010 12:51:59 +0000]
[ARM] tegra: ventana: remove pda-power device

pda-power is only needed on pdas and phones.

Change-Id: I46a668cc0ee3f4b23c63de48251591cf4a8f99e8
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rceab53eadeec252db83be44730758a70a2b14197

8 years agoARM: tegra: cpufreq: Change function signature for CPU speed throttling
Todd Poynor [Mon, 20 Dec 2010 23:53:54 +0000]
ARM: tegra: cpufreq: Change function signature for CPU speed throttling

The NCT1008 driver is now passed a function pointer from the board
file's platform data to be called when alarms are asserted or
deasserted.  Switch to a single function for throttling
enable/disable suitable for calling via the temperature alarm
callback.

Change-Id: Ic0eb1566a68e151216e26dfb6ed6f4bc7a273ddb
Signed-off-by: Todd Poynor <toddpoynor@google.com>

Rebase-Id: R5ba2d74c2bc4b0ea9dcce8796257e30825530a2c

8 years agoARM: tegra: Make CPU thermal throttling configurable
Todd Poynor [Sat, 18 Dec 2010 03:36:23 +0000]
ARM: tegra: Make CPU thermal throttling configurable

Based on work by Dmitriy Gruzman and Varun Wadekar.

Change-Id: I64d765628223b7ef1ec493b9e409ea11e9391b94
Signed-off-by: Todd Poynor <toddpoynor@google.com>

Rebase-Id: R6219d26660561e4b603052156cdd9cf227ed2040

8 years agovideo: tegra: nvmap: Add logging to some error conditions
Rebecca Schultz Zavin [Fri, 17 Dec 2010 23:06:38 +0000]
video: tegra: nvmap: Add logging to some error conditions

Change-Id: I1ec34fd4a6bb21a6d84912a7228c209f459261be
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

Rebase-Id: Rec9f6574052c87d041353415d9dce0ec83a7111b

8 years agocrypto: tegra-aes: Disable clock at end of probe
Colin Cross [Thu, 16 Dec 2010 20:51:22 +0000]
crypto: tegra-aes: Disable clock at end of probe

Change-Id: Ie5b98b705a7ec70782df5dc0aec69438b699661c
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: R1d81f911fc09604c68c6319f509d17882f31fad6

8 years ago[ARM] tegra: ventana: register AES device
Varun Wadekar [Sun, 17 Oct 2010 00:44:37 +0000]
[ARM] tegra: ventana: register AES device

Change-Id: I5badd8d4967d7a98439b6f4b5d1329b28ee0c2d4
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R7a407a30deea3251e8cca22d29e844a3cc7f2ede

8 years ago[ARM] tegra: add aes to devices.c
Varun Wadekar [Sun, 17 Oct 2010 00:40:43 +0000]
[ARM] tegra: add aes to devices.c

Change-Id: Id13075009d785e784ae6bd0feb9b29f3fa7184df
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rdaa65183a33756097e46b786e8dce03a216ebbc9

8 years agocrypto: driver for tegra AES hardware
Varun Wadekar [Mon, 18 Oct 2010 11:29:31 +0000]
crypto: driver for tegra AES hardware

driver supports ecb/cbc/ansi_x9.31rng modes, 128, 192 and 256-bit key sizes
and encrypt/decrypt using ssk.

Change-Id: I63e03ead5b53adc5e44cf5b60f9f700dea2a2e61
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Re8578b58f02bcbc926dca614c6713c452c60bde1

8 years agoARM: tegra: hardware arbitration semaphore support
Varun Wadekar [Fri, 15 Oct 2010 17:12:14 +0000]
ARM: tegra: hardware arbitration semaphore support

add apis to use the hardware arbitration semaphores in order
to share hardware modules between kernel drivers and AVP
firmware (e.g., the BSEA (audio bitstream) engine and
AES block)

Change-Id: I500ef0797223bc702151ad14e0e2156f50644a2a
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rd2143a97dd62e6a431f986179551d062154d8c13

8 years agoARM: tegra: add VDE and arb semaphores to iomap.h
Varun Wadekar [Fri, 15 Oct 2010 17:04:33 +0000]
ARM: tegra: add VDE and arb semaphores to iomap.h

Change-Id: Ic47b80d1c7fdf04305afbea4b34d6c9e9c9304ad
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R0378c225bea68df5914ac48f4ecb6dcbbb991e13

8 years agovideo: tegra: fix HDMI audio programming
Erik Gilling [Tue, 14 Dec 2010 04:51:43 +0000]
video: tegra: fix HDMI audio programming

This was causing the Onkyo TXNR708 to drop out audio.

Change-Id: I9b9fd782d39d60c3207ea140a94d074b1338c7fa
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: Rea87f033288783dd4a47c1465e7bb649c2838f46

8 years agotegra: video: host: fix race condition in hostintr wait list
Varun Wadekar [Tue, 23 Nov 2010 14:33:02 +0000]
tegra: video: host: fix race condition in hostintr wait list

Change-Id: I5e58f5fe8935741441e2b30f585bb997b6317d3d
Author: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R5f7b60bd30f5edbde0aaeb7b75418fb875656b9c

8 years agomedia: video: tegra: avp_svc: Force memory bus to full when avp is enabled
Colin Cross [Wed, 8 Dec 2010 02:47:38 +0000]
media: video: tegra: avp_svc: Force memory bus to full when avp is enabled

Change-Id: I51382f58f296df939f99d60926ba97f0b4e04aed
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: R88b65139a5bcc5570dd9ae5764ced70daa20811f

8 years agovideo: tegra: dc: Force memory bus to full when display is enabled
Colin Cross [Tue, 23 Nov 2010 02:54:53 +0000]
video: tegra: dc: Force memory bus to full when display is enabled

Change-Id: Ia9dfef275561fdb3b6f0a37ae0535684a60cb63e
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: Rf6b7ec7d82a96ed10bd69bc1a59ac7609feb7efd

8 years agovideo: tegra: nvmap: Clear handle->owner on release
Robert Morell [Tue, 7 Dec 2010 01:32:01 +0000]
video: tegra: nvmap: Clear handle->owner on release

A struct nvmap_handle may be shared by multiple clients.  If the
original client (the handle "owner") is destroyed, but the handle is
still referenced by other clients, h->owner points to freed memory.  To
prevent this, clear h->owner when the owner frees its reference to that
struct nvmap_handle.

Change-Id: I54722091568ce2058f5988e5f6e00e68605a8100
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

Rebase-Id: R0abc66b8e7cef65e91f479224eac87b153fefdde

8 years agovideo: tegra: nvmap: Fix per client accounting
Rebecca Schultz Zavin [Tue, 16 Nov 2010 01:02:16 +0000]
video: tegra: nvmap: Fix per client accounting

Fix the way the total number of carveout allocations is
managed per client.

Change-Id: I3e12e2a98a74cafc1f4c51a48e3c3c549e930160
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

Rebase-Id: Ra8aedbdb3121f920861a437cdb384cb0ab2bb979

8 years ago[ARM] tegra: spdif/i2s audio: fixes
Chris Fries [Sun, 5 Dec 2010 03:49:46 +0000]
[ARM] tegra: spdif/i2s audio: fixes

-- release can take a long time

Releasing the out file handles can take a long time, because
we wait for a stop completion that may never arrive.

-- fix possible dma list corruption

If things have gone wrong and a "wait_till_stopped()" times
out, prevent list corrption in the DMA by dequeing any
queued requests.

Signed-off-by: Iliyan Malchev <malchev@google.com>

Rebase-Id: R7ad735afdb6205e984bf8ac5bb2e314e0fd11eba

8 years agotegra: video: host: remove cancelled actions at power down
Varun Wadekar [Tue, 23 Nov 2010 14:13:43 +0000]
tegra: video: host: remove cancelled actions at power down

Change-Id: I2a82ecadafacec53990db25cb456809dbffd999b
Author: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R08cb4947e01678b41467abd1bbd03bd6a1337c32

8 years agotegra: video: host: reset syncpoints on host initialization
Varun Wadekar [Wed, 24 Nov 2010 08:42:30 +0000]
tegra: video: host: reset syncpoints on host initialization

Added syncpoints reset to host initialization, to synchronize h/w state
with shadow variables.

Change-Id: Ia0a3a644dc5b30ef98158906bcc96954d1c613ff
Author: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Ra660777908efc5afbdff7221911733ad014201bb

8 years agovideo: tegra: host: Added nvhost resume.
Varun Wadekar [Tue, 23 Nov 2010 11:55:32 +0000]
video: tegra: host: Added nvhost resume.

Added nvhost device resume function, and moved syncpoints restoration
here from run-time power_host() control. Respectively added syncpoints
saving to nvhost suspend procedure. This change is required, since
power_host() has no way to account for display advancing syncpoints
after they have been already saved.

Change-Id: I2b5452dd4512c7ea16532d28a2d2894ab88929ca
Author: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Ra34cd427325812f2123a80e48b9c2decf58a8e68

8 years ago[ARM] tegra: ventana: fix gpio key for menu options
Varun Wadekar [Mon, 6 Dec 2010 09:44:21 +0000]
[ARM] tegra: ventana: fix gpio key for menu options

Change-Id: Ia6e5f92fa6f965832546dde95e10b00419396386
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rea4682dac95a1d943be846d1215479590c5974f2

8 years ago[ARM] tegra: cpufreq: Support for tegra cpu throttling
Dmitriy Gruzman [Mon, 29 Nov 2010 21:06:26 +0000]
[ARM] tegra: cpufreq: Support for tegra cpu throttling

Change-Id: I28d69d22437b6ba2d22e4ce12746630786006071
Signed-off-by: Dmitriy Gruzman <dmitriy.gruzman@motorola.com>

Rebase-Id: R59f699950459ebc3ec3bfd6fe550d7667eb1b73c

8 years agovideo: tegra: fix DC_CMD_STATE_CONTROL_UPDATE register values
Michael I. Gold [Thu, 2 Dec 2010 08:55:13 +0000]
video: tegra: fix DC_CMD_STATE_CONTROL_UPDATE register values

Change-Id: I4a3e009244b7894e02f9fa440ea8e65578e451f0
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: Re699218136aa7435879511f0193214e302b0db39

8 years ago[ARM] tegra_i2s_audio: don't turn off hardware during over/underflow
Chris Fries [Thu, 2 Dec 2010 20:37:47 +0000]
[ARM] tegra_i2s_audio: don't turn off hardware during over/underflow

-- Leave I2S running during underflow, for a couple of reasons.
   First, the I2S buffers a few samples, and if we get a new write
   before those samples are flushed, we will keep continuous audio
   Second, we burn CPU time stopping and restarting the HW
   frequently.

-- Fix TEGRA_AUDIO_IN/OUT_GET/SET_NUM_BUFS, was causing DMA to
   read/write to null HW address.

Signed-off-by: Iliyan Malchev <malchev@google.com>

Rebase-Id: Rccbf9602edcad68eb3b09af4b808e06dccb87d5d

8 years ago[ARM] tegra: dma: Remove spam log
Chris Fries [Thu, 2 Dec 2010 20:22:02 +0000]
[ARM] tegra: dma: Remove spam log

"Interrupt during enqueue" happens periodically when the
DMA is almost starving.  This happens under certain not-
uncommon scenarios.

Signed-off-by: Iliyan Malchev <malchev@google.com>

Rebase-Id: R66d63748821e2b042ef7316c59622f802a6d48bd

8 years agovideo: tegra: fix vblank detection
Erik Gilling [Thu, 2 Dec 2010 01:55:06 +0000]
video: tegra: fix vblank detection

Change-Id: Ib74cbbb0d703c782f64f93930cd234359107021c
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: Re325003ce96ff514fa14460e1275279a350e7893

8 years agovideo: tegra: set up high priority on all overlays
Erik Gilling [Wed, 1 Dec 2010 21:31:36 +0000]
video: tegra: set up high priority on all overlays

this drastically reduces display controller underruns

Change-Id: I7d57c53cf61db4aac5d1baeb0e31b3a5d6fe9e67
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: Ra8c64f1da2c0f58d48352777968fee7d74486bf3

8 years ago[ARM] tegra: ventana: fix volume up gpio
Varun Wadekar [Thu, 25 Nov 2010 11:26:16 +0000]
[ARM] tegra: ventana: fix volume up gpio

Change-Id: Ie0e25ee8074f4625feb7473f4d5ce759597ed035
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R942369aceb3df3c7e8df9758f17f89d2c0da9005

8 years ago[ARM] tegra_i2s_audio: remove unnecessary clocks
Iliyan Malchev [Wed, 1 Dec 2010 00:27:17 +0000]
[ARM] tegra_i2s_audio: remove unnecessary clocks

Signed-off-by: Iliyan Malchev <malchev@google.com>

Rebase-Id: Rdd046f26529887e8b3420e64de42b172b64ca148

8 years agomedia: video: tegra: avp: turn off chatty avp/rpc debug logging
Dima Zavin [Fri, 19 Nov 2010 21:20:15 +0000]
media: video: tegra: avp: turn off chatty avp/rpc debug logging

Change-Id: I3f9025285fc5a002dbd436ee76bb6ca757c425ea
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: Rba1fac84134744abea46f5c14c11399d3d60f3ff

8 years agomedia: video: tegra: avp: make avp_svc have separate debug mask
Dima Zavin [Sat, 13 Nov 2010 00:20:56 +0000]
media: video: tegra: avp: make avp_svc have separate debug mask

Change-Id: Ib5490a7f7d294760d34a3b9da14281ad96c9b26c
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: Rd08fcb22ca4f1fa7e6459a97998fcaa9f50567f3

8 years agomedia: video: tegra: properly drop refs to sclk on cleanup
Dima Zavin [Mon, 15 Nov 2010 19:22:31 +0000]
media: video: tegra: properly drop refs to sclk on cleanup

Change-Id: I7af31dc4cd1e2d7a4142f6265665a05ca4f41d15
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: Rb47fc94ce2b9ad4f216e6ae821721b28cb953932

8 years agoARM: tegra: Rearrange subsystem initialization order
Colin Cross [Wed, 24 Nov 2010 22:52:02 +0000]
ARM: tegra: Rearrange subsystem initialization order

Fuses must be initialized before clocks, so clocks can
determine the maximum cpu frequency.  Clocks must be
initialized before DMA, so DMA can enable the clock.
Once DMA is initialized, all fuses accesses must go
through DMA to avoid a hardware bug.

Change-Id: Id1f58e4f43152ec19000e02f2d1ea45abf141f9c
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: R78062703ad4171e2388d6811489cd434a387d5b9

8 years agoARM: tegra: dma: Add dma initialzation stub when compiled out
Colin Cross [Wed, 24 Nov 2010 22:49:35 +0000]
ARM: tegra: dma: Add dma initialzation stub when compiled out

Change-Id: Iac01fa701342a5ed0bbbb1c6e5d38adb401f2d79
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: R42001a10efd9d9e14f8baf8f0975d0ed044b26db

8 years agoARM: tegra: fuse: Separate fuse dma initialization
Colin Cross [Wed, 24 Nov 2010 22:44:09 +0000]
ARM: tegra: fuse: Separate fuse dma initialization

There is a dependency loop between fuses, clocks, and APBDMA.
If dma is enabled, fuse reads must go through APBDMA to avoid
corruption due to a hw bug.  APBDMA requires a clock to be
enabled.  Clocks must read a fuse to determine allowable cpu
frequencies.

Separate out the fuse DMA initialization, and allow the fuse
read and write functions to be called without using DMA before
the DMA initialization has been completed.  Access to the fuses
before APBDMA is initialized won't hit the hardware bug because
nothing else can be using DMA.

Change-Id: Ib5cb0f346488f2869e8314c5f3b24fd86873f4c3
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: R943ad08dddeb0b40c7e759e6bfcafa45212797b0

8 years agoARM: tegra: fuse: Fix warnings
Colin Cross [Wed, 24 Nov 2010 22:34:35 +0000]
ARM: tegra: fuse: Fix warnings

Change-Id: I2793cb8413669dbae8c6ca92572c423e27f46c4e
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: R7ec383a639474281ad8d44fc1e00d5be119f3e48

8 years agoARM: tegra: fuse: Remove carriage returns in fuse files
Colin Cross [Wed, 24 Nov 2010 22:28:50 +0000]
ARM: tegra: fuse: Remove carriage returns in fuse files

Change-Id: If3675c8ee7a0e0a5d3f7bd0c147054bc3796deef
Signed-off-by: Colin Cross <ccross@android.com>

Rebase-Id: Rff80fcd33de137e0fdbf8b7a6144d49e5e087e6f

8 years agoserial: tegra_hsuart: Use resources instead of platform data.
Jaikumar Ganesh [Sat, 20 Nov 2010 02:23:29 +0000]
serial: tegra_hsuart: Use resources instead of platform data.

Use resources to pass data to tegra_hsuart to set
mapbase, irq.

Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>

Rebase-Id: Rf58fa9e6bc27791e00712cd5225a0b74f203143d

8 years ago[ARM] tegra: support to burn device fuses
Varun Wadekar [Mon, 25 Oct 2010 04:49:30 +0000]
[ARM] tegra: support to burn device fuses

Change-Id: Ic12a93d4212b5f9a7802537b8f21e288aa431005
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Re240afe79789d11865a57c5a043e663f687142ed

8 years ago[ARM] tegra: fuse read/write apis for fuse burning
Varun Wadekar [Mon, 25 Oct 2010 04:31:28 +0000]
[ARM] tegra: fuse read/write apis for fuse burning

expose fuse register read and write apis for fuse
burning

Change-Id: Id6785f5506fe9293ddb5072240f49470ca5fcd08
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rc2c1bd7e4742a0229ee0e1c3d910b98180be66bc

8 years ago[ARM] tegra: use dma to read/write fuse registers
Varun Wadekar [Sun, 24 Oct 2010 10:55:32 +0000]
[ARM] tegra: use dma to read/write fuse registers

tegra2 hangs if fuse registers are accessed during an apb dma
operation. war is to use apb dma to read/write fuse registers
instead.

Change-Id: I4d99a1ad56115c0d73e9cd0679cf38f70f922f3d
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rf7ad76fef5eaa8f06851d48eabc581d166dd39a0

8 years ago[ARM] tegra: Change size of constants from SZ_64 to 64.
Jaikumar Ganesh [Mon, 22 Nov 2010 20:05:04 +0000]
[ARM] tegra: Change size of constants from SZ_64 to 64.

Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>

Rebase-Id: R85823f04b875ca139174d868ee9934f49c688537

8 years ago[ARM] tegra_spdif_audio: support continuous DMA mode
Iliyan Malchev [Tue, 23 Nov 2010 19:55:27 +0000]
[ARM] tegra_spdif_audio: support continuous DMA mode

-- Add support for contnuous single-buffered DMA
-- Remove PIO support
-- Added suspend and resume functionality

Signed-off-by: Scott Peterson <speterson@nvidia.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>

Rebase-Id: Rdf5ccdda4dc704014cc4077b89fc7d4dc4d0bace

8 years ago[ARM] tegra_spdif_audio: Enable 16 bit packed mode
Scott Peterson [Tue, 9 Nov 2010 22:22:27 +0000]
[ARM] tegra_spdif_audio: Enable 16 bit packed mode

Enable 16 bit packed fifo format mode to work avoid
channel swapping when dma underrun occurs.

Added suspend/resume functionality so spdif registers
are restored.

Change-Id: Id80e7903b81fd3b3b84af08dba40196121eb6cb7
Signed-off-by: Iliyan Malchev <malchev@google.com>

Rebase-Id: R7ff05b74dc36ee8a946e8ae2505b864d569357c2

8 years ago[ARM] tegra: i2s: Continuous DMA support
Chris Fries [Thu, 18 Nov 2010 18:42:15 +0000]
[ARM] tegra: i2s: Continuous DMA support

- Refactor DMA interactions to handle continuous single-buffered DMA
- Remove PIO support (obsolete, conflicts with new buffer management)
- Remove sample rate conversion (obsolete)
- Remove error-reporting logic
- Remove TEGRA_AUDIO_IN/OUT_GET/SET_BUF_CONFIG
- Add TEGRA_AUDIO_IN/OUT_GET/SET_NUM_BUFS

Change-Id: I8f21a0bb314aac3b7d1bb4918bda9141e58db38d
Signed-off-by: Iliyan Malchev <malchev@google.com>

Rebase-Id: R6a01df5ae5ab0706655d26d372a605f619681804

8 years agovideo: tegra: host: Fix bounds-checking
Robert Morell [Sat, 20 Nov 2010 03:17:36 +0000]
video: tegra: host: Fix bounds-checking

The length of the mod_locks array is NV_HOST1X_NB_MLOCKS, not
NV_HOST1X_SYNCPT_NB_PTS.

Change-Id: Ibce054bb8a168f2b83646745f2b62cd282b8ff9d
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Acked-by: Erik Gilling <konkers@android.com>

Rebase-Id: Rd2cac51b69ec44494c0312e6554f2cb6381c7544

8 years agovideo: tegra: Scale colors in pseudopalette
Robert Morell [Sat, 20 Nov 2010 02:55:51 +0000]
video: tegra: Scale colors in pseudopalette

This fixes incorrect colors drawn by clients such as fbconsole.  As
described by skeletonfb's fb_setcolreg: "The values supplied have a 16
bit magnitude which needs to be scaled in this function for the
hardware."

Tested with both r8g8b8 and r5g6b5 pixel depths and fbconsole.

Change-Id: Ie3c3579502ddab8843a8a4dc7049c6efaa5d0ac1
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Acked-by: Erik Gilling <konkers@android.com>

Rebase-Id: R04e47a3c1271669b8035392ee1a54aa367070293

8 years agotegra: video: make tegra_dc_is_yuv_planar return bool
Erik Gilling [Fri, 19 Nov 2010 00:21:02 +0000]
tegra: video: make tegra_dc_is_yuv_planar return bool

Change-Id: I8adaea9eeb20f1c90b33d41a5b462ab8ee515b49
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: R2f6e0dca5c0a192080c009f57e621909b7f88169

8 years agovideo: tegra: YUV overlay support
Ari Hirvonen [Wed, 17 Nov 2010 12:17:40 +0000]
video: tegra: YUV overlay support

Change-Id: I4bed4d37bc275cca9ef69390c217498529121db0
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: Rb524d07ff512b309d9499292c0c38321468800fa

8 years agoARM: tegra: usb_phy: Disable HS disconnect detect for USB2 port
Nathan Connell [Thu, 18 Nov 2010 17:12:37 +0000]
ARM: tegra: usb_phy: Disable HS disconnect detect for USB2 port

Signed-off-by: Nathan Connell <w14185@motorola.com>
Change-Id: Ia0c24128af0f1def38d0902b15a274582c302ce2

Rebase-Id: R023f36e4adfcc26eaad472d4f29ab8d0e10bcc7b

8 years ago[ARM] tegra: dma: Single buffered continuous DMA
Chris Fries [Thu, 11 Nov 2010 23:39:06 +0000]
[ARM] tegra: dma: Single buffered continuous DMA

- Added "single buffer continuous DMA" mode in addition to the
  "double buffer continuous DMA" mode that is already implemented
- Changed the queuing of next buffer to be more flexible for
  continuous DMA.  It can now get in-flight right after a transfer
  starts, or whenever the client enqueues a buffer.

Signed-off-by: Iliyan Malchev <malchev@google.com>

Rebase-Id: R6e99a6ffe1c06bf091c54baf7e341f6309a600b5

8 years agovideo: tegra: fill in transparency info in 32bpp FB mode
Erik Gilling [Wed, 17 Nov 2010 22:11:59 +0000]
video: tegra: fill in transparency info in 32bpp FB mode

also remove incorrect support for 24bpp

Change-Id: Ic6528760bf2585ca5e7a2a68a200e3346694505e
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: R4043600aca8e31d8fcded2f74d2b2e15685d6e8c

8 years agovideo: tegra: add option to autodetect bitdepth from bootloader
Erik Gilling [Fri, 12 Nov 2010 01:39:04 +0000]
video: tegra: add option to autodetect bitdepth from bootloader

Change-Id: I5f17ab96323b3d313473622f572006d01b4716f7
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: R3b954b1c48d2e9cb934d81a2182ffd27da6afc10

8 years agovideo: tegra: call disable with interrupts disabled.
James Wylder [Thu, 11 Nov 2010 22:52:32 +0000]
video: tegra: call disable with interrupts disabled.

Change-Id: Idb126c14f6e18efcb64f3f613772640b8bd3fca0
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: R6ee3f39b80b66e2ebfcf05bc9fcacd6cdb2a810f

8 years agoARM: tegra: flush console before reboot
Dima Zavin [Thu, 11 Nov 2010 23:28:46 +0000]
ARM: tegra: flush console before reboot

If the console_sem was held while the system was rebooted, the messages
in the temporary logbuffer would not have propogated to all the console
drivers.

This force releases the console sem if it failed to be acquired.

Change-Id: I6eba9d744ef41209d26328a17c7ae19c32d6e8cb
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: Rf6b597fd63dfebe0750c31ad795567d5feb557bb

8 years agovideo: add rgb disable handler
James Wylder [Thu, 11 Nov 2010 18:55:59 +0000]
video: add rgb disable handler

Adjust pinmux on disable in order to save power/leakage

Change-Id: I65b642c128a780aa8932205052ccee199e4c41bf
Signed-off-by: James Wylder <james.wylder@motorola.com>
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: R4f0f41e041f3127d3b32b129afce47f71b20879f

8 years agomedia: tegra: avp: fix a mutex leak on an err path in lib load
Dima Zavin [Wed, 10 Nov 2010 18:18:04 +0000]
media: tegra: avp: fix a mutex leak on an err path in lib load

Also hold the mutex for longer on cleanup, while deleting
the libs nvmap client. Not strictly necessary...

Change-Id: I4dfdb065211571338053a16bacc2e5412c26ae77
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: R10f02d9180af0e931701dc1016190f70fedd2403

8 years agovideo: tegra: delay HDMI hotplug detection until after resume
Erik Gilling [Wed, 10 Nov 2010 23:32:58 +0000]
video: tegra: delay HDMI hotplug detection until after resume

Change-Id: I87c35dc3e1287fc1d936e554013deb2f92cbd6f4
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: R9fce958997dfd3008257fe9f152f6754bf8db0a2

8 years agovideo: tegra: mark a window's handle as unused when it is
Erik Gilling [Wed, 10 Nov 2010 23:29:35 +0000]
video: tegra: mark a window's handle as unused when it is

Change-Id: Iedc9a26f62e14c0263f0f315e589a672762ab31a
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: Ref945e524dd165c17216a80c1a2b04a4cb73bc7e

8 years agomedia: video: tegra: add avp port transport info to debug dump
Dima Zavin [Tue, 9 Nov 2010 00:59:22 +0000]
media: video: tegra: add avp port transport info to debug dump

Change-Id: I7ade4469609ecf87663e6a6733842889b27f7ce5
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: R93d7e141a76e06a927eee6b7596ab440ffec2e88

8 years agomedia: video: tegra: add debugfs entry for tegra_rpc
Dima Zavin [Mon, 8 Nov 2010 21:58:04 +0000]
media: video: tegra: add debugfs entry for tegra_rpc

For now just includes the existing ports, the peer owners,
and the port and peer state.

Change-Id: I2c6b603ca02dc48acc1c763380ff0f1cb66f482b
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: R39c47ea4296f8aac09c400f062f4a0946abb4858

8 years agomedia: video: tegra: wait for remote ack on disconnect
Dima Zavin [Tue, 9 Nov 2010 18:27:18 +0000]
media: video: tegra: wait for remote ack on disconnect

Change-Id: I42bf507b7d644184bd27be6ff53e5974dcfa3797
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: R789282e4b70803d42873b8c8cdaaa6c018d3651c

8 years ago[ARM] tegra: cleanup empty functions in mach/fb.h
Erik Gilling [Tue, 9 Nov 2010 21:59:43 +0000]
[ARM] tegra: cleanup empty functions in mach/fb.h

adds static inline

Change-Id: Iff0473dcc02ad6d10adb878f195b57a2ed6e3e2a
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: Ra37f2f25d41c8fcab092b22b600ac91f41e5494c

8 years agovideo: tegra: flush fb_flip workqueue on blank and suspend
Erik Gilling [Mon, 8 Nov 2010 23:08:40 +0000]
video: tegra: flush fb_flip workqueue on blank and suspend

Change-Id: I58e9ba73b2fd232e6c1f40946e2e353b90ce5dd7
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: Ra3d83f138616d0dd8e2c76d91e283ec58b5c0e87

8 years agovideo: tegra: fix crash when no HDMI modes are supported
Erik Gilling [Fri, 5 Nov 2010 22:30:35 +0000]
video: tegra: fix crash when no HDMI modes are supported

Change-Id: I2e23d018d5acb814e7a088921c26c8f305790442
Signed-off-by: Erik Gilling <konkers@android.com>

Rebase-Id: R19b338a1d00448641206849279498842e5ed4b69

8 years agomedia: video: tegra: add ref count for remote clock requests
Dima Zavin [Mon, 8 Nov 2010 21:55:34 +0000]
media: video: tegra: add ref count for remote clock requests

Change-Id: I824f9a27bfefe86211bc71d5f79ea798052b98b7
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: Rca7808869e1858e2133575abac74835de0af1587

8 years agoARM: tegra: add avp platform_device
Dima Zavin [Mon, 1 Nov 2010 21:31:05 +0000]
ARM: tegra: add avp platform_device

Change-Id: I8229873e1a450b75d31e6ea4ec64647b88d16844
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: Re1638f671e7bd229f362580cfdb297a111878a6b

8 years agomedia: video: tegra: add support for the AVP media offload engine
Dima Zavin [Mon, 1 Nov 2010 21:24:21 +0000]
media: video: tegra: add support for the AVP media offload engine

Change-Id: Ia72e022ad1217ffe75915465ca0e886b16d1a64a
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: R083813e1f7602c37c520dcd29bc4b4bf6fbc0c74

8 years agomedia: video: tegra: Add Tegra RPC support for tegra multimedia framework
Dima Zavin [Mon, 1 Nov 2010 21:20:17 +0000]
media: video: tegra: Add Tegra RPC support for tegra multimedia framework

Change-Id: I9233c5d7c678f6a9ba1c23af686137bf4d6a4291
Signed-off-by: Dima Zavin <dima@android.com>

Rebase-Id: Rfb521df9f36d502c353f8680ee639e03c4e11bcc