OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
6 years agoARM: dts: msm: add audio ion vm dev node for msm8996 auto
Suprith Malligere Shankaregowda [Thu, 15 Mar 2018 09:03:16 +0000 (14:33 +0530)]
ARM: dts: msm: add audio ion vm dev node for msm8996 auto

Add msm audio ion vm device node to be compatible
with virtualized audio ion platform driver for
msm8996 automotive platform.

Change-Id: Ifaa396a8447080255a70eec5c2ddd3adf803d18f
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agoMerge "drm/msm: init enum properties to default value"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:39 +0000 (05:43 -0700)]
Merge "drm/msm: init enum properties to default value"

6 years agoMerge "drm/msm/sde: propagate the cdm block length from the catalog"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:38 +0000 (05:43 -0700)]
Merge "drm/msm/sde: propagate the cdm block length from the catalog"

6 years agoMerge "drm/msm/sde: add ubwc equivalent tile formats"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:25 +0000 (05:43 -0700)]
Merge "drm/msm/sde: add ubwc equivalent tile formats"

6 years agoMerge "drm: msm: dsi: fix potential NULL pointer dereference"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:24 +0000 (05:43 -0700)]
Merge "drm: msm: dsi: fix potential NULL pointer dereference"

6 years agoMerge "Merge android-4.4.120 (d63fdf6) into msm-4.4"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:22 +0000 (05:43 -0700)]
Merge "Merge android-4.4.120 (d63fdf6) into msm-4.4"

6 years agoMerge "drm/msm : add null check on framebuffer in cleanup"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:20 +0000 (05:43 -0700)]
Merge "drm/msm : add null check on framebuffer in cleanup"

6 years agoMerge "msm: kgsl: Fix XO shutdown issue"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:18 +0000 (05:43 -0700)]
Merge "msm: kgsl: Fix XO shutdown issue"

6 years agoMerge "msm: isp: Clear irq status if irq is set again with same value"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:17 +0000 (05:43 -0700)]
Merge "msm: isp: Clear irq status if irq is set again with same value"

6 years agoMerge "msm: isp: Add pingpong status to tasklet command"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:15 +0000 (05:43 -0700)]
Merge "msm: isp: Add pingpong status to tasklet command"

6 years agoMerge "ARM: dts: msm: Configure I2C instances for bus recovery"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:14 +0000 (05:43 -0700)]
Merge "ARM: dts: msm: Configure I2C instances for bus recovery"

6 years agoMerge "msm: mdss: dp: do not include VICs from YC420 VDB"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:12 +0000 (05:43 -0700)]
Merge "msm: mdss: dp: do not include VICs from YC420 VDB"

6 years agoMerge " msm: mdss: hdcp_1x: enable HDP irq only for DP client"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:11 +0000 (05:43 -0700)]
Merge " msm: mdss: hdcp_1x: enable HDP irq only for DP client"

6 years agoMerge "msm: mdss: dp: fix wrong parsing of sink count"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:09 +0000 (05:43 -0700)]
Merge "msm: mdss: dp: fix wrong parsing of sink count"

6 years agoMerge "msm: mdss: hdmi: fix HDCP1.4 authentication issues"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:07 +0000 (05:43 -0700)]
Merge "msm: mdss: hdmi: fix HDCP1.4 authentication issues"

6 years agoMerge "msm: mdss: hdmi: add SRM support for HDCP1.4"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:05 +0000 (05:43 -0700)]
Merge "msm: mdss: hdmi: add SRM support for HDCP1.4"

6 years agoMerge "msm: mdss: Clear pp dirty flags based on program stage"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:03 +0000 (05:43 -0700)]
Merge "msm: mdss: Clear pp dirty flags based on program stage"

6 years agoMerge "msm: mdss: hdmi: modify audio event notification sequence."
Linux Build Service Account [Thu, 15 Mar 2018 12:43:02 +0000 (05:43 -0700)]
Merge "msm: mdss: hdmi: modify audio event notification sequence."

6 years agoMerge "msm: mdss: hdmi: reset basic_audio_support parameter"
Linux Build Service Account [Thu, 15 Mar 2018 12:43:00 +0000 (05:43 -0700)]
Merge "msm: mdss: hdmi: reset basic_audio_support parameter"

6 years agoMerge "input: touchscreen: Fix error code in Atmel driver"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:57 +0000 (05:42 -0700)]
Merge "input: touchscreen: Fix error code in Atmel driver"

6 years agoMerge "input: touchscreen: Fix uninitialized variable usage in Atmel driver"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:55 +0000 (05:42 -0700)]
Merge "input: touchscreen: Fix uninitialized variable usage in Atmel driver"

6 years agoMerge "msm: sde: fix compiler uninitialized warning"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:53 +0000 (05:42 -0700)]
Merge "msm: sde: fix compiler uninitialized warning"

