Commit graph

589763 commits

Author SHA1 Message Date
Xu Yang
cf1e29d56a msm: mdss: remove wait for vsync in display commit
Remove wait for vsync in display commit if both PCC and DDIC
need to update for external backlight feature.

Change-Id: I57aeb48acba24e0ca3fff21b1117e48fe452028b
Signed-off-by: Xu Yang <yangxu@codeaurora.org>
2017-05-22 06:04:34 -07:00
Linux Build Service Account
60be71604a Merge "qpnp-smb2: fix FV and FCC reporting" 2017-05-20 01:37:19 -07:00
Linux Build Service Account
474a2a48ad Merge "msm: vidc: Cancel userptr validation during secure decode" 2017-05-20 01:37:18 -07:00
Linux Build Service Account
9ec1caea12 Merge "ASoC: msm: qdspv2: Rename HDMI drift mixer controls" 2017-05-20 01:37:17 -07:00
Linux Build Service Account
2bb69ccc76 Merge "ion: fix logical-not comparison warning" 2017-05-20 01:37:16 -07:00
Linux Build Service Account
bb49ae3282 Merge "coresight-tmc: Adds lock to avoid race condition" 2017-05-20 01:37:15 -07:00
Linux Build Service Account
df39bd34da Merge "msm: wlan: Update regulatory database" 2017-05-20 01:37:14 -07:00
Linux Build Service Account
d4f03a30ac Merge "msm_11ad: clear affinity hint upon low bus request" 2017-05-20 01:37:13 -07:00
Linux Build Service Account
49ccf3da5b Merge "ARM: dts: msm: Add support for multiple neutrino on msm8996" 2017-05-20 01:37:12 -07:00
Linux Build Service Account
bd4d7e0de5 Merge "drm/msm: Don't allow zero sized buffer objects" 2017-05-20 01:37:11 -07:00
Linux Build Service Account
e650018e4a Merge "msm: camera: sensor: Validate sensor related name length" 2017-05-20 01:37:10 -07:00
Linux Build Service Account
63a4b33cb4 Merge "msm: camera: sensor: Validate sensor name during probe" 2017-05-20 01:37:09 -07:00
Abhijeet Dharmapurikar
db1755be6c qpnp-smb2: fix FV and FCC reporting
Currently the read of battery's voltage_max property (FV) and battery's
current_max property (FCC) returns the value of DEFAULT_VOTER voter.

But such a voter doesn't exist on battery's voltage_max property. Fix it
by returning the value voted by BATT_PROFILE_VOTER.

Change-Id: I2dac98f2ce9a423d5045788dbe120591f10c5a9e
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-05-19 14:11:30 -07:00
Abhijeet Dharmapurikar
b186b398d9 smb-lib: do not disable parallel based only on main's settled current
Currently main charger ends up voting to disable parallel(USBIN_I_VOTER)
if the settled current is less than 1.4Amps. It could be that the
parallel path is drawing some current and the draw is higher than
1.4Amps.

Move this disabling to battery, where the parallel charger's input current
is taken in to consideration.

Also while voting to disable, make sure that the main's input is limited.
If there is more room for ICL to increase that means more power could be
drawn from the charger and so we must keep the parallel charging enabled.
If the ICL ceiling itself if 1.4Amps then disable parallel charging,
because even if ICL has room to increase it wont cross 1.4Amps.

The main's input limited state is set while AICL steps up - this
ensures that we keep parallel disabled while AICL is running and settled
is less than 1.4Amps.

When the charger is removed, the main's input limited status is unset,
however we want to keep the parallel charger disabled. In such situations
the main's settled current is 0mA - use this to vote for disabling
parallel charging.

For any ICL change vote request:
Disable parallel using USBIN_I_VOTER if requested current is less than
1.4Amps and to un-vote (i.e. when ICL vote is higher than 1.4Amps) rely
on event from AICL done or status_change delayed work.

Note that USBIN_I_VOTER is effective only for non-QC chargers. For QC
chargers USBIN_V_VOTER continues to keep charging enabled since parallel
need not be disabled is a lower current is requested with a QC charger.

