Age | Commit message (Collapse) | Author |
|
below variables should be defined according to power sequence
specifications of panels.
- timing between panel power on to lvds singal enable
- timing between lvds signal enable to backlight enable
bug 818959
Change-Id: Idcc6de22178fa455e6e65ea89bbabd8a5eb9e6d9
Reviewed-on: http://git-master/r/41669
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
Change-Id: I48cdaf6cd8e716a720ec24b56d1ee54d50ade36e
Reviewed-on: http://git-master/r/40676
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
store the keys in the individual request context structure,
since there is no other way to manage keys across different
crypto operations. also retry requests thrice in case of
errors
Bug 833165
Bug 818126
Change-Id: I7d3381477b5bc134da5727bb39ea89abe05dc17c
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/40008
Reviewed-by: WooJung Min <wmin@nvidia.com>
Tested-by: WooJung Min <wmin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
BUG 835372
Change-Id: I571ca8785893df339175306f548daa31158721fd
Reviewed-on: http://git-master/r/39277
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
BUG 835372
Change-Id: Iccd8ee1e6222e2661e7b3fbbfde615ead6116e02
Reviewed-on: http://git-master/r/38170
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
If the screen is idle (no POST for some time), reduce the DC EMC clock
according the windows size. If external display connected, the EMC clock
will not be reduced.
BUG 828306
Reviewed-on: http://git-master/r/37106
Change-Id: I88c76ef3afe5036f47d91f6540846fd767c399e4
Reviewed-on: http://git-master/r/38149
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Provides clock information for camera use cases to achieve
optimal power saving.
BUG 813159
Reviewed-on: http://git-master/r/31237
(cherry picked from commit 8180aabdb727b171ae9c49fbec991b3983ec87c8)
Change-Id: I19e99d39ff00bf0619d314854ce1b2fff670a8ff
Reviewed-on: http://git-master/r/37955
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
This option adds support for ASIX AX88xxx Based USB 2.0
Ethernet Adapters and it works with TrendNet TU2-ET100 devices.
Bug 834417
Similar change was done by http://git-master/r/35699
Change-Id: Iad0ba1df837db5b560cc3b942d55c6ea83ee34cc
Reviewed-on: http://git-master/r/42116
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
tegra_edid_dump() causes audio noise when plugin HDMI cable during
video playback and should not be enabled by default.
Bug 837728
Change-Id: Ib06926e30420c0aa26c7a6a3949429bbd3f2f9e1
Reviewed-on: http://git-master/r/42006
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
Restore the target cpu frequency on exit from suspend. Also save target
frequency if set when the device is suspended.
Bug 841559
Change-Id: Id17a5945215e324d49e3d74b9603cc919a736c64
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/41710
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
To improve the power consumption situation for MP3 playback
the scaling governor is set to conservative when display
is turned off and the default governor is saved. The governor
is restored when display is turned on.
Bug 817727
Change-Id: I2184b422b6e25504a0fb7d78573c748599256908
Reviewed-on: http://git-master/r/28270
Reviewed-on: http://git-master/r/37936
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
Tested-by: Manish Tuteja <mtuteja@nvidia.com>
|
|
If tagra_dap_port_info_table.dac_port is tegra_das_port_none,
das_set_pin_state() should not control tri-state for the DAP
pingroup.
Bug 824362
Change-Id: Id48945c21c0e383f5b43cc62ccc610af3a0fd2ee
Signed-off-by: Artiste Hsu <chhsu@nvidia.com>
Change-Id: I13bc31f0935547a0446c4e300ed0089042822e26
Reviewed-on: http://git-master/r/41489
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Yu-Fong (Foster) Cho <ycho@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
Bug 851086
Change-Id: Ia7f9ae6f43903fee3b1ea28331bfc621a995d338
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/40788
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Set the working voltage for USB to 1.1 v.
Bug 796594
Reviewed-on: http://git-master/r/30219
(cherry picked from commit af08f51a8c51b7b8d3f25ee7a2372f9d423b78e7)
Change-Id: I3a5a97dae925262453e19fc9b597c0d4be5b2ba6
Reviewed-on: http://git-master/r/40684
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
Per the 8.4.1 section of HDMI spec version 1.4a, 100KHz is the maximum
clock rate of DDC i2c bus.
Bug 820552
(cherry picked from commit 588d82e5106558e1c218506ea5067f23c3888db6)
Change-Id: Iba08e5ea9c46ab2c50f0716dee950bcc40a9fc4e
Signed-off-by: Haley Teng <hteng@nvidia.com>
Reviewed-on: http://git-master/r/41490
Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
1st hot-plug event on utmip port can't be detected after LP0 exit.
For utmip phy_clk_vld interrupt, the corresponding service routine
wants to clear WCKN bit in portsc and it also clears other port
events, such as PORT_CSC ,PORT_PEC ,PORT_OCC.
Bug 845254
Change-Id: Ib9aac9d411821220c99de0e3f85a7922fdcf2fca
Reviewed-on: http://git-master/r/40354
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
some users might enter fuse data starting
with 0x/x. this will mess up the fuse programming.
do not consider 0x/x while programming the fuses.
also fix some compilation warnings
Change-Id: I5e888a769eb15dbe7eb35ce2d290246fcf9788c9
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/38933
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
bug 846277
Change-Id: I6a3eed59ab2a906afea2b55213e0346491c19c58
Reviewed-on: http://git-master/r/40613
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
|
|
3D power gate should be always disabled to keep the power. Set T20
enabled by default.
Bug 843271
Change-Id: I17745e37436414b3d5f905eb01e347743a012830
Reviewed-on: http://git-master/r/40342
Reviewed-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com>
Tested-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>
Reviewed-by: Yu-Fong (Foster) Cho <ycho@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
Change the permission to 644 for 'enable' and 'quantum'
TEGRA_MC_ATTRIBUTES to disable the write permission as
CTS test "android.permission.cts.FileSystemPermissionTes
t#testAllFilesInSysAreNotWritable" requires it as non-writable.
Bug 840411
Reviewed-on: http://git-master/r/36878
(cherry picked from commit 88982e06ac4d0b91828542ec9eaabf6e2c9a03e0)
Change-Id: Ie99ee941d976b08a5b145fafe9160d44ddcb9990
Reviewed-on: http://git-master/r/40797
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
|
|
bug 846277
Change-Id: Ib435d07993d9987d6028e783fdce2d1ed68d19ca
Reviewed-on: http://git-master/r/40605
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
|
|
Carveout memory leak occured in video playback on abnormal termination as the
tegra overlay driver didn't had the implementation to reduce the usage count of
nvmap client on device closure.
Hence on abnormal termination of mediaserver, the carveout memory remained
allocated causing memory leak.
The usage count of nvmap client for overlay driver is incremented on
ioctl TEGRA_OVERLAY_IOCTL_SET_NVMAP_FD.It should be decremented on
device closure.
Added the code to decrement the uage count of nvmap client on release, so that
the client and the carveout memory is free'd whenever the count reaches zero
on successful as well as abnormal termination of mediaserver process.
Similar implementation is done by NvHost channel driver,
The NvHost drivers takes care of nvmap client usage count.i.e. decrement the
uasge count of nvmap client which is incremented by
NVHOST_IOCTL_CHANNEL_SET_NVMAP_FD ioctl.
Bug 845676
Reviewed-on: http://git-master/r/40157
(cherry picked from commit c10173d70affb7117284b57fb0870c90823a5880)
Change-Id: Ibe71a5daa8e6e3e2618e6b1a43338ff46fc27062
Reviewed-on: http://git-master/r/40837
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
This reverts commit d7b102eca117b41c0f244b292d076e574608c565.
Above change prevented USB3 hotplug to work at all.
Change-Id: I197dfb727d48ce8627574da4736e0407f2adcb90
Reviewed-on: http://git-master/r/40315
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
100% of the time on stingray, only 1 skb is allocated in the
ppp_async_input loop. Pre-allocate this skb out of atomic context.
Signed-off-by: Benoit Goby <benoit@android.com>
(cherry picked from commit 27b6adb1ebbd0deb1cc0c9886d8371f9ddf854ab)
Change-Id: I4cb9a4dffe983a34ad5724c9f0ebbada2fddb555
Reviewed-on: http://git-master/r/36703
Reviewed-by: Amit Kamath <akamath@nvidia.com>
Tested-by: Amit Kamath <akamath@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Allow interrupts to wake usb bus for devices/hosts
that don't support remote wakeup.
Signed-off-by: James Wylder <james.wylder@motorola.com>
(cherry picked from commit d843d79035c5286a0241c473a96ad02e9c48f307)
Change-Id: I307f8d44603daf77f20b18dcb252c02df90659bd
Reviewed-on: http://git-master/r/36702
Reviewed-by: Amit Kamath <akamath@nvidia.com>
Tested-by: Amit Kamath <akamath@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Signed-off-by: John Kramer <john.kramer@motorola.com>
(cherry picked from commit 498e62c0b48548b07481927e02decd9a00c815d2)
Change-Id: Ib616ea4b9ca2a8915db59c60c84511b2b0ac725f
Reviewed-on: http://git-master/r/36701
Reviewed-by: Amit Kamath <akamath@nvidia.com>
Tested-by: Amit Kamath <akamath@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Return -ENODEV instead if USB is not connected.
Signed-off-by: Mike Lockwood <lockwood@android.com>
(cherry picked from commit 89f57cb6b93c3ac3a3b46480574054e603c47c36)
Change-Id: Ia3527d3f9a2a5a6a4aa56b717602ab28a8716e0e
Reviewed-on: http://git-master/r/36700
Reviewed-by: Amit Kamath <akamath@nvidia.com>
Tested-by: Amit Kamath <akamath@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
(cherry picked from commit c53be2ce81658292e6e1ef67c070c120d92e06c7)
Change-Id: I29d7b8c9d09471850af44e7aefd88eb6395d04bf
Reviewed-on: http://git-master/r/36699
Reviewed-by: Amit Kamath <akamath@nvidia.com>
Tested-by: Amit Kamath <akamath@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Fixes problem sending "store added" events when there are multiple stores
Signed-off-by: Mike Lockwood <lockwood@android.com>
(cherry picked from commit f937994b15d9d0433c027b9314afe0eabdbe0103)
Change-Id: I9233074bc0ef1abb149df1e41e3c97eeebf66be4
Reviewed-on: http://git-master/r/36698
Reviewed-by: Amit Kamath <akamath@nvidia.com>
Tested-by: Amit Kamath <akamath@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
According to the datasheet of wm9001 amplifier, it needs 100ms to
enable itself for Class D with Vmid capacitor 4.7uF. Some sound data
will be missing without the msleep call.
Fixed bug#831138
Change-Id: I047355875c2ee8debffc5b4c3adaa4e236a21b26
Reviewed-on: http://git-master/r/40536
Reviewed-by: Chao Jiang <chaoj@nvidia.com>
Tested-by: Chao Jiang <chaoj@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
As HDMI is not a wakeup source. To detect HDMI peripheral which is
connected after suspend, we scan for it during HDMI resume.
Bug 846365
Change-Id: I8746f18159758887aecca384bba3dd662b96710e
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/39776
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
To properly handle any jack insertion/removal during suspend
snd_soc_jack functions should be used for disabling/enabling
wired jack gpios.
Bug 850424
Change-Id: I71cfee4c0afb955ef2f67f1a3ec1b266e5e94550
Reviewed-on: http://git-master/r/40643
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
EMC state control register is not programmed correctly as the value
is not reset after previous write is done.
Bug 829087
Change-Id: I6d1db2e605101d248ed08777135cb1a404fb3350
Reviewed-on: http://git-master/r/40230
Tested-by: Liang Cheng (SW) <licheng@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
|
|
Added suspend for tegra_wired_jack.
Disable tegra_wired_jack GPIO interrupts while going into suspend
and enable in resume.
Bug 827709
Change-Id: I5174fec2727c116bb7cb3d95deeedf4e59318cee
Reviewed-on: http://git-master/r/40363
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Tested-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
|
|
Revised version of lp0 resume code for link ulpi.
Bug 786136
Change-Id: I6b644a596148ec975d2e74113499358fc115066e
Reviewed-on: http://git-master/r/39113
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
Tested-by: Manish Tuteja <mtuteja@nvidia.com>
|
|
Dvc I2C_DONE_INTR_EN interrupt bit is always enable into dvc
control register3.During normal transaction on dvc i2c bus
sometimes one transaction written two times in TX fifo buffer
because of triggered dvc interrupt.This is causing to corrupt
the next transaction header and send wrong address over dvc
i2c bus.To solve this issue dvc i2c interrupt has to disable
during filling of Tx fifo and enable after that.
Writing last packet into Tx Fifo is generating i2c interrupt
immediately if IE bit is enable in Packet header. Data shared
between isr and normal thread are not in sync. So alway update
these data before writing into Tx fifo.
Updated the following things in code:
(1) Add the code to mask/unmask I2C_DONE_INTR_EN into dvc control reg3
(2) Always updates the i2c driver required field structure data before
writing into Tx Fifo register.
(3) Add the code to handle tx fifo overflow condition also.
(4) Put delay before resetting the controller
BUG 839528
Change-Id: Iac45e628e71b8a727d3211024b7e980d33fd128a
Reviewed-on: http://git-master/r/39981
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
The IAA watchdog has been added to work around flaky controllers that
sometimes miss IAA interrupts. We don't need it on Tegra and it is known
to cause panics. Increase it to a large value to make sure it does not
fire unexpectedly.
Signed-off-by: Benoit Goby <benoit@android.com>
Change-Id: I0d7a9568f7f438f2b33c350fb7b2a129fbfc9510
Reviewed-on: http://git-master/r/40065
Tested-by: Cho-Che Cheng <jacheng@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
set usb2 phy type to TEGRA_USB_PHY_TYPE_LINK_ULPI
bug 845612
Change-Id: I35ae7a2e3eb6e0666a1b54e5249faad4f77bd299
Reviewed-on: http://git-master/r/39603
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
Tested-by: Manish Tuteja <mtuteja@nvidia.com>
Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>
|
|
Modified the usb registration order, otg is the first to be registered.
Bug 835678
Change-Id: I709a944a49aa59886f906bd4184e80b35836125c
Reviewed-on: http://git-master/r/39505
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Reviewed-by: Alex Courbot <acourbot@nvidia.com>
Tested-by: Alex Courbot <acourbot@nvidia.com>
|
|
Remove the stop host call when device is entering suspend. Need to be
detect the host device even after the device exits from LP state.
Bug 835678
Change-Id: Icf32c828078bb0f42237f49373af25d0c768a301
Reviewed-on: http://git-master/r/39506
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Reviewed-by: Alex Courbot <acourbot@nvidia.com>
Tested-by: Alex Courbot <acourbot@nvidia.com>
|
|
usb hotplug is supported only for UTMI phy. usb_phy_type should be
carefully checked in ehci irq.
bug 845612
Change-Id: I2fdc7c79b9816dd3465353375448b07f138ff950
Reviewed-on: http://git-master/r/39338
Tested-by: Ken Chang <kenc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Yu-Fong (Foster) Cho <ycho@nvidia.com>
Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>
|
|
update headers for camera files
bug 846086
Change-Id: I1986152a0edc184a458e5be1bc98a480b1badfd6
Reviewed-on: http://git-master/r/39141
Tested-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
|
|
- Added support for eld extraction from edid and
support for propogation of eld to HDA.
- Differentiate video/audio hotplug
- Change the value sent to HDMI hotplug switch class
driver so that we can get hdmi hotplug events without
audio enabled based on whether the display has audio
or not.
bug 836548
Change-Id: I89475049df19ed36d9b77eb15f3aee2e0fdf8f71
Reviewed-on: http://git-master/r/35672
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
- vdd_core needs to be 1.14V min before fuse
write/read
- add wait_for_idle before accessing fuses
- add proper programming of PRIV2INTFS field
Bug 841766
Change-Id: Ie9ec27bdbc975a4e3ce40a0ce60fe7049f7c2429
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/37618
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
|
|
Bug 841766
Change-Id: I24e7102f3c2fb17b9f2095cf12feccefbcdf8dce
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/37617
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Andy Carman <acarman@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
keep fuse clock always enabled to allow fuse
read writes from multiple clients
Bug 841766
Change-Id: I01391ff88e1af5d622fe52b8fad30e2dfc02f38c
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/38402
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
In some rare cases, EHCI irqs interrupts be triggered while the block is
suspended. This is notably the case when unplugging a host cable to
which no device is attached. In this case, the interrupt handler will be
called with the block powered off, which will eventually crash. This
patch workarounds this by returning from the interrupt handler
immediatly if the block is not powered on.
Change-Id: I7763f56f20a984e3db716306b6bf8ec223c90363
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/35604
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
|
|
Fix GART lockups caused by fragmentation by evicting
mapped areas from iovm space after unsuccessful array
pinning attempt.
Fix double unpin error happening during interrupted
submit.
Fix possible sleep in atomic context in iovmm code
(semaphore inside spinlock) by replacing spinlock
with mutex.
Fix race between handle_unpin and pin_handle.
bug 838579
bug 838073
bug 818058
bug 844307
Conflicts:
drivers/video/tegra/nvmap/nvmap_mru.c
Change-Id: Ie44fa88510f62ce5c7d31af3b07afdf69a3ad4a6
Reviewed-on: http://git-master/r/38430
Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com>
Tested-by: Kirill Artamonov <kartamonov@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
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
Reviewed-on: http://git-master/r/31383
(cherry picked from commit 502c2becc54b49d26371f9b167f0c6f82a1bc37f)
Bug 844307
Conflicts:
drivers/video/tegra/nvmap/nvmap_handle.c
Change-Id: Ia74f4aad4d12bb7d94e1abea1ef4c9db44b03cd8
Reviewed-on: http://git-master/r/38429
Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com>
Tested-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
disable_irq() will do schedule() if threaded IRQ handler is running. But
suspend_cpu_complex() is called from IRQ disabled.
disable_irq_nosync() should be used here because it will not sleep.
BUG 841808
Change-Id: I5bc241e607ffb5cad34530185e308a9f9bbc6543
Reviewed-on: http://git-master/r/37505
Reviewed-on: http://git-master/r/38188
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|