6 years agoMerge "drm: msm: dsi: fix local variable not initialized issue"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:52 +0000 (05:42 -0700)]
Merge "drm: msm: dsi: fix local variable not initialized issue"

6 years agoMerge "drm/msm/sde: fix flush configuration for physical encoder"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:50 +0000 (05:42 -0700)]
Merge "drm/msm/sde: fix flush configuration for physical encoder"

6 years agoMerge "input: touchscreen: synaptics_dsx: Fix uninitialized variable usage"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:48 +0000 (05:42 -0700)]
Merge "input: touchscreen: synaptics_dsx: Fix uninitialized variable usage"

6 years agoMerge "input: touchscreen: synaptics_dsx: Handle failure case during probe"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:47 +0000 (05:42 -0700)]
Merge "input: touchscreen: synaptics_dsx: Handle failure case during probe"

6 years agoMerge "defconfig: msm: Disable secure qsee support for msm8996 auto"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:45 +0000 (05:42 -0700)]
Merge "defconfig: msm: Disable secure qsee support for msm8996 auto"

6 years agoMerge "drm: msm: sde: fix potential NULL pointer dereference"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:43 +0000 (05:42 -0700)]
Merge "drm: msm: sde: fix potential NULL pointer dereference"

6 years agoMerge "fb: msm_dba: fix local variable not initialized issue"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:42 +0000 (05:42 -0700)]
Merge "fb: msm_dba: fix local variable not initialized issue"

6 years agoMerge "ASoC: msm: Upgrade AFE TDM Driver to support 32 Channels"
Linux Build Service Account [Thu, 15 Mar 2018 12:42:40 +0000 (05:42 -0700)]
Merge "ASoC: msm: Upgrade AFE TDM Driver to support 32 Channels"

6 years agomsm: kgsl: Fix XO shutdown issue
Suprith Malligere Shankaregowda [Tue, 6 Mar 2018 06:21:23 +0000 (11:51 +0530)]
msm: kgsl: Fix XO shutdown issue

This patch ensures device resumes successfully after
XO shutdown without any KGSL error.

Change-Id: I9eb8e281bc62793dc7521ba72aaeecf946860851
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
6 years agomsm: isp: Clear irq status if irq is set again with same value
Srikanth Uyyala [Wed, 14 Mar 2018 05:12:10 +0000 (10:42 +0530)]
msm: isp: Clear irq status if irq is set again with same value

Sometimes same irq is received even after clearing irq.
make sure irq status is rest by clearing the irq again.

Change-Id: Ib5355a4b9952fa7f02d1dea69b5fb767928e4b9f
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
6 years agomsm: isp: Add pingpong status to tasklet command
Srikanth Uyyala [Mon, 12 Mar 2018 13:14:40 +0000 (18:44 +0530)]
msm: isp: Add pingpong status to tasklet command

We read pingpong status while handling axi and stats irqs
in tasklet. Due to scheduling delays in tasklet pingpong status is
changing by the time we read. So, read ping pong status in ISR
and forward it to tasklet.

Change-Id: Ib83929cb8e15c28e34ee06275a87b5d6fbfd00e6
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
6 years agomsm: mdss: hdmi: fix HDCP1.4 authentication issues
Narender Ankam [Tue, 14 Nov 2017 13:10:15 +0000 (18:40 +0530)]
msm: mdss: hdmi: fix HDCP1.4 authentication issues

After part I authentication, SW DDC is not disabled and because of
this, we observe arbitration issues during part III authentication.
Disable SW DDC before starting part III of HDCP authentication.

Fail part II of authentication with repeater if its device count is zero.

Change-Id: I72f5b1115c094d4a72ae2b324f3903cdb195e5fe
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: hdmi: add SRM support for HDCP1.4
Narender Ankam [Tue, 14 Nov 2017 12:51:49 +0000 (18:21 +0530)]
msm: mdss: hdmi: add SRM support for HDCP1.4

Extend HDCP1.4 SRM support for fb based hdmi driver as well.

Change-Id: I3d6597503d95b066d1fcfa71218cdda70965fbd0
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: hdmi: add SRM support for HDCP2.2
Narender Ankam [Wed, 8 Nov 2017 10:49:12 +0000 (16:19 +0530)]
msm: mdss: hdmi: add SRM support for HDCP2.2

Extend HDCP2.2 SRM support for fb based hdmi driver as well.

Change-Id: I39bef2a814c2a2404a0a03584f23c58c69c10909
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: dp: do not include VICs from YC420 VDB
Narender Ankam [Thu, 16 Nov 2017 13:38:03 +0000 (19:08 +0530)]
msm: mdss: dp: do not include VICs from YC420 VDB

Display Port driver never supported YC420 formats.
Also w.r.t to display quality, 4K30 RGB 8bit is
better than 4K60 YC420 8bit.
So, do not include edid modes(VICs) from YC420 Video
Data Block while parsing EDID.

