OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agodrm/msm: Add submit queue queries
Jordan Crouse [Mon, 12 Jun 2017 15:16:46 +0000 (09:16 -0600)]
drm/msm: Add submit queue queries

Add the capability to query information from a submit queue.
The first available parameter is to query the number of GPU
faults that have been caused by the queue. The driver can
periodically query this value to see if it has caused a fault
and take action accordingly.

Change-Id: Ic0dedbadc68d5782c0b8b71d89722742aa6aaf1a
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
7 years agoMerge "defconfig: msm: Enable maxim regulator driver for msm8996-auto"
Linux Build Service Account [Mon, 19 Jun 2017 07:27:06 +0000 (00:27 -0700)]
Merge "defconfig: msm: Enable maxim regulator driver for msm8996-auto"

7 years agoMerge "drm: msm: Enable asynchronous driver probing"
Linux Build Service Account [Mon, 19 Jun 2017 07:27:05 +0000 (00:27 -0700)]
Merge "drm: msm: Enable asynchronous driver probing"

7 years agoMerge "drm/msm : add utility function to dump HDMI registers"
Linux Build Service Account [Mon, 19 Jun 2017 07:27:04 +0000 (00:27 -0700)]
Merge "drm/msm : add utility function to dump HDMI registers"

7 years agodefconfig: msm: Enable maxim regulator driver for msm8996-auto
Tirupathi Reddy [Mon, 19 Jun 2017 03:18:05 +0000 (08:48 +0530)]
defconfig: msm: Enable maxim regulator driver for msm8996-auto

Enable Maxim20010 external buck regulator driver to provide the supply
for graphics rail on msm8996-auto boards.

CRs-Fixed: 2062515
Change-Id: I1e70f16c660de6d3d2a8c138a34157538c19f0f1
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agoMerge "fbdev: msm: Reserve mixers with dspp for primary display"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:16 +0000 (16:31 -0700)]
Merge "fbdev: msm: Reserve mixers with dspp for primary display"

7 years agoMerge "ARM: dts: msm: optimize brightness dcs control for msm8998 SKUK HDK panel"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:14 +0000 (16:31 -0700)]
Merge "ARM: dts: msm: optimize brightness dcs control for msm8998 SKUK HDK panel"

7 years agoMerge "msm: mdss: Fix number accuracy for backlight to brightness"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:13 +0000 (16:31 -0700)]
Merge "msm: mdss: Fix number accuracy for backlight to brightness"

7 years agoMerge "msm: mdss: dp: use fixed NVID for VGA dongles"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:12 +0000 (16:31 -0700)]
Merge "msm: mdss: dp: use fixed NVID for VGA dongles"

7 years agoMerge "msm: mdss: Add cursor validation for hflip"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:11 +0000 (16:31 -0700)]
Merge "msm: mdss: Add cursor validation for hflip"

7 years agoMerge "fbdev: msm: fix issue preventing cursor_buf address to be stored"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:11 +0000 (16:31 -0700)]
Merge "fbdev: msm: fix issue preventing cursor_buf address to be stored"

7 years agoMerge "fbdev: msm: fix unaligned access problem"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:10 +0000 (16:31 -0700)]
Merge "fbdev: msm: fix unaligned access problem"

7 years agoMerge "msm: mdss: validate number of cea blocks before reading from edid_buf"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:09 +0000 (16:31 -0700)]
Merge "msm: mdss: validate number of cea blocks before reading from edid_buf"

7 years agoMerge "msm: mdss: validate the buffer size before allocating memory"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:08 +0000 (16:31 -0700)]
Merge "msm: mdss: validate the buffer size before allocating memory"

7 years agoMerge "msm: mdss: validate page id before reading from edid buffer"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:07 +0000 (16:31 -0700)]
Merge "msm: mdss: validate page id before reading from edid buffer"

7 years agoMerge "msm: mdss: size check before writing to edid buffer"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:06 +0000 (16:31 -0700)]
Merge "msm: mdss: size check before writing to edid buffer"

