OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
6 years agoMerge "msm: vdec: Updating DCVS buf count if thumbnail mode is enabled"
Linux Build Service Account [Wed, 19 Jul 2017 16:10:37 +0000 (09:10 -0700)]
Merge "msm: vdec: Updating DCVS buf count if thumbnail mode is enabled"

6 years agoMerge "msm: vidc: Fix issue in cache operation range"
Linux Build Service Account [Wed, 19 Jul 2017 16:10:36 +0000 (09:10 -0700)]
Merge "msm: vidc: Fix issue in cache operation range"

6 years agoMerge "ARM: dts: msm: Add fixed regulator for WLAN_EN pin in MSM8996"
Linux Build Service Account [Wed, 19 Jul 2017 16:10:35 +0000 (09:10 -0700)]
Merge "ARM: dts: msm: Add fixed regulator for WLAN_EN pin in MSM8996"

6 years agoMerge "usb: dwc3-msm: Add sysfs node to enable SS host compliance"
Linux Build Service Account [Wed, 19 Jul 2017 16:10:34 +0000 (09:10 -0700)]
Merge "usb: dwc3-msm: Add sysfs node to enable SS host compliance"

6 years agoMerge "diag: Add protection while de-initializing clients"
Linux Build Service Account [Wed, 19 Jul 2017 16:10:33 +0000 (09:10 -0700)]
Merge "diag: Add protection while de-initializing clients"

6 years agoMerge "usb: gadget: f_qdss: Add support for mdm qdss channel"
Linux Build Service Account [Wed, 19 Jul 2017 16:10:33 +0000 (09:10 -0700)]
Merge "usb: gadget: f_qdss: Add support for mdm qdss channel"

6 years agoMerge "msm: mdss: Fix possible memory overwrite in pgc config"
Linux Build Service Account [Wed, 19 Jul 2017 16:10:31 +0000 (09:10 -0700)]
Merge "msm: mdss: Fix possible memory overwrite in pgc config"

6 years agoMerge "security: pfe: Synchronize the file key usage"
Linux Build Service Account [Wed, 19 Jul 2017 16:10:30 +0000 (09:10 -0700)]
Merge "security: pfe: Synchronize the file key usage"

6 years agoMerge "msm: ipa: fix to incorrect structure access"
Linux Build Service Account [Wed, 19 Jul 2017 16:10:29 +0000 (09:10 -0700)]
Merge "msm: ipa: fix to incorrect structure access"

6 years agoMerge "msm: ADSPRPC: avoid sending new requests to dsp while device_release"
Linux Build Service Account [Wed, 19 Jul 2017 16:10:28 +0000 (09:10 -0700)]
Merge "msm: ADSPRPC: avoid sending new requests to dsp while device_release"

6 years agoMerge "msm: mdss: dp: fix watchdog reset with DP connected in AOD mode"
Linux Build Service Account [Wed, 19 Jul 2017 16:10:27 +0000 (09:10 -0700)]
Merge "msm: mdss: dp: fix watchdog reset with DP connected in AOD mode"

6 years agoARM: dts: msm: Add fixed regulator for WLAN_EN pin in MSM8996
Yue Ma [Tue, 18 Jul 2017 19:38:15 +0000 (12:38 -0700)]
ARM: dts: msm: Add fixed regulator for WLAN_EN pin in MSM8996

Since the PMIC GPIO runtime configuration is not feasible using
pinctrl framework, add it as fixed regulator for WLAN_EN pin.

Signed-off-by: Yue Ma <yuem@codeaurora.org>
CRs-fixed: 2071634
Change-Id: Ifd08bac34388389c6aced7e450cbf5c6ae37b36d

6 years agoMerge "msm: sde: rotator: Enable traffic shaper for 4k@60fps layer"
Linux Build Service Account [Tue, 18 Jul 2017 18:51:44 +0000 (11:51 -0700)]
Merge "msm: sde: rotator: Enable traffic shaper for 4k@60fps layer"

6 years agoMerge "msm: ais: Fix NULL pointer dereference in msm.c."
Linux Build Service Account [Tue, 18 Jul 2017 18:51:42 +0000 (11:51 -0700)]
Merge "msm: ais: Fix NULL pointer dereference in msm.c."