Change-Id: I77f2c45c22beceb7f554a4c063f6e6947dc4ba8a
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: Clear pp dirty flags based on program stage
Ch Ganesh Kumar [Mon, 4 Sep 2017 15:25:07 +0000 (20:55 +0530)]
msm: mdss: Clear pp dirty flags based on program stage

Clear PP features dirty flags only when they are programmed, based on
programming stage, i.e. clear dirty flags of features programmed in
early stage after early stage programming and clear dirty flags of
features programmed in deferred stage after their actual programming
is complete.

Clearing the flags in one go is resulting in missing programming of
features designated to be programmed in early stage, if the dirty flags
are updated in between the stages.

Change-Id: If65a5982254a7421c6f0ec32018361c651964e4e
Signed-off-by: Ch Ganesh Kumar <chganesh@codeaurora.org>
6 years agomsm: mdss: hdmi: modify audio event notification sequence.
Narender Ankam [Tue, 24 Oct 2017 09:29:15 +0000 (14:59 +0530)]
msm: mdss: hdmi: modify audio event notification sequence.

Audio event is wrongly notified during pre_panel_off event.
Modify HDMI Audio event notification sequence so that audio
events are notified as expected.

CRs-Fixed: 2131442
Change-Id: I5fb5d28cb0162f0c4bf97e29556b15d12e1ea8f1
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: hdmi: reset basic_audio_support parameter
Narender Ankam [Wed, 25 Oct 2017 06:54:00 +0000 (12:24 +0530)]
msm: mdss: hdmi: reset basic_audio_support parameter

Add changes to reset basic_audio_support parameter
before parsing EDID on every new cable connection.

Change-Id: I52fef059830d950d4858d5bee3f76774426e6863
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agomsm: mdss: dp: fix wrong parsing of sink count
Narender Ankam [Wed, 4 Oct 2017 12:57:19 +0000 (18:27 +0530)]
msm: mdss: dp: fix wrong parsing of sink count

Current Display Port driver is incorrectly parsing sink count
register (0x200) of DPCD. Made changes to parse it correctly
as per DP specification.

Change-Id: Ic858485f19f226f7b2d84f74c97170db8bebf822
Signed-off-by: Narender Ankam <nankam@codeaurora.org>
6 years agoinput: touchscreen: Fix uninitialized variable usage in Atmel driver
Venkata Prahlad Valluru [Tue, 13 Mar 2018 11:16:02 +0000 (16:46 +0530)]
input: touchscreen: Fix uninitialized variable usage in Atmel driver

Initialize variables that are passed by reference, so that
they can be used safely afterwards, irrespective of the
called function actions.

Change-Id: Ib52c1cbc621913b21eb9520d305327ff5fd154fe
Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
6 years agoinput: touchscreen: Fix error code in Atmel driver
Venkata Prahlad Valluru [Tue, 13 Mar 2018 11:38:29 +0000 (17:08 +0530)]
input: touchscreen: Fix error code in Atmel driver

Set the error code to be returned in case of failure.

Change-Id: I2cd818b21decb659de74fde1ac5c667d8606420e
Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
6 years agoinput: touchscreen: Handle failure case in Atmel driver
Venkata Prahlad Valluru [Tue, 13 Mar 2018 10:17:23 +0000 (15:47 +0530)]
input: touchscreen: Handle failure case in Atmel driver

Handle file already exists and failure case separately.

Change-Id: I0c8004c88feb323b592ad8f622f86fe66cb63006
Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
6 years agomsm: sde: fix compiler uninitialized warning
Maria Yu [Thu, 30 Nov 2017 02:31:38 +0000 (10:31 +0800)]
msm: sde: fix compiler uninitialized warning

Initialize local variable desc being zeroed to fix
compiler uninitialized warning.

Change-Id: I2a109e65bfd13ddc94d4b6e465d07c3a1cc0cd34
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
6 years agoMerge "ARM: dts: msm: Fix subsys notification virtualization device instance"
Linux Build Service Account [Tue, 13 Mar 2018 22:20:27 +0000 (15:20 -0700)]
Merge "ARM: dts: msm: Fix subsys notification virtualization device instance"

6 years agoinput: touchscreen: synaptics_dsx: Fix uninitialized variable usage
Venkata Prahlad Valluru [Tue, 13 Mar 2018 13:24:30 +0000 (18:54 +0530)]
input: touchscreen: synaptics_dsx: Fix uninitialized variable usage

Initialize variables that are passed by reference, so that
they can be used safely afterwards, irrespective of the
called function actions.

Change-Id: Ib95f3aa3077d6ef7aaaabcfc6c882790b6406793
Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
6 years agoinput: touchscreen: synaptics_dsx: Handle failure case during probe
Venkata Prahlad Valluru [Tue, 13 Mar 2018 13:18:44 +0000 (18:48 +0530)]
input: touchscreen: synaptics_dsx: Handle failure case during probe