7 years agoMerge "msm: mdss: handle vsync properly during dynamic resolution switch"
Linux Build Service Account [Sun, 18 Jun 2017 23:31:05 +0000 (16:31 -0700)]
Merge "msm: mdss: handle vsync properly during dynamic resolution switch"

7 years agoMerge "msm: camera: isp: Do not update lpm mode for inactive streams."
Linux Build Service Account [Sun, 18 Jun 2017 16:47:30 +0000 (09:47 -0700)]
Merge "msm: camera: isp: Do not update lpm mode for inactive streams."

7 years agoMerge "msm: wlan: Update regulatory database"
Linux Build Service Account [Sun, 18 Jun 2017 16:47:29 +0000 (09:47 -0700)]
Merge "msm: wlan: Update regulatory database"

7 years agoMerge "mhi: core: add a timeout when waiting for MHI state BHI event."
Linux Build Service Account [Sun, 18 Jun 2017 16:47:28 +0000 (09:47 -0700)]
Merge "mhi: core: add a timeout when waiting for MHI state BHI event."

7 years agoMerge "phy: qcom-ufs-qmp-v3: use CDR DIV4 in all bands and fastlock"
Linux Build Service Account [Sun, 18 Jun 2017 16:47:27 +0000 (09:47 -0700)]
Merge "phy: qcom-ufs-qmp-v3: use CDR DIV4 in all bands and fastlock"

7 years agoMerge "mmc: host: sdhci-msm: Don't clear IO_PAD_PWR_SWITCH when faking 3V support"
Linux Build Service Account [Sun, 18 Jun 2017 16:47:27 +0000 (09:47 -0700)]
Merge "mmc: host: sdhci-msm: Don't clear IO_PAD_PWR_SWITCH when faking 3V support"

7 years agoMerge "regulator: max20010: Add max20010 regulator driver"
Linux Build Service Account [Sun, 18 Jun 2017 16:47:26 +0000 (09:47 -0700)]
Merge "regulator: max20010: Add max20010 regulator driver"

7 years agoMerge "memshare: Perform Hypervisor mapping for boot-time allotted memory"
Linux Build Service Account [Sun, 18 Jun 2017 16:47:25 +0000 (09:47 -0700)]
Merge "memshare: Perform Hypervisor mapping for boot-time allotted memory"

7 years agoMerge "diag: Proper update of user PD mdlog session variables"
Linux Build Service Account [Sun, 18 Jun 2017 16:47:24 +0000 (09:47 -0700)]
Merge "diag: Proper update of user PD mdlog session variables"

7 years agoMerge "clk: msm: clock-osm: Do not initialize ACD if the cluster isn't online"
Linux Build Service Account [Sun, 18 Jun 2017 16:47:24 +0000 (09:47 -0700)]
Merge "clk: msm: clock-osm: Do not initialize ACD if the cluster isn't online"

7 years agoMerge "drivers/misc: move hdcp sysfs nodes to misc hdcp driver"
Linux Build Service Account [Sun, 18 Jun 2017 16:47:21 +0000 (09:47 -0700)]
Merge "drivers/misc: move hdcp sysfs nodes to misc hdcp driver"

7 years agoMerge "drm/msm: add HDCP 2.2 module for DRM HDMI"
Linux Build Service Account [Sun, 18 Jun 2017 16:47:20 +0000 (09:47 -0700)]
Merge "drm/msm: add HDCP 2.2 module for DRM HDMI"

7 years agoMerge "firmware_class: Avoid memory leak when FW_OPT_NOCACHE is set"
Linux Build Service Account [Sun, 18 Jun 2017 16:47:19 +0000 (09:47 -0700)]
Merge "firmware_class: Avoid memory leak when FW_OPT_NOCACHE is set"

