OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agospi: spi_qsd: Revert latency improvement changes done for small transfers
Mukesh Kumar Savaliya [Sat, 14 Jan 2017 19:07:35 +0000 (00:37 +0530)]
spi: spi_qsd: Revert latency improvement changes done for small transfers

Reverting the changes provided to improve small transfer rate.

Change-Id: Ifc1ae0ccbd0f991523f4715fbb1ff9951b268986
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
7 years agoMerge "defconfig: msm: Enable SCHED_AUTOGROUP"
Linux Build Service Account [Sat, 14 Jan 2017 01:03:04 +0000 (17:03 -0800)]
Merge "defconfig: msm: Enable SCHED_AUTOGROUP"

7 years agoMerge "ARM: dts: msm: modify funnel configuration for sdm660"
Linux Build Service Account [Sat, 14 Jan 2017 01:03:03 +0000 (17:03 -0800)]
Merge "ARM: dts: msm: modify funnel configuration for sdm660"

7 years agoMerge "ARM: dts: msm: Enable UART for sdm660"
Linux Build Service Account [Sat, 14 Jan 2017 01:03:02 +0000 (17:03 -0800)]
Merge "ARM: dts: msm: Enable UART for sdm660"

7 years agoMerge "mm: camera: isp: send PD stats buffer earlier"
Linux Build Service Account [Sat, 14 Jan 2017 01:03:02 +0000 (17:03 -0800)]
Merge "mm: camera: isp: send PD stats buffer earlier"

7 years agoMerge "drm/msm/sde: add resource manager to enable dual dsi"
Linux Build Service Account [Sat, 14 Jan 2017 01:03:01 +0000 (17:03 -0800)]
Merge "drm/msm/sde: add resource manager to enable dual dsi"

7 years agoMerge "drm/msm/sde: adding implementation for mdp_top in hw driver"
Linux Build Service Account [Sat, 14 Jan 2017 01:03:00 +0000 (17:03 -0800)]
Merge "drm/msm/sde: adding implementation for mdp_top in hw driver"

7 years agoMerge "msm: mdss: enable pll regulator during phy on sequence"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:59 +0000 (17:02 -0800)]
Merge "msm: mdss: enable pll regulator during phy on sequence"

7 years agoMerge "msm: mdss: add backlight gpio invert support for display"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:58 +0000 (17:02 -0800)]
Merge "msm: mdss: add backlight gpio invert support for display"

7 years agoMerge "msm: mdss: remove timing db mode from DSI host init sequence"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:57 +0000 (17:02 -0800)]
Merge "msm: mdss: remove timing db mode from DSI host init sequence"

7 years agoMerge "msm: mdss: Fix panel orientation handling for split displays"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:56 +0000 (17:02 -0800)]
Merge "msm: mdss: Fix panel orientation handling for split displays"

7 years agoMerge "msm: sde: Fix variable initialization in SDE rotator"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:55 +0000 (17:02 -0800)]
Merge "msm: sde: Fix variable initialization in SDE rotator"

7 years agoMerge "msm: sde: Reduce SDE rotator done signaling time"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:54 +0000 (17:02 -0800)]
Merge "msm: sde: Reduce SDE rotator done signaling time"

7 years agoMerge "qseecom: improve input validatation for qseecom_send_service_cmd"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:53 +0000 (17:02 -0800)]
Merge "qseecom: improve input validatation for qseecom_send_service_cmd"

7 years agoMerge "qseecom: fix potential memory leak in __qseecom_update_cmd_buf_64"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:52 +0000 (17:02 -0800)]
Merge "qseecom: fix potential memory leak in __qseecom_update_cmd_buf_64"

7 years agoMerge "icnss: Add support for host initiated recovery"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:50 +0000 (17:02 -0800)]
Merge "icnss: Add support for host initiated recovery"

7 years agoMerge "msm: ADSPRPC: attributes to support per-buffer coherent mappings"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:49 +0000 (17:02 -0800)]
Merge "msm: ADSPRPC: attributes to support per-buffer coherent mappings"

7 years agoMerge "smb-lib: fix Type-C removal detection with OTG"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:49 +0000 (17:02 -0800)]
Merge "smb-lib: fix Type-C removal detection with OTG"