6 years agoMerge "msm: ais: fix crash during dumping io register"
Linux Build Service Account [Tue, 18 Jul 2017 18:51:42 +0000 (11:51 -0700)]
Merge "msm: ais: fix crash during dumping io register"

6 years agoMerge "msm: camera: sensor:validating the flash initialization parameters"
Linux Build Service Account [Tue, 18 Jul 2017 18:51:41 +0000 (11:51 -0700)]
Merge "msm: camera: sensor:validating the flash initialization parameters"

6 years agoMerge "msm: camera: sensor: Fix a bug in CCI with I2C write"
Linux Build Service Account [Tue, 18 Jul 2017 18:51:40 +0000 (11:51 -0700)]
Merge "msm: camera: sensor: Fix a bug in CCI with I2C write"

6 years agoMerge "msm: camera: isp: Store the user ahb vote"
Linux Build Service Account [Tue, 18 Jul 2017 18:51:39 +0000 (11:51 -0700)]
Merge "msm: camera: isp: Store the user ahb vote"

6 years agosecurity: pfe: Synchronize the file key usage
Neeraj Soni [Tue, 18 Jul 2017 11:03:31 +0000 (16:33 +0530)]
security: pfe: Synchronize the file key usage

Reference count is maintained to track the usage
of file key. This is required to avoid invalidate
operation while a file key is in active usage.

Change-Id: I8f6f562ec9a006e585503413c2196685535a5098
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
6 years agoMerge "msm: sensor: actuator: add conditional check for ioctl"
Linux Build Service Account [Tue, 18 Jul 2017 10:06:57 +0000 (03:06 -0700)]
Merge "msm: sensor: actuator: add conditional check for ioctl"

6 years agoMerge "usb: pd: policy_engine: Add support to handle floating charger"
Linux Build Service Account [Tue, 18 Jul 2017 10:06:55 +0000 (03:06 -0700)]
Merge "usb: pd: policy_engine: Add support to handle floating charger"

6 years agoMerge "qseecom: update on smcinvoke-aware listeners operations"
Linux Build Service Account [Tue, 18 Jul 2017 10:06:55 +0000 (03:06 -0700)]
Merge "qseecom: update on smcinvoke-aware listeners operations"

6 years agomsm: ADSPRPC: avoid sending new requests to dsp while device_release
tharun kumar [Mon, 3 Jul 2017 11:37:03 +0000 (17:07 +0530)]
msm: ADSPRPC: avoid sending new requests to dsp while device_release

When fastrpc_device_release is in progress, don't send any new
requets to DSP

Change-Id: I4d9e2f06485cde6dbd3d7aef402e3e853e0be998
Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
6 years agomsm: ipa: fix to incorrect structure access
Mohammed Javid [Mon, 17 Jul 2017 10:56:06 +0000 (16:26 +0530)]
msm: ipa: fix to incorrect structure access

Accessing of incorrect structure pointer is causing
memory out of bound access, fixed issue by accessing
the correct structure pointer.Missed changes in previous
commit I3c2f5f7a97ca ("msm:ipa: Fix to incorrect structure access")
for proc header table cookie variable.Added missing changes.

Change-Id: I9260b8a4d4db0e76eb3849f64174e33e075d3736
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
6 years agomsm: camera: sensor:validating the flash initialization parameters
kaiwang [Thu, 29 Jun 2017 08:12:59 +0000 (16:12 +0800)]
msm: camera: sensor:validating the flash initialization parameters

Copying the flash initialization parameters from userspace memory to
kernel memory and in turn checking for the validity of the flash
initialization parameters pointer sent from userspace

CRs-Fixed: 2059812
Change-Id: I957c10959108eb08b263d439a9a449b90338b6db
Signed-off-by: kaiwang <kaiwang@codeaurora.org>
Signed-off-by: Haibin Liu <haibinl@codeaurora.org>
6 years agoMerge "Revert "sched: Remove synchronize rcu/sched calls from _cpu_down""
Linux Build Service Account [Tue, 18 Jul 2017 01:40:09 +0000 (18:40 -0700)]
Merge "Revert "sched: Remove synchronize rcu/sched calls from _cpu_down""

6 years agoMerge "drm/msm: fix Y420CMDB EDID block parsing"
Linux Build Service Account [Tue, 18 Jul 2017 01:40:08 +0000 (18:40 -0700)]
Merge "drm/msm: fix Y420CMDB EDID block parsing"