Handle create_singlethread_workqueue api failure case.

Change-Id: Ic3f45fddfbd40d8a78dd888eed5f01120809adee
Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
6 years agoARM: dts: msm: Configure I2C instances for bus recovery
Shrey Vijay [Tue, 18 Jul 2017 11:59:08 +0000 (17:29 +0530)]
ARM: dts: msm: Configure I2C instances for bus recovery

Configure all I2C instances of SDM660, MSM8996 and MSM8998 for
SW bit banging based bus recovery mechanism. HW recovery may
not work as expected when HW samples the data line and finds
it low during particular clocking period of the recovery.
Use SW bit banging instead, where SW generate clock pulses and
sniff data line until data line is released by the slave.

Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
Change-Id: Ia0ed92cd0d88df04a17a295f23970940dab3da03

6 years agodrm: msm: sde: fix potential NULL pointer dereference
Guchun Chen [Fri, 9 Mar 2018 08:14:14 +0000 (16:14 +0800)]
drm: msm: sde: fix potential NULL pointer dereference

Pointer should be checked after returning from function or being
passed from other function. So add checker for this to avoid NULL
pointer dereference.

Change-Id: Ie86f47230b50433e08259ee5f6bbb52bedf749b1
CRs-Fixed: 2202957
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
6 years agoMerge "clk: qcom: Remove the CLK_SET_RATE_PARENT flag for Byte intferface clk"
Linux Build Service Account [Tue, 13 Mar 2018 04:20:51 +0000 (21:20 -0700)]
Merge "clk: qcom: Remove the CLK_SET_RATE_PARENT flag for Byte intferface clk"

6 years agodrm: msm: dsi: fix local variable not initialized issue
Guchun Chen [Tue, 13 Mar 2018 04:04:59 +0000 (12:04 +0800)]
drm: msm: dsi: fix local variable not initialized issue

Local variable in function should be initialized before using it.

Change-Id: I061b10913182ed11b7a8cdb1baab900ac7e10ea6
CRs-Fixed: 2202957
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
6 years agodrm: msm: dsi: fix potential NULL pointer dereference
Guchun Chen [Fri, 9 Mar 2018 07:18:45 +0000 (15:18 +0800)]
drm: msm: dsi: fix potential NULL pointer dereference

Add checker to confirm the pointer is not NULL first, to avoid
NULL pointer dereference happens.

Change-Id: Id9060725037be235303bbc0a82d91d3d2008245c
CRs-Fixed: 2202957
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
6 years agofb: msm_dba: fix local variable not initialized issue
Guchun Chen [Fri, 9 Mar 2018 06:02:59 +0000 (14:02 +0800)]
fb: msm_dba: fix local variable not initialized issue

Local variable in function should be initialized before using it.

Change-Id: I132033fa650cdacae3c8b2a98b8a593d159fe967
CRs-Fixed: 2202957
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
6 years agoMerge "mmc: sd: limit SD card power limit according to cards capabilities"
Linux Build Service Account [Mon, 12 Mar 2018 18:49:57 +0000 (11:49 -0700)]
Merge "mmc: sd: limit SD card power limit according to cards capabilities"

6 years agoARM: dts: msm: Fix subsys notification virtualization device instance
Anant Goel [Mon, 12 Mar 2018 18:14:35 +0000 (11:14 -0700)]
ARM: dts: msm: Fix subsys notification virtualization device instance

Add a bracket to fix the device instance for the subsystem_notif_virt
device.

Change-Id: Ib114a6d520aafbbcb0886dcf987d0509af80b636
Signed-off-by: Anant Goel <anantg@codeaurora.org>
6 years agoclk: qcom: Remove the CLK_SET_RATE_PARENT flag for Byte intferface clk
Rashi Bindra [Mon, 5 Mar 2018 09:48:13 +0000 (15:18 +0530)]
clk: qcom: Remove the CLK_SET_RATE_PARENT flag for Byte intferface clk

If the CLK_SET_RATE_PARENT flag for the mmss_mdss_byte_intf_div_clk
divider is set re-calculation of dividers in DSI byte clock path takes
place which causes both the byte clock and byte interface clock to be
set to the same value.

Change-Id: Ia30c8070ec5c451a12f29e983089a7a2bbe6a8b3
Signed-off-by: Rashi Bindra <rbindra@codeaurora.org>
6 years agoMerge "ASoC: msm: Fix repeated reg phy stream issue"
Linux Build Service Account [Mon, 12 Mar 2018 09:47:15 +0000 (02:47 -0700)]
Merge "ASoC: msm: Fix repeated reg phy stream issue"

6 years agoMerge "ASoC: msm: qdsp6v2: check for buffer size before read"
Linux Build Service Account [Mon, 12 Mar 2018 09:47:14 +0000 (02:47 -0700)]
Merge "ASoC: msm: qdsp6v2: check for buffer size before read"