7 years agoMerge "perf: protect group_leader from races that cause ctx double-free"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:48 +0000 (17:02 -0800)]
Merge "perf: protect group_leader from races that cause ctx double-free"

7 years agoMerge "netfilter: Change %p to %pK in debug messages"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:47 +0000 (17:02 -0800)]
Merge "netfilter: Change %p to %pK in debug messages"

7 years agoMerge "iommu: arm-smmu: Set context bank page table coherency"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:42 +0000 (17:02 -0800)]
Merge "iommu: arm-smmu: Set context bank page table coherency"

7 years agoMerge "iommu: Add DOMAIN_ATTR_PAGE_TABLE_FORCE_COHERENT"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:41 +0000 (17:02 -0800)]
Merge "iommu: Add DOMAIN_ATTR_PAGE_TABLE_FORCE_COHERENT"

7 years agoMerge "iommu/io-pgtable-fast: Set page table coherency"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:40 +0000 (17:02 -0800)]
Merge "iommu/io-pgtable-fast: Set page table coherency"

7 years agoMerge "iommu/io-pgtable-arm: Set page table coherency"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:40 +0000 (17:02 -0800)]
Merge "iommu/io-pgtable-arm: Set page table coherency"

7 years agoMerge "iommu/io-pgtable: Allow page table coherency to be set"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:39 +0000 (17:02 -0800)]
Merge "iommu/io-pgtable: Allow page table coherency to be set"

7 years agoMerge "sched: Convert the global wake_up_idle flag to a per cluster flag"
Linux Build Service Account [Sat, 14 Jan 2017 01:02:38 +0000 (17:02 -0800)]
Merge "sched: Convert the global wake_up_idle flag to a per cluster flag"

7 years agodefconfig: msm: Enable SCHED_AUTOGROUP
Olav Haugan [Fri, 13 Jan 2017 18:16:31 +0000 (10:16 -0800)]
defconfig: msm: Enable SCHED_AUTOGROUP

Enable SCHED_AUTOGROUP which enables certain optimizations in the
scheduler for better performance.

Change-Id: Ib099531ed19715e88373d4aee2926205a8eaf9c6
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
7 years agodrm/msm/sde: add resource manager to enable dual dsi
Abhijit Kulkarni [Mon, 27 Jun 2016 02:12:09 +0000 (22:12 -0400)]
drm/msm/sde: add resource manager to enable dual dsi

Add resource manager for retrieving the control paths and layer
mixers. Encoder and CRTC use this to get the hw driver contexts
for those blocks.

Change-Id: Id6789ef24616197a295bcb5687a0de659cc11e5d
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agodrm/msm/sde: adding implementation for mdp_top in hw driver
Abhijit Kulkarni [Fri, 24 Jun 2016 22:27:48 +0000 (18:27 -0400)]
drm/msm/sde: adding implementation for mdp_top in hw driver

Add mdp_top block support to hw layer, provides split pipe
control, and interface select. Use mdp_top from intf block
to program interface select.

Change-Id: I15f2070f7d552a6ec11bda0302f362e22ca6e84e
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agoMerge "iommu: pass proper vmid value for secure attachments"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:57 +0000 (08:07 -0800)]
Merge "iommu: pass proper vmid value for secure attachments"

7 years agoMerge "ARM: dts: msm: Update configurations of sdhc2 for sdm660 QRD"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:56 +0000 (08:07 -0800)]
Merge "ARM: dts: msm: Update configurations of sdhc2 for sdm660 QRD"

7 years agoMerge "msm: camera: Add lock/unlock to "set mode" function"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:55 +0000 (08:07 -0800)]
Merge "msm: camera: Add lock/unlock to "set mode" function"

7 years agoMerge "icnss: Ignore MSA0 dump collection during graceful shutdown"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:55 +0000 (08:07 -0800)]
Merge "icnss: Ignore MSA0 dump collection during graceful shutdown"

7 years agoMerge "regulator: core: clean up debugfs monitoring and control features"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:54 +0000 (08:07 -0800)]
Merge "regulator: core: clean up debugfs monitoring and control features"

7 years agoMerge "ARM: dts: msm: enable bw mon4 version on sdm660 target."
Linux Build Service Account [Fri, 13 Jan 2017 16:07:53 +0000 (08:07 -0800)]
Merge "ARM: dts: msm: enable bw mon4 version on sdm660 target."

