Commit graph

590985 commits

Author SHA1 Message Date
Linux Build Service Account
dac47a508d Merge "msm: mdss: handle vsync properly during dynamic resolution switch" 2017-06-18 16:31:05 -07:00
Linux Build Service Account
d71fb41d0f Merge "msm: camera: isp: Do not update lpm mode for inactive streams." 2017-06-18 09:47:29 -07:00
Linux Build Service Account
dc90189a9b Merge "msm: wlan: Update regulatory database" 2017-06-18 09:47:29 -07:00
Linux Build Service Account
b4e9dc3b77 Merge "mhi: core: add a timeout when waiting for MHI state BHI event." 2017-06-18 09:47:28 -07:00
Linux Build Service Account
7f2b29411f Merge "phy: qcom-ufs-qmp-v3: use CDR DIV4 in all bands and fastlock" 2017-06-18 09:47:27 -07:00
Linux Build Service Account
59e9bea393 Merge "mmc: host: sdhci-msm: Don't clear IO_PAD_PWR_SWITCH when faking 3V support" 2017-06-18 09:47:27 -07:00
Linux Build Service Account
14e6108d07 Merge "regulator: max20010: Add max20010 regulator driver" 2017-06-18 09:47:26 -07:00
Linux Build Service Account
a94129212a Merge "memshare: Perform Hypervisor mapping for boot-time allotted memory" 2017-06-18 09:47:25 -07:00
Linux Build Service Account
012ea7971e Merge "diag: Proper update of user PD mdlog session variables" 2017-06-18 09:47:24 -07:00
Linux Build Service Account
fd2a5d6bd5 Merge "clk: msm: clock-osm: Do not initialize ACD if the cluster isn't online" 2017-06-18 09:47:24 -07:00
Linux Build Service Account
126a5ffa55 Merge "drivers/misc: move hdcp sysfs nodes to misc hdcp driver" 2017-06-18 09:47:21 -07:00
Linux Build Service Account
03a11129eb Merge "drm/msm: add HDCP 2.2 module for DRM HDMI" 2017-06-18 09:47:20 -07:00
Linux Build Service Account
4af98252af Merge "firmware_class: Avoid memory leak when FW_OPT_NOCACHE is set" 2017-06-18 09:47:19 -07:00
Imran Khan
e3a3f52ee1 ARM: dts: msm: Early mount of vendor partition for sdm660/630
Add support to early mount vendor partition so that vendor modules
can be loaded during early init.

Change-Id: I2233f6c3b8eab180631ca0a0472b586b7ec854f1
Signed-off-by: Imran Khan <kimran@codeaurora.org>
2017-06-18 21:05:44 +05:30
Mohammed Javid
bba2e9f2c4 msm:ipa: Fix to IPA static analysis constant null deferenced
Adding code changes to reslove IPA static analysis
issue Constant NULL dereferenced by passing
to other function.

Change-Id: I07bd7ac42929576429fc4548cfce7d202d77364f
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-06-18 12:59:36 +05:30
Abhijit Kulkarni
da010dffc2 drm/msm: start secure domain va from non-zero address
Zero address is considered invalid address, hence changing
the secure domain mapping space to start from a
non-zero address

CRs-Fixed: 2053654
Change-Id: I27300845fb3839372bc38be1d322a7ad0cd0472d
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
2017-06-17 07:35:51 -07:00
Abhinav Kumar
75f79d6787 drm/msm : add hdcp debugfs nodes for DRM HDMI driver
Add debugfs nodes to indicate source/sink
HDCP support and authentication state accurately
for DRM HDMI driver.

Change-Id: Ia947c97708c99f23b7b4f23bcad75529b155a42c
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-16 20:22:39 -07:00
Abhinav Kumar
76dbbea975 drm/msm : add utility function to dump HDMI registers
Add a utility function to dump HDMI core registers to
command line. This will facilitate debugging issues by
just calling this API wherever necessary.

Change-Id: I4a6727dca34edf4bb1c240adc7b93f50a7530b98
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-16 19:03:35 -07:00
Subbaraman Narayanamurthy
d0ce77308f qpnp-fg-gen3: Move getting battery id and profile to profile_load_work
Workaround to re-enable BMD while getting battery id was required
when driver is probing. This was done to mitigate driver probe
failures because of failed SRAM access. Getting battery_id from
RR_ADC driver itself takes ~200ms and re-enabling BMD takes 200ms
which increases driver probe time.

With the recent changes in reading batt_id channel from RR_ADC
driver, re-enabling BMD is not required anymore when the driver
probes. Hence move getting battery_id and battery profile to
profile_load_work. This way, there won't be any delay when the
driver probes.