6 years agoMerge "fbdev: msm: Set the commit_in_progress flag after sync_fence_wait"
Linux Build Service Account [Mon, 12 Mar 2018 09:47:13 +0000 (02:47 -0700)]
Merge "fbdev: msm: Set the commit_in_progress flag after sync_fence_wait"

6 years agommc: sd: limit SD card power limit according to cards capabilities
Russell King [Sat, 2 Jan 2016 10:06:29 +0000 (10:06 +0000)]
mmc: sd: limit SD card power limit according to cards capabilities

The SD card specification allows cards to error out a SWITCH command
where the requested function in a group is not supported.  The spec
provides for a set of capabilities which indicate which functions are
supported.

In the case of the power limit, requesting an unsupported power level
via the SWITCH command fails, resulting in the power level remaining at
the power-on default of 0.72W, even though the host and card may support
higher powers levels.

This has been seen with SanDisk 8GB cards, which support the default
0.72W and 1.44W (200mA and 400mA) in combination with an iMX6 host,
supporting up to 2.88W (800mA).  This currently causes us to try to set
a power limit function value of '3' (2.88W) which the card errors out
on, and thereby causes the power level to remain at 0.72W rather than
the desired 1.44W.

Arrange to limit the selected current limit by the capabilities reported
by the card to avoid the SWITCH command failing.  Select the highest
current limit that the host and card combination support.