6 years agoMerge "msm: rdbg: remote debugger support on CDSP"
Linux Build Service Account [Tue, 18 Jul 2017 01:40:07 +0000 (18:40 -0700)]
Merge "msm: rdbg: remote debugger support on CDSP"

6 years agoMerge "cnss2: Send WAKE MSI base data to firmware"
Linux Build Service Account [Tue, 18 Jul 2017 01:40:05 +0000 (18:40 -0700)]
Merge "cnss2: Send WAKE MSI base data to firmware"

6 years agoMerge "Perf: arm64: avoid use of uninitialized variable"
Linux Build Service Account [Tue, 18 Jul 2017 01:40:04 +0000 (18:40 -0700)]
Merge "Perf: arm64: avoid use of uninitialized variable"

6 years agousb: gadget: f_qdss: Add support for mdm qdss channel
Hemant Kumar [Thu, 2 Mar 2017 23:30:08 +0000 (15:30 -0800)]
usb: gadget: f_qdss: Add support for mdm qdss channel

Driver needs to pass qdss data received from mdm qdss
bridge driver to host PC. This requires a software data
path using IN endpoint. Bridge driver needs to open
qdss_mdm channel and use exported write() API to pass
the qdss data received from mdm. Driver calls the notify
call back upon write completion.

Change-Id: I4d8ceaed0bf9c85aa17d3f49503cd690917cc117
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
6 years agoqseecom: update on smcinvoke-aware listeners operations
Zhen Kong [Thu, 29 Jun 2017 22:22:14 +0000 (15:22 -0700)]
qseecom: update on smcinvoke-aware listeners operations

With the introduction of MinkIPC for TA-to-TA communication,
if a request for blocking a TA (on a busy listener) is received
by qseecom, it may not be originated from the last TA to which
a command (or unblock response) was sent to. So, make change
to use a session_id instead of app_id to uniquely identify this
blocked request and a new cmd ID to support this smcinvoke-aware
listener operation.

Change-Id: I362e9acfa52c055b5759c210bb881da40f4e0776
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
6 years agousb: pd: policy_engine: Add support to handle floating charger
Hemant Kumar [Thu, 13 Jul 2017 19:08:49 +0000 (12:08 -0700)]
usb: pd: policy_engine: Add support to handle floating charger

There is a possibility of PMI detecting SDP as a floating charger
when connected to a PC. Workaround this issue by starting peripheral
stack for floating charger as well. Stop peripheral stack after 10 sec
in absence of USB device enumeration.

Change-Id: I6effee71affbe0baeb28c54ce799ade79ec4b42a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
6 years agousb: dwc3-msm: Add support to handle floating D+/D- lines
Hemant Kumar [Thu, 13 Jul 2017 01:11:25 +0000 (18:11 -0700)]
usb: dwc3-msm: Add support to handle floating D+/D- lines

There is a possibility of PMI detecting SDP as a floating charger
when connected to a PC. Workaround this issue by starting peripheral
stack for floating charger as well. After 10 sec check for USB device
enumeration using gadget USB state. If device is indeed connected to
SDP gadget usb state will be USB_STATE_DEFAULT or higher. This change
also helps to start peripheral stack in super speed usb compliance mode
when D+ and D- lines are floating.

Change-Id: Ia6dc668c549dca35e3273ece9a43be52c25d40ad
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
6 years agocnss2: Send WAKE MSI base data to firmware
Yue Ma [Fri, 14 Jul 2017 19:09:19 +0000 (12:09 -0700)]
cnss2: Send WAKE MSI base data to firmware

Add the support to send WAKE MSI base data to firmware through
HOST_CAP_REQ QMI message so that firmware can use it to wake up
WLAN host driver.

Change-Id: Ief8bfb6c3746bc0bfd833aa3bded09212773244d
Signed-off-by: Yue Ma <yuem@codeaurora.org>
6 years agocnss2: Update QMI WLFW header files
Yue Ma [Fri, 14 Jul 2017 18:23:44 +0000 (11:23 -0700)]
cnss2: Update QMI WLFW header files

Add changes for PMIC XO calibration data support. Also Add one
optional field of HOST_CAP_REQ message to indicate the WAKE MSI
base data that driver can support.

