Commit graph

583720 commits

Author SHA1 Message Date
Jordan Crouse
411b19b48e msm: kgsl: Add placeholders for KGSL power limit functions
Add placeholders for the KGSL power limit functions if
CONFIG_QCOM_KGSL is not enabled in the kernel config.

Change-Id: Ic0dedbad15b54cd8c3eba1b0649cb23193dbc16c
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-02-27 09:16:35 -07:00
Linux Build Service Account
3bf75ddd22 Merge "defconfig: enable drm/kms driver in mediabox config" 2017-02-27 07:44:40 -08:00
Linux Build Service Account
8e6753474b Merge "drm/msm: Revert "drm/msm/sde: fix color component order"" 2017-02-27 07:44:39 -08:00
Ghanim Fodi
3e6f65c965 msm: ipa3: Fix uninitialized variables access
Kernel compilation warning is generated due to
these uninitialized variables access. This change
fixes them by initializing the variables.

Change-Id: Ifae04fe5e4d1b9a0c2c399a3c6746c38dea5c4cc
CRs-fixed: 2004062
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2017-02-27 06:51:54 -08:00
Ghanim Fodi
03a55bab9a msm: ipa3: Validate IPA client mapping to endpoint index
ipa3_get_ep_mapping() is used to map an IPA client to
IPA endpoint index. The index is used as array index.
This change validates that the returned index is
within the valid range.

CRs-fixed: 2012203
Change-Id: I25df8d0c9b60a5290f2457dd2ed77f2c7e78b46f
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2017-02-27 06:45:53 -08:00
Kiran Gunda
9147c318e6 defconfig: msm: Enable PBS driver support for sdm660
PBS driver triggers the PBS event specified by the client
driver to execute the PBS RAM configuration. Enable it for
sdm660 targets.

Change-Id: I95c70295805d31506c864546b763bef8a5e7b4bf
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2017-02-27 04:55:46 -08:00
Rajesh Kemisetti
8aa55e6579 msm: kgsl: Add GPU Cx ipeak client support on SDM660
To handle Cx peak current limit on SDM660, GPU needs
to call Cx ipeak driver APIs when it switches between
threshold points.

Cx ipeak driver will throttle cDSP frequency if all
the clients are running at their respective threshold
frequencies to limit Cx peak current.

Change-Id: I5ffcf1a42523072d2b8b7bc0022eb3cc067acbb9
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-02-27 18:00:12 +05:30
Nikhil Kumar Kansal
e3b58b53c0 ARM: dts: msm: change memlat vote for min freq on SDM630
Updating min frequency for memlat voting from 787MHz to
1113MHz to avoid intermediate DDR frequency switching on
SDM630 target.

Change-Id: I4a66efcd3301c3662b48b11c11f83a97c6562f31
Signed-off-by: Nikhil Kumar Kansal <nkansal@codeaurora.org>
2017-02-27 04:12:48 -08:00
Prakash Gupta
2f31e3aa70 ARM: dts: msm: add MBA carveout for sdm660
Add MBA carveout between ADSP & cDSP in sync with
v1 memory map.

Change-Id: I65af5e01af1e5dd3de7f0666017dcd82ea8f7293
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
2017-02-27 17:29:15 +05:30
Rohit Kumar
318946a30e ASoC: msm: Fix kernel crash in "Speaker Function" mixer control
Use snd_soc_kcontrol_codec instead of snd_kcontrol_chip
to obtain the codec information from the kcontrol.

CRs-Fixed: 2012091
Change-Id: I01e3d7d1a4237ac631bbc4bd4d1c047b8b7aa207
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
2017-02-27 16:09:12 +05:30
Kiran Gunda
957b513d84 soc: qcom: qpnp-pbs: Add PBS driver support
The PBS driver helps the client drivers to trigger the PBS
event to execute the PBS RAM configuration as requested by the
client driver.

Change-Id: Ic5d1290ffa0b66ac7a8f68529aafcf0b871ee3e8
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2017-02-27 14:29:44 +05:30
Ray Zhang
62192c4061 defconfig: enable drm/kms driver in mediabox config
Enable drm/kms driver in msmcortex media config.
Enable VT in msmcortex media config.