7 years agoMerge "cpufreq: changes to adapt for opensource clock framework"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:52 +0000 (08:07 -0800)]
Merge "cpufreq: changes to adapt for opensource clock framework"

7 years agoMerge "ARM: dts: msm: Fix configurations for crypto and qrng on SDM660"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:52 +0000 (08:07 -0800)]
Merge "ARM: dts: msm: Fix configurations for crypto and qrng on SDM660"

7 years agoMerge "clk: qcom: Fix for rate request to RPM during handoff"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:51 +0000 (08:07 -0800)]
Merge "clk: qcom: Fix for rate request to RPM during handoff"

7 years agoMerge "drm/msm/sde: sde hw interrupt handling"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:47 +0000 (08:07 -0800)]
Merge "drm/msm/sde: sde hw interrupt handling"

7 years agoMerge "drm/msm/sde: simplify encoder display probe logic"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:46 +0000 (08:07 -0800)]
Merge "drm/msm/sde: simplify encoder display probe logic"

7 years agoMerge "drm/msm: add smmu handler"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:46 +0000 (08:07 -0800)]
Merge "drm/msm: add smmu handler"

7 years agoMerge "ARM: dts: msm: enable watchdog for sdm 660"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:45 +0000 (08:07 -0800)]
Merge "ARM: dts: msm: enable watchdog for sdm 660"

7 years agoMerge "ARM: dts: msm: Use correct property name to pass values for sdm660"
Linux Build Service Account [Fri, 13 Jan 2017 16:07:44 +0000 (08:07 -0800)]
Merge "ARM: dts: msm: Use correct property name to pass values for sdm660"

7 years agoARM: dts: msm: modify funnel configuration for sdm660
Amey Telawane [Wed, 4 Jan 2017 12:06:37 +0000 (17:36 +0530)]
ARM: dts: msm: modify funnel configuration for sdm660

Modify funnel configuration for modem etm and tpda.
Modify data width for submodules for sdm660.

CRs-fixed: 1111225
Change-Id: I27538435b2c89041ca6c0305eb1405cf75ed59af
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
7 years agoiommu: pass proper vmid value for secure attachments
Charan Teja Reddy [Fri, 13 Jan 2017 13:07:09 +0000 (18:37 +0530)]
iommu: pass proper vmid value for secure attachments

Pass the proper VMID value during secure attach. This VMID is used by
the HYP/TZ to maintain the pagetables.

Change-Id: I3b7c27c079b044c9325bcbcb6fa4312e424f3a94
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
7 years agoARM: dts: msm: Enable UART for sdm660
Rupesh Tatiya [Mon, 9 Jan 2017 09:13:55 +0000 (14:43 +0530)]
ARM: dts: msm: Enable UART for sdm660

BLSP2 UART1 is used as transport for Bluetooth between sdm660 & wcn3990.
Enable it so that Bluetooth can be enabled on sdm660 CDP/MTP/QRD.

Change-Id: Ib5102a96d42213bbeb230f83806b10a397353df8
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
7 years agoARM: dts: msm: enable bw mon4 version on sdm660 target.
Santosh Mardi [Thu, 12 Jan 2017 15:22:54 +0000 (20:52 +0530)]
ARM: dts: msm: enable bw mon4 version on sdm660 target.

SDM660 target supports the bw monitor version 4 includes
the zone counts.

Enable the bw mon4 for the SDM660 target.

Change-Id: I0f8323c6bdc91d859456ddd8a70838cd8e71779c
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
7 years agocpufreq: changes to adapt for opensource clock framework
Santosh Mardi [Thu, 12 Jan 2017 11:18:53 +0000 (16:48 +0530)]
cpufreq: changes to adapt for opensource clock framework

Update cpufreq driver to adapt to opensource clock framework
Opensource clock framework dev_clk_get returns with the
different clock handle for all cpu cores with same clock source
This is different in the existing clock framework where
dev_clk_get returns with the same clock handle for the cores
which shares the same clock source.

Cpufreq driver was compatible with the existing clock
framework but with the opensource clock framework we need
to handle the different clock handles for all the cores
even the clock source is common.

