Age | Commit message (Collapse) | Author |
|
Tegra Profiler: fix warnings with CONFIG_DEBUG_PREEMPT=y
* Add the missing preempt_disable/enable() pairs in start/stop ioctls.
* Untie mmap and some other samples from the current cpu.
Bug 200067410
Bug 1598009
Change-Id: I9f03facf3a0ecee20432019ea8094a349c7897d1
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/668123
(cherry picked from commit ee3374eb9983d1ccadbf3a54c977d3e6db97ec4a)
Reviewed-on: http://git-master/r/672042
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Tegra Profiler: fix sparse static warnings.
Bug 1587428
Bug 1598009
Change-Id: Ic07b4d6247a506109144ceb1b7401f25373d2137
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/660600
(cherry picked from commit c197f471258f8eb99aa1402ec3a1144b1b34dd65)
Reviewed-on: http://git-master/r/672041
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Decode the unwinding instructions (AArch32): fix incorrect
increment of virtual stack pointer (vsp).
Bug 1584541
Bug 1598009
Change-Id: I4ec64eb21a758b9283df9e6bd6b87a0555180eab
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/658441
(cherry picked from commit c963ce2532586098ddae159d19a2e241fc25cd1a)
Reviewed-on: http://git-master/r/672040
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Tegra Profiler: when collecting backtraces, record
remaining data stack size.
Bug 1584533
Bug 1598009
Change-Id: I608ab73f8e1b7da84221a17a782080fdf5598111
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/658431
(cherry picked from commit 803c1a41e9b7ebcbf297bd7ce5caeed1d1f800ce)
Reviewed-on: http://git-master/r/672039
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Tegra Profiler: add ARMv8 Cortex-A57 specific pmu events.
Bug 1582354
Bug 1598009
Change-Id: I72b1e1ccea3d455d91492cb6ad8538f2405c3937
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/654818
(cherry picked from commit 0d4bbf2c837461aa1571d242be80907fbad14482)
Reviewed-on: http://git-master/r/672035
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Tegra Profiler: add lower bound of memory for unwinding.
Bug 1574379
Bug 1598009
Change-Id: Ia3c412caa0c2adfe603c08b3916bd57f3ea14255
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/594457
(cherry picked from commit e94dc4b70c045322c27d83fbe56a3c9690258443)
Reviewed-on: http://git-master/r/672029
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Tegra Profiler: send samples via memory mapping areas
to the user space.
Bug 1566270
Bug 1598009
Change-Id: I19aae4ca1f8d6a3ae7c36e99fb018d8fcd2152d3
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/559124
(cherry picked from commit 1a53b2fc3f15aeed1eee0f9aa6e259ae476acb82)
Reviewed-on: http://git-master/r/672026
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Fix build warnings for Tegra Profiler.
Bug 1562287
Bug 1598009
Change-Id: I3bab0fdea33a217a8f13284329e6edec9fe35c50
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
(cherry picked from commit 27796155c4a7d33878c0c82c955d6c467d162651)
Reviewed-on: http://git-master/r/672024
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Bug 1559160
Bug 1598009
Change-Id: I73fcaed4f6fb97d2dce6efe16573c5b90c82fde0
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/542493
(cherry picked from commit bbb307ed7ce749dc7425a50b45c5db773067362a)
Reviewed-on: http://git-master/r/672022
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Dwarf unwinding on AArch64: fix broken call chains
for some types of functions.
Bug 1549713
Bug 1598009
Change-Id: Ia3d51723f6381befe01481a5d4d3b4041ad7b411
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/494632
(cherry picked from commit ec10a69ec9999ff7937a520caa9e562c38b826c6)
Reviewed-on: http://git-master/r/672020
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Add implementation of a dwarf unwinding for AArch64.
Bug 1465331
Bug 1598009
Change-Id: I1ff0c5411fe63ea5b7291c53c1d5a1d1cde59c25
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/486989
(cherry picked from commit f00783180ee09c5698463a39bed62c08ef17802a)
Reviewed-on: http://git-master/r/672019
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Do not use copy_to_user while holding a spinlock, it is not safely.
This patch fixes tegra_profiler_test fails on Android L.
Bug 1543109
Bug 1545325
Bug 1598009
Change-Id: Iea7b89d879e1f3a003cd26e06bf6c4dea0b7b1dc
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/482176
(cherry picked from commit 5ac6bc186cdff3efd0d71881dd510a85d3ffc629)
Reviewed-on: http://git-master/r/672018
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Pointer "pt_regs *regs" is first dereferenced and then checked for NULL
To fix this move NULL checking to beginning of function
Coverity id : 26686
Bug 1416640
Bug 1598009
Change-Id: I40e97e38e5a61a5d77ea68fa511e996f24385cfc
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/447532
(cherry picked from commit 4651be4faa111a0ff64a924889b69ec56ae19ace)
Reviewed-on: http://git-master/r/672015
GVS: Gerrit_Virtual_Submit
Reviewed-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Tested-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
quadd_unwind_start calls rd_alloc while holding a spinlock.
This is dangerous because rd_alloc allocates memory with
the GFP_KERNEL flag. This fix simply moves rd_alloc outside
the critical section.
Bug 1529894
Bug 1598009
Change-Id: I284e72d2fdd9089428d75f3c3efb79513a897b7e
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/433264
(cherry picked from commit e29a862f449b3f1831410162c4360041438017dc)
Reviewed-on: http://git-master/r/672012
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Tested-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
When shutdown process is ongoing, dont allow rtc
read/write/irq activity.Add shutdown hook to the
driver to disable irq and cancel any pending
irq_work
Bug 200072946
Change-Id: I1a68d17ec49ee32e849ad965a144b84be19ba6c5
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/677751
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
During shutdown/reboot process, its better to
finish any pending irqwork so that the work is
not scheduled after devices like i2c are shutdown.
This patch provides hook to be called from rtc driver after disabling
rtc irq. Also any further request to access rtc_class_ops will
be prohibited.
Bug 200072946
Change-Id: I8eb20e5214a31fbc8a280ccfff8e190a5fabbb96
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/677750
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Tegra watchdog is disabled by default.
Users can access /dev/watchdog0 to operate it.
Bug 1557390
Change-Id: I0ee4f787336fc566900ffeb5c26c6fde6530b904
Signed-off-by: Ximing Chen <ximingc@nvidia.com>
Reviewed-on: http://git-master/r/674635
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Implement Tegra WDT FIQ debug function.
Default is disabled.
Bug 1581432
Change-Id: Ic81ab4cd3285080016b37191e6e0fab18e330a30
Signed-off-by: Renn Wu <rewu@nvidia.com>
Reviewed-on: http://git-master/r/#/c/271988
Reviewed-on: http://git-master/r/662550
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
During probe, for L4t-HDMI, monitor specs are read and set
before DC is enabled. DC will fall back to default mode
only when a invalid request is made by monitor.
Bug 200020671
Bug 200031813
Change-Id: I5138e76afe8b2e5bfef1ee1941455827df34a1c0
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/673655
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Invalidate TLB after PDE udpate and before freeing the Page
Table memory
Stale TLBs during unmap can lead us to access invalid PTEs
Bug 1577947
Change-Id: I46c6a7a9079570a8e2af8bb2a6687cfeec83a6f7
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/670324
(cherry-picked from commit e4cbdae09949d23ac338209924d35584c5d8d288)
Reviewed-on: http://git-master/r/671197
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
|
Current sequence :
- delete page tables memory
- update PDE entry and mark above page tables invalid
With this sequence, it is possible to have valid PDE entries
with already freed page table and this could lead us to
invalid memory accesses.
Fix this by switching the sequence as follows :
- update PDE entry and mark page tables invalid
- delete page tables memory
Bug 1577947
Change-Id: Icc3a8c74bbf1bf59e41e0322cfc279d15690aa9d
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/670323
(cherry-picked from commit 56f738b4c4ee188ec1f69b91615cd9728ff18cf0)
Reviewed-on: http://git-master/r/671196
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
|
Enabling PSTORE configrations for L4T
Bug 1581073
Change-Id: Ic54616379a5a279117ae85cb0e3465ef5c2c70b8
Signed-off-by: Ximing Chen <ximingc@nvidia.com>
Reviewed-on: http://git-master/r/661347
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Rui Zhuo <rzhuo@nvidia.com>
Reviewed-by: Renn Wu <rewu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
During probe, for L4t, monitor specs are read and set
before DC is enabled. DC will fall back to default mode
only when a invalid request is made by monitor.
Bug 200020671
Change-Id: Ic78dc9883813d1ca6623ccfde47f8a2bd493cf76
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/668839
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Jong Kim <jongk@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
of_device_id tables need to be NULL terminated. This patch fixes the
missing NULL termination within sysedp_batmon_calc module.
Bug 1539761
Change-Id: I7b1f48b85fce84337d8d2093fe7886f965d0b28f
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/437001
(cherry picked from commit 305fceeceed23782a1170ed60b87059010a83c61)
Reviewed-on: http://git-master/r/671006
Reviewed-by: Steve Rogers <srogers@nvidia.com>
|
|
Allow suppressing WFI when submitting work and requesting a fence
back.
Bug 1491545
Change-Id: Ic3d061bb4f116cf7ea68dbd6a1b2ace9f11d0ab5
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/390457
Reviewed-on: http://git-master/r/671029
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sibashis Mohapatra <sibashism@nvidia.com>
Tested-by: Sibashis Mohapatra <sibashism@nvidia.com>
Reviewed-by: Yogesh Kini <ykini@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
If firmware is not found in case of error, set audio_engine
to NULL so that kernel does not panic while further
processing
Bug 200067781
Change-Id: Ia854c978bd33a2615ab27715e83b4d78a1dbab3a
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/670625
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Set Sata Enable to output High to get sata working
Bug 1551864
Bug 200070681
Change-Id: Ifb01377df3f597304b303487f91a26053e2f1fb6
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/670552
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Power-up and initialize sensor-hub MCU to start fetching code from
flash storage.
Bug 1560072
Change-Id: I993dc76f34cad8a3ef6aa11c2077a87f62e9ce58
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/659365
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arun Kannan <akannan@nvidia.com>
Tested-by: Arun Kannan <akannan@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Line discipline driver for sensorhub stream.
Bug 1591540
Change-Id: Ic867019b4d06091d27b55ee2560fc337e2e59523
Signed-off-by: Arun Kannan <akannan@nvidia.com>
Reviewed-on: http://git-master/r/664091
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kamal Balagopalan <kbalagopalan@nvidia.com>
Tested-by: Kamal Balagopalan <kbalagopalan@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Shader informs user about context switch wait time.
This doesn't affect any functionality. Hence changing print to info.
bug 200015967
Change-Id: I7fbb562e43ee6ec1bc8ac01a51d3c9f19d5cb4cf
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/662657
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
|
|
Change-Id: I1c00d571e294ccf1c4d795bb90e71defd3395293
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/591333
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit b87d110ddc52048944862fb8bf019922333b1dd5)
Reviewed-on: http://git-master/r/665999
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
|
|
Change-Id: I3a358eb3f996917218798ae24eb1b0ef471a223f
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/591332
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit 4011d6570ba8138348ccc45b2acb31526cb73863)
Reviewed-on: http://git-master/r/665998
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
Disable line timeout, since some sensor like IMX208 doesn't work with
line timeout enabled.
Bug 1560636
Change-Id: I38e9a03e04ca206cbb65c13829c567d0c0de1c6c
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/539004
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit 8cca4a716c25cecbbc7455d5dd92f3e7fc074b07)
Reviewed-on: http://git-master/r/665997
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
Bug 1560636
Change-Id: I2d27c631da0f4b6540af9b4da9ba9e212a4a56c5
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/539003
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit e9b82e8a6e6edf5fc00e88c8610b9c2bb67f3872)
Reviewed-on: http://git-master/r/665996
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
Change clks_init() internal API to use CSI port number to enable clks
instead of using dev_id which is incorrect sometime, since vi.0 might
also assigned to CSI_B/CSI_C port.
Bug 1560636
Change-Id: I0e26308ec885e2e34fe8faa63fca404c911912c4
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/539002
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit c66d8e5880589b0d95dba63d10daff53e47e8628)
Reviewed-on: http://git-master/r/665995
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
This driver does not demosaic, so when we are working with a bayer sensor,
we can only report the various bayer formats. Similarly, we only support
rgba for test pattern generator right now, so only report rgba if we are in
test pattern mode.
When in test pattern mode, don't ever query the sensor subdev, since it's
not involved at all.
Also, made some miscellaneous cleanup to some debug prints, and the
conditionals around how CSI gets programmed.
Bug 1560636
Change-Id: I9022ec6a489b20d0847dd9d2a79af2307b7a4af1
Signed-off-by: Andrew Chew <achew@nvidia.com>
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/489066
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit f211247b0151b926f21b989cc031dc928db61aaa)
Reviewed-on: http://git-master/r/665994
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
Change link down print to info print
Bug 200042283
Change-Id: I3c1783e362f9a0e95abb4955640e4cdd70d1f59e
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/668855
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Some info prints are wrongly processed as err print
Bug 200042283
Change-Id: I490b4782e5d26d06c0f3c7104ab8c68b94f31888
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/668854
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Disabled default printing of falcon firmware direct loading
to avoid console log spew.
Bug 200048667
Change-Id: I34b34864f64d44ef009586e7e847041b10b06d67
Signed-off-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-on: http://git-master/r/660016
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Implement support for partial buffer mappings.
Whitelist gr_pri_bes_crop_hww_esr accessed by
fec during sparse texture initialization.
bug 1456562
bug 1369014
bug 1361532
Change-Id: Ib0d1ec6438257ac14b40c8466b37856b67e7e34d
Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-on: http://git-master/r/375012
(cherry picked from commit a24470f69961508412402b9b06d5b71fbf6f7549)
Reviewed-on: http://git-master/r/601754
Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
GPU PMU booting is in a separate thread(workqueue) and currently
there is a race condition that PMU booting doesn't finish when
"nvhost_gk20a_finalize_power_on" is returning.
If the GPU starts to runtime powergate(nvhost_gk20a_prepare_poweroff)
at that time, we left a unfinished PMU booting workqueue task there.
So next time when this task starts running, GPU will be put into
a bad state which causes lots of GPU errors.
This patch adds a wait at the end of "nvhost_gk20a_finalize_power_on"
, so that the race condition can be avoided.
Bug 200055546
Change-Id: I4f2d0798fcadb4effc555a66f3c3e3061b18d246
Signed-off-by: Mark Zhang <markz@nvidia.com>
Signed-off-by: sujeet baranwal <sbaranwal@nvidia.com>
Reviewed-on: http://git-master/r/494065
(cherry picked from commit 3b9866a952ba0a1dea05d20bf32b6bcc9113f38b)
Reviewed-on: http://git-master/r/655952
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
Workaround for GPU hang if boost turns GPU on before it is
initialized.
Bug 1435870
Change-Id: I07d0617049612344ca7c494da8cb8d75789984e5
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/453375
(cherry picked from commit 260cf3d3fab941126eebf4bc977cb408587492eb)
Reviewed-on: http://git-master/r/655951
Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
gk20a_pmu_disable_elpg can be called before the PMU driver has
received and processed the INIT message from the PMU. If change
ensures that the ELPG ref-count has been initialized to zero
before that can happen.
Bug 200016313
Bug 200055546
Change-Id: Ic80ec1ee69b1eb0499effb1abf556f78cb041f5e
Signed-off-by: Neil Gabriel <ngabriel@nvidia.com>
Reviewed-on: http://git-master/r/431927
Reviewed-on: http://git-master/r/436302
(cherry picked from commit dad127648262a76180259525ac660ffa8307f69b)
Reviewed-on: http://git-master/r/655950
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
|
|
Bug 1552628
Change-Id: I90fdbb99bcfb2c20ed1fa0125af6a999bad7b4fc
Signed-off-by: Ming Wong <miwong@nvidia.com>
Reviewed-on: http://git-master/r/658630
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kamal Balagopalan <kbalagopalan@nvidia.com>
Tested-by: Kamal Balagopalan <kbalagopalan@nvidia.com>
|
|
Pinmux global control could be configured CLAMP_INPUTS_WHEN_TRISTATED
in bootloader/U-Boot, here is to disable it.
Bug 1551864
Change-Id: If30042237ff4ce8c68ff840b11f438d333285723
Signed-off-by: Ximing Chen <ximingc@nvidia.com>
Reviewed-on: http://git-master/r/665717
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
Check max clock supported by DC before programming it with
that mode. If the requested pixel clock is greater than the
maximum supported then fall back to default mode: 640x480.
Bug 200031813
Change-Id: Icf1f91fe36e29f2c8c6aefe34d3952948743c3a8
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/666089
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
Bug 200062768
Change-Id: I18211dfd4735c868a03bbc62d7f9cea4d0d1af05
Signed-off-by: Jitendra Kumar <jitendrak@nvidia.com>
Reviewed-on: http://git-master/r/662717
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
Added DVFS support for CD575MI SKU 0x80
CPU DVFS: Max Freq 2116Mhz. Switch to PLLX below 0 DegC
and fixed voltage
SOC DVFS: Vmax @ 1100mv constant below 0 DegC
EMC dvfs max freq 924Mhz
GPU DVFS: Max Freq 924Mhz and thermal bump up of voltage
by 50mv below 0 DegC. Max gpu freq below 0degC
is 852Mhz
Bug 1563635
Change-Id: Ic55654c36ed39b96a1262b7243a51d8eaad1b894
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/657110
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
return the status of nvhost_syncpt_wait_timeout_ext
in vi2_capture_start.
Bug 1583009
Change-Id: I2b2ecaf868d0a05e2fa46b23e7eb40ee76aea380
Signed-off-by: Kassey Li <kasseyl@nvidia.com>
Reviewed-on: http://git-master/r/655521
Reviewed-by: Bryan Wu <pengw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Bryan Wu <pengw@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
|
|
enable devsleep only for m-sata connectors
Bug 1557711
Change-Id: If203e09ec005022e28aa2c4d7ac3816b83419c14
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/662454
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
|