CRs-Fixed: 2002381
Change-Id: I57a7a737d1f0bc22f229c087a6932b9e73c0537c
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-02-27 16:15:11 +08:00
Linux Build Service Account
25becb4433 Merge "msm: ext_display: move ext_display out of FB driver" 2017-02-26 23:48:30 -08:00
Linux Build Service Account
d27e76f59f Merge "msm: mdss: remove hdmi audio sysfs node" 2017-02-26 23:48:30 -08:00
Linux Build Service Account
b838696327 Merge "drivers: soc: apr: add wake_up for a waitqueue" 2017-02-26 23:48:29 -08:00
Linux Build Service Account
c3517cc8b2 Merge "ALSA: compress: Replace usages of uint32/uint64 with u32/u64" 2017-02-26 23:48:28 -08:00
Linux Build Service Account
01e12e2df2 Merge "ASoC: msm: acquire lock in ioctl" 2017-02-26 23:48:28 -08:00
Linux Build Service Account
5e7226fe54 Merge "ASoC: msm: qdsp6v2: return error when copy from userspace fails" 2017-02-26 23:48:27 -08:00
Linux Build Service Account
961d86bac1 Merge "ASoC: msm: qdsp6v2: destroy routing lock at exit" 2017-02-26 23:48:26 -08:00
Linux Build Service Account
d7de4c496c Merge "drm/msm: do not trigger HPD work in non-pluggable case" 2017-02-26 23:48:24 -08:00
Linux Build Service Account
b76466d981 Merge "drm/msm: update edid block for audio codec" 2017-02-26 23:48:24 -08:00
Linux Build Service Account
e78de2fdad Merge "drm/msm: add HPD notification and acknowledge support" 2017-02-26 23:48:23 -08:00
Linux Build Service Account
03c6cbcaf3 Merge "msm : mdss: Avoid arbitrary free of scale_data in error condition" 2017-02-26 23:48:23 -08:00
Linux Build Service Account
0308c156c1 Merge "msm: mdss: Fix clocks disable sequence" 2017-02-26 23:48:22 -08:00
Linux Build Service Account
239e3644b6 Merge "msm: mdss: idle power collapse notify" 2017-02-26 23:48:20 -08:00
Linux Build Service Account
c2998a25ad Merge "msm: hdcp: enable encryption only if not done already" 2017-02-26 23:48:18 -08:00
Linux Build Service Account
c5b8e45e9f Merge "msm: mdss: hdcp2p2: fix sysfs node name" 2017-02-26 23:48:18 -08:00
Linux Build Service Account
87d4a67314 Merge "msm: mdss: handle programming of MDP_HDMI_DP_CORE_SELECT register" 2017-02-26 23:48:17 -08:00
Linux Build Service Account
d14b875d10 Merge "msm: mdss: Correct prefill bandwidth calculations" 2017-02-26 23:48:16 -08:00
Amir Samuelov
8147051b6b soc: qcom: spcom: propagate response timeout error
HLOS client send request to SP server and expect response within timeout.
if timeout expires, return ETIMEDOUT error, rather than a general error.

Change-Id: Ic7691848ff133196bf31294c010e98846de2c470
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2017-02-26 23:31:51 -08:00
Neeraj Upadhyay
d910758b6f ARM: dts: msm: update dload type imem offset for SDM630
Dload type imem offset is corrected for SDM630, so that
correct imem address is updated.

Change-Id: Ibed79e05f528028b10e250e5a41047f2e4255add
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2017-02-26 22:58:12 -08:00
Neeraj Upadhyay
6631823067 ARM: dts: msm: update dload type imem offset for SDM660
Dload type imem offset is corrected for SDM660, so that
correct imem address is updated.

Change-Id: Ic6f4ca6aef80003fe7547f473c515a3368cb555e
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2017-02-26 22:57:58 -08:00
Gaurav Kohli
e82113ca00 soc: qcom: Notify clients in case qmi connection to service locator fails
Clients are not getting notification if qmi connection to locator has
not been established. As a result of this clients are waiting forever.
So to avoid this notifying the client in case of qmi connection fails
to service locator.

Change-Id: Id1625c18db812831860355e987a97789357dda13
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2017-02-26 22:05:02 -08:00
Deepak Kumar
c2fb7b3e04 msm: kgsl: Add efuse read capabilities for A508 GPU
A508 GPU has multiple frequency plan, for loading a
specific frequency plan add speed bin read capability
for A508 GPU.