Change-Id: I6cdfa3d5e485fd1a772f1a5c465cfba3e28048a7
Signed-off-by: Yue Ma <yuem@codeaurora.org>
6 years agocnss2: Support runtime power on/off WLAN device
Yue Ma [Wed, 12 Jul 2017 22:08:30 +0000 (15:08 -0700)]
cnss2: Support runtime power on/off WLAN device

WLAN host driver may do runtime mode switch which requires platform
driver to reset device and re-download firmware. Add the changes for
runtime power on/off WLAN device to support runtime mode switch.

Change-Id: I08d3635afbaafb73691fbdf5d25877fb433bae18
CRs-fixed: 2059087
Signed-off-by: Yue Ma <yuem@codeaurora.org>
6 years agoMerge "msm: vidc: Free pixel plane handle when map extradata fails"
Linux Build Service Account [Mon, 17 Jul 2017 12:28:29 +0000 (05:28 -0700)]
Merge "msm: vidc: Free pixel plane handle when map extradata fails"

6 years agoMerge "power: smb-lib: Improve the OTG enable workaround for PM660"
Linux Build Service Account [Mon, 17 Jul 2017 12:28:29 +0000 (05:28 -0700)]
Merge "power: smb-lib: Improve the OTG enable workaround for PM660"

6 years agoMerge "msm: ipa3: fix compatibility with ipa user space"
Linux Build Service Account [Mon, 17 Jul 2017 12:28:28 +0000 (05:28 -0700)]
Merge "msm: ipa3: fix compatibility with ipa user space"

6 years agoMerge "mmc: sdhci-msm: Set dll to good phase while sending cmd13 in tuning"
Linux Build Service Account [Mon, 17 Jul 2017 12:28:27 +0000 (05:28 -0700)]
Merge "mmc: sdhci-msm: Set dll to good phase while sending cmd13 in tuning"

6 years agoMerge "msm:ipa: using rate limit api for ioctl calls"
Linux Build Service Account [Mon, 17 Jul 2017 12:28:26 +0000 (05:28 -0700)]
Merge "msm:ipa: using rate limit api for ioctl calls"

6 years agodiag: Add protection while de-initializing clients
Mohit Aggarwal [Thu, 6 Jul 2017 04:46:52 +0000 (10:16 +0530)]
diag: Add protection while de-initializing clients

Currently, while de-initializing clients, there is
a possibility of using already freed memory. The
patch adds proper protection to fix the issue.

CRs-Fixed: 2068569
Change-Id: I4b397a82e03fa2f1c84cfa8ca912cdb6a51ba08b
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
6 years agopower: smb-lib: Improve the OTG enable workaround for PM660
Anirudh Ghayal [Mon, 3 Jul 2017 05:22:29 +0000 (10:52 +0530)]
power: smb-lib: Improve the OTG enable workaround for PM660

There are scenarios where inductive load with higher inrush
current may fail to turn on the OTG. Improve the OTG turn-on
sequence by gradually increasing the current-limit if it
fails to turn-on with a lower current.

CRs-Fixed: 2075050
Change-Id: I41c1e25257a4ee87f00287e07773331b1445b5f2
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
6 years agomsm: mdss: Fix possible memory overwrite in pgc config
Sravan Kumar D.V.N [Wed, 5 Jul 2017 06:29:08 +0000 (11:59 +0530)]
msm: mdss: Fix possible memory overwrite in pgc config

Possible memory overwrite in pgc get config is fixed by
eliminating direct reference to user data.

Change-Id: I7117848bacb8e69720eb3121d02bbacf02cab13a
Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
6 years agomsm: rdbg: remote debugger support on CDSP
tharun kumar [Sat, 8 Jul 2017 10:34:49 +0000 (16:04 +0530)]
msm: rdbg: remote debugger support on CDSP

The Remote Debugger driver allows a debugger running
on a host PC to communicate with a remotestub running
on peripheral subsystems.

Change-Id: I3bb02bd784b6b378d707ff8a6422ae9fa912d28d
Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
6 years agoMerge "ASoC: msm: Add hwdep node for NOIRQ FE"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:59 +0000 (21:04 -0700)]
Merge "ASoC: msm: Add hwdep node for NOIRQ FE"

