]>
rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/log
Venkat Reddy Talla [Thu, 17 Dec 2015 09:17:38 +0000 (14:47 +0530)]
extcon: gpio-states: cable detection check in resume
Checking cable connection/disconnection in resume path.
some times interrupt is not getting generated when cable
removed in LP0 state, checking cable state in resume path.
Also making changes to take wakelock for 5 seconds when cable
detect/remove interrupt generated.
Bug
200155870
Change-Id: Iffbade7efeffb36d9e832376f7b8f8c3a891cc6c
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/924160
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Nine Feng [Mon, 19 Oct 2015 06:54:36 +0000 (14:54 +0800)]
media: soc_camera: add ov13860 v4l2 driver
Bug
1674463
Change-Id: Ic7aa8c864aae5bb21882bbcaffd0ca561200734d
Signed-off-by: Nine Feng <nfeng@nvidia.com>
Reviewed-on: http://git-master/r/819465
(cherry picked from commit
f42da96525af43345cf0324c55503a3a13bd4e4a )
Reviewed-on: http://git-master/r/840943
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Shardar Shariff Md [Thu, 17 Dec 2015 18:52:08 +0000 (00:22 +0530)]
arm64: dts: jetson-cv: add power monitor support
add power monitor support for P2597 CVB
Bug
200155071
Change-Id: I11ba28c0bbfe7e0ae87620abbd4d203cb5a2ae61
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/924326
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Suresh Mangipudi [Thu, 24 Dec 2015 10:12:03 +0000 (15:42 +0530)]
arm64: dts: add fan_config for T210 darcy
Updated the gpio and pinmux entries for fan_config.
Bug
1695353
Change-Id: I55422e721d83190fc6d233a7dad50f005f9ff7f6
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/926817
Reviewed-by: Daniel Fu <danifu@nvidia.com>
Tested-by: Daniel Fu <danifu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Shardar Shariff Md [Mon, 21 Dec 2015 19:59:34 +0000 (01:29 +0530)]
arm64: dts: adjust baud rate of GPS serial port
- adjust baud rate(921600) of GPS serial port by +1%
to fall under tollerance range
- Configure GPS serial port RX path in PIO mode
Bug
200136219
Change-Id: I156eb8109482c617b259c92f953bf8c5fa46d422
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/925595
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Shardar Shariff Md [Wed, 7 Oct 2015 11:14:36 +0000 (16:44 +0530)]
serial: tegra: add support to adjust baud rate
- Add support to adjust baud rates to fall under supported
tolerance range through DT.
Bug
1692030
Bug
200136219
Change-Id: Ice72b5af2bad94744bc90949e08533a3e26b7f02
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/824773
(cherry picked from commit
046c9cb55ffb6a936e81a14549f3d6da4deb80cf )
Reviewed-on: http://git-master/r/925594
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Kerwin Wan [Wed, 23 Dec 2015 05:53:16 +0000 (13:53 +0800)]
arm64: tegra: jetson_cv: add android devkit dts
Bug
200161650
Change-Id: Ia694f92c455761f83f63369cf3ca1b92bf665ec7
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/926219
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
snchen [Fri, 4 Dec 2015 02:18:35 +0000 (10:18 +0800)]
driver: media: tegra: ov10823 fuse ID support
Add fuse ID read support for the ov10823 from OTP Bank 0
Bug
1708818
Change-Id: I7559c4fc563b0785e8fdba155fd6a42f9b91ae31
Signed-off-by: Shan Neng Chen <snchen@nvidia.com>
Reviewed-on: http://git-master/r/841347
(cherry picked from commit
c12ad21020a35231813b61420d1a1bcde0b13187 )
Reviewed-on: http://git-master/r/921101
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Srinivas Ramachandran [Sun, 13 Sep 2015 17:38:46 +0000 (10:38 -0700)]
Add rf_test sysfs
RF testing needs wifi chip power save mode to be set to 0 and
roaming to be turned off. Add sysfs node to enable rf_test mode
in driver which disables roaming and power save.
rf_test mode also persists the txchain and rxchain vars until
disabled.
Bug
1713208
Change-Id: Ie6d2deea7d17ef3b908c591e8cf39ce821e94271
Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-on: http://git-master/r/833010
GVS: Gerrit_Virtual_Submit
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Nagaraj Annaiah <nannaiah@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Venkat Reddy Talla [Thu, 17 Dec 2015 11:23:19 +0000 (16:53 +0530)]
power: lc709203f: report battery charging current
Reporting battery charging current configured in
software to framework layer.
Bug
200159736
Change-Id: If8c4cbd3384768d5d7b612bade5f19689f0b8415
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/924211
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Venkat Reddy Talla [Thu, 17 Dec 2015 03:52:01 +0000 (09:22 +0530)]
ARM64: dts: add iio channel prop to FG node
Adding iio-channel and iio-channel-name to
to get battery current reading using ina3221
interface channel.
Bug
200159736
Change-Id: Ia7edd4d5b6c79d36823870447a8fd37d9ba9dee8
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/924051
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Venkat Reddy Talla [Thu, 17 Dec 2015 03:44:01 +0000 (09:14 +0530)]
power: bq27441: report battery charging current
Reporting input charging current and battery current
to framework layer.
Bug
200159736
Change-Id: I127647bbc49658a30508e6748db0c86bbe86a967
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/924050
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Viraj Karandikar [Tue, 22 Dec 2015 06:40:38 +0000 (12:10 +0530)]
tegra-alt: adsp: add ADMA plugin param controls
Add controls for sending parameters to ADMA plugin
Bug
200100724
Bug
200150727
Change-Id: I2d8c0dcebf679886d966fc45e96035f963740e10
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/925794
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Uday Gupta <udayg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
David DSH [Tue, 22 Dec 2015 04:43:01 +0000 (20:43 -0800)]
Insure seccomp is called on syscall
Bug
200147146
Change-Id: Ieef34724948077fd834f9eabc719806f2c4770be
Signed-off-by: David DSH <ddastoussthi@nvidia.com>
Reviewed-on: http://git-master/r/925757
Reviewed-by: Maneet Maneet Singh <mmaneetsingh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Vidya Sagar [Tue, 8 Dec 2015 07:50:33 +0000 (13:20 +0530)]
arch: arm64: dts: remove power domain for pcie
remove mc_clk_pd power domain entry for PCIe
as this bypasses pcie host controller driver's
suspend_noirq() and resume_noirq() calls during
LP entry/exit sequence
Bug
200158732
Change-Id: I0b879f7a1ec835ecbb39ebce54118a7a093720d8
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/925732
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Prafull Suryawanshi [Wed, 9 Dec 2015 09:21:13 +0000 (14:51 +0530)]
video: tegra: dc: correct typo to parse property
It was typo mistake to add ! in front of of_find_property()
which caused boardinfo as null caused issue in dsi pad register
write. This change fixes it and now boardinfo read correct.
bug
1708374
Change-Id: I1a92089ddccc1eb2c365dd7d20dda8f0eccb2b71
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: http://git-master/r/843440
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit
28f1bcbfa67eca917d0bf44f038096c7c0d5fd90 )
Reviewed-on: http://git-master/r/924575
Reviewed-on: http://git-master/r/925138
Viswanath L [Wed, 16 Dec 2015 11:30:27 +0000 (17:00 +0530)]
Jetson-CV: Use spdif-dit-0 DAI for dummy codec
spdif-dit-0 DAI is shared with I2S4, which has playback/capture DAPM
paths (needed for playback/capture on dummy codec); this is unlike
spdif-dit-3 (I2S3) that has loopback DAPM path
Bug
200151493
Change-Id: I50f0e53ed26527dfd6f3c77d0a4577dca5e1d7b2
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/923613
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Leo He [Thu, 10 Dec 2015 05:02:16 +0000 (05:02 +0000)]
mmc: tegra: Setting MMC_CAP_WAIT_WHILE_BUSY flag
bug
200149429
Change-Id: I678187736f9150090b5cd97dcc44946afcd00bf9
Signed-off-by: Leo He <leoh@nvidia.com>
Reviewed-on: http://git-master/r/921165
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Kerwin Wan [Tue, 1 Dec 2015 09:08:46 +0000 (17:08 +0800)]
arm64: tegra: jetson_cv: use single dts through PM
PM is enabled so jetson_cv can use single dts to dynamically
detect whether a module is installed or not during booting.
Bug
200142736
Change-Id: I12aea1f65f7421c5a2630df36d60692347bb57e4
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/839718
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
David Wang [Wed, 11 Nov 2015 21:09:54 +0000 (13:09 -0800)]
drivers: media: soc_camera: IMX230 driver to gain
Updating IMX230 driver to have it's own to gain function.
Bug
1654210
Change-Id: Iedd8303a3cce61c5de9a272343248bc86b4bca7d
Signed-off-by: David Wang <davidw@nvidia.com>
Reviewed-on: http://git-master/r/831854
(cherry picked from commit
bd60e9668aab204ffa827ccc5eaced5967589a7d )
Reviewed-on: http://git-master/r/833571
Reviewed-by: Arun Kannan <akannan@nvidia.com>
Tested-by: Arun Kannan <akannan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
Arun Kannan [Tue, 6 Oct 2015 21:42:29 +0000 (14:42 -0700)]
media: tegra_v4l2_camera: update v4l2_imx230
Add support for 2 more modes
2672x1600 (2-binned mode of 5344x3200) and
5344x4016 (full-res)
Bug
1682934
Change-Id: I0c2d9fb9343757ea9b87e32fbce0d2cecfed750c
Signed-off-by: Arun Kannan <akannan@nvidia.com>
Reviewed-on: http://git-master/r/812401
(cherry picked from commit
c91b6360f67721aec8165c8d21ae1aba713aa6c4 )
Reviewed-on: http://git-master/r/833570
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
Arun Kannan [Tue, 18 Aug 2015 00:15:15 +0000 (17:15 -0700)]
media: soc_camera: imx230 v4l2 driver
Bug
1654210
Change-Id: Ia99855c91b67dff064bf74a4822c41cb4b9d1b97
Signed-off-by: Arun Kannan <akannan@nvidia.com>
Reviewed-on: http://git-master/r/785059
(cherry picked from commit
2ea5e104b9e9605e94e1c6e829a64d063b8eec00 )
Reviewed-on: http://git-master/r/833383
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
Sumit Singh [Mon, 21 Dec 2015 04:23:40 +0000 (09:53 +0530)]
pci: host: tegra: Prevent device from entering SCx states
This change will prevent device from entering SC2/SC3 state when PCIe
is connetcted.
Bug
200160313
Change-Id: Idff16045ddeb49f9c22d37fd96e17cd54d3d950b
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/925307
GVS: Gerrit_Virtual_Submit
Tested-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Sumit Singh [Fri, 18 Dec 2015 11:48:24 +0000 (17:18 +0530)]
platform: tegra: Add support to prevent device from entering SCx states
This change adds support for preventing device from entering SC2/SC3.
Bug
200160313
Change-Id: Iae7544e075a4f608d2a73038a9e65524d8e1a4bd
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/925306
GVS: Gerrit_Virtual_Submit
Tested-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Shridhar Rasal [Wed, 9 Dec 2015 11:08:30 +0000 (16:38 +0530)]
i2c: tegra-vi: powergate only when partition is ON
Both i2c-vi and host-vi are in VE power domain.
During boot stage, interlaced acessing may occur and
cause negative reference count
Bug
200159379
Change-Id: Iee523b7b3084f0ac890bd47b81738152f064ec41
Reviewed-on: http://git-master/r/843497
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/922484
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Sri Krishna chowdary [Tue, 12 May 2015 07:12:49 +0000 (12:42 +0530)]
video: tegra: nvmap: support inserting pages on unreserve
Some times it is beneficial to insert pages into vma on unreserve.
This avoids page fault overhead for any accesses later. If user space
knows apriori which regions of a group of handles will be accessed for
sure, user space can pass relevant information with this new
NVMAP_INSERT_PAGE_ON_UNRESERVE option to reserve ioctl call.
Mark pages as writable, else write accesses after read fault nullifying the
purpose of the option.
Bug
200092803
Change-Id: Id44502b9a5d890d24f221e38c6ae781584ce7ace
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/781602
(cherry picked from commit
ce62f04082dc1adfe07c1bcd8cbff0d59b3abf80 )
Reviewed-on: http://git-master/r/843463
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Gaurav Singh [Thu, 5 Nov 2015 06:21:16 +0000 (11:51 +0530)]
drivers: usb: gadget: Add release fn for snd_uac2
Introducing a blank release fucntion to fix the warning issue
faced while unloading g_audio module.
Bug
200149372
Change-Id: Ia1fdd73ed2b1aa80f9d1bb2aed497ade6ed26608
Signed-off-by: Gaurav Singh <gaursingh@nvidia.com>
Reviewed-on: http://git-master/r/828208
(cherry picked from commit
03502775b89e4b4690b604a60030f574ea065f99 )
Reviewed-on: http://git-master/r/924134
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Bibek Basu [Mon, 14 Dec 2015 06:32:31 +0000 (12:02 +0530)]
power: console flush during suspend
If the console lock is taken by non boot cpus, then during
suspend conosole buffer may not flush because all nonboot
cpus will be disabled. So,if no_console_suspend is passed
in kernel commandline, flush console before disabling
nonboot cpus.
Bug
200143487
Change-Id: I1a4455a1f515694a75ff7a96d08f24bf4777bf5c
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/922363
(cherry picked from commit
1f17d55e442d5768a7e37183bf835c20132c3617 )
Reviewed-on: http://git-master/r/924111
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
wahsu [Tue, 15 Dec 2015 02:52:16 +0000 (10:52 +0800)]
Hawkeye: Remove TNID in android serial number
Bug
1695710
Change-Id: I2c82b5f2737e576dbf6023cb5e60c77db41f3ec8
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/922838
(cherry picked from commit
e75809916fa7760a8a71cb6f82438d60ebe0076f )
Reviewed-on: http://git-master/r/923529
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Frank Shi [Thu, 10 Dec 2015 08:15:09 +0000 (16:15 +0800)]
video: tegra: nvmap: avoid duplicated vma in vmas
When nvmap_vma_open is called more than one time
for same vma. This vma should not be added to vmas
list again.
Bug
200154984
Change-Id: I7617d6c10e2a9cfcd03418865f0e4b3b8576c971
Signed-off-by: Frank Shi <fshi@nvidia.com>
Reviewed-on: http://git-master/r/921294
Reviewed-on: http://git-master/r/922892
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Amit Sharma (SW-TEGRA) [Fri, 9 Oct 2015 09:12:42 +0000 (14:42 +0530)]
android: lowmemorykiller: add traces in lmk
sample trace output:
kswapd0-69 [002] ...1 462.520719: lowmem_shrink: LOWMEM_PRINT_ELAPSED_TS 5 ms| other_free 128980kB | other_file 172664kB | SIGKILL 0 ms | Task Count 190
kswapd0-69 [002] ...1 462.639786: lowmem_shrink: LOWMEM_PRINT_ELAPSED_TS 0 ms| other_free 128976kB | other_file 174276kB | SIGKILL 0 ms | Task Count 189
kswapd0-69 [002] ...1 462.689726: lowmem_shrink: LOWMEM_PRINT_ELAPSED_TS 0 ms| other_free 128588kB | other_file 173916kB | SIGKILL 0 ms | Task Count 189
kswapd0-69 [002] ...1 462.708081: lowmem_shrink: LOWMEM_PRINT_ELAPSED_TS 0 ms| other_free 131192kB | other_file 171156kB | SIGKILL 0 ms | Task Count 189
Bug
200159203
Change-Id: Ic5d693eca1b72077372dc924d606bef72bfe5e22
Signed-off-by: Amit Sharma <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/922416
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Amit Sharma (SW-TEGRA) [Fri, 9 Oct 2015 09:09:00 +0000 (14:39 +0530)]
android: lowmemorykiller: modify lowmem_print macro
modified the lowmem_print macro to add support for traces in lmk.
Bug
200159203
Change-Id: I7384042f5fa8475ddb60392fcf2a1451480058e4
Signed-off-by: Amit Sharma <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/922415
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Jeetesh Burman [Tue, 24 Nov 2015 10:56:03 +0000 (16:26 +0530)]
iommu/tegra: smmu: fix iommu message
To fix below message:
"No iommus property found in DT node"
replacing dev_notice to dev_dbg.
Bug
200137948
Change-Id: I772f5e9750f50eeab812ed1e18a042fde7cfa02d
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/837095
(cherry picked from commit
5902084054c7e3347c11c5a9b5c1f3d1a903feac )
Reviewed-on: http://git-master/r/842903
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Sumit Bhattacharya [Tue, 1 Dec 2015 07:17:07 +0000 (12:47 +0530)]
pci: hda: Limit sleep time when codec is off
Limit sleep time to 10ms if none of the HDA pcm streams are
active. This will reduce suspend time for HDA when HDMI is
not connected.
Bug
200063987
Change-Id: I27a57486f51dd97dac18967e376c3c05ecd32539
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/839657
Reviewed-by: Sanjay Singh Chauhan <schauhan@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
GVS: Gerrit_Virtual_Submit
Kerwin Wan [Fri, 11 Dec 2015 06:08:04 +0000 (14:08 +0800)]
media: platform: tegra: OV5693: fix invalid regulator pointers
If devm_regulator_get fails in ov5693_regulator_get then regulator
is assgined as error vaule but not NULL. This will cause invalid
pointers when calling regulator_enable which then causes kernel crash.
Bug
200160201
Change-Id: I0d1643d6353ccc84122ab333219274c3291b9fd9
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/921758
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Jeetesh Burman [Thu, 26 Nov 2015 11:32:58 +0000 (17:02 +0530)]
video:tegra:nvmap: fix dump-stack for nvmap test
to get cpu-id use local_clock instead of smp_processor_id,
as it calls to debug_smp_processor_id, which causes stack_dump.
Bug
200155945
Change-Id: Ibd5c8990eca9a83c7e8384a375495dd18c4a18e6
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/838528
(cherry picked from commit
16d34b4dd7e161f71383e79dccadb45ed6e2924c )
Reviewed-on: http://git-master/r/843460
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Bhanu Murthy V [Thu, 17 Dec 2015 02:41:29 +0000 (18:41 -0800)]
media: platform: tegra: vi: Fix config flags
Bug
200161694
Change-Id: I5bd6022854d575bdab1623b4e60aad553941e003
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/923989
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Kerwin Wan [Wed, 16 Dec 2015 08:47:51 +0000 (16:47 +0800)]
arm64: tegra: jetson_cv: add node for eeprom manager
Bug
200142736
Change-Id: Id0b6398c7c5560781b069f2edb58904a4e07c72f
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/923514
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Bitan Biswas [Wed, 16 Dec 2015 07:15:41 +0000 (12:45 +0530)]
bindings: mmc: tegra: correct KSO mode dump
Updated bindings file with correct spelling of
KSO dump disable attribute
bug
200161173
bug
200138403
Change-Id: I8246926a17a6d23dbe31871e5e2486a110af1d53
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/923485
(cherry picked from commit
52063daaac23bb1b0f182a978bbc6b591b2ae59d )
Reviewed-on: http://git-master/r/924086
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Bitan Biswas [Tue, 15 Dec 2015 05:36:49 +0000 (11:06 +0530)]
ARM64: DT: tegra21: correct KSO dump disable
Correct spelling of attribute to disable KSO
register dump for sdmmc.
bug
200161173
bug
200138403
Change-Id: I506d87fee955fc0db924beffa35a0d77fe424985
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/922884
(cherry picked from commit
6f85cc4d63449248179b7c9cda4f59d03197829b )
Reviewed-on: http://git-master/r/924082
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Michael Frydrych [Mon, 7 Dec 2015 14:49:13 +0000 (16:49 +0200)]
video: tegra: hdmi: add deep color support
support deep color for yuv422 and yuv444 and
rgb444 formats.
Bug
200144997
Change-Id: I7d6b5b36b28b857fba5d057a536d5cddd478b2f6
Reviewed-on: http://git-master/r/819580
(cherry picked from commit
4bb2a4a770e314006dd42f322f618520b8535a0c )
Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com>
Reviewed-on: http://git-master/r/842394
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Anubhav jain [Wed, 22 Jul 2015 09:33:05 +0000 (15:03 +0530)]
dts: arm64: updated PU/PD_offset for sdmmc3
-Added the PD/PU offset value for p2290 hawkeye.
-Bug
200111979
Change-Id: I523da1b7adae2e7c852f0295342242285fcecf40
Signed-off-by: Anubhav jain <anubhavj@nvidia.com>
Reviewed-on: http://git-master/r/773382
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-on: http://git-master/r/923458
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Soumen Kumar Dey [Tue, 8 Dec 2015 09:15:28 +0000 (14:45 +0530)]
video: tegra: host: t210: Set lowest clk for nvdec
Set default clock of nvdec to lowest value.
User mode code set it to max at the start of playback
and then start video dfs to control nvdec clk.
This change will help to reduce power of osidle
usecase as nvdec clock is kept on all the time.
Keeping at lower clock will help to reduce the power.
bug
200141342
Change-Id: I3f2eaa5d08b58dcd199d3d6bbd29b291c652d5a4
Signed-off-by: Soumen Kumar Dey <sdey@nvidia.com>
(cherry picked from commit
67e2313a8faa97d998e305dbb28722f491685c8e )
Reviewed-on: http://git-master/r/923394
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Bibek Basu [Tue, 15 Dec 2015 10:17:41 +0000 (15:47 +0530)]
arm64: tegra: disable sharp panel in DT
Disable Sharp panel panel-s-wqxga-10-1 by default
and also in devkit DT
Bug
200158761
Bug
200159814
Change-Id: Ifa70d39f6da744f944ada8e0c3e551d797925ac3
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/923065
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Akhilesh Reddy Khumbum [Mon, 14 Dec 2015 23:59:10 +0000 (15:59 -0800)]
ARM64: dts; Hawkeye: Disable SAR for wifi SKU
Bug
1712009
Change-Id: I24398165440055c37237596510882d443661844d
Signed-off-by: Akhilesh Reddy Khumbum <akhumbum@nvidia.com>
Reviewed-on: http://git-master/r/922762
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Rogers <srogers@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Somdutta Roy [Mon, 14 Dec 2015 22:59:20 +0000 (14:59 -0800)]
arm64: dts: t210: update cpu-emc frequency table
updated the cpu-emc freq ratio table based on
loki-e for power and perf optimization
Bug
200154205
Change-Id: I0679b6fb3ac969b3006c97e7827842a2549d8664
Signed-off-by: Somdutta Roy <somduttar@nvidia.com>
Reviewed-on: http://git-master/r/922735
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Mark Pereira [Fri, 11 Dec 2015 04:16:57 +0000 (20:16 -0800)]
Audio: update fw and driver to resolve codec issues
Change summary:
Updated xml files provided by Audience to resolve issues
with CTS capture and playback failures on Hawkeye.
Update to Hawkeye latest FW is B62297.
Bug
200155576
Change-Id: Iacf4537e1b8bac96edc85adea5fe5a405d9c5976
Signed-off-by: Mark Pereira <mpereira@nvidia.com>
Reviewed-on: http://git-master/r/921696
GVS: Gerrit_Virtual_Submit
Tested-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Shridhar Rasal [Thu, 10 Dec 2015 05:15:00 +0000 (10:45 +0530)]
video: tegra: host: finish actmon work if pending
- this make sure that, pending work is finished before deinit
complete to avoid scheduled work queued after deinit.
Bug
200155744
Change-Id: Id0a3a93f4a9b07bf39758be58e4e3c37834b5e5e
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/921169
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Xianhui Wang <xianhuiw@nvidia.com>
Shridhar Rasal [Wed, 9 Dec 2015 10:51:20 +0000 (16:21 +0530)]
video: tegra: host: don't init actmon workers always
- This enables actmon workers only when work actmon interrupt
configured. Enabling actmon workers polling based scaling doesn't
make sense.
Bug
200155744
Change-Id: I0a9f65daa92d5b95292240587527a1d17d9f095e
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/843494
GVS: Gerrit_Virtual_Submit
Rajkumar Kasirajan [Mon, 7 Dec 2015 11:04:55 +0000 (19:04 +0800)]
arm64: tegra: jetson_cv: add shunt volt offset
added shunt voltage offset to hangle INA
channel inaccuracy on high voltage rails.
Bug
1677375
Change-Id: I78292e7447f06f2b743b7eef60c19d4d4814c22d
Signed-off-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-on: http://git-master/r/842256
(cherry picked from commit
6faf46c0441698bb5d3aaa2e0947b820c1467e82 )
Reviewed-on: http://git-master/r/923385
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Rajkumar Kasirajan [Mon, 23 Nov 2015 10:29:50 +0000 (18:29 +0800)]
iio: meter: ina3221: support to offset shunt volt
added support to offset shunt voltage reading to hangle INA
channel inaccuracy on high voltage rails.
example:
p2180_shuntv_offset: shuntv-offset {
offset = <40>;
conditional_offset@0 {
shunt_volt_start = <40>;
shunt_volt_end = <120>;
offset = <33>;
};
conditional_offset@1 {
shunt_volt_start = <200>;
shunt_volt_end = <400>;
offset = <80>;
};
};
channel@0 {
reg = <0x0>;
ti,rail-name = "VDD_IN";
ti,shunt-resistor-mohm = <20>;
ti,current-critical-limit-ma = <2105>;
shunt-volt-offset-uv = <&p2180_shuntv_offset>;
};
which means,
if shunt voltage reading is from 40 to 120, offset -33 will be applied
if shunt voltage reading is from 200 to 400, offset -80 will be applied
for all other readings offset -40 will be applied.
Bug
1677375
Change-Id: I67c12a6b105011a0a8ca2aae2c5764df6e21ce8b
Signed-off-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-on: http://git-master/r/836475
(cherry picked from commit
e1613a0534cc372160090e9e60b52349ffee9ade )
Reviewed-on: http://git-master/r/923383
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ninad Malwade <nmalwade@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Bibek Basu [Tue, 15 Dec 2015 07:09:23 +0000 (12:39 +0530)]
arch: arm64: config: Enable soft plat watchdog
Enable Soft Platform Watchdog and panic timeout
so that pstore features can be used.
Bug
200141646
Bug
200160647
Change-Id: I3f202b85701b91a3e41c2c2079ce2e01aa9639e2
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/922941
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Kirill A. Shutemov [Thu, 3 Apr 2014 21:48:16 +0000 (14:48 -0700)]
mm: consolidate code to setup pte
Extract and consolidate code to setup pte from do_read_fault(),
do_cow_fault() and do_shared_fault().
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit
3bb977946998ae0d756279c5a108435d04636e2b )
Change-Id: I2af7640de17d93d81c5f7f1d83662ac3909dd15f
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/840996
(cherry picked from commit
0aecc2ad054e227a41072bb8de353fc330eca550 )
Reviewed-on: http://git-master/r/842901
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Santosh Katvate [Wed, 2 Dec 2015 09:45:34 +0000 (15:15 +0530)]
thermal: soctherm: use zone_enable for DT case
therm->tz is populated only in non-DT case.
So Use zone_enable to decide if thermal zone is disabled in DT case.
Bug
200157257
Change-Id: I5fd679fe7c4aad76231c82bd8cc7d94c3971cff4
Signed-off-by: Santosh Katvate <skatvate@nvidia.com>
Reviewed-on: http://git-master/r/840338
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Navneet Kumar <navneetk@nvidia.com>
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Tested-by: Dhiren Parmar <dparmar@nvidia.com>
Ivan Raul Guadarrama [Wed, 18 Nov 2015 18:19:49 +0000 (20:19 +0200)]
video: fbmon: identify cea vic modes
Add the FB_VMODE_IS_DETAILED flag to identify detailed modes.
Add the FB_VMODE_IS_CEA flag and correctly identify
detailed timings which are also valid CEA modes.
Bug
1691633
bug
1689283
Change-Id: I04a1b6e6c6c725fb8d1e467994f071b9855f56a0
Signed-off-by: Ivan Raul Guadarrama <iguadarrama@nvidia.com>
(cherry picked from commit
ddce3ef0a203b490c5b471b7d379254534c2ceac )
Reviewed-on: http://git-master/r/836952
(cherry picked from commit
f8e90255e6b29506c360b898b67f6d4bc20e0aee )
Reviewed-on: http://git-master/r/834735
Reviewed-by: Tuomas Kulve <tkulve@nvidia.com>
Tested-by: Tuomas Kulve <tkulve@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Terje Bergstrom [Tue, 24 Nov 2015 23:17:40 +0000 (15:17 -0800)]
gpu: nvgpu: Add comptag offset to part mappings
Add offset to comptags when mapping partial buffers.
Bug
1704834
Change-Id: I3405b465bb1373bcc79eb5ecbd93dd1b866abfb4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
(cherry-picked from commit
19b6e48ce0536b6716fd4e680bacefff0efec383 )
Reviewed-on: http://git-master/r/922044
Reviewed-by: Automatic_Commit_Validation_User
Kirill A. Shutemov [Mon, 7 Dec 2015 23:24:08 +0000 (15:24 -0800)]
pagemap: do not leak physical addresses to non-privileged userspace
[ Upstream commit
ab676b7d6fbf4b294bf198fb27ade5b0e865c7ce ]
As pointed by recent post[1] on exploiting DRAM physical imperfection,
/proc/PID/pagemap exposes sensitive information which can be used to do
attacks.
This disallows anybody without CAP_SYS_ADMIN to read the pagemap.
[1] http://googleprojectzero.blogspot.com/2015/03/exploiting-dram-rowhammer-bug-to-gain.html
[ Eventually we might want to do anything more finegrained, but for now
this is the simple model. - Linus ]
bug
200160374
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Acked-by: Andy Lutomirski <luto@amacapital.net>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mark Seaborn <mseaborn@chromium.org>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Change-Id: I85acefa5c77fcd26d4fde436c37870d41bb8062e
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/842648
Reviewed-on: http://git-master/r/921920
GVS: Gerrit_Virtual_Submit
Venkat Reddy Talla [Mon, 7 Dec 2015 08:35:38 +0000 (14:05 +0530)]
ARM64: dts: jetson-cv: enable ina3221 device for P2180-A03
Enabling ina3221 device for P2180-A03 Jetson-CV platform
using plugin manager.Adding plugin-manager dtsi file for
jetson-cv platform to overide dts node properties.
Bug
200155382
Change-Id: Idf77e7f42dd3e60a53d8eac4084fc4bc9e11927d
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/842175
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Gagan Grover [Fri, 11 Dec 2015 06:05:25 +0000 (11:35 +0530)]
asoc: tegra-alt: es755: Remove unnecessay print
Removed unnecessary print which was cluttering the UART logs.
Bug
200147434
Change-Id: I9bfee373d6894435ac27654496c6d5837f368adb
Signed-off-by: Gagan Grover <ggrover@nvidia.com>
Reviewed-on: http://git-master/r/921757
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
Venkat Reddy Talla [Thu, 12 Mar 2015 08:47:18 +0000 (14:17 +0530)]
power: extcon-xlate: logging cable names for debug
Add debug prints to log cable names to debug scenarios where
cable is inserted but extcon xlate driver fail to detect cable
type, set last cable in state to 0 when all the connected cables
detached from device.
Bug
1571110
Change-Id: I436c1e52f351e53788bc67b6feedf439bc3d2ee7
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/716730
(cherry picked from commit
78d8733fb37a559ae4414e6b23f7103b0dd43a3e )
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/839248
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Petlozu Pravareshwar [Wed, 16 Sep 2015 17:58:11 +0000 (23:28 +0530)]
power: lc709203f: Change to support both Yoku, Byd
This change is to support both Yoku and Byd
batteries from the same DTS file based on
the command line option.
Change-Id: Iad8e14ecdcaaba49648847267fc8215c67857580
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/800230
(cherry picked from commit
24e1eaa70e0934b94fbe887b5b6920388519447e )
Reviewed-on: http://git-master/r/830742
GVS: Gerrit_Virtual_Submit
Tested-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Petlozu Pravareshwar [Wed, 16 Sep 2015 17:34:13 +0000 (23:04 +0530)]
ARM: dts: Add child nodes to battery, fuelgauge DT
Add child nodes battery0, battery1 to battery and
fuel gauge DT nodes. battery0 node is for Yoku,
battery1 node is for Byd.
Change-Id: Ifb827aafc84737f0887bf01b5f734be26b19ba31
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/800228
(cherry picked from commit
fe79616be0991f0be26ef6944f274a58ad5c0296 )
Reviewed-on: http://git-master/r/830718
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Petlozu Pravareshwar [Wed, 16 Sep 2015 17:27:50 +0000 (22:57 +0530)]
arm: tegra: Add parsing function to get battery id
Add parsing function to get battery id from the
command line. Battery id 0 represents Yoku,
and 1 represents Byd.
Change-Id: I60119e332bb3341c3a7b9efb2808ab967e66c97c
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/800165
(cherry picked from commit
2df03ecbf1bece0e1601b792be5a18d0f652faf6 )
Reviewed-on: http://git-master/r/830717
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Petlozu Pravareshwar [Tue, 20 Oct 2015 11:10:36 +0000 (16:40 +0530)]
power: bq2419x: Change to support both Yoku, Byd
This change is to support both Yoku and Byd
batteries from the same DTS file based on
the command line option.
Change-Id: Ifdafb1a1e3bfed8919a2abeb47f587965f163a7d
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/800229
(cherry picked from commit
ddc5f1bd7b06c07fe733cdb6a5ee5c0c5fa25b0f )
Reviewed-on: http://git-master/r/830716
GVS: Gerrit_Virtual_Submit
Tested-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Santosh Reddy Galma [Wed, 9 Dec 2015 09:57:44 +0000 (15:27 +0530)]
arm64: dts: t210-jetsoncv: Enable sharp 25x16 panel
enables support for sharp 25x16 panel on JetsonCV
platform.
Bug
200158761
Change-Id: I195ef74636ad9223155a7ed3ab8ef05a57a42b97
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/921431
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Venkat Reddy Talla [Thu, 10 Dec 2015 05:09:21 +0000 (10:39 +0530)]
ARM: dts: ST8: update cable new states table
Some times, PMIC is not generating ID interrupt
when RID-B cable removed.Due to this RID-B cable
remove event not getting reported to tegra-udc layer.
Updating cable new states table to handle RID-B cable
remove event if previous connected cable is RID-B.
Bug
200158890
Bug
200145974
Change-Id: I9ccaf1172ae0c7e543a222f76cd157aa30e7b0c9
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/921166
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Bibhay Ranjan [Thu, 3 Dec 2015 13:04:19 +0000 (18:34 +0530)]
bcmdhd: set correct bw for p2p connection
if the bw sent from the upper layers does
not match with the bw of the AP connection,
p2p connection happens on MCC always. With
this fix, the bw of the p2p connection is
set as AP's bw.
Bug
1694567
Change-Id: I5f9c73bc51e360e2b3e5e7cf6443d1de4434a136
Signed-off-by: Bibhay Ranjan <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/842842
Reviewed-by: Mohan Thadikamalla <mohant@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Kasturi Raghavender <kraghavender@nvidia.com>
Mahantesh Kumbar [Fri, 11 Dec 2015 11:09:41 +0000 (16:39 +0530)]
gpu: nvgpu: Enable ELPG when disabled due to reset
Enable ELPG back whenever ELPG disable is done due to reset or recovery.
Otherwise elpg_refcnt mismatch doesn’t engage ELPG correctly
Bug
200156347
Change-Id: I68644c42f80ce3cab6fb77664fe6d23699107f8b
Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-on: http://git-master/r/921915
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Thomas Fleury [Thu, 19 Nov 2015 14:38:37 +0000 (15:38 +0100)]
gpu: nvgpu: fixed NV_PBUS_INTR_0 value on pbus isr
bug
200139995
Change-Id: I81d2eb4461e92fbb33db8554779f6566f6b002c1
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/835307
(cherry picked from commit
6acc35bd1bcc706fbde8d11521cf1d0f64a16fe4 )
Reviewed-on: http://git-master/r/921299
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Vijayakumar [Tue, 24 Nov 2015 07:06:58 +0000 (12:36 +0530)]
gpu: nvgpu: gm20b: use jiffies for wait on PMU
bug
200153970
bug
1707442
Change-Id: Ia5f616269bfeb834540bf4da6ecfc6e399682819
Reviewed-on: http://git-master/r/836966
(cherry picked from commit
9bc019e3b62984b3d1f12da5edc3221ee44a86b1 )
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/841356
(cherry picked from commit
b2c3b851ad5c235cb49cca8fc110e3893c14de6c )
Reviewed-on: http://git-master/r/921846
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Shreshtha SAHU [Mon, 16 Nov 2015 15:46:31 +0000 (21:16 +0530)]
media: tegra: ov5693: create node if HW is present
Create video dev node ov5693.1 only if HW is present/detected.
Bug
1693452
Bug
1692979
Change-Id: Ic4c9172798f243471d2d87b6eddab81e79a240aa
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/833358
(cherry picked from commit
ddc3a10206b81a62692822adf91804432edfa0fb )
Reviewed-on: http://git-master/r/842667
Reviewed-by: Rakesh Sharma <rasharma@nvidia.com>
Tested-by: Rakesh Sharma <rasharma@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Bhanu Murthy V [Thu, 1 Oct 2015 21:32:03 +0000 (14:32 -0700)]
media: v4l2-core: Migration from upstream
Adds required upstream files to support
unified VI driver
Add minimal changes in existing files without
breaking the current interface
Bug
1617777
Change-Id: Iaa2b63aed4ac028fd3b3a7920a3781d7186ca03f
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/786823
(cherry picked from commit
230d024056fb256a741ac4da94624f463cad6574 )
Reviewed-on: http://git-master/r/832143
(cherry picked from commit
f867ba2a2cf1eb05bb2b4396ae30f2174326c2b7 )
Reviewed-on: http://git-master/r/841853
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Bhanu Murthy V [Thu, 29 Oct 2015 23:43:53 +0000 (16:43 -0700)]
arch: arm64: configs: Moving VI config
Remove GRHOST_VI as part of defconfig
Add TEGRA_VI for l4t to compile as module
Bug
1617777
Change-Id: Ia48be53d8529ab35a438a8abc16a94e7e38d83db
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/825017
(cherry picked from commit
d9aed46d431443740cd82b15fccbface2d8d2dc0 )
Reviewed-on: http://git-master/r/832136
(cherry picked from commit
46c0454c6cadafd390f54888ed1f348327eb0cfc )
Reviewed-on: http://git-master/r/841852
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Bhanu Murthy V [Fri, 30 Oct 2015 18:51:53 +0000 (11:51 -0700)]
drivers: Restructure GRHOST_VI
Remove GRHOST_VI. VI code moved from
drivers/video/tegra/host/ to
drivers/media/platform/tegra/vi/
Bug
1617777
Change-Id: I54350ddf178229c9975419a77d2fe0d9836e844f
Signed-off-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-on: http://git-master/r/825018
(cherry picked from commit
9bf60d57e2ddbc273e25ce7cb022ebaacedaac3a )
Reviewed-on: http://git-master/r/832137
(cherry picked from commit
b2f61635c048f6f003a6cf807d105b96ab426dde )
Reviewed-on: http://git-master/r/841851
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Peter Chiang [Fri, 25 Sep 2015 10:04:17 +0000 (18:04 +0800)]
usb: gadget: composite: Fix cdev null after rmmod
Avoid to disconnect gadget again after unbinding
bug
200141741
bug
200143079
Change-Id: I6fadcb4c5b5262d861a865f24ba2d8666e126923
Signed-off-by: Peter Chiang <pchiang@nvidia.com>
Reviewed-on: http://git-master/r/805175
Reviewed-on: http://git-master/r/819566
(cherry picked from commit
ee4de1c8a825ed6c0edcb7f6820aabef6596ca02 )
Reviewed-on: http://git-master/r/839818
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Rajkumar Kasirajan [Fri, 13 Nov 2015 06:46:29 +0000 (14:46 +0800)]
arm64: dts: t210: update jetson cpu-emc table
updated jetson cpu-to-emc ratio table based on loki-e
to optimize power and performance.
Bug
200146718
Change-Id: Icd6aad5b27a6c36a7ec598be87f051fa9c84148f
Signed-off-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-on: http://git-master/r/832619
(cherry picked from commit
69f00966c2881b6803b13769ffe30b0a2e9b3bec )
Reviewed-on: http://git-master/r/839327
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Ninad Malwade <nmalwade@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Naveen Kumar S [Thu, 3 Dec 2015 10:25:37 +0000 (15:55 +0530)]
video: tegra: dc: remove redundant flag check
While identifying VIC, aspect ratio flag is again being
checked after comparing few basic mode parameters. Hence
removing the redundant flag comparision. This avoids failure
in VIC identification when a mode does not specify aspect ratio.
bug
200148145
Change-Id: I6298480b7d7a12c05c393276e5432bcd5e7dcd38
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/840954
(cherry picked from commit
ebde085958fdcb26110fa85e7e347c9835eb173a )
Reviewed-on: http://git-master/r/842422
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Naveen Kumar S [Thu, 26 Nov 2015 09:55:39 +0000 (15:25 +0530)]
video: tegra: dc: update VIC identification
Adding few more checks to help VIC identification.
Comparing 1001/1000 value of pixclock to take care of
pclk rounding-off issue. Also, comparing mode->flag value
helps in choosing the CEA mode with matching aspect ratio.
bug
200148145
bug
200145631
bug
1689283
Change-Id: Ia80ba4dd3337772b24b74ee355a1032d59b31d9d
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/838452
(cherry picked from commit
1ee939ea33c893a5b98652cef4d0fae5c7f25c32 )
Reviewed-on: http://git-master/r/842421
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Naveen Kumar S [Fri, 20 Nov 2015 14:15:10 +0000 (19:45 +0530)]
drivers: video: tegra: dc: Fix VIC for a few modes
This change fixes the VIC not being set correctly on a few modes. For
1000/1001 modes, the pixclock is now reverted back to the mode
corresponding to the CEA modedb before it is compared.
Since the refresh in the mode database is also not trustable, it
compares the modes from the CEA modedb with a +/- 1 offset
Bug
200148145
Bug
200145631
Bug
1689283
Change-Id: I3742b4d090c26d6c1fc3e2f4af44fd1389079d1a
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/837681
(cherry picked from commit
2046174796fc8ad124b7b34d641ed5acf9f5640c )
Reviewed-on: http://git-master/r/835919
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Venkat Reddy Talla [Fri, 11 Dec 2015 10:19:55 +0000 (15:49 +0530)]
ARM64: dts; Hawkeye: add A04 and A05 wifi SKU dts
Adding device tree files to support A04 and A05
Hawkeye wifi board revision platforms.
Bug
1710164
Change-Id: I5d4b7d9187a6e69b08eae849b758b29dd084b4c5
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/921890
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Viraj Karandikar [Wed, 18 Nov 2015 07:01:13 +0000 (12:31 +0530)]
tegra-alt: adsp: request ACK when closing PCM stream
Request ACK and wait when closing PCM stream.
Bug
200100724
Change-Id: I1a12a3a8efff0e25152c148e4b74b163f0b4f63d
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/834456
(cherry picked from commit
21b996e65952154add4238e87c690a7e086c89c5 )
Reviewed-on: http://git-master/r/840362
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Frank Shi [Fri, 20 Nov 2015 03:13:48 +0000 (11:13 +0800)]
media: tegra_camera: support YUV CSI input
Program VI to support YUV CSI input
Bug
200153901
Change-Id: I791e55a24cea59ad32a9af99f8d0c3be8eb5919d
Signed-off-by: Frank Shi <fshi@nvidia.com>
Reviewed-on: http://git-master/r/835644
(cherry picked from commit
18f32d874f50cbf091688f47560f5ac68a4e18ad )
Reviewed-on: http://git-master/r/841879
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Bryan Wu <pengw@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Michael Hsu [Tue, 8 Dec 2015 03:24:32 +0000 (19:24 -0800)]
net: wireless: bcmdhd / bcmdhd_88: initialize scan policy work
When wifi is turned on, initialize scan policy work(s) in case
prior shutdown did not clean up properly.
bcmdhd_88 driver requires extra TEGRA_SCAN_DONE() macro calls
because it does not use a common scan cleanup function like
the bcmdhd driver.
Bug
200159210
Change-Id: Ia1d5fb93f75bed8c03f2e5d825952d1c6af4a2d6
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/842669
Reviewed-by: Nagaraj Annaiah <nannaiah@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Tested-by: Nagaraj Annaiah <nannaiah@nvidia.com>
Frank Chen [Mon, 7 Dec 2015 21:47:21 +0000 (13:47 -0800)]
platform: tegra: Fix typo in setmode function
Fix typo in IMX132 driver set mode fuction
Bug
1662157
Change-Id: I94d8ef249773d2707fa6ff36dc744e2450f1d2b5
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/842533
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Joshua Widen <jwiden@nvidia.com>
Reviewed-by: Charles Kong <charlesk@nvidia.com>
Reviewed-by: Steve Rogers <srogers@nvidia.com>
wahsu [Mon, 7 Dec 2015 11:31:57 +0000 (19:31 +0800)]
nvi: udpate period time when aux device is enabled
bug
200158162
Change-Id: Ie684d6da30ac26ebb54488e25163f3852343267c
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/842270
(cherry picked from commit
2b87f9dbcb49569a782232f00eb7ad89ada5b204 )
Reviewed-on: http://git-master/r/842599
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Konsta Holtta [Tue, 1 Dec 2015 09:55:27 +0000 (11:55 +0200)]
gpu: nvgpu: bitmap allocator for comptags
Restore comptags to be bitmap-allocated, like they were before we had
the buddy allocator.
The new buddy allocator introduced by
e99aa2485f8992eabe3556f3ebcb57bdc8ad91ff (originally
6ab2e0c49cb79ca68d2f83f1d4610783d2eaa79b ) is fine for the big VAs, but
unsuitable for the small compbit store.
This commit reverts partially the combination of the above commit and
also one after it,
86fc7ec9a05999bea8de320840b962db3ee11410 , that fixed
a bug which is not present when using a bitmap. With a bitmap allocator,
pruning the extra allocation necessary for user-mapped mode is possible,
so that is also restored.
The original generic bitmap allocator is not restored; instead, a
comptag-only allocator is introduced.
Bug
200145635
Change-Id: I87f3a911826a801124cfd21e44857dfab1c3f378
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/837180
(cherry picked from commit
5a504aeb54f3e89e6561932971158a397157b3f2 )
Reviewed-on: http://git-master/r/840869
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Thomas Fleury [Mon, 2 Nov 2015 14:26:54 +0000 (15:26 +0100)]
gpu: nvgpu: disable ELPG while accessing gr_gpcs_tpcs_sm_sch_macro_sched_r
bug
200139995
Any GR register access should disable ELPG and clock gating before
access and enable it back after it is done. Disable ELPG while tweaking
perf parameters in gk20a_alloc_obj_ctx.
Also output NV_PBUS_INTR_0 in case of interrupt.
Change-Id: Ic9ddc514207ff91631dbd96c5ab0c70ebae0b6d1
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/826272
(cherry picked from commit
498d5efc8a75ed2d6b8ee8444bcbfd44645b1e16 )
Reviewed-on: http://git-master/r/838841
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Sam Payne [Wed, 16 Sep 2015 00:21:14 +0000 (17:21 -0700)]
tegra: dc: set color depth of fake dsi correctly
fake dsi was initialized to the most recent value
this produces inconsistent CRC values for different
platforms. This patch fixes the issue.
Change-Id: Ie53ce946e4ea527d4972d60227d559f9bbb11d7a
Signed-off-by: Sam Payne <spayne@nvidia.com>
Reviewed-on: http://git-master/r/836914
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Tested-by: Kerwin Wan <kerwinw@nvidia.com>
Joshua Widen [Wed, 2 Dec 2015 23:24:45 +0000 (15:24 -0800)]
ARM64: dts: fix E3326 direction on jetson cv
Fix E3326 camera direction on jetson cv board.
Bug
1709060
Change-Id: Ia590ea5880f94849de11581b691dab6dd8c50d92
Signed-off-by: Joshua Widen <jwiden@nvidia.com>
Reviewed-on: http://git-master/r/840669
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Gigon Bae <gbae@nvidia.com>
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Krishna Reddy [Fri, 6 Nov 2015 22:21:20 +0000 (14:21 -0800)]
arm64: mm: dma-mapping: fix the overflow issue
Fix the overflow of variable "start" holding the start bit number.
It should be of same type mapping->bits, which is size_t, to avoid
overflow for IOVA range beyond 4GB boundary.
Bug
200150063
Change-Id: Ie2ab3ce12293beadac4a1a21d26ed6d1fef41176
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/834822
(cherry picked from commit
9849c32e75616cc77cd3cedb968b379e64d2290d )
Reviewed-on: http://git-master/r/841173
GVS: Gerrit_Virtual_Submit
Benjamin Lu [Fri, 23 Oct 2015 06:49:37 +0000 (14:49 +0800)]
i2c: tegra: Fix printout typo
Bug
1687777
Change-Id: I145849ac45a32ed90c345ff8f5f4ae1f8960e3b9
Signed-off-by: Benjamin Lu <benjaminl@nvidia.com>
Reviewed-on: http://git-master/r/822436
(cherry picked from commit
5fb5166bb3881772a5a6940dfb9ecf0eec3d2daa )
Reviewed-on: http://git-master/r/842569
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Naveen Kumar S [Tue, 20 Oct 2015 14:55:55 +0000 (20:25 +0530)]
video: tegra: fb: intimate fbcon to blank/unblank
Upon a hotplug/unplug, intimate fbcon to unblank or
blank accordingly. This helps in keeping dc and fbcon
in sync.
bug
1693204
Change-Id: I96b83bd8420e68ebb6048d50d9d9a422cd1fb706
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/820822
(cherry picked from commit
8d0ddee571ba5057816bd422053ae5a7ab142a53 )
Reviewed-on: http://git-master/r/842405
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Naveen Kumar S [Fri, 18 Sep 2015 13:53:31 +0000 (19:23 +0530)]
video: fbcon: Keep atleast one mode in modelist
Framebuffer console init requires atleast one valid
mode to exist for it to succeed.
Virtual terminals relies on the success of fbcon_init
without really checking the return value of this function.
bug
200036424
bug
200130124
bug
200129681
Change-Id: I288034537eaca72eaec78f8c02f7edaca3478421
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/801325
(cherry picked from commit
3ce9d23f4697d5f781ac9dde51580710ab89236d )
Reviewed-on: http://git-master/r/842413
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Naveen Kumar S [Mon, 7 Dec 2015 15:09:34 +0000 (20:39 +0530)]
video: tegra: dc: define tegra_dc_vga_mode once
Removed multiple definitions of structure tegra_dc_vga_mode
by declaring it in dc.h
bug
200036424
bug
200130124
bug
200129681
Change-Id: If532d0e94fddfa0735f3e24eeed5de4abcf1ccaa
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/801322
(cherry picked from commit
3003b743cdd579fc77d2b08fe0ed456e7c8f0246 )
Reviewed-on: http://git-master/r/842412
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Naveen Kumar S [Sat, 10 Oct 2015 14:01:35 +0000 (19:31 +0530)]
video: fb: update VC before fbcon during hotplug
fbcon depends on the modes known to virtual console while updating
its own mode. Hence during a hotplug event, update virtual consoles
with new modes before updating fbcon mode.
bug
1693204
Change-Id: I6430ef27d186b8ac529a7e2c2929e383b0c2806e
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/820819
(cherry picked from commit
764d0e97d6edc05d8e028e30b4c0adff7cb03891 )
Reviewed-on: http://git-master/r/842400
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Martin Gao [Mon, 7 Dec 2015 20:34:26 +0000 (12:34 -0800)]
arch: arm64: configs: disable r8169 realtek driver
- due to conflict of r8169 and r8168 driver, we should only
use r8168 driver. therefore, disabling r8169 driver here.
Bug
200159265
Change-Id: I240bea3eed80495d89f55922b23d6cd821aec841
Signed-off-by: Martin Gao <marting@nvidia.com>
Reviewed-on: http://git-master/r/842504
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Tested-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Laxman Dewangan [Tue, 10 Nov 2015 02:49:53 +0000 (08:19 +0530)]
of: plugin-manager: fix section mismatch error
Fix following section mismatch error:
/**
WARNING: vmlinux.o(.text+0x8ba968): Section mismatch in reference
from the function update_target_node() to the variable .init.text:$x
The function update_target_node() references
the variable __init $x.
This is often because update_target_node lacks a __init
annotation or the annotation of $x is wrong.
**/
Change-Id: I853c3b4f77ebed587ec122be550acd024bb132a8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/831096
(cherry picked from commit
5a0b1037f77e168e421e80598f924180ab2aeaa9 )
Reviewed-on: http://git-master/r/842361
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Laxman Dewangan [Wed, 28 Oct 2015 12:48:48 +0000 (18:18 +0530)]
of: plugin-manager: add support for deleting property from target node
Add support for deleting the property from the target node using
plugin-manager.
Change-Id: I404013473f4955e1e82f12670f1c207c005cf2dc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/824182
(cherry picked from commit
d460849d546c236c0797a7dfa9a6de79466ca1d2 )
Reviewed-on: http://git-master/r/842360
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Laxman Dewangan [Wed, 14 Oct 2015 08:56:18 +0000 (14:26 +0530)]
of: plugin-manager: copy properties for adding/updating
Create copied version of properties before updating or
adding in target node as this is permanently used by
target node.
Change-Id: I1831391097baaae8b345725180b71fe238960b75
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/817450
(cherry picked from commit
756d0ccd51f1f98b45766963c87094d91cf99a45 )
Reviewed-on: http://git-master/r/842357
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Amit Sharma (SW-TEGRA) [Thu, 26 Nov 2015 09:42:45 +0000 (15:12 +0530)]
video: tegra: nvmap: fix error handling in __nvmap_map
Fix potential nvmap_handle's refcount mismatch in failure path
of kzalloc from within __nvmap_map.
Bug
200149089
Change-Id: Ib2c93f8e45e2fd8679409f547e7e9177b72c5c04
Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/838451
(cherry picked from commit
8494b7bbd18b9d9c73016d1fa2f587862a848734 )
Reviewed-on: http://git-master/r/839026
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>