Change-Id: I7fbd035cdc606946e997fa4671ec5683acd3ed1b
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Fixes: a39ca6ae0a08 ("mmc: core: Simplify and fix
for SD switch processing")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Git-commit: d9812780a020bcec44565b5950b2a8b31afb5545
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Signed-off-by: Pradeep P V K <ppvk@codeaurora.org>
6 years agoMerge "msm: ipa: Fix to handle NULL pointer dereference"
Linux Build Service Account [Sun, 11 Mar 2018 05:18:50 +0000 (21:18 -0800)]
Merge "msm: ipa: Fix to handle NULL pointer dereference"

6 years agomsm: ipa: Fix to handle NULL pointer dereference
Mohammed Javid [Tue, 20 Feb 2018 10:31:26 +0000 (16:01 +0530)]
msm: ipa: Fix to handle NULL pointer dereference

Header entry deleted but same entry pointer using in
routing table not updated. Added checks to confirm
header entry present or not before using it to avoid
null pointer dereference.

Change-Id: Id1d844c60b2dcb0cc7cf18352b78d62fe5a89347
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
6 years agoMerge "[drm-sde] remove additional release fence offset"
Linux Build Service Account [Sat, 10 Mar 2018 07:14:55 +0000 (23:14 -0800)]
Merge "[drm-sde] remove additional release fence offset"

6 years agoMerge "ARM: dts: msm: Configure GPIO98 as the active output for Mizar"
Linux Build Service Account [Sat, 10 Mar 2018 07:14:54 +0000 (23:14 -0800)]
Merge "ARM: dts: msm: Configure GPIO98 as the active output for Mizar"

6 years agoMerge "ARM: dts: msm: Add subsys notification virtualization on msm8996 vplatform"
Linux Build Service Account [Sat, 10 Mar 2018 07:14:52 +0000 (23:14 -0800)]
Merge "ARM: dts: msm: Add subsys notification virtualization on msm8996 vplatform"

6 years agoMerge "ath10k: Skip reading of utf.bin file"
Linux Build Service Account [Sat, 10 Mar 2018 07:14:50 +0000 (23:14 -0800)]
Merge "ath10k: Skip reading of utf.bin file"

6 years agodrm/msm: init enum properties to default value
Clarence Ip [Fri, 8 Sep 2017 19:47:26 +0000 (15:47 -0400)]
drm/msm: init enum properties to default value

Initialize DRM/KMS enumeration properties to the first
defined value rather than 0 since enumeration properties
are meant to store the actual value rather than simply
an enumeration index.

Change-Id: I23dd62308a2d3a45c763090b6f0557634ed49d63
Signed-off-by: Clarence Ip <cip@codeaurora.org>
6 years ago[drm-sde] remove additional release fence offset
Camus Wong [Fri, 2 Mar 2018 19:14:30 +0000 (14:14 -0500)]
[drm-sde] remove additional release fence offset

Remove additional release fence offset to fix deadlock between
graphics and display when only two buffers are used.

Change-Id: Ifc94dae28484e13fae6cb9a7dfd19c1cb13c7c20
Signed-off-by: Camus Wong <camusw@codeaurora.org>
6 years agodrm/msm : add null check on framebuffer in cleanup
Lakshmi Narayana Kalavala [Tue, 20 Feb 2018 19:51:39 +0000 (11:51 -0800)]
drm/msm : add null check on framebuffer in cleanup

Add null check on pointer to fb before dereferencing.

CRs-Fixed: 2124966
Change-Id: Ic88aee498c432c8e9350f2d2fad538acd2a9b37f
Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
6 years agoARM: dts: msm: Configure GPIO98 as the active output for Mizar
Bharathraj Nagaraju [Tue, 6 Mar 2018 00:36:19 +0000 (16:36 -0800)]
ARM: dts: msm: Configure GPIO98 as the active output for Mizar

Configure GPIO98 as active output & drive low.
Delete pinctrl property for audio_ext_clk node.

Change-Id: Ic5178ff44a89433848bdd1a92bc3e3b122aeeffd
Signed-off-by: Bharathraj Nagaraju <snbraj@codeaurora.org>
6 years agoASoC: msm: qdsp6v2: check for buffer size before read
Karthikeyan Mani [Tue, 6 Mar 2018 19:04:49 +0000 (11:04 -0800)]
ASoC: msm: qdsp6v2: check for buffer size before read

Check for debugfs ops buf size passed before reading
to eliminate the possibility of reading out of bounds.

Change-Id: I28fd60ce93256b6b0bad62b449092a891cc15463
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
6 years agoMerge "scsi: ufs: do not destroy clk scaling work queue if it is NULL"
Linux Build Service Account [Fri, 9 Mar 2018 10:47:56 +0000 (02:47 -0800)]
Merge "scsi: ufs: do not destroy clk scaling work queue if it is NULL"

6 years agoMerge "asoc: msm: add check for integer overflow"
Linux Build Service Account [Fri, 9 Mar 2018 10:47:54 +0000 (02:47 -0800)]
Merge "asoc: msm: add check for integer overflow"

6 years agoMerge "mm/migration: make isolate_movable_page() return int type"
Linux Build Service Account [Fri, 9 Mar 2018 10:47:53 +0000 (02:47 -0800)]
Merge "mm/migration: make isolate_movable_page() return int type"

6 years agoMerge "mm/hotplug: enable memory hotplug for non-lru movable pages"
Linux Build Service Account [Fri, 9 Mar 2018 10:47:52 +0000 (02:47 -0800)]
Merge "mm/hotplug: enable memory hotplug for non-lru movable pages"

6 years agoMerge "profiler: memset cnt_buf before use"
Linux Build Service Account [Fri, 9 Mar 2018 10:47:51 +0000 (02:47 -0800)]
Merge "profiler: memset cnt_buf before use"

6 years agoMerge "soc: qcom: subsystem_notif_virt: Add virtual subsystem notification driver"
Linux Build Service Account [Fri, 9 Mar 2018 10:47:49 +0000 (02:47 -0800)]
Merge "soc: qcom: subsystem_notif_virt: Add virtual subsystem notification driver"

6 years agoath10k: Skip reading of utf.bin file
Rakesh Pillai [Tue, 6 Mar 2018 06:18:55 +0000 (11:48 +0530)]
ath10k: Skip reading of utf.bin file

The non-bmi targets do need to load firmware from the
driver and is loaded by other procedure.

Since, utf.bin file is not needed, this change skips parsing
and loading of the same.

Change-Id: Id7cc0b1cd75f813c1b6c762685d8806a30ba8295
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
6 years agoASoC: msm: Fix repeated reg phy stream issue
Cong Tang [Tue, 6 Mar 2018 04:04:19 +0000 (12:04 +0800)]
ASoC: msm: Fix repeated reg phy stream issue

Fix repeated reg phy stream issue in loopback driver
which cause audio dsp calibration failure due to
rtac device could not remove successfully.

Change-Id: Ifa1b9cd579bc313d4addc00d48a8b4b636181220
Signed-off-by: Cong Tang <congt@codeaurora.org>
6 years agodrm/msm/sde: propagate the cdm block length from the catalog
Lloyd Atkinson [Wed, 27 Sep 2017 20:46:58 +0000 (16:46 -0400)]
drm/msm/sde: propagate the cdm block length from the catalog

Add the missing CDM block length parsed by the hardware catalog
into the hardware block data structure so that the debug dump
region can be properly registered.

Change-Id: I395164960484ede34a781785b4ed0e2a60ef0e50
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
6 years agodrm/msm/sde: add ubwc equivalent tile formats
Alan Kwong [Fri, 11 Aug 2017 22:53:13 +0000 (18:53 -0400)]
drm/msm/sde: add ubwc equivalent tile formats

The tile format table is missing few ubwc equivalent formats.
Add those missing formats to the tile format table.

Change-Id: Ie5392f820a5a5f3a94405ab73d3c3f8a7efa0f9f
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
6 years agodrm/msm/sde: set the tile height for all supported formats
Steve Cohen [Wed, 26 Jul 2017 16:02:12 +0000 (12:02 -0400)]
drm/msm/sde: set the tile height for all supported formats

The sde_format structure contains a tile_height member which was
never initialized.  SmartDMA validation uses this field and expects
it to be set properly.

Change-Id: I87bb49e5bab63c33a8c01271ee1a38b3cb8372bc
Signed-off-by: Steve Cohen <cohens@codeaurora.org>
6 years agoARM: dts: msm: Add subsys notification virtualization on msm8996 vplatform
Anant Goel [Wed, 7 Feb 2018 03:01:23 +0000 (19:01 -0800)]
ARM: dts: msm: Add subsys notification virtualization on msm8996 vplatform

Add subsystem_notif_virt device to support subsystem
notifications virtualization for subsystems.

Change-Id: Icc8118e834e2c1c0e54fc7380fe3ea8c7a173665
Signed-off-by: Anant Goel <anantg@codeaurora.org>
6 years agoMerge "DRM: SDE: Fix potential buffer overflow in SDE encoder"
Linux Build Service Account [Thu, 8 Mar 2018 12:27:51 +0000 (04:27 -0800)]
Merge "DRM: SDE: Fix potential buffer overflow in SDE encoder"

6 years agoMerge android-4.4.120 (d63fdf6) into msm-4.4
Srinivasarao P [Thu, 8 Mar 2018 12:21:53 +0000 (17:51 +0530)]
Merge android-4.4.120 (d63fdf6) into msm-4.4

* refs/heads/tmp-d63fdf6
  Linux 4.4.120
  MIPS: Implement __multi3 for GCC7 MIPS64r6 builds
  net: gianfar_ptp: move set_fipers() to spinlock protecting area
  sctp: make use of pre-calculated len
  xen/gntdev: Fix partial gntdev_mmap() cleanup
  xen/gntdev: Fix off-by-one error when unmapping with holes
  SolutionEngine771x: fix Ether platform data
  mdio-sun4i: Fix a memory leak
  xen-netfront: enable device after manual module load
  bnxt_en: Fix the 'Invalid VF' id check in bnxt_vf_ndo_prep routine.
  can: flex_can: Correct the checking for frame length in flexcan_start_xmit()
  mac80211: mesh: drop frames appearing to be from us
  drm/ttm: check the return value of kzalloc
  e1000: fix disabling already-disabled warning
  xfs: quota: check result of register_shrinker()
  xfs: quota: fix missed destroy of qi_tree_lock
  IB/ipoib: Fix race condition in neigh creation
  IB/mlx4: Fix mlx4_ib_alloc_mr error flow
  s390/dasd: fix wrongly assigned configuration data
  led: core: Fix brightness setting when setting delay_off=0
  bnx2x: Improve reliability in case of nested PCI errors
  tg3: Enable PHY reset in MTU change path for 5720
  tg3: Add workaround to restrict 5762 MRRS to 2048
  lib/mpi: Fix umul_ppmm() for MIPS64r6
  ARM: dts: ls1021a: fix incorrect clock references
  scsi: storvsc: Fix scsi_cmd error assignments in storvsc_handle_error
  net: arc_emac: fix arc_emac_rx() error paths
  spi: atmel: fixed spin_lock usage inside atmel_spi_remove
  drm/nouveau/pci: do a msi rearm on init
  sget(): handle failures of register_shrinker()
  ARM: 8731/1: Fix csum_partial_copy_from_user() stack mismatch
  ipv6: icmp6: Allow icmp messages to be looped back
  mtd: nand: gpmi: Fix failure when a erased page has a bitflip at BBM
  f2fs: fix a bug caused by NULL extent tree
  hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers)
  ANDROID: keychord: Check for write data size
  Revert "binder: add missing binder_unlock()"
  Linux 4.4.119
  binder: add missing binder_unlock()
  drm/amdgpu: Avoid leaking PM domain on driver unbind (v2)
  usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path
  usb: gadget: f_fs: Process all descriptors during bind
  usb: ldusb: add PIDs for new CASSY devices supported by this driver
  usb: dwc3: gadget: Set maxpacket size for ep0 IN
  drm/edid: Add 6 bpc quirk for CPT panel in Asus UX303LA
  Add delay-init quirk for Corsair K70 RGB keyboards
  arm64: Disable unhandled signal log messages by default
  usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()
  irqchip/gic-v3: Use wmb() instead of smb_wmb() in gic_raise_softirq()
  x86/oprofile: Fix bogus GCC-8 warning in nmi_setup()
  iio: adis_lib: Initialize trigger before requesting interrupt
  iio: buffer: check if a buffer has been set up when poll is called
  cfg80211: fix cfg80211_beacon_dup
  scsi: ibmvfc: fix misdefined reserved field in ibmvfc_fcp_rsp_info
  ip_tunnel: fix preempt warning in ip tunnel creation/updating
  ip_tunnel: replace dst_cache with generic implementation
  PCI: keystone: Fix interrupt-controller-node lookup
  powerpc/64s: Fix RFI flush dependency on HARDLOCKUP_DETECTOR
  netfilter: drop outermost socket lock in getsockopt()
  ANDROID: sdcardfs: Set num in extension_details during make_item