6 years agoMerge "ASoC: msm: qdsp6v2: Set path type to LIVE_REC in LISTEN passthrough case"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:58 +0000 (21:04 -0700)]
Merge "ASoC: msm: qdsp6v2: Set path type to LIVE_REC in LISTEN passthrough case"

6 years agoMerge "ASoC: mbhc: Fix audio mute for special headset"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:57 +0000 (21:04 -0700)]
Merge "ASoC: mbhc: Fix audio mute for special headset"

6 years agoMerge "ASoC: wcd9335: Reset power_active_ref to 0 when it is negative"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:56 +0000 (21:04 -0700)]
Merge "ASoC: wcd9335: Reset power_active_ref to 0 when it is negative"

6 years agoMerge "ASoC: msm: qdsp6v2: Add matrix limiter support"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:55 +0000 (21:04 -0700)]
Merge "ASoC: msm: qdsp6v2: Add matrix limiter support"

6 years agoMerge "ASoc: msm8998: Add multichannel support for SLIM_0_RX"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:54 +0000 (21:04 -0700)]
Merge "ASoc: msm8998: Add multichannel support for SLIM_0_RX"

6 years agoMerge "msm: ipa: remove delay in out of buffer recovery procedure"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:53 +0000 (21:04 -0700)]
Merge "msm: ipa: remove delay in out of buffer recovery procedure"

6 years agoMerge "ARM: dts: msm: Add initial support for msm8998-9x55"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:53 +0000 (21:04 -0700)]
Merge "ARM: dts: msm: Add initial support for msm8998-9x55"

6 years agoMerge "msm: kgsl: Change pwrlevels array index type to unsigned int"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:52 +0000 (21:04 -0700)]
Merge "msm: kgsl: Change pwrlevels array index type to unsigned int"

6 years agoMerge "msm: camera: isp: Avoid to detect out of sync using time"
Linux Build Service Account [Mon, 17 Jul 2017 04:04:51 +0000 (21:04 -0700)]
Merge "msm: camera: isp: Avoid to detect out of sync using time"

6 years agomsm: ipa3: fix compatibility with ipa user space
Amir Levy [Wed, 12 Jul 2017 16:33:36 +0000 (19:33 +0300)]
msm: ipa3: fix compatibility with ipa user space

Add several defines and structs to allow IPA user space compile.

Change-Id: Icd6fe721bd0572b6c8f0c57dd65da3e7a6e69596
Acked-by: Dmitry Kogan <dmitryk@qti.qualcomm.com>
Signed-off-by: Amir Levy <alevy@codeaurora.org>
6 years agoMerge "drm/msm: add YUV format support for HDMI"
Linux Build Service Account [Sat, 15 Jul 2017 20:40:03 +0000 (13:40 -0700)]
Merge "drm/msm: add YUV format support for HDMI"

6 years agoMerge "drm/msm: add RGB 30-bit deep color support for HDMI"
Linux Build Service Account [Sat, 15 Jul 2017 20:40:02 +0000 (13:40 -0700)]
Merge "drm/msm: add RGB 30-bit deep color support for HDMI"

6 years agomsm:ipa: using rate limit api for ioctl calls
Utkarsh Saxena [Fri, 26 May 2017 11:50:32 +0000 (17:20 +0530)]
msm:ipa: using rate limit api for ioctl calls

ipav2/ipav3 ioctl calls input arguments validation failed cases,
replacing IPAERR() with IPAERR_RL() marco for controlling logs
printing on the console.

Change-Id: I0d1aabb9b500228e5fd5d94cf17657bf29bdf175
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
6 years agodrm/msm: fix Y420CMDB EDID block parsing
Abhinav Kumar [Fri, 14 Jul 2017 09:13:22 +0000 (02:13 -0700)]
drm/msm: fix Y420CMDB EDID block parsing

Fix the Y420CMDB EDID block parsing to handle
the case where the block does not include a capability
bitmap.

This case means that all the short video descriptors
support the YUV 420 mode as well.

Also fix the incorrect length check in the parser API.
The capability bitmap has no minimum length field.

Change-Id: I5d9c2d3ac11d5ddad8e36cb7acfebfb41175f4b7
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
6 years agoMerge "ASoc: msm: Support TDM dai clk attribute and freq configuration"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:57 +0000 (17:59 -0700)]
Merge "ASoc: msm: Support TDM dai clk attribute and freq configuration"