CRs-Fixed: 2062261
Change-Id: Ifeb361e0f82fca65f9570fd1f425c7360445d01f
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-06-16 17:21:21 -07:00
Subhash Jadavani
19a800e88f phy: qcom-ufs-qmp-v3: use CDR DIV4 in all bands and fastlock
UFS PA errors were observed during data read operation hence Hardware
programming guide have recommended setting QSERDES_RX1_UCDR_PI_CONTROLS
register to value 0x81 which will use CDR DIV4 in all bands and fastlock.

Change-Id: I456354b346aca7abfaa4839d538c5054c3e79fbf
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2017-06-16 11:06:03 -07:00
Amar Singhal
a27a95244d msm: wlan: Update regulatory database
Remove KP and SY countries from regdb.

CRs-Fixed: 2062687
Change-Id: I41575e415844255d48d2f9e6deca20c1dc656d3c
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
2017-06-16 10:20:11 -07:00
Sujeev Dias
a105b345b1 mhi: core: add a timeout when waiting for MHI state BHI event.
It's possible for POR to fail and endpoint not enter correct reset
state. Add a timeout when waiting for MHI state BHI transition event
during firmware download.

CRs-Fixed: 2062442
Change-Id: I6af16ec1a514d50b9e984e3fb16696d23e605ba0
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-06-16 09:02:33 -07:00
Linux Build Service Account
e3a07a2190 Merge "defconfig: msm: Use RCU_NOCB for RCU subsystem for sdm660" 2017-06-16 06:02:55 -07:00
Linux Build Service Account
86307ac8a9 Merge "msm: camera: Fix Use after free bug in msm_vb2.c." 2017-06-16 06:02:53 -07:00
Linux Build Service Account
1c6a1b0995 Merge "msm: isp: Send BAF time stamp to user space" 2017-06-16 06:02:52 -07:00
Veerabhadrarao Badiganti
7fc028dfca mmc: host: sdhci-msm: Don't clear IO_PAD_PWR_SWITCH when faking 3V support
Don't clear io pad power switch setting when 3V support is faked.
This bit has to be cleared for allowing IO pad to switch to 3V when
Vccq is really configured to 3V. But in case of faking 3V where we
configure Vccq to 1.8V only, we shouldn't clear this bit.

Change-Id: Ib1a9a2eb7189e161e22c8baf588453b3f2632eb7
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-06-16 15:23:42 +05:30
Tirupathi Reddy
1a9dfe24c5 regulator: max20010: Add max20010 regulator driver
The max20010 external buck supplies VDD_GFX for msm8996-auto
boards. Add max20010 regulator device driver to program the
necessary configuration as per the board specific requirements.

CRs-Fixed: 2062515
Change-Id: I68ad73e0c7cff1a87d218dc4677801f9e0206db6
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-06-16 15:18:48 +05:30
Manoj Prabhu B
2148d7a832 memshare: Perform Hypervisor mapping for boot-time allotted memory
The patch performs Hypervisor mapping for guaranteed memshare
client's alloted memory at boot time and prevent allocation
for clients with size zero.

CRs-Fixed: 2062478
Change-Id: I96cc7b2014693d97f11411a7b62d2c365f21caf1
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2017-06-16 02:21:47 -07:00
Manoj Prabhu B
2bffd28da2 diag: Proper update of user PD mdlog session variables
The patch updates global variables of mdlog session
for user PD during different scenarios.

CRs-Fixed: 2058648
Change-Id: I503caddf8e9d504649ee8d81115da60267a5f560
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2017-06-16 02:11:38 -07:00
Abhilash Kumar
28339f3b38 msm: kgsl: Reset busy data after soft reset
GPU perfcounters gets reset after a soft reset. Currently
GPU busy stats is using previous values after a soft reset.
This might lead to invalid GPU busy calculations. Start GPU
stats from the scratch after a soft reset to get valid GPU
busy calculations.

Change-Id: Ia38c18ad59f438d724ff4710ee2b350853b3810d
Signed-off-by: Abhilash Kumar <krabhi@codeaurora.org>
2017-06-15 23:35:06 -07:00
Linux Build Service Account
16a6dc2a06 Merge "drm/msm: add HDCP 1x module for MSM DRM driver" 2017-06-15 22:59:09 -07:00
Linux Build Service Account
92e373a732 Merge "soc: qcom: glink: Reset qos rate when xprt is down" 2017-06-15 22:59:08 -07:00
Linux Build Service Account
ae365a78ad Merge "ath10k: Wait for peer delete response to synchronize with fw" 2017-06-15 22:59:07 -07:00
Linux Build Service Account
c1f41f5290 Merge "ath10k: Send vdev down if association to bss fails" 2017-06-15 22:59:06 -07:00
Linux Build Service Account
c0301d4240 Merge "msm: kgsl: Defer issue commands to worker thread" 2017-06-15 22:59:05 -07:00
Abhinav Kumar
ffc2849b61 drivers/misc: move hdcp sysfs nodes to misc hdcp driver
Currently the sysfs nodes for receiving minimum
encryption level reside within the SDE HDMI driver.