Change-Id: I61d7cd161a87de2904470b2d870058a0fe199116
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-05-19 14:11:08 -07:00
Prabhakar Reddy Krishnappa
c3f5cca88f msm: vidc: Cancel userptr validation during secure decode
Secure decode doesn't need userptr and uses ion fd instead. We were
conducting userptr validation regardless of the decode mode (secure/
unsecure). This forced user to populate userptr with a dummy value
during QBUF in secure mode decode on both output and capture ports
to avoid a userptr validation fail.

CRs-Fixed: 2049213
Change-Id: I0060efb52792201a2634072f648a537ebb02d17c
Signed-off-by: Prabhakar Reddy Krishnappa <prkrishn@codeaurora.org>
2017-05-18 17:43:17 -07:00
Mukesh Ojha
81f3b9aab8 coresight-tmc: Adds lock to avoid race condition
There can be a case of race in the call to tmc_etr_bam_disable(). The call
from usb_notifier() to tmc_etr_bam_disable() is within a lock
'drvdata->mem_lock' but the call from tmc_disable is not under any lock
which can lead to race.

This patch adds the missing lock.

CRs-Fixed: 2047196
Change-Id: I3986b498ae8e2b2ddfe8f5b3315fdefab197d11c
Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
2017-05-18 17:52:26 +05:30
Sudarshan Rajagopalan
11926cbd03 ion: fix logical-not comparison warning
Fixes compiler warning when a logical-not on a variable
is applied while comparing it with value zero.

Change-Id: I92aa16bd0d57a0d59ecd26eef1ac92220332998d
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
2017-05-17 05:48:18 -07:00
Dedy Lansky
9e94fb237b msm_11ad: clear affinity hint upon low bus request
When driver calls ops_bus_request with high bandwidth requirement,
affinity of wil6210 interrupt is set to first big core. However this
setting is not cleared when driver lowers bandwidth requirement.
This causes WARN_ON_ONCE(desc->affinity_hint) upon wil6210 rmmod.

Fix this by clearing affinity hint upon low bandwidth request.

Change-Id: I87b6b7ec9b369b84a9d3724d92a821a1302d1f83
Signed-off-by: Dedy Lansky <dlansky@codeaurora.org>
2017-05-17 03:09:10 -07:00
Manish Dewangan
08d60a044e ASoC: msm: qdspv2: Rename HDMI drift mixer controls
Update HDMI drift mixer controls name to be aligned with
drift mixer controls for other devices(speaker, BT).

CRs-Fixed: 2036899
Change-Id: If7aa29ea9511b65de71ff12143a1c34d977de2b8
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
2017-05-17 02:28:15 -07:00
Linux Build Service Account
5404e35069 Merge "msm: ADSPRPC: Copy process name buffer to kernel space" 2017-05-16 16:08:16 -07:00
Linux Build Service Account
d573c819ea Merge "usb: gadget: f_cdev: Fix NULL pointer dereference in cser_free_inst" 2017-05-16 16:08:15 -07:00
Linux Build Service Account
40b99c3fae Merge "msm: mink: Avoid handling output params if TZ op returns an err" 2017-05-16 16:08:14 -07:00
Linux Build Service Account
b80accca68 Merge "defconfig: msm: Remove CONFIG_TIMER_STATS" 2017-05-16 16:08:13 -07:00
Linux Build Service Account
c9c69ae5d8 Merge "usb: phy: qusb: Support specifying vdda33 levels from device tree" 2017-05-16 16:08:12 -07:00
Linux Build Service Account
d4d28cb0ef Merge "ARM: dts: msm: Enable support for guest virtual platform" 2017-05-16 16:08:11 -07:00
Linux Build Service Account
0d8007824b Merge "ARM: dts: msm: always enable mdss_mdp node for msm8998 based MOB3 platform" 2017-05-16 16:08:08 -07:00
Linux Build Service Account
60b854cbaa Merge "msm: msm_bus: Add mutex to protect node_list" 2017-05-16 16:08:07 -07:00
Linux Build Service Account
05a7ad9638 Merge "msm_11ad: add support to PCIe D3hot in system suspend" 2017-05-16 16:08:05 -07:00
Olav Haugan
4d5aee4dae defconfig: msm: Remove CONFIG_TIMER_STATS
CONFIG_TIMER_STATS is no longer needed and the kconfig option
will be removed in subsequent commits.