6 years agoMerge "ASoc: msm: Support PRI_TDM_TX routing to QUAT_TDM_RX port mixer."
Linux Build Service Account [Sat, 15 Jul 2017 00:59:56 +0000 (17:59 -0700)]
Merge "ASoc: msm: Support PRI_TDM_TX routing to QUAT_TDM_RX port mixer."

6 years agoMerge "msm: mdss: do not resynchronize DSI FIFO if during device boot up"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:55 +0000 (17:59 -0700)]
Merge "msm: mdss: do not resynchronize DSI FIFO if during device boot up"

6 years agoMerge "msm: sde: Set minimum traffic shaping in sde rotator"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:54 +0000 (17:59 -0700)]
Merge "msm: sde: Set minimum traffic shaping in sde rotator"

6 years agoMerge "msm: mdss: Avoid direct dereference user input in pp cache config"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:53 +0000 (17:59 -0700)]
Merge "msm: mdss: Avoid direct dereference user input in pp cache config"

6 years agoMerge "msm: sensor: Fix for variable being de-referenced without proper check"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:52 +0000 (17:59 -0700)]
Merge "msm: sensor: Fix for variable being de-referenced without proper check"

6 years agoMerge "serial: msm_serial_hs: Optimize the total tty port support"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:51 +0000 (17:59 -0700)]
Merge "serial: msm_serial_hs: Optimize the total tty port support"

6 years agoMerge "diag: Protect mask updates for memory device session"
Linux Build Service Account [Sat, 15 Jul 2017 00:59:50 +0000 (17:59 -0700)]
Merge "diag: Protect mask updates for memory device session"

6 years agomsm: mdss: Fix possible leaks in PP LUT get functions
Sravan Kumar D.V.N [Wed, 5 Jul 2017 06:19:28 +0000 (11:49 +0530)]
msm: mdss: Fix possible leaks in PP LUT get functions

Possible user information leaks in post processing LUT get
functions are fixed by properly copying user data.

Change-Id: I529f74a79e5857902177c8054d136b4544370be2
Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
6 years agoMerge "msm:ipa: Fix to incorrect structure access"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:33 +0000 (04:01 -0700)]
Merge "msm:ipa: Fix to incorrect structure access"

6 years agoMerge "ASoC: msm8998: Add MM front end DAI links for interactive streams"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:30 +0000 (04:01 -0700)]
Merge "ASoC: msm8998: Add MM front end DAI links for interactive streams"

6 years agoMerge "ASoC: msm: Support mixer controls for Pan/scale & downmix"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:30 +0000 (04:01 -0700)]
Merge "ASoC: msm: Support mixer controls for Pan/scale & downmix"

6 years agoMerge "ASoC: q6dspv2: Support for pan-scale and downmix set param"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:29 +0000 (04:01 -0700)]
Merge "ASoC: q6dspv2: Support for pan-scale and downmix set param"

6 years agoMerge "fbdev: msm: Add check for fence count"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:28 +0000 (04:01 -0700)]
Merge "fbdev: msm: Add check for fence count"

6 years agoMerge "msm: mdss: apply bus throughput factor for high downscale cases"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:27 +0000 (04:01 -0700)]
Merge "msm: mdss: apply bus throughput factor for high downscale cases"

6 years agoMerge "ARM: dts: msm: rename mdss_mdp to sde_kms for msm8996"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:26 +0000 (04:01 -0700)]
Merge "ARM: dts: msm: rename mdss_mdp to sde_kms for msm8996"

6 years agoMerge "msm_11ad: Compile as module instead of built-in"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:23 +0000 (04:01 -0700)]
Merge "msm_11ad: Compile as module instead of built-in"

6 years agoMerge "msm-core: Align the trace log temp in same scale factor"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:22 +0000 (04:01 -0700)]
Merge "msm-core: Align the trace log temp in same scale factor"

6 years agoMerge "usb: pd: Add delay before sending Source Capabilities"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:21 +0000 (04:01 -0700)]
Merge "usb: pd: Add delay before sending Source Capabilities"