Change-Id: Ic343bc20dc7c8b2ce151a5a2b5f85b43cdd949bf
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
7 years agoARM: dts: msm: Update configurations of sdhc2 for sdm660 QRD
xiaonian [Thu, 12 Jan 2017 11:31:09 +0000 (19:31 +0800)]
ARM: dts: msm: Update configurations of sdhc2 for sdm660 QRD

Update vdd-current-level as per latest hardware documentation
and interrupt related properties of sdhc2 for sdm660 QRD.

CRs-Fixed: 1111072
Change-Id: Ica211d68a032d51ab313cce47d2b84137433f18c
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
7 years agoMerge "ASoC: msm: qdsp6v2: Add control for ICC Volume"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:17 +0000 (22:39 -0800)]
Merge "ASoC: msm: qdsp6v2: Add control for ICC Volume"

7 years agoMerge "ASoC: msm: qdsp6v2: add support for ADM_OPEN_V6 for multi-mic ec"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:16 +0000 (22:39 -0800)]
Merge "ASoC: msm: qdsp6v2: add support for ADM_OPEN_V6 for multi-mic ec"

7 years agoMerge "ASoC: msm: qdsp6v2: Fix out-of-bounds access in put functions"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:16 +0000 (22:39 -0800)]
Merge "ASoC: msm: qdsp6v2: Fix out-of-bounds access in put functions"

7 years agoMerge "ARM: dts: msm: enable display panel for sdm660 QRD"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:15 +0000 (22:39 -0800)]
Merge "ARM: dts: msm: enable display panel for sdm660 QRD"

7 years agoMerge "drm/msm/sde: add driver for sde support"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:13 +0000 (22:39 -0800)]
Merge "drm/msm/sde: add driver for sde support"

7 years agoMerge "drm/msm/dsi-staging: add catalog for dsi driver"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:12 +0000 (22:39 -0800)]
Merge "drm/msm/dsi-staging: add catalog for dsi driver"

7 years agoMerge "drm/msm/dsi-staging: add hardware driver for dsi controller"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:12 +0000 (22:39 -0800)]
Merge "drm/msm/dsi-staging: add hardware driver for dsi controller"

7 years agoMerge "defconfig: msm: enable dvb demux modules compilation"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:10 +0000 (22:39 -0800)]
Merge "defconfig: msm: enable dvb demux modules compilation"

7 years agoMerge "Merge remote-tracking branch 'remotes/origin/tmp-896bb812' into HEAD"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:09 +0000 (22:39 -0800)]
Merge "Merge remote-tracking branch 'remotes/origin/tmp-896bb812' into HEAD"

7 years agoMerge "NFC: Fix interrupt state in recovery"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:09 +0000 (22:39 -0800)]
Merge "NFC: Fix interrupt state in recovery"

7 years agoMerge "msm: ipa: AP+STA statistics support for IPAv2 driver"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:08 +0000 (22:39 -0800)]
Merge "msm: ipa: AP+STA statistics support for IPAv2 driver"

7 years agoMerge "input: qpnp-power-on: set boot_reason when system-reset exists"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:07 +0000 (22:39 -0800)]
Merge "input: qpnp-power-on: set boot_reason when system-reset exists"

7 years agoMerge "msm: mdss: Fix ctl flush bits reset by dspp programming"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:06 +0000 (22:39 -0800)]
Merge "msm: mdss: Fix ctl flush bits reset by dspp programming"

7 years agoMerge "ARM: dts: msm: add PMI GPIO1 to control WLED for msm8998 QVR"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:05 +0000 (22:39 -0800)]
Merge "ARM: dts: msm: add PMI GPIO1 to control WLED for msm8998 QVR"

7 years agoMerge "ARM: dts: msm: Add TLB dump entries for msm8998"
Linux Build Service Account [Fri, 13 Jan 2017 06:39:04 +0000 (22:39 -0800)]
Merge "ARM: dts: msm: Add TLB dump entries for msm8998"

7 years agoqseecom: improve input validatation for qseecom_send_service_cmd
Zhen Kong [Wed, 11 Jan 2017 20:12:31 +0000 (12:12 -0800)]
qseecom: improve input validatation for qseecom_send_service_cmd

Make change to improve input validation on request and response
buffers' address and length for qseecom_send_service_cmd.