Change-Id: I380f9f925332c594c9d500312a06713170e48505
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2017-05-16 14:16:43 -07:00
Jack Pham
1974aed829 usb: phy: qusb: Support specifying vdda33 levels from device tree
The specific voltage levels for the vdda33 regulator may vary
depending on the target. Add an optional device tree property to
allow specifying a 3-tuple of voltages for minimum, operating
and maximum voltage levels. The minimum level is used when simply
powering on, whereas the operating level is used when initializing
the PHY.

Change-Id: Ia5d301efdb6964434a01264e7aa19421a41e98ca
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2017-05-16 14:04:05 -07:00
Atul Raut
232eb2beda ARM: dts: msm: Enable support for guest virtual platform
Add device tree to support guest virtual machine on
msm kernel.

CRs-Fixed: 2000645
Change-Id: I4ca06c28c349dd533057b24fe6794a7c11a84cc6
Signed-off-by: Atul Raut <araut@codeaurora.org>
2017-05-16 11:26:20 -07:00
Linux Build Service Account
211854c904 Merge "drm/msm: remove mdp node entry" 2017-05-16 06:49:50 -07:00
Linux Build Service Account
6b2b446623 Merge "ath10k: Define structure for copy engine interrupt map for SNOC" 2017-05-16 06:49:49 -07:00
Linux Build Service Account
d4f5120c4c Merge "ARM: dts: msm: Update high-speed PHY parameters for QRD SDM660" 2017-05-16 06:49:48 -07:00
Linux Build Service Account
2a1bce6909 Merge "ARM: dts: msm: Update high-speed PHY parameters for QRD SDM630" 2017-05-16 06:49:47 -07:00
Linux Build Service Account
a03b6a8e6e Merge "soc: qcom: Fix checks for QMI response values" 2017-05-16 06:49:46 -07:00
Linux Build Service Account
7cc854b84e Merge "soc: qcom: fix to avoid memory allocation failures" 2017-05-16 06:49:44 -07:00
Linux Build Service Account
cf343cfb0f Merge "ASoC: msm: add support for new ADSP event APIs" 2017-05-16 06:49:43 -07:00
Linux Build Service Account
22ecb82ac2 Merge "defconfig: arm64: Enable UFSHCD_CMD_LOGGING flag" 2017-05-16 06:49:42 -07:00
Linux Build Service Account
e37dfc88a2 Merge "ASoC: msm: remove unused msm-compr-q6-v2" 2017-05-16 06:49:41 -07:00
Linux Build Service Account
fb8be73fa6 Merge "ARM64: Make KERNEL_TEXT_RDONLY depend on !DEBUG_RODATA" 2017-05-16 06:49:40 -07:00
Linux Build Service Account
ed23e3c43b Merge "scsi: ufs-qcom: remove broken hci version quirk" 2017-05-16 06:49:37 -07:00
Linux Build Service Account
ec43abcb48 Merge "msm: mdss: fix display port crash caused by hpd_irq attention event" 2017-05-16 06:49:35 -07:00
Linux Build Service Account
2fdf1c893d Merge "drm/msm: drop return from gpu->submit()" 2017-05-16 06:49:34 -07:00
Linux Build Service Account
df5db93178 Merge "tracing: do not leak kernel addresses" 2017-05-16 06:49:32 -07:00
Linux Build Service Account
b0104407c2 Merge "Prevent heap overflow in uvc driver" 2017-05-16 06:49:31 -07:00
Linux Build Service Account
f7b2efad8d Merge "msm: kgsl: Offload mementry destroy work to separate thread" 2017-05-16 06:49:29 -07:00
Linux Build Service Account
9ed4022de0 Merge "spcom: avoid user commands via /dev/spcom" 2017-05-16 06:49:29 -07:00
Linux Build Service Account
1924110d21 Merge "timer: Clear deferrable_pending while handling timer softirq" 2017-05-16 06:49:28 -07:00
Linux Build Service Account
647e9bf427 Merge "soc: qcom: rpm_master_stat: Fix buffer overflow" 2017-05-16 06:49:27 -07:00