6 years agoMerge "ARM: dts: msm: Enable pmic gpio13 so neutrino driver can toggle it in probe"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:18 +0000 (04:01 -0700)]
Merge "ARM: dts: msm: Enable pmic gpio13 so neutrino driver can toggle it in probe"

6 years agoMerge "net: ipv6: reset daddr and dport in socket if connect() fails"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:14 +0000 (04:01 -0700)]
Merge "net: ipv6: reset daddr and dport in socket if connect() fails"

6 years agoMerge "ARM: dts: msm: Use wlan carveout region for sdm660/sdm630"
Linux Build Service Account [Fri, 14 Jul 2017 11:01:12 +0000 (04:01 -0700)]
Merge "ARM: dts: msm: Use wlan carveout region for sdm660/sdm630"

6 years agoMerge "smb-lib: fix usbin_icl_change interrupt storm"
Linux Build Service Account [Fri, 14 Jul 2017 11:00:26 +0000 (04:00 -0700)]
Merge "smb-lib: fix usbin_icl_change interrupt storm"

6 years agoMerge "msm: ADSPRPC: define separate signals for port and link states"
Linux Build Service Account [Fri, 14 Jul 2017 11:00:25 +0000 (04:00 -0700)]
Merge "msm: ADSPRPC: define separate signals for port and link states"

6 years agoMerge "diag: Update stream for active PD mdlog session"
Linux Build Service Account [Fri, 14 Jul 2017 11:00:24 +0000 (04:00 -0700)]
Merge "diag: Update stream for active PD mdlog session"

6 years agoMerge "ARM: dts: msm: Add IPA dtsi entries for MSM8996 Auto"
Linux Build Service Account [Fri, 14 Jul 2017 11:00:23 +0000 (04:00 -0700)]
Merge "ARM: dts: msm: Add IPA dtsi entries for MSM8996 Auto"

6 years agoMerge "coresight: tmc: Fix use after free issue with tmc read"
Linux Build Service Account [Fri, 14 Jul 2017 11:00:22 +0000 (04:00 -0700)]
Merge "coresight: tmc: Fix use after free issue with tmc read"

6 years agodrm/msm: add YUV format support for HDMI
Yuan Zhao [Thu, 13 Jul 2017 09:40:54 +0000 (17:40 +0800)]
drm/msm: add YUV format support for HDMI

This change adds YUV format support for HDMI.
Also, chooses the best mode for turning on the
sink based on sink source capabilities. This
can be either RGB or YUV. For YUV formats adjust
the pixel clock and also configure the relevant
hardware blocks in SDE.

Change-Id: I48a36a991c194badb3ddca4bbf5bcbc21d838b8f
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
6 years agodrm/msm: add RGB 30-bit deep color support for HDMI
Yuan Zhao [Thu, 13 Jul 2017 09:12:28 +0000 (17:12 +0800)]
drm/msm: add RGB 30-bit deep color support for HDMI

Check if the TV supports deep color and adjust the
pixel clock accordingly before setting the mode. Also
make sure that this pixel clock is within the limits
of the sink.

Change-Id: I3c44c06ea54b6c49e19c8c41d693000f7c3feeb7
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
6 years agomsm: kgsl: Change pwrlevels array index type to unsigned int
Venkateswara Rao Tadikonda [Fri, 7 Jul 2017 16:17:10 +0000 (21:47 +0530)]
msm: kgsl: Change pwrlevels array index type to unsigned int

Change the array index 'i' of pwrlevels[] to unsigned int, which can't be
decremented beyond zero.

Change-Id: I9b646fccf03437f6facf0d5938f097916d13d2f2
Signed-off-by: Venkateswara Rao Tadikonda <vtadik@codeaurora.org>
6 years agomsm: camera: isp: Avoid to detect out of sync using time
Ramesh V [Thu, 6 Jul 2017 05:26:33 +0000 (10:56 +0530)]
msm: camera: isp: Avoid to detect out of sync using time

Detect frame out of sync based on interfaces, instead of
time to avoid synchronization issues.

Change-Id: I76d9d5a3c83ed8017607fd452e5503260cad659a
Signed-off-by: Ramesh V <ramev@codeaurora.org>
6 years agousb: dwc3-msm: Add sysfs node to enable SS host compliance
Ajay Agarwal [Fri, 30 Jun 2017 17:52:18 +0000 (23:22 +0530)]
usb: dwc3-msm: Add sysfs node to enable SS host compliance