Change-Id: I047e3264333d767541e43b7dadd1727232fd48ef
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
7 years agoicnss: Ignore MSA0 dump collection during graceful shutdown
Yuanyuan Liu [Thu, 12 Jan 2017 20:46:41 +0000 (12:46 -0800)]
icnss: Ignore MSA0 dump collection during graceful shutdown

Ignore MSA0 dump collection during graceful shutdown. Collect
ramdump only when modem is really crashed.

CRs-Fixed: 1110935
Change-Id: Ic2fbfec320eb516224daad9ae78be07c61376cfc
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
7 years agoicnss: Add support for host initiated recovery
Sameer Thalappil [Mon, 9 Jan 2017 20:18:08 +0000 (12:18 -0800)]
icnss: Add support for host initiated recovery

Add an API that can trigger WLAN PDR. WLAN host driver can use
this API to trigger PDR in the cases where it fails to communicate
with FW over it's native copy engine interface.

CRs-Fixed: 1110381
Change-Id: I7a076ba023b3e48c9e5473ec4895f50c71816831
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
7 years agoregulator: core: clean up debugfs monitoring and control features
David Collins [Wed, 11 Jan 2017 22:07:51 +0000 (14:07 -0800)]
regulator: core: clean up debugfs monitoring and control features

Fix checkpatch warnings and other style issues in the regulator
debugfs functions.  Refactor the code to remove unnecessary error
checks as well as a shared buffer and mutex.  Rename variables
and functions to better follow the naming conventions found in
the core.c file.  Update the conditions used for allowing the
creation of 'voltage' and 'load' debugfs files.

Change-Id: I59881078ce9e908de11e74d15372edf233eb17b0
Signed-off-by: David Collins <collinsd@codeaurora.org>
7 years agoicnss: Add debugfs support of configuring fw features
Yuanyuan Liu [Tue, 27 Dec 2016 19:18:12 +0000 (11:18 -0800)]
icnss: Add debugfs support of configuring fw features

Add debugfs support of configuring fw features dynamically.

CRs-Fixed: 1107443
Change-Id: I0021ac61467174c794fa8f6ef130479b166c1425
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
7 years agoicnss: Add support of FW rejuvenation
Yuanyuan Liu [Wed, 14 Dec 2016 18:45:34 +0000 (10:45 -0800)]
icnss: Add support of FW rejuvenation

Add support of WLAN FW rejuvenation. After receiving FW
rejuvenate indication, ICNSS will start WLAN FW rejuvenation
and ack back to FW.

CRs-Fixed: 1107443
Change-Id: I127e86d8467f64534f096d58424e687d4231d7a5
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
7 years agoicnss: Update WLFW service with FW rejuvenate related messages
Yuanyuan Liu [Tue, 3 Jan 2017 20:41:14 +0000 (12:41 -0800)]
icnss: Update WLFW service with FW rejuvenate related messages

Update WLFW service with FW rejuvenate related messages.
These messages are used to trigger WLAN FW rejuvenation
and update FW dynamic feature mask to FW.

CRs-Fixed: 1107443
Change-Id: If91c78b5325b177195bdcb8159542d50bd0dd01d
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
7 years agomm: camera: isp: send PD stats buffer earlier
Junzhe Zou [Mon, 14 Nov 2016 23:23:28 +0000 (15:23 -0800)]
mm: camera: isp: send PD stats buffer earlier

Save pdaf buf address in sof event and send it with stats
notify event.

Change-Id: If147a229f3f007f30ef563469d11b678b887ed57
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
Signed-off-by: Junzhe Zou <jnzhezou@codeaurora.org>
7 years agodrm/msm/sde: sde hw interrupt handling
Ben Chan [Mon, 27 Jun 2016 02:02:47 +0000 (22:02 -0400)]
drm/msm/sde: sde hw interrupt handling

Existing SDE HW interrupt was based on mdp/kms and is not
sufficient for supporting the SDE HW interrupt manipulation.
Changes are for enabling full SDE interrupt support and hiding
HAL interface implementation details from crtc/encoder.

Change-Id: I917a153d12bbb6b84758591ba69fe15181af7791
Signed-off-by: Ben Chan <bkchan@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agodrm/msm/sde: simplify encoder display probe logic
Lloyd Atkinson [Sun, 26 Jun 2016 14:11:08 +0000 (10:11 -0400)]
drm/msm/sde: simplify encoder display probe logic

Cleanup the display probing logic now that the common display
interface is available.

