Commit graph

593784 commits

Author SHA1 Message Date
Linux Build Service Account
c0125f4c90 Merge "usb: gadget: Update default class subclass and protocol for rndis" 2017-09-13 00:17:48 -07:00
Rahul Sharma
57aebae70b msm: ais: isp: Reducing ISPIF stop waiting time
Initial ISPIF waiting was one second which causes
 hang for one second in case of sensor removal hence
 wait is reduced to 200ms.

Change-Id: I531a880435983fe2e1e4f0f7616c6a6b1632dac8
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-09-13 15:07:11 +08:00
Krishna Chaitanya Devarakonda
5475f94ca5 msm: mdss: Increase the max layer count to 13
The maximum number of layers could be 13 including the
cursor layer. Increasing the maximum layer count to
accommodate cursor layer.

Change-Id: I907feb14fbd2d2ab5de66b4dee83d90d94c59595
Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org>
2017-09-12 23:38:15 -07:00
Jaiju Yesudasan
44d8abb6e0 adv7481: return error when PLL lock fails
Return error instead of default width and height when PLL lock fails.

Suggested-by: Suprith Malligere <c_suprit@qti.qualcomm.com>
Change-Id: I80880e9d1f6bcd5d6df87f74d005f9c79f91f096
Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
2017-09-12 23:24:41 -07:00
Jaiju Yesudasan
982f581113 adv7481: Add support for CSI 4 lane for ADV7481
Enable CSI 4 lane in adv7481 to support 1080p and 60fps.

Suggested-by: Suprith Malligere <c_suprit@qti.qualcomm.com>
Change-Id: I053602fc73fe300cff780dfe75c546ff3768ee3c
Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
2017-09-12 23:23:44 -07:00
Gaoxiang Chen
a476e30e30 msm: camera: fix off-by-one overflow in msm_isp_get_bufq
In msm_isp_get_bufq, if bufq_index == buf_mgr->num_buf_q,
it will pass the check, leading to off-by-one overflow
(exceed the length of array by one element).

CRs-Fixed: 2031677
Change-Id: I7ea465897e2c37de6ca0155c3e225f1444b3cf13
Signed-off-by: Gaoxiang Chen <gaochen@codeaurora.org>
2017-09-12 23:18:38 -07:00
Hareesh Gundu
22b96ae58a msm: kgsl: Do not crash on context detach timeout failure
If context wait for global timeouts in detach path there is
no use to process its pending commands. Hence to handle context
detach timeout failure,invalidate the context and remove all
the pending commands from that context. So that other context
commands proceed successfully after the context detach timeout
fault recovery.

Change-Id: Ie4ff0ed5d08312d345b248a2404ce085552b0b09
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2017-09-13 11:41:46 +05:30
Anthony Mah
64f7a316bb ARM: dts: msm: Early init changes for vendor image on msm8996
For use with A/B partition feature, remove early mount of system
image.  Change fs mgr flags from verify to slotselect.
System image is to be mounted in the lk when enabling A/B.

Change-Id: I4fc2ac5f5bd22dea2fd6ff832cd31d1f3697b4d4
Signed-off-by: Anthony Mah <amah@codeaurora.org>
2017-09-12 15:24:09 -07:00
Linux Build Service Account
14f6bfeeeb Merge "Merge android-4.4@610af85 (v4.4.85) into msm-4.4" 2017-09-12 14:41:58 -07:00
Linux Build Service Account
043f52c20a Merge "msm: kgsl: Protect the bind object against bad dereference" 2017-09-12 14:41:57 -07:00
Linux Build Service Account
e276155e6b Merge "msm: ipa: ipa_usb: teth_prot and ttype validation" 2017-09-12 14:41:48 -07:00
Harry Yang
3e89bd5d24 power: smblib: correct PD voting when inactive
Currently, when becoming inactive, PD leaves the HDC and input
limited interrupt enabled.

Correct it by disabling it.

Change-Id: I62a1d837f6126951cb428a982fe1d8876f1d5bdc
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2017-09-12 12:15:01 -07:00
Rahul Sharma
5a12dd28f1 msm: ais: sensor: flash: add conditional check for ioctl
Add conditional check when sending VIDIOC_MSM_FLASH_CFG
in 32-bit process.