xHCI specs revision 1.1 mentions that if Compliance Transition
Capability (CTC) flag is set, then xHC supports software control
of the transition to Compliance mode. For this, we need to write
a value of 10 to Port Link State(PLS) field of PORTSC register
during dwc3_otg_start_host time after the xhci platform device
has been added. Then the link transitions to compliance state
on detection of first LFPS timeout.

Steps to enable compliance transition:
  1. Do not connect host cable
  2. echo y > /sys/devices/soc/a800000.ssusb/xhci_link_compliance
  3. Connect host cable with breakout fixture and start testing

Steps to disable compliance transition:
  1. Disconnect the host cable
  2. echo n > /sys/devices/soc/a800000.ssusb/xhci_link_compliance
  3. Connect host cable

Change-Id: I73225ccad105414d3ebd60f95138b9ecf65005d4
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
6 years agoASoC: msm8998: Add MM front end DAI links for interactive streams
Varun Balaraj [Mon, 3 Jul 2017 05:04:56 +0000 (10:34 +0530)]
ASoC: msm8998: Add MM front end DAI links for interactive streams

Add MM front end DAI links to support concurrent interactive
streams

Change-Id: I9cd95d855f2ddc3345453807e4be235c430b9ef3
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
6 years agoASoC: msm: Support mixer controls for Pan/scale & downmix
Varun Balaraj [Thu, 13 Jul 2017 08:12:12 +0000 (13:42 +0530)]
ASoC: msm: Support mixer controls for Pan/scale & downmix

Add changes to register and receive parameters for pan/scale
and downmix operations.

Change-Id: If0e747304595f9ed3bd19b25e3f4eab2db382a67
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
6 years agoASoC: q6dspv2: Support for pan-scale and downmix set param
Varun Balaraj [Thu, 13 Jul 2017 08:00:15 +0000 (13:30 +0530)]
ASoC: q6dspv2: Support for pan-scale and downmix set param

Add support for set params on ASM/ADM for MFC and
Volume modules. Make PSPD mitrix set param api generic.

Change-Id: I75a5b9e3fd2316b75be41439848f89190944bc36
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
6 years agoserial: msm_serial_hs: Optimize the total tty port support
Mukesh Kumar Savaliya [Thu, 13 Jul 2017 07:21:33 +0000 (12:51 +0530)]
serial: msm_serial_hs: Optimize the total tty port support

No need of having high number of tty port for HSUART which just wastes
resources. Make this optimal based on the use cases.

Change-Id: If82fc1a3457fae7503d7557817ca776f19027da7
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
6 years agomsm: sensor: actuator: add conditional check for ioctl
Haibin Liu [Tue, 27 Jun 2017 07:53:31 +0000 (15:53 +0800)]
msm: sensor: actuator: add conditional check for ioctl

Add conditional check when sending VIDIOC_MSM_ACTUATOR_CFG32.

CRs-Fixed: 2060371
Change-Id: I9cfaff05b1fff6969a2543c3816d41ed1fabf897
Signed-off-by: Haibin Liu <haibinl@codeaurora.org>
6 years agomsm-core: Align the trace log temp in same scale factor
Maria Yu [Wed, 12 Jul 2017 07:12:42 +0000 (15:12 +0800)]
msm-core: Align the trace log temp in same scale factor

Temp in trace_temp_notification is not divided with
scaling factor while cpu_node->temp is. Use temp after
scale for better log understanding.

Change-Id: Iadf4a1c39211651fee67cc18f68a65785f28fa58
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
6 years agoARM: dts: msm: Enable pmic gpio13 so neutrino driver can toggle it in probe
Philippe Gravel [Thu, 8 Jun 2017 18:35:07 +0000 (11:35 -0700)]
ARM: dts: msm: Enable pmic gpio13 so neutrino driver can toggle it in probe

Enables pmic gpio13 on msm8996 so that the neutrino driver can toggle it
during probe to bring the hardware out of reset. This is required for
suspend/resume when neutrino resx is disconnected from pcie_reset.

Change-Id: I21a8e556903756ed39abdde5a17e8b6d353c0504
Signed-off-by: Philippe Gravel <pgravel@codeaurora.org>