7 years agodrm/msm : add utility function to dump HDMI registers
Abhinav Kumar [Tue, 13 Jun 2017 23:03:05 +0000 (16:03 -0700)]
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>
7 years agophy: qcom-ufs-qmp-v3: use CDR DIV4 in all bands and fastlock
Subhash Jadavani [Tue, 13 Jun 2017 22:29:42 +0000 (15:29 -0700)]
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>
7 years agomsm: wlan: Update regulatory database
Amar Singhal [Thu, 1 Jun 2017 23:27:00 +0000 (16:27 -0700)]
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>
7 years agomhi: core: add a timeout when waiting for MHI state BHI event.
Sujeev Dias [Fri, 16 Jun 2017 08:06:48 +0000 (01:06 -0700)]
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>
7 years agoMerge "defconfig: msm: Use RCU_NOCB for RCU subsystem for sdm660"
Linux Build Service Account [Fri, 16 Jun 2017 13:02:55 +0000 (06:02 -0700)]
Merge "defconfig: msm: Use RCU_NOCB for RCU subsystem for sdm660"

7 years agoMerge "msm: camera: Fix Use after free bug in msm_vb2.c."
Linux Build Service Account [Fri, 16 Jun 2017 13:02:54 +0000 (06:02 -0700)]
Merge "msm: camera: Fix Use after free bug in msm_vb2.c."

7 years agoMerge "msm: isp: Send BAF time stamp to user space"
Linux Build Service Account [Fri, 16 Jun 2017 13:02:52 +0000 (06:02 -0700)]
Merge "msm: isp: Send BAF time stamp to user space"

7 years agommc: host: sdhci-msm: Don't clear IO_PAD_PWR_SWITCH when faking 3V support
Veerabhadrarao Badiganti [Tue, 7 Mar 2017 01:00:13 +0000 (06:30 +0530)]
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>
7 years agoregulator: max20010: Add max20010 regulator driver
Tirupathi Reddy [Mon, 8 May 2017 06:22:59 +0000 (11:52 +0530)]
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>
7 years agomemshare: Perform Hypervisor mapping for boot-time allotted memory
Manoj Prabhu B [Fri, 16 Jun 2017 05:25:30 +0000 (10:55 +0530)]
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>
7 years agodiag: Proper update of user PD mdlog session variables
Manoj Prabhu B [Thu, 8 Jun 2017 13:08:59 +0000 (18:38 +0530)]
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>
7 years agoMerge "drm/msm: add HDCP 1x module for MSM DRM driver"
Linux Build Service Account [Fri, 16 Jun 2017 05:59:09 +0000 (22:59 -0700)]
Merge "drm/msm: add HDCP 1x module for MSM DRM driver"

7 years agoMerge "soc: qcom: glink: Reset qos rate when xprt is down"
Linux Build Service Account [Fri, 16 Jun 2017 05:59:08 +0000 (22:59 -0700)]
Merge "soc: qcom: glink: Reset qos rate when xprt is down"

7 years agoMerge "ath10k: Wait for peer delete response to synchronize with fw"
Linux Build Service Account [Fri, 16 Jun 2017 05:59:07 +0000 (22:59 -0700)]
Merge "ath10k: Wait for peer delete response to synchronize with fw"

7 years agoMerge "ath10k: Send vdev down if association to bss fails"
Linux Build Service Account [Fri, 16 Jun 2017 05:59:06 +0000 (22:59 -0700)]
Merge "ath10k: Send vdev down if association to bss fails"

7 years agoMerge "msm: kgsl: Defer issue commands to worker thread"
Linux Build Service Account [Fri, 16 Jun 2017 05:59:06 +0000 (22:59 -0700)]
Merge "msm: kgsl: Defer issue commands to worker thread"

7 years agodrivers/misc: move hdcp sysfs nodes to misc hdcp driver
Abhinav Kumar [Fri, 19 May 2017 00:51:33 +0000 (17:51 -0700)]
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>
7 years agodrm/msm: add HDCP 2.2 module for DRM HDMI
Abhinav Kumar [Wed, 17 May 2017 23:39:53 +0000 (16:39 -0700)]
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>
7 years agodrm/msm : add HDCP 2.2 helper functions to HDMI utils
Abhinav Kumar [Wed, 17 May 2017 23:24:38 +0000 (16:24 -0700)]
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>
7 years agodrm/msm: make sde hdcp 1x module use the new hdcp lib APIs
Abhinav Kumar [Sat, 13 May 2017 02:44:49 +0000 (19:44 -0700)]
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>
7 years agoARM: dts: msm: add device node for MSM HDCP driver
Abhinav Kumar [Fri, 16 Jun 2017 00:13:12 +0000 (17:13 -0700)]
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>
7 years agodrivers/misc: make the HDCP lib a standalone driver
Abhinav Kumar [Fri, 12 May 2017 07:44:56 +0000 (00:44 -0700)]
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>
7 years agoMerge "drm/msm: add support for parsing hdmi/hdcp capabilities"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:58 +0000 (16:10 -0700)]
Merge "drm/msm: add support for parsing hdmi/hdcp capabilities"