Change-Id: I3a6f815d8e7ab7f22e719eaf7ef4c8150470d54f
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agodrm/msm/sde: move sde encoder to new display interface
Clarence Ip [Sun, 26 Jun 2016 14:09:34 +0000 (10:09 -0400)]
drm/msm/sde: move sde encoder to new display interface

Call panels via common display-manager interface rather than directly.

Change-Id: I4fe86b6b206929217c0cf807a93287140d507e6c
Signed-off-by: Clarence Ip <cip@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agodrm/msm/sde: programmable pre-fetch support for video encoders
Lloyd Atkinson [Sun, 26 Jun 2016 14:08:25 +0000 (10:08 -0400)]
drm/msm/sde: programmable pre-fetch support for video encoders

Add support in encoder for programming early fetch in the
vertical front porch.

Change-Id: I60fcf4a4e6aea80292b590ee14506579123f372d
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agodrm/msm/sde: sde encoder virtualization
Lloyd Atkinson [Fri, 24 Jun 2016 22:14:13 +0000 (18:14 -0400)]
drm/msm/sde: sde encoder virtualization

Split SDE encoder into virtual and physical encoders. Virtual
encoders are containers, one per logical display that contain
one or more physical encoders. Physical encoders manage the
INTF hardware.

Change-Id: I6342511c59568c76278a519b84f93338157e59fa
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agodrm/msm/sde: add controller instance to INTF block in catalog
Lloyd Atkinson [Thu, 5 Nov 2015 20:52:07 +0000 (15:52 -0500)]
drm/msm/sde: add controller instance to INTF block in catalog

Controller Instance ID differentiates between INTFs of the same type.
E.g. which DSI INTF is primary, which is secondary.

Change-Id: Icc47df59a24faa2a019ab190d6c835a0ac93024d
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agodrm/msm/sde: add basic sde object enumeration
Abhijit Kulkarni [Fri, 24 Jun 2016 21:56:13 +0000 (17:56 -0400)]
drm/msm/sde: add basic sde object enumeration

Implement basic crtc, encoder, and plane support that
implements DRM atomic call sequence, queries hardware, and
enumerates resources as DRM objects. This includes basic
color format support, as well as querying of displays
to create appropriate encoders, crtcs. Also includes
supporting clock control logic.

Change-Id: I25a9c74b92262d81986b3441c89d51bff2d14dbb
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agodrm/msm: add smmu handler
Adrian Salido-Moreno [Fri, 2 Oct 2015 22:54:46 +0000 (15:54 -0700)]
drm/msm: add smmu handler

Add msm_smmu driver to support mapping buffers to
arm smmu memory. msm_smmu adds the hooks to support
drm hooks. Current change only supports the unsecure
domain memory. msm_gem object is also updated to attach
the new msm_smmu driver.

Change-Id: I4899bd74d8b41b864ed5e0dec2da11e929c7fa95
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agodrm/msm/sde: add driver for sde support
Abhijit Kulkarni [Tue, 29 Sep 2015 17:16:51 +0000 (10:16 -0700)]
drm/msm/sde: add driver for sde support

Initial DRM/KMS driver to support snapdragon display engine.

Change-Id: I2f93d7cd24acf77359682f90b6b9647017ed62ba
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agodrm/msm/dsi-staging: add catalog for dsi driver
Ajay Singh Parmar [Tue, 17 May 2016 00:45:31 +0000 (17:45 -0700)]
drm/msm/dsi-staging: add catalog for dsi driver

Add catalog for DSI controller and phy drivers.

Change-Id: Iff7f55592834fef0230982282af5b8b2890f97a5
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agodrm/msm/dsi-staging: add hardware driver for dsi controller
Ajay Singh Parmar [Tue, 17 May 2016 00:43:17 +0000 (17:43 -0700)]
drm/msm/dsi-staging: add hardware driver for dsi controller

Add hardware driver for DSI controller v1.4.

Change-Id: I74a3b5ebbde1ca43b060d6e5ba2462fb66f0a3a8
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
7 years agomsm: camera: Add lock/unlock to "set mode" function
Alexander Kolesnikov [Thu, 12 Jan 2017 18:59:05 +0000 (20:59 +0200)]
msm: camera: Add lock/unlock to "set mode" function