Change-Id: Ia4255aba26c634018163e2cc3c1170f71b1eb661
CRs-Fixed: 2092793
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
2017-09-12 05:39:49 -07:00
Veerabhadrarao Badiganti
b3bfaafbbd mmc: core: Correct the checks while setting clock scaling frequencies
Correct the checks while setting the max scaling frequency supported
by the card. With the present checks, even for HS card max frequency
would set as max frequency of HS200 card.

Change-Id: Ie8b42229ef189e591f49b227d043f6186aa7e205
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-09-12 18:01:08 +05:30
Veerabhadrarao Badiganti
2ca4af7da2 mmc: sdhci-msm: Don't enable PWRSAVE_DLL for all latest sdhc hosts
SDHC core with 14lpp tech DLL should not enable PWRSAVE_DLL since
such controller's internal gating cannot meet following MCLK requirement:
when MCLK is gated OFF, it is not gated for less than 0.5us and MCLK must
be switched on for at-least 1us before DATA starts coming.

Since all the latest versions of sdhc host has this 14lpp tech DLL
Don't set PWRSAVE_DLL bit accordingly.

Change-Id: I7cccc79a79b32a33e74212fc5f41408c2e07b5cb
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-09-12 18:00:59 +05:30
Linux Build Service Account
b86ba37927 Merge "msm: camera: isp: Avoid stats data corruption." 2017-09-12 05:25:47 -07:00
Linux Build Service Account
c32cff4902 Merge "drm/msm/sde: remove out of bound access for qos lut parsing" 2017-09-12 05:25:46 -07:00
Linux Build Service Account
14bba4ad56 Merge "drm/msm: fix non-zero offset register dumping" 2017-09-12 05:25:45 -07:00
Linux Build Service Account
e21786a4b9 Merge "msm: vidc: Avoid adding failed instance into list" 2017-09-12 05:25:44 -07:00
Linux Build Service Account
468e3f4e6e Merge "ARM: dts: msm: add dummy SPSS ETM device for msm8998" 2017-09-12 05:25:35 -07:00
Linux Build Service Account
53b5648fac Merge "ASoc: msm: Add pm_qos_request_active condition check" 2017-09-12 05:25:34 -07:00
Veerabhadrarao Badiganti
f4e489e4c0 mmc: host: sdhci-msm: Enable SDHC FIFO explicitly
Enable SDHC FIFO explicitly by disabling the alternative FIFO.

The boot-loaders might use alternative FIFO instead of HC FIFO.
And the vendor specific register which has this setting won't get
reset with controller reset. So the FIFO setting done by the
bootloader would remain as it is unless its explicitly cleared.
Without clearing this setting, mmc driver can't make use of regular
FIFO mode.

Change-Id: I8c7ff9b20c33518fb9013cce2f9284117fc2ce3c
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-09-12 16:24:25 +05:30
Narender Ankam
942e1ce7e9 msm: mdss: hdmi: fix no audio over HDMI on device bootup
In case of HDMI interface as primary, if device boots up with
HDMI connected, external interface driver is unable to notify
audio events as audio codec is getting registered later.
Add change to send audio event once audio codec gets registered.

Change-Id: I8d630adf892714ff2eb4d6039dc058b54c425b83
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
2017-09-12 13:05:24 +05:30
Narender Ankam
8eb5765563 msm: mdss: hdmi: notify hdmi audio event after video is up
Modify HDMI driver so that video and audio events are notified
separately. Notify video events asynchronously. send audio
events only after video is up.

Change-Id: Ie6e4e564456d65f6b6d733b8accd14b9ce4c7e15
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
2017-09-12 12:57:33 +05:30
Ramesh V
b9c2cd1f65 msm: camera: isp: Avoid stats data corruption.
When several threads permanently, e.g., read/write the debugfs
file that triggers vfe_debugfs_statistics_read(), the content of
stats will be modified in an unintended manner, add spin_lock
to protect that.