Conflicts:
drivers/usb/gadget/function/f_fs.c

Change-Id: I594b9686fd64d4b62ebef4452d4f1ccca4f5a77b
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
6 years agosoc: qcom: subsystem_notif_virt: Add virtual subsystem notification driver
Anant Goel [Wed, 7 Feb 2018 01:46:38 +0000 (17:46 -0800)]
soc: qcom: subsystem_notif_virt: Add virtual subsystem notification driver

The guest VM uses this driver to communicate subsystem state related
notifications to a backend driver via the virtual device's registers.

Change-Id: I612fcb641c4d531c1d2c0fd18f44f7ebff040f2c
Signed-off-by: Anant Goel <anantg@codeaurora.org>
6 years agoMerge "i2c-msm-v2: Replace HW recovery mechanism with SW bit-banging"
Linux Build Service Account [Wed, 7 Mar 2018 17:16:41 +0000 (09:16 -0800)]
Merge "i2c-msm-v2: Replace HW recovery mechanism with SW bit-banging"

6 years agoMerge "ais: match type to avoid array overflow"
Linux Build Service Account [Wed, 7 Mar 2018 17:16:39 +0000 (09:16 -0800)]
Merge "ais: match type to avoid array overflow"

6 years agoMerge "sched: add sched_get_cpu_last_busy_time() API"
Linux Build Service Account [Wed, 7 Mar 2018 17:16:38 +0000 (09:16 -0800)]
Merge "sched: add sched_get_cpu_last_busy_time() API"