The change adds a synchronization mechanism to avoid concurrent
access to the TZ App.

CRs-Fixed: 1110588
Change-Id: I1ec37133eb7fe8c3fda498e6fe6661198163e07d
Signed-off-by: Alexander Kolesnikov <akolesni@codeaurora.org>
7 years agoclk: qcom: Fix for rate request to RPM during handoff
Amit Nischal [Thu, 12 Jan 2017 13:59:17 +0000 (19:29 +0530)]
clk: qcom: Fix for rate request to RPM during handoff

For all rpm clocks, max rate request is going to RPM
during handoff which always shows max requested rate
value from APSS so fix the same.

Change-Id: I4f184ea053fc1a40830eb9f555c24fdf17ba3fa1
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
7 years agoARM: dts: msm: Fix configurations for crypto and qrng on SDM660
Brahmaji K [Wed, 11 Jan 2017 16:33:42 +0000 (22:03 +0530)]
ARM: dts: msm: Fix configurations for crypto and qrng on SDM660

Update qrng block address and interrupt number for crypto hardware
for SDM660.

Change-Id: I5f0066a1d2086830747156d8c65746a2dac87feb
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
7 years agoARM: dts: msm: enable watchdog for sdm 660
Amey Telawane [Thu, 12 Jan 2017 09:39:28 +0000 (15:09 +0530)]
ARM: dts: msm: enable watchdog for sdm 660

Enable watchdog node for sdm660 which is
used to detect system hang.

Change-Id: I463f7320a068b678370b295558689c37d8073fb7
CRs-fixed: 1056777
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
7 years agoARM: dts: msm: Use correct property name to pass values for sdm660
Vijayavardhan Vennapusa [Mon, 9 Jan 2017 16:21:12 +0000 (21:51 +0530)]
ARM: dts: msm: Use correct property name to pass values for sdm660

Use correct property name for passing voltage values for voting
core_ldo which is required for QMP PHY.

Change-Id: I042905f5971c653f580a6f4388555744ff3160cc
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoARM: dts: msm: add PMI GPIO1 to control WLED for msm8998 QVR
Yahui Wang [Mon, 12 Dec 2016 14:33:38 +0000 (22:33 +0800)]
ARM: dts: msm: add PMI GPIO1 to control WLED for msm8998 QVR

PMI GPIO1 is used to enable and disable WLED for msm8998 QVR,
we should also invert the gpio level according to HW design.

CRs-Fixed: 1101647
Change-Id: If29e41d12a697d7fd6671f1134a1e798c80c3523
Signed-off-by: Yahui Wang <yahuiw@codeaurora.org>
7 years agomsm: ADSPRPC: attributes to support per-buffer coherent mappings
Sathish Ambley [Fri, 6 Jan 2017 17:50:11 +0000 (09:50 -0800)]
msm: ADSPRPC: attributes to support per-buffer coherent mappings

Added attributes for forcing a buffer mapped as coherent or
non-coherent by using the DMA_ATTR_FORCE_COHERENT and
DMA_ATTR_FORCE_NON_COHERENT.

Change-Id: Ifecad81dd96b99ab63854bddce378ff775c22d38
Acked-by: Viswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
7 years agomsm: sde: Reduce SDE rotator done signaling time
Benjamin Chan [Thu, 22 Dec 2016 23:42:34 +0000 (18:42 -0500)]
msm: sde: Reduce SDE rotator done signaling time

When rotator job finished, driver needs to send out done signaling to
notify fbdev driver to perform a commit. However, there are occasions
that the SMMU disabling take quite long time and delaying the fbdev
commit time. To reduce this unpredict latency, move the SMMU disabling
much later in the rotator done handling, and also remove unnecessary
SMMU disabling call during commit phase.

CRs-Fixed: 1100633
Change-Id: I76ad017661aa6f760a2adc3579f59a7b66ab8e40
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
7 years agodefconfig: msm: enable dvb demux modules compilation
Udaya Bhaskara Reddy Mallavarapu [Mon, 9 Jan 2017 13:44:47 +0000 (19:14 +0530)]
defconfig: msm: enable dvb demux modules compilation

Enable dvb_core, mpq demux plugin, TSPP modules compilation.