Move the nodes to the misc hdcp driver so that they
are available for use for targets using DRM SDE driver.

Change-Id: I94daa981536e56930f7b15eb0ca7b895b9bc9c44
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-15 21:19:08 -07:00
Abhinav Kumar
be53b222b4 drm/msm: add HDCP 2.2 module for DRM HDMI
Add the HDCP 2.2 module for DRM HDMI.

Call the HDCP 2.2 APIs from the SDE HDMI driver and
also invoke the HDCP 2.2 ISR routine from the parent
ISR routine of the SDE HDMI driver.

Change-Id: Ib9a427e5712c827fa93b91fc3a416af61ea83745
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-15 21:18:54 -07:00
Abhinav Kumar
9342afef9f drm/msm : add HDCP 2.2 helper functions to HDMI utils
HDCP 2.2 needs additional helper functions for handling
DDC transactions and interface specific calculations.

Add the necessary utility APIs and also move the necessary
ones to the HDMI utils file for better maintenance.

Change-Id: I215f04991c6ff71ec3e1db7674024e85fbc922e8
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-15 21:18:35 -07:00
Abhinav Kumar
85e5cecb6f drm/msm: make sde hdcp 1x module use the new hdcp lib APIs
All sysfs nodes have been moved to the misc hdcp driver.
Make the sde hdcp 1x module interact with the misc hdcp
driver to keep the functionality of repeater topology
intact as its used by wi-fi display userspace module.

Change-Id: Iecf404330695369c17e4afeff864eb6d7b92e372
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-15 21:18:14 -07:00
Abhinav Kumar
bd23536bdb ARM: dts: msm: add device node for MSM HDCP driver
Add device node for the MSM HDCP driver which manages
communication between HLOS and TZ for HDCP related
operations.

Change-Id: Iecb4c86ae37ddf7cbc84f962895bbe6e1973b989
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-15 21:17:45 -07:00
Abhinav Kumar
2dec77bf65 drivers/misc: make the HDCP lib a standalone driver
Currently the hdcp lib doesn't have a context and
just acts as a lib for HDCP compliant interfaces like
HDMI and Display Port.

Make this lib a standalone driver capable of supporting
sysfs nodes to make communication with other modules
like TZ easier and less roundabout.

Change-Id: If693a9d4c8561e6d8c94e236a0fc108c8a65c05e
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-15 21:14:57 -07:00
Linux Build Service Account
085ef3652a Merge "drm/msm: add support for parsing hdmi/hdcp capabilities" 2017-06-15 16:10:57 -07:00
Linux Build Service Account
68717de447 Merge "drm/msm: Add per-instance submit queues" 2017-06-15 16:10:56 -07:00
Linux Build Service Account
63c0d4a4b6 Merge "icnss: change the cnss name to icnss" 2017-06-15 16:10:55 -07:00
Linux Build Service Account
120151a6e6 Merge "ARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP" 2017-06-15 16:10:55 -07:00
Linux Build Service Account
cfff412669 Merge "ARM: dts: msm: Add non-removable ufs property for SDM660" 2017-06-15 16:10:53 -07:00
Linux Build Service Account
1e0c6013e8 Merge "msm: ipa: Add assert upon send command failure" 2017-06-15 16:10:52 -07:00
Linux Build Service Account
fe93f243e8 Merge "ARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform" 2017-06-15 16:10:52 -07:00
Linux Build Service Account
5b1cf77741 Merge "mmc: sdhci-msm: Corrected the '&' operator with '&&' in the 'if' statement" 2017-06-15 16:10:51 -07:00
Deepak Katragadda
7c443962f4 clk: msm: clock-osm: Do not initialize ACD if the cluster isn't online
The OSM clock driver currently enables ACD for the silver and
gold clusters regardless of whether they've been brought up or
not. ACD requires the cluster PLLs to be running for initialization,
a requirement which would not be met if the cluster hasn't been
brought online.
Tie the ACD initialization sequence with enabling OSM for that
cluster.

Change-Id: Ib393dd339f8095029c9703fbe67897d0a491eced
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2017-06-15 09:26:42 -07:00