Change-Id: I15d46498e669132ef1d1f5ad9c4305ee5fdb0da4
Signed-off-by: Ramesh V <ramev@codeaurora.org>
2017-09-12 10:21:26 +05:30
Linux Build Service Account
e9ecb016e6 Merge "msm: kgsl: Limit the kgsl log frequency in kgsl_get_unmapped_area()" 2017-09-11 19:13:15 -07:00
Linux Build Service Account
fd4b95e374 Merge "usb_bam: Delete IPA resources in usb_bam_remove()" 2017-09-11 19:13:14 -07:00
Linux Build Service Account
e2903e352e Merge "scripts: correct cflags for kasan" 2017-09-11 19:13:06 -07:00
Linux Build Service Account
36c840e480 Merge "ASoC: sdm660_cdc: Fix mute if compander is disabled" 2017-09-11 19:13:05 -07:00
Linux Build Service Account
b462476de7 Merge "dts: msm: Add QSEECOM heap node on msm8996 lfv platform" 2017-09-11 19:13:04 -07:00
Linux Build Service Account
11d92b2206 Merge "msm: thermal: Check cpu variables are initialized before setting threshold" 2017-09-11 19:13:03 -07:00
Linux Build Service Account
688a2e4ffa Merge "wil6210: ensure P2P device is stopped before removing interface" 2017-09-11 19:12:59 -07:00
Linux Build Service Account
6b1bf8fed1 Merge "wil6210: increase connect timeout" 2017-09-11 19:12:58 -07:00
Linux Build Service Account
03dbca91e5 Merge "wil6210: clear PAL_UNIT_ICR part of device reset" 2017-09-11 19:12:57 -07:00
Linux Build Service Account
dc6bd8cd1e Merge "wil6210: move pre-FW configuration to separate function" 2017-09-11 19:12:57 -07:00
Linux Build Service Account
f942b32006 Merge "msm: ipa: Cache CNE event" 2017-09-11 19:12:56 -07:00
Linux Build Service Account
1b2c9a8e53 Merge "msm: kgsl: Do not allocate scratch memory for A3xx" 2017-09-11 19:12:55 -07:00
Linux Build Service Account
38b0615244 Merge "ath10k: Destroy QMI handle during driver unload" 2017-09-11 19:12:54 -07:00
Linux Build Service Account
5bfea4d5e6 Merge "msm: sensor: flash: add conditional check for ioctl" 2017-09-11 19:12:53 -07:00
Linux Build Service Account
42a50b337e Merge "msm: kgsl: Fix gpu fault issue while enabling stall on page fault" 2017-09-11 19:12:52 -07:00
Linux Build Service Account
a3f5570db9 Merge "msm: kgsl: Add debug log in adreno_of_get_pwrlevels()" 2017-09-11 19:12:51 -07:00
Linux Build Service Account
80e3abb9dc Merge "ARM: dts: msm: Add Support for new PM660L/A versions for SDM660/SDM630" 2017-09-11 19:12:49 -07:00
Linux Build Service Account
1e90ddd7a0 Merge "ARM: dts: msm: Add FAN cooling device to msm8996 CV2X boards" 2017-09-11 19:12:48 -07:00
Linux Build Service Account
f8af069c22 Merge "msm: ais: isp: Check null pointer for VFE0 base" 2017-09-11 19:12:47 -07:00
Linux Build Service Account
f6927cde75 Merge "ARM: dts: msm: enable camera on SDM636 MTP" 2017-09-11 19:12:46 -07:00
Linux Build Service Account
bdb943e519 Merge "mmc: core: enable async suspend of card" 2017-09-11 19:12:44 -07:00
Linux Build Service Account
ac9c82fdd9 Merge "Revert "ARM: dts: msm: Add initial support for msm8998-9x55"" 2017-09-11 19:12:43 -07:00
Yigang Zheng
0b925d013e msm: vidc: Avoid adding failed instance into list
Fix system crash bug when run multiple vidc instances

Change-Id: I7716854c210bf8d1191e2744e555d42f42e4a1f5
Signed-off-by: Yigang Zheng <yigangz@codeaurora.org>
2017-09-11 18:20:23 -07:00
Praveen Kumar Dwivedi
a91776ae44 msm: vidc: Do a proper clean-up in case of session abort
A ctrl-c while the venus session is on causes WARN_ON
from function __vb2_queue_cancel. This fix will ensure that
all buffers are returned to vb2 when a stream off is called.
Also there is no need to process release reference event in
the case of session stop.

Change-Id: Id7bf05a17efe237791ad17585d04b59a16bd76d8
Signed-off-by: Praveen Kumar Dwivedi <pkd@codeaurora.org>
2017-09-11 18:05:39 -07:00
Abhinav Kumar
a1f29fd0b5 drm/msm: fix non-zero offset register dumping
Remove format identifiers in the register dumping
function which incorrectly recognizes the offset and
the count of the registers to be dumped.

Also, reduce the chunk of memory copied from the SDE
hardware register range to align with the existing
register dumping mechanism.

Change-Id: I1ce7148275f5287e568fe6efc8774f4d495cdaa4
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-09-11 07:14:57 -07:00