6 years agoMerge "Revert "ARM: dts: msm: Disable SPI CAN controller on msm8996 CV2X boards""
Linux Build Service Account [Wed, 7 Mar 2018 17:16:37 +0000 (09:16 -0800)]
Merge "Revert "ARM: dts: msm: Disable SPI CAN controller on msm8996 CV2X boards""

6 years agoMerge "clk: qcom: mdss: improve DSI PLL's performance"
Linux Build Service Account [Wed, 7 Mar 2018 17:16:36 +0000 (09:16 -0800)]
Merge "clk: qcom: mdss: improve DSI PLL's performance"

6 years agoMerge "msm: vidc: enable port reconfig for thumbnail session"
Linux Build Service Account [Wed, 7 Mar 2018 17:16:34 +0000 (09:16 -0800)]
Merge "msm: vidc: enable port reconfig for thumbnail session"

6 years agoMerge "Merge android-4.4.118 (5f7f76a) into msm-4.4"
Linux Build Service Account [Wed, 7 Mar 2018 17:16:32 +0000 (09:16 -0800)]
Merge "Merge android-4.4.118 (5f7f76a) into msm-4.4"

6 years agoMerge "Merge android-4.4.117 (4ec3656) into msm-4.4"
Linux Build Service Account [Wed, 7 Mar 2018 17:16:32 +0000 (09:16 -0800)]
Merge "Merge android-4.4.117 (4ec3656) into msm-4.4"

6 years agoMerge "Merge android-4.4.116 (20ddb25) into msm-4.4"
Linux Build Service Account [Wed, 7 Mar 2018 17:16:31 +0000 (09:16 -0800)]
Merge "Merge android-4.4.116 (20ddb25) into msm-4.4"

6 years agoMerge "clk: msm: Add reset support in dummy clock driver"
Linux Build Service Account [Wed, 7 Mar 2018 17:16:29 +0000 (09:16 -0800)]
Merge "clk: msm: Add reset support in dummy clock driver"

6 years agodefconfig: msm: Disable secure qsee support for msm8996 auto
Zhiqiang Tu [Wed, 7 Mar 2018 07:28:39 +0000 (15:28 +0800)]
defconfig: msm: Disable secure qsee support for msm8996 auto

Automotive platform doesn't need secure qsee support.

Change-Id: I9f7885b6057bb44c158eb5e32ebbff85bb598c2e
Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
6 years agoRevert "ARM: dts: msm: Disable SPI CAN controller on msm8996 CV2X boards"
Gustavo Solaira [Tue, 6 Mar 2018 18:30:06 +0000 (10:30 -0800)]
Revert "ARM: dts: msm: Disable SPI CAN controller on msm8996 CV2X boards"

This reverts commit a8c85fc795c063a09a96972c838fa80c520c3837.
Reverted because support for MPC5746C SPI-CAN is being
added back to the platform.

Change-Id: Ib14caf39a8cba9c6028abceb85adcd43df53ba06
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
6 years agoprofiler: memset cnt_buf before use
Lei wang [Wed, 7 Mar 2018 05:57:31 +0000 (13:57 +0800)]
profiler: memset cnt_buf before use

fix cnf_buf.cmd is uninitialized in bw_profiling_get

Change-Id: I9638fe423e6768c66a85e80c0d5175b8a33c1901
Signed-off-by: Lei wang <leiwan@codeaurora.org>