Commit graph

597868 commits

Author SHA1 Message Date
Linux Build Service Account
c8eb182375 Merge "msm: mdss: dp: do not include VICs from YC420 VDB" 2018-03-15 05:43:12 -07:00
Linux Build Service Account
50cff2fe5a Merge " msm: mdss: hdcp_1x: enable HDP irq only for DP client" 2018-03-15 05:43:10 -07:00
Linux Build Service Account
e13997c391 Merge "msm: mdss: dp: fix wrong parsing of sink count" 2018-03-15 05:43:09 -07:00
Linux Build Service Account
8bf0f8bd22 Merge "msm: mdss: hdmi: fix HDCP1.4 authentication issues" 2018-03-15 05:43:07 -07:00
Linux Build Service Account
14116ab986 Merge "msm: mdss: hdmi: add SRM support for HDCP1.4" 2018-03-15 05:43:05 -07:00
Linux Build Service Account
2a5717e16e Merge "msm: mdss: Clear pp dirty flags based on program stage" 2018-03-15 05:43:03 -07:00
Linux Build Service Account
2d31100a1f Merge "msm: mdss: hdmi: modify audio event notification sequence." 2018-03-15 05:43:01 -07:00
Linux Build Service Account
e0cfc87421 Merge "msm: mdss: hdmi: reset basic_audio_support parameter" 2018-03-15 05:43:00 -07:00
Linux Build Service Account
1373daa8dd Merge "input: touchscreen: Fix error code in Atmel driver" 2018-03-15 05:42:56 -07:00
Linux Build Service Account
4a12fa6291 Merge "input: touchscreen: Fix uninitialized variable usage in Atmel driver" 2018-03-15 05:42:55 -07:00
Linux Build Service Account
f6a96c6a85 Merge "msm: sde: fix compiler uninitialized warning" 2018-03-15 05:42:53 -07:00
Linux Build Service Account
58b0d29d48 Merge "drm: msm: dsi: fix local variable not initialized issue" 2018-03-15 05:42:51 -07:00
Linux Build Service Account
b542fae9ea Merge "drm/msm/sde: fix flush configuration for physical encoder" 2018-03-15 05:42:49 -07:00
Linux Build Service Account
1915c6a45b Merge "input: touchscreen: synaptics_dsx: Fix uninitialized variable usage" 2018-03-15 05:42:47 -07:00
Linux Build Service Account
a9a39fb11e Merge "input: touchscreen: synaptics_dsx: Handle failure case during probe" 2018-03-15 05:42:46 -07:00
Linux Build Service Account
1440f9531d Merge "defconfig: msm: Disable secure qsee support for msm8996 auto" 2018-03-15 05:42:45 -07:00
Linux Build Service Account
05a93365d7 Merge "drm: msm: sde: fix potential NULL pointer dereference" 2018-03-15 05:42:43 -07:00
Linux Build Service Account
fdbb476754 Merge "fb: msm_dba: fix local variable not initialized issue" 2018-03-15 05:42:41 -07:00
Linux Build Service Account
b41f58b188 Merge "ASoC: msm: Upgrade AFE TDM Driver to support 32 Channels" 2018-03-15 05:42:40 -07:00
Narender Ankam
8eba91adf8 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>
2018-03-13 21:12:50 -07:00
Narender Ankam
2cc1946a7a 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>
2018-03-13 21:11:05 -07:00
Narender Ankam
1a51baa68a 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>
2018-03-13 21:09:40 -07:00
Narender Ankam
a62924520b 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>
2018-03-13 21:07:50 -07:00
Ch Ganesh Kumar
72f550f73d 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>
2018-03-13 21:05:53 -07:00
Narender Ankam
a5e82de8cd 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>
2018-03-13 21:04:01 -07:00
Narender Ankam
b5f217c787 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>
2018-03-13 21:02:04 -07:00
Narender Ankam
e050b3a0e3 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>
2018-03-13 20:59:54 -07:00
Venkata Prahlad Valluru
741edf0dd6 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>
2018-03-13 20:53:50 -07:00
Venkata Prahlad Valluru
59f1d772d0 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>
2018-03-13 20:53:40 -07:00
Venkata Prahlad Valluru
6feaa135ad 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>
2018-03-14 09:18:59 +05:30
Maria Yu
840c1d1466 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>
2018-03-13 20:06:53 -07:00
Linux Build Service Account
3e1f25e955 Merge "ARM: dts: msm: Fix subsys notification virtualization device instance" 2018-03-13 15:20:27 -07:00
Venkata Prahlad Valluru
63d1082c62 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>
2018-03-13 18:54:30 +05:30
Venkata Prahlad Valluru
545199223e 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>
2018-03-13 18:50:05 +05:30
Guchun Chen
2768f69bba 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>
2018-03-13 13:46:27 +08:00
Linux Build Service Account
c3b8576cf9 Merge "clk: qcom: Remove the CLK_SET_RATE_PARENT flag for Byte intferface clk" 2018-03-12 21:20:51 -07:00
Guchun Chen
0932f23cdb 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>
2018-03-13 12:06:23 +08:00
Guchun Chen
e053381117 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>
2018-03-13 11:30:26 +08:00
Linux Build Service Account
869960020e Merge "mmc: sd: limit SD card power limit according to cards capabilities" 2018-03-12 11:49:57 -07:00
Anant Goel
295bf2e8b9 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>
2018-03-12 11:17:57 -07:00
Rashi Bindra
99682cfc7b 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>
2018-03-12 15:20:34 +05:30
Linux Build Service Account
0356b3c187 Merge "ASoC: msm: Fix repeated reg phy stream issue" 2018-03-12 02:47:15 -07:00
Linux Build Service Account
bf641b6b92 Merge "ASoC: msm: qdsp6v2: check for buffer size before read" 2018-03-12 02:47:14 -07:00
Linux Build Service Account
6086791d00 Merge "fbdev: msm: Set the commit_in_progress flag after sync_fence_wait" 2018-03-12 02:47:12 -07:00
Russell King
99593ab021 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: a39ca6ae0a ("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>
2018-03-11 22:41:45 -07:00
Linux Build Service Account
2c333d317c Merge "msm: ipa: Fix to handle NULL pointer dereference" 2018-03-10 21:18:49 -08:00
Mohammed Javid
806eaf6ffe 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>
2018-03-10 03:53:07 -08:00
Linux Build Service Account
16a3488d96 Merge "[drm-sde] remove additional release fence offset" 2018-03-09 23:14:55 -08:00
Linux Build Service Account
3d59d5cbc0 Merge "ARM: dts: msm: Configure GPIO98 as the active output for Mizar" 2018-03-09 23:14:53 -08:00
Linux Build Service Account
650877ff28 Merge "ARM: dts: msm: Add subsys notification virtualization on msm8996 vplatform" 2018-03-09 23:14:51 -08:00