7 years agoMerge "drm/msm: Add per-instance submit queues"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:57 +0000 (16:10 -0700)]
Merge "drm/msm: Add per-instance submit queues"

7 years agoMerge "icnss: change the cnss name to icnss"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:56 +0000 (16:10 -0700)]
Merge "icnss: change the cnss name to icnss"

7 years agoMerge "ARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:55 +0000 (16:10 -0700)]
Merge "ARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP"

7 years agoMerge "ARM: dts: msm: Add non-removable ufs property for SDM660"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:54 +0000 (16:10 -0700)]
Merge "ARM: dts: msm: Add non-removable ufs property for SDM660"

7 years agoMerge "msm: ipa: Add assert upon send command failure"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:53 +0000 (16:10 -0700)]
Merge "msm: ipa: Add assert upon send command failure"

7 years agoMerge "ARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:52 +0000 (16:10 -0700)]
Merge "ARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform"

7 years agoMerge "mmc: sdhci-msm: Corrected the '&' operator with '&&' in the 'if' statement"
Linux Build Service Account [Thu, 15 Jun 2017 23:10:51 +0000 (16:10 -0700)]
Merge "mmc: sdhci-msm: Corrected the '&' operator with '&&' in the 'if' statement"

7 years agoclk: msm: clock-osm: Do not initialize ACD if the cluster isn't online
Deepak Katragadda [Wed, 14 Jun 2017 18:13:48 +0000 (11:13 -0700)]
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>
7 years agoMerge "ASoC: msm: qdsp6v2: Clear HDMI channel allocation on shutdown"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:31 +0000 (08:36 -0700)]
Merge "ASoC: msm: qdsp6v2: Clear HDMI channel allocation on shutdown"

7 years agoMerge "ASoC: msm: qdsp6v2: make audio debugfs read and release exclusive"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:30 +0000 (08:36 -0700)]
Merge "ASoC: msm: qdsp6v2: make audio debugfs read and release exclusive"

7 years agoMerge "soundwire: Fix swr device count logic in registration"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:28 +0000 (08:36 -0700)]
Merge "soundwire: Fix swr device count logic in registration"

7 years agoMerge "soundwire: Remove startup from swr_driver structure"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:27 +0000 (08:36 -0700)]
Merge "soundwire: Remove startup from swr_driver structure"

7 years agoMerge "ARM: dts: msm: Update low temperature APSS frequency in msm8996pro"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:26 +0000 (08:36 -0700)]
Merge "ARM: dts: msm: Update low temperature APSS frequency in msm8996pro"

7 years agoMerge "msm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:25 +0000 (08:36 -0700)]
Merge "msm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE"

7 years agoMerge "crypto: msm: fix rfc4309(ccm(aes)) issue on msm-4.4"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:24 +0000 (08:36 -0700)]
Merge "crypto: msm: fix rfc4309(ccm(aes)) issue on msm-4.4"

7 years agoMerge "net: rps: send out pending IPI's on CPU hotplug"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:23 +0000 (08:36 -0700)]
Merge "net: rps: send out pending IPI's on CPU hotplug"

7 years agoMerge "msm: ipa: fix ipacm_client usage"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:23 +0000 (08:36 -0700)]
Merge "msm: ipa: fix ipacm_client usage"

7 years agoMerge "icnss: Change MSA permissions to collect dump"
Linux Build Service Account [Thu, 15 Jun 2017 15:36:22 +0000 (08:36 -0700)]
Merge "icnss: Change MSA permissions to collect dump"