CRs-Fixed: 1108990
Change-Id: I330c64d0f27ed8c700814b0333e40ee005435594
Signed-off-by: Udaya Bhaskara Reddy Mallavarapu <udaym@codeaurora.org>
7 years agoNFC: Fix interrupt state in recovery
Gaurav Singhal [Thu, 5 Jan 2017 12:19:59 +0000 (17:49 +0530)]
NFC: Fix interrupt state in recovery

If read function is waiting for interrupt and after that
NFCC goes to recovery, MW will call ioctl (0) and ioctl (1),
In ioctl (0) call we are disabling interrupt so read function
was waiting for interrupt and ioctl call has disabled interrupt,
now there is no possibility interrupt will be enabled again
because only read function enables the interrupt.

Enabled interrupt in ioctl (1) so that we can receive data
after reset/recovery.

Change-Id: I1677a50129534b1eaa4b8c20820a15db299cd9c1
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
7 years agomsm: sde: Fix variable initialization in SDE rotator
Benjamin Chan [Wed, 11 Jan 2017 07:41:56 +0000 (02:41 -0500)]
msm: sde: Fix variable initialization in SDE rotator

Properly initialize local variable in the SDE rotator WB done handler.
Under error condition, it is possible that the handler access the
uninitialized variable.

CRs-Fixed: 1110015
Change-Id: I4c76fd6400c528f5dd7773aa9b3718dd86b2b01a
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
7 years agoinput: qpnp-power-on: set boot_reason when system-reset exists
Mao Jinlong [Thu, 5 Jan 2017 11:37:08 +0000 (19:37 +0800)]
input: qpnp-power-on: set boot_reason when system-reset exists

Some platforms don't configure qcom,secondary-pon-reset like 8998.
So set boot_reason when "qcom,system-reset" node exists to avoid
setting a wrong value to boot_reason.

CRs-Fixed: 1102732
Change-Id: I9e9ff2f2d0ffac6baa5d0663664001eb30638e87
Signed-off-by: Mao Jinlong <c_jmao@codeaurora.org>
7 years agomsm: ipa: AP+STA statistics support for IPAv2 driver
Utkarsh Saxena [Wed, 4 Jan 2017 17:30:48 +0000 (23:00 +0530)]
msm: ipa: AP+STA statistics support for IPAv2 driver

Add IPA stats support on AP+STA mode for V2 driver
when CNE queries. Also add metering funtionality
on WIFI interface to stop the data transfer
when quota reached on WIFI-case.

Change-Id: I51a771423e6a35ea0453b978be484d0464bddf14
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agoARM: dts: msm: enable display panel for sdm660 QRD
Yahui Wang [Tue, 3 Jan 2017 08:45:14 +0000 (16:45 +0800)]
ARM: dts: msm: enable display panel for sdm660 QRD

nt36850 wqhd command panel will be used for sdm660 QRD,
so enable it for sdm660 QRD.

CRs-Fixed: 1107352
Change-Id: Ia7a691949bfef8777f78e846b6fb92e01658441f
Signed-off-by: Yahui Wang <yahuiw@codeaurora.org>
7 years agoARM: dts: msm: Add TLB dump entries for msm8998
Runmin Wang [Mon, 19 Dec 2016 19:57:47 +0000 (11:57 -0800)]
ARM: dts: msm: Add TLB dump entries for msm8998

Add TLB dump entries to setup memory space for the cpuss dump
driver to dump TLB entries.

Change-Id: I7514969c1540d18d2102088b43d959adec68152f
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
7 years agoqseecom: fix potential memory leak in __qseecom_update_cmd_buf_64
Zhen Kong [Tue, 10 Jan 2017 20:19:08 +0000 (12:19 -0800)]
qseecom: fix potential memory leak in __qseecom_update_cmd_buf_64

__qseecom_update_cmd_buf_64() called __qseecom_allocate_sg_list_buffer()
to allocate memory from within a for loop. Should it fail on any other
than the first time through the loop, the prior allocations will not be
deallocated, make change to deallocate memory in this error case.

Change-Id: I8cb71a3b141249d8266aec4890632f200d147405
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
7 years agoMerge "msm: camera: fd: Call fd buffer done on active buffer"
Linux Build Service Account [Tue, 10 Jan 2017 20:27:12 +0000 (12:27 -0800)]
Merge "msm: camera: fd: Call fd buffer done on active buffer"