Commit graph

590886 commits

Author SHA1 Message Date
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
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
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
Linux Build Service Account
93b5220454 Merge "ASoC: msm: qdsp6v2: Clear HDMI channel allocation on shutdown" 2017-06-15 08:36:30 -07:00
Linux Build Service Account
d33688a677 Merge "ASoC: msm: qdsp6v2: make audio debugfs read and release exclusive" 2017-06-15 08:36:29 -07:00
Linux Build Service Account
99f2bf04ab Merge "soundwire: Fix swr device count logic in registration" 2017-06-15 08:36:28 -07:00
Linux Build Service Account
dd704b7258 Merge "soundwire: Remove startup from swr_driver structure" 2017-06-15 08:36:26 -07:00
Linux Build Service Account
a4bd635c3d Merge "ARM: dts: msm: Update low temperature APSS frequency in msm8996pro" 2017-06-15 08:36:26 -07:00
Linux Build Service Account
ca2ef91750 Merge "msm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE" 2017-06-15 08:36:25 -07:00
Linux Build Service Account
b7f69eef6d Merge "crypto: msm: fix rfc4309(ccm(aes)) issue on msm-4.4" 2017-06-15 08:36:24 -07:00
Linux Build Service Account
ddcc99066c Merge "net: rps: send out pending IPI's on CPU hotplug" 2017-06-15 08:36:23 -07:00
Linux Build Service Account
e223ebcad4 Merge "msm: ipa: fix ipacm_client usage" 2017-06-15 08:36:22 -07:00
Linux Build Service Account
07bb20408c Merge "icnss: Change MSA permissions to collect dump" 2017-06-15 08:36:21 -07:00
Neeraj Upadhyay
859e17197c defconfig: msm: Use RCU_NOCB for RCU subsystem for sdm660
Use per CPU NOCB threads to process RCU callbacks, rather than processing
the callbacks in softirq context. Processing large number of callbacks
in softirq context may result in delayed execution of other softirqs, so
remove processing of callbacks from softirq context.

Change-Id: I361221ea302c84d626122538d383f549ea9cea0d
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2017-06-15 17:53:20 +05:30
Jin Li
c5c679855f ARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP
On APQ8096 Auto ADP Lite platform, it only has two displays,
native HDMI and one DSI-HDMI display through ADV7533 bridge
chip. The secondary ADV7533 instance needs to be disabled.

Change-Id: Ibae5c1561ec9f6890f818eeef185dfcf0bc1a62d
Signed-off-by: Jin Li <jinl@codeaurora.org>
2017-06-15 02:25:13 -07:00
Abhinav Kumar
02b2b76fb0 drm/msm: add HDCP 1x module for MSM DRM driver
This change adds the HDCP 1x module for MSM DRM
driver and also hooks it up with SDE HDMI driver.

Change-Id: Iaf53c398254f6838a1d3cae610e069c5dbe18138
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-15 02:23:38 -07:00
Asutosh Das
9670ff4d32 ARM: dts: msm: Add non-removable ufs property for SDM660
Defines the non-removable property for UFS device node.
This basically lets the driver know that UFS is the boot
device.

Change-Id: I11df8441385910fdab7595a96a5deb24c7ca833e
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
2017-06-15 14:37:25 +05:30
Ashutosh Kumar
5753a503cb ath10k: Send vdev down if association to bss fails
If host driver fails to send WMI_VDEV_DOWN_CMDID, firmware will drop
further packets as vdev TX PAUSE reset is done as part of VDEV_DOWN.
Send vdev down to firmware if STA fails to associate.

CRs-Fixed: 2061161
Change-Id: Ie26645389dcb839758ff6aa55812172beeccc171
Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
2017-06-15 14:01:56 +05:30
Jin Li
9ec3ce38d7 ARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform
There is still one ADV7535 instance on MSM8996Pro Auto CDP lite
platform, which connects DSI0 interface to HDMI.

Change-Id: I1efe7484d6f4eb1956c95689420b06b40278588e
Signed-off-by: Jin Li <jinl@codeaurora.org>
2017-06-15 00:32:01 -07:00
Abhinav Kumar
e4db249be7 drm/msm: add HDCP helper functions to DRM HDMI driver
Add useful helper functions to the DRM HDMI driver
to be used later when HDCP functionality gets added.

Also add and initialize necessary members to the
SDE HDMI controller to facilitate easier integration
of DRM HDCP module.

Change-Id: I699f6685327e674a871a404fe5cf3adebe823d46
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-15 00:18:29 -07:00
Ashutosh Kumar
cbcff09e2f ath10k: Wait for peer delete response to synchronize with fw
Peer creation in firmware fails if last peer deletion is still
in progress.
Wait for peer delete response from firmware after deleting peer
from host driver.

CRs-Fixed: 2047126
Change-Id: I9eb01393d9cd3dd82f2084262c250081f2076b46
Signed-off-by: Ashutosh Kumar <askuma@codeaurora.org>
2017-06-15 12:47:16 +05:30
Abhinav Kumar
110b6748f9 drm/msm: clean up DDC handling for SDE HDMI driver
Separate out the DRM HDMI utility functions into a separate
module.

Make the DRM HDMI utility functions support self retry where
they shall try for an arbitrary number of times on failure
otherwise let the client call the API to retry the number of
times as warranted.

Add a SDE HDMI utility file which shall invoke the upstream
functions in a manner as required to maintain the functionality
of legacy drivers.

Change-Id: I64af3f997a16b2d9358ea867585aa12772d22599
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-14 23:39:39 -07:00
Abhinav Kumar
7c1f3156a7 drm/msm: add support for parsing hdmi/hdcp capabilities
Add support to parse the HDMI TX version and
HDCP support from the HDMI and QFPROM registers.

This information is used to decide which HDCP driver
module is to be initialized at boot time.

Change-Id: Ib598f3867f1cd2ef9adb7503c5907cbb1e4ba758
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-14 23:38:49 -07:00
Manaf Meethalavalappu Pallikunhi
e2e1274594 ARM: dts: msm: Update low temperature APSS frequency in msm8996pro
Update the minimum frequency restriction value and maximum frequency
limit value to the correct nominal frequency 1.056 GHz and 1.2096 GHz
respectively, as per the updated frequency plan of msm8996pro.

Change-Id: I725351c064f0211f95af4b4dd708b62360331282
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2017-06-14 22:18:20 -07:00
Linux Build Service Account
e822583117 Merge "msm📷 correct stats query out of boundary" 2017-06-14 19:48:52 -07:00
Linux Build Service Account
d2c81e0602 Merge "msm: smmu: add re-route calling for specified iova when mapping" 2017-06-14 19:48:51 -07:00