7 years agodefconfig: msm: Use RCU_NOCB for RCU subsystem for sdm660
Neeraj Upadhyay [Tue, 16 May 2017 11:59:51 +0000 (17:29 +0530)]
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>
7 years agoARM: dts: msm: disable secondary adv7533 on apq8096proAU ADP
Jin Li [Fri, 18 Nov 2016 20:35:20 +0000 (15:35 -0500)]
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>
7 years agodrm/msm: add HDCP 1x module for MSM DRM driver
Abhinav Kumar [Fri, 12 May 2017 03:08:11 +0000 (20:08 -0700)]
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>
7 years agoARM: dts: msm: Add non-removable ufs property for SDM660
Asutosh Das [Wed, 14 Jun 2017 09:58:46 +0000 (15:28 +0530)]
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>
7 years agoath10k: Send vdev down if association to bss fails
Ashutosh Kumar [Mon, 12 Jun 2017 12:03:11 +0000 (17:33 +0530)]
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>
7 years agoARM: dts: msm: enable ADV7535 on MSM8996Pro Auto CDP lite platform
Jin Li [Tue, 8 Nov 2016 20:58:16 +0000 (15:58 -0500)]
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>
7 years agodrm/msm: add HDCP helper functions to DRM HDMI driver
Abhinav Kumar [Wed, 10 May 2017 06:51:48 +0000 (23:51 -0700)]
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>
7 years agoath10k: Wait for peer delete response to synchronize with fw
Ashutosh Kumar [Tue, 16 May 2017 12:40:22 +0000 (18:10 +0530)]
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>
7 years agodrm/msm: clean up DDC handling for SDE HDMI driver
Abhinav Kumar [Wed, 3 May 2017 04:49:52 +0000 (21:49 -0700)]
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>
7 years agodrm/msm: add support for parsing hdmi/hdcp capabilities
Abhinav Kumar [Sat, 29 Apr 2017 05:10:32 +0000 (22:10 -0700)]
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>
7 years agoARM: dts: msm: Update low temperature APSS frequency in msm8996pro
Manaf Meethalavalappu Pallikunhi [Wed, 12 Apr 2017 06:58:50 +0000 (12:28 +0530)]
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>
7 years agoMerge "msm:camera: correct stats query out of boundary"
Linux Build Service Account [Thu, 15 Jun 2017 02:48:53 +0000 (19:48 -0700)]
Merge "msm:camera: correct stats query out of boundary"

7 years agoMerge "msm: smmu: add re-route calling for specified iova when mapping"
Linux Build Service Account [Thu, 15 Jun 2017 02:48:52 +0000 (19:48 -0700)]
Merge "msm: smmu: add re-route calling for specified iova when mapping"

7 years agoMerge "ARM: dts: msm: fix the ADB connection issue on auto CDP."
Linux Build Service Account [Thu, 15 Jun 2017 02:48:51 +0000 (19:48 -0700)]
Merge "ARM: dts: msm: fix the ADB connection issue on auto CDP."

7 years agoMerge "ARM: dts: msm: Add tune2_efuse_addr for SDM660/630"
Linux Build Service Account [Thu, 15 Jun 2017 02:48:50 +0000 (19:48 -0700)]
Merge "ARM: dts: msm: Add tune2_efuse_addr for SDM660/630"

7 years agoMerge "ARM: dts: msm: Update CCI voltage range for MSM8996pro automotive"
Linux Build Service Account [Thu, 15 Jun 2017 02:48:43 +0000 (19:48 -0700)]
Merge "ARM: dts: msm: Update CCI voltage range for MSM8996pro automotive"

7 years agoMerge "msm: ba: Update ba driver to latest v4l2 framework"
Linux Build Service Account [Thu, 15 Jun 2017 02:48:39 +0000 (19:48 -0700)]
Merge "msm: ba: Update ba driver to latest v4l2 framework"

7 years agommc: sdhci-msm: Corrected the '&' operator with '&&' in the 'if' statement
Bao D. Nguyen [Wed, 14 Jun 2017 19:42:41 +0000 (12:42 -0700)]
mmc: sdhci-msm: Corrected the '&' operator with '&&' in the 'if' statement