Change-Id: I32a030bec438edc74f1e78bfb2ea86e7a3f60dab
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2017-02-26 21:50:32 -08:00
Ray Zhang
509fc46164 drm/msm: do not trigger HPD work in non-pluggable case
In HDMI non-pluggable case, it's supposed that there will
not be hotplug events, so ignore the HPD interrupt and do
not schedule the HPD work.

CRs-Fixed: 2010135
Change-Id: I72b9c3fb0f831ddab4be0545c37cd9189d4afa41
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-02-27 12:33:31 +08:00
Ray Zhang
10e6309aa8 drm/msm: update edid block for audio codec
Audio codec needs audio extension block data in EDID,
so add support for providing this information in ops
registered by the audio driver.

CRs-Fixed: 2010135
Change-Id: Ic1b389872171d5faade38d5ff484be065a9dc489
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-02-27 12:33:31 +08:00
Ray Zhang
9b0940a54c drm/msm: add HPD notification and acknowledge support
In HPD case the HDMI driver communicate with external display
module by specific notification and acknowledge interfaces.
Add this support to enable the communication.

CRs-Fixed: 2010135
Change-Id: I24ac1e0f0cb1e3946e2a53e4bf72bafbd84e4395
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-02-27 12:33:31 +08:00
Ray Zhang
87edc28399 msm: ext_display: move ext_display out of FB driver
Make ext_display a standalone module independent of
framebuffer driver, so that it could be shared by
various drivers such as framebuffer and KMS.

CRs-Fixed: 2010135
Change-Id: I336c556cbfbd66d3cb3467acaea038d5d3651f67
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-02-27 10:25:46 +08:00
Ray Zhang
33e1141e51 msm: mdss: remove hdmi audio sysfs node
Use audio codec callback to replace the existing sysfs
node which has permission issues. The usage is the same
as previous sysfs node as the input parameters are not
changed.  There are 3 different flags could be passed
in: SET_ENABLE, ENABLE, and CONNECT.

CRs-Fixed: 2010135
Change-Id: Id526bd8a3d750f8da108bc42b1e3e8f680950f3b
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-02-27 10:21:07 +08:00
Ray Zhang
1c4ce7aa2c drm/msm: enable hdmi audio function for sde
Register ext_disp and provide audio codec ops. This
enables HDMI audio functionality for DRM driver.

CRs-Fixed: 2010135
Change-Id: Ide661456ab42bf6a8f13359819e39317f439a255
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-02-26 17:21:34 -08:00
Linux Build Service Account
541fe938d2 Merge "msm: sde: Remove panic from rotator smmu fault handler" 2017-02-26 17:01:50 -08:00
Linux Build Service Account
49d57d9b26 Merge "drm/msm: add hdmi audio support for sde kms" 2017-02-26 04:44:59 -08:00
Linux Build Service Account
690cee7544 Merge "msm: kgsl: Don't wait for context that has not submitted" 2017-02-26 04:44:58 -08:00
Linux Build Service Account
39668d4099 Merge "crypto: msm: check invalid src and dst vbuf in qcedev.c" 2017-02-26 04:44:57 -08:00
Linux Build Service Account
7a3aebc93a Merge "mhi: core: Mark unprocessed events as STALE" 2017-02-25 19:49:34 -08:00
Linux Build Service Account
a46c000c65 Merge "clk: qcom: osm: program SEQ_REG32 unconditionally" 2017-02-25 19:49:33 -08:00
Linux Build Service Account
6744997391 Merge "bluetooth: Fix slimbus shutdown sequence" 2017-02-25 19:49:33 -08:00
Linux Build Service Account
67f838cce1 Merge "ASoC: msm: Update configs for speaker protection on sdm660" 2017-02-25 19:49:31 -08:00
Linux Build Service Account
b7fb0e4bdf Merge "ASoC: msm_sdw: Add 48k TX VI sense sampling rate support" 2017-02-25 19:49:31 -08:00
Linux Build Service Account
083b8cc439 Merge "ASoC: wsa881x: Add retry logic for temperature read" 2017-02-25 19:49:30 -08:00