Without this fix the MMC may incorrectly set the CAPS for the SD card.

Change-Id: Ia4be2e78453663818cfd18deb9a590ec80423bca
Signed-off-by: Bao D. Nguyen <nguyenb@codeaurora.org>
7 years agomsm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE
Praveen Kumar Dwivedi [Wed, 24 May 2017 00:27:31 +0000 (17:27 -0700)]
msm: vidc: Send appropriate picture_type while turning off PIC TYPE DECODE

For V4L2_CID_MPEG_VIDC_VIDEO_PICTYPE_DEC_MODE ioctl the valid
ctrl values are V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_ON and
V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_OFF. But for
V4L2_MPEG_VIDC_VIDEO_PICTYPE_DECODE_OFF case
we are sending wrong enable_picture.picture_type value. We are
also oring HAL_PICTURE_IDR, whereas only
HAL_PICTURE_I | HAL_PICTURE_P | HAL_PICTURE_B should be sent.

Change-Id: I96103d068b3e6e5f23da07d9a4c20e92ed55557c
Signed-off-by: Praveen Kumar Dwivedi <pkd@codeaurora.org>
7 years agoMerge "drm/msm/sde: add support to select secure context bank"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:07 +0000 (09:57 -0700)]
Merge "drm/msm/sde: add support to select secure context bank"

7 years agoMerge "msm: mdss: Clean-up payload for unsupported versions"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:06 +0000 (09:57 -0700)]
Merge "msm: mdss: Clean-up payload for unsupported versions"

7 years agoMerge "f_fs: set maxburst to one before enabling endpoints"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:06 +0000 (09:57 -0700)]
Merge "f_fs: set maxburst to one before enabling endpoints"

7 years agoMerge "mmc: core: Ignore CRC errors with CMD13 while executing tuning"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:05 +0000 (09:57 -0700)]
Merge "mmc: core: Ignore CRC errors with CMD13 while executing tuning"

7 years agoMerge "defconfig: msm: Enable RCU_FAST_NO_HZ for sdm660"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:04 +0000 (09:57 -0700)]
Merge "defconfig: msm: Enable RCU_FAST_NO_HZ for sdm660"

7 years agoMerge "msm: isp: camera: Avoid potential out of bound write"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:03 +0000 (09:57 -0700)]
Merge "msm: isp: camera: Avoid potential out of bound write"

7 years agoMerge "msm: camera: isp: configure correct pixel per line with Testgen"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:02 +0000 (09:57 -0700)]
Merge "msm: camera: isp: configure correct pixel per line with Testgen"

7 years agoMerge "mmc: sd: return error information of sd_init_card incase of failure"
Linux Build Service Account [Wed, 14 Jun 2017 16:57:01 +0000 (09:57 -0700)]
Merge "mmc: sd: return error information of sd_init_card incase of failure"

7 years agomsm: ipa: fix ipacm_client usage
Skylar Chang [Mon, 12 Jun 2017 17:50:12 +0000 (10:50 -0700)]
msm: ipa: fix ipacm_client usage

Fix the access to ipacm_client array.

Change-Id: I0e6c026a4f6eb0bc21f4e07cb301e21f78103f33
CRs-Fixed: 2024177
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agosoc: qcom: glink: Reset qos rate when xprt is down
Dhoat Harpal [Tue, 13 Jun 2017 16:49:55 +0000 (22:19 +0530)]
soc: qcom: glink: Reset qos rate when xprt is down

Reset for qos rate of xprt is not done duering SSR, this leads to
exhaustion of qos bandwidth when multiple SSR happens.

Reset qos rate of xprt to zero when link goes down.

CRs-Fixed: 2061061
Change-Id: Ibabca5584b01eb93a5b7fcc8a5304136ef400ba0
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
7 years agomsm: ipa: Add assert upon send command failure
Utkarsh Saxena [Mon, 5 Jun 2017 11:24:15 +0000 (16:54 +0530)]
msm: ipa: Add assert upon send command failure

Assert the device upon send command failure
after reaching maximum retries.

Change-Id: I154eda0697ec190662dc16edbe09e2213b4a0bae
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>