Commit graph

591377 commits

Author SHA1 Message Date
Rajesh Kemisetti
a92d182205 msm: kgsl: Make sure regulators are ON before GPU clocks are forced on
The debug option to always ON the GPU clocks does not check the regulator
state. If the user tries to set this option while GPU is in Slumber state
then enabling clocks will fail.

Make sure we enable the GPU regulators before enabling its clocks.

Change-Id: Id77773224c674fe2e1b6179a039750b24e5e5f87
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-06-30 18:55:28 +05:30
Linux Build Service Account
f2485229cd Merge " base: firmware: add /lib64/firmware to firmware loading path" 2017-06-27 22:10:51 -07:00
Linux Build Service Account
be58516a4e Merge "drm/msm: pass the HDR metadata sent from userspace to sink" 2017-06-27 17:07:45 -07:00
Abhinav Kumar
79d9dc2c13 drm/msm: pass the HDR metadata sent from userspace to sink
Use metadata information sent from userspace to configure sink.

This info shall be used later on to program the HDMI specific
infoframe registers.

Change-Id: I26634452d8c3ab7ab49a65e89ad52a3961c64855
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-27 12:42:49 -07:00
Linux Build Service Account
35589846a0 Merge "ARM: dts: msm: Defer regulator disable for msm8998 GPU SMMU" 2017-06-27 09:42:11 -07:00
Linux Build Service Account
ab8be1a139 Merge "soc: qcom: glink_pkt: fix number of intent queued" 2017-06-27 09:42:10 -07:00
Linux Build Service Account
d4651ed76d Merge "cnss_pci: fix the race condition in firmware file setup" 2017-06-27 09:42:09 -07:00
Linux Build Service Account
d57c4325fe Merge "drm/msm/sde: fix color component order in sde" 2017-06-27 09:42:08 -07:00
Linux Build Service Account
fbb8507e77 Merge "lpm-levels: Remove IPI check on hot plugged cores" 2017-06-27 04:28:25 -07:00
Linux Build Service Account
89279350de Merge "fs/mbcache: fix mb_cache_lru_list corruption" 2017-06-27 04:28:24 -07:00
Linux Build Service Account
47d50db7ee Merge "power: qpnp-smb2: Unset ONLINE for UNKNOWN USB charger type" 2017-06-27 04:28:23 -07:00
Linux Build Service Account
ca79f2d777 Merge "btfm: Enable multichannel bit for SCO Rx" 2017-06-27 04:28:23 -07:00
Linux Build Service Account
5728dc4956 Merge "drm/msm/sde: expose 10 bit pixel format capabilities" 2017-06-27 04:28:19 -07:00
Linux Build Service Account
0563256535 Merge "drm/msm: add sink capabilities for HDR support" 2017-06-27 04:28:18 -07:00
Linux Build Service Account
b878a7b799 Merge "msm: camera: Fix Use after free bug in msm_vb2.c" 2017-06-27 04:28:17 -07:00
Linux Build Service Account
e6c4852492 Merge "ARM: dts: msm: add non-removable ufs/emmc property for msm8996" 2017-06-27 04:28:16 -07:00
Linux Build Service Account
9b07b33870 Merge "msm: ipa3: Assert on GSI MHI event ring fatal error" 2017-06-27 04:28:15 -07:00
Linux Build Service Account
2b18fcd3c7 Merge "msm: ipa3: Ring IPA MHI event ring doorbell on channel start" 2017-06-27 04:28:14 -07:00
Linux Build Service Account
29a036e74e Merge "msm: ipa3: remove delay from AP if QMI fails" 2017-06-27 04:28:14 -07:00
Linux Build Service Account
3fb86ecd81 Merge "ARM: dts: msm: Add mdss panel file nodes for msm8998 QRD" 2017-06-27 04:28:13 -07:00
Naresh Malladi
601aa08634 lpm-levels: Remove IPI check on hot plugged cores
Currently checking the IPIs even on cores which are hotplugged out
successfully. This check should happen only for cores which are
online.

Change-Id: I8fe49638f308eab97455e7cca62b01b617596de4
Signed-off-by: Naresh Malladi <namall@codeaurora.org>
2017-06-27 11:22:46 +05:30
Satish Kodishala
a03b642ecd btfm: Enable multichannel bit for SCO Rx
Enable multichannel bit for SCO Rx to fix random 0 bytes
insertion in SCO.

CRs-Fixed: 2063152
Change-Id: I6abe986251d042ef70701b614b8cef0ee1e30044
Signed-off-by: Satish Kodishala <skodisha@codeaurora.org>
2017-06-26 19:43:52 -07:00
Dhaval Patel
04a9528cbb drm/msm/sde: fix color component order in sde
SDE drm driver should support the default color
component order instead of operating system
specific order. For opensource compositor; it will
use default color component order while android
compositors will take care of reversing the color
component order.

Change-Id: I61b953ce892834453e92a8c2cfdcb427456966bb
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2017-06-26 19:40:59 -07:00
abeykun
1ce0cb61aa drm/msm/sde: expose 10 bit pixel format capabilities
Patch adds RGB 10bit both linear and compressed, P010 linear and
and TP10 compressed pixel formats to plane and writeback capabilities.

Change-Id: Ib5a0b2dacbc1ddc47c069b4348c0d1b9fbd7701e
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
2017-06-26 19:35:01 -07:00
Alexander Beykun
4482a89a67 drm/msm/sde: size check fix for NV12 buffer
Currently for NV12 linear/compressed format if the same gem
object assigned to both planes, total size becomes twice more
than actually allocated. In that case kernel cannot detect
case where meta data planes not allocated for NV12 compressed
buffer and smmu fault happens. Current patch sums sizes only
for different gem objects allowing kernel to detect insufficient
memory allocation for NV12 case.

Change-Id: I0d9f49b8b310f0dff1fb787b4ba821a6d4a68140
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
2017-06-26 17:33:46 -07:00
abeykun
1f2fc9ec18 drm/msm/sde: move pixel format flags to bitmap
Patch changes type of pixel format flags from u32 to bitmap.

Change-Id: I117f3737d78d22b9bd6d78abdb8e96f52fc4e874
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
2017-06-26 17:32:57 -07:00
abeykun
bedc84f4f8 drm/msm/sde: add tp10 compressed format support
Add MOD_QCOM_TIGHT modifier on top of DRM_FORMAT_NV12
base pixel format and update plane size calculation
to support compressed tp10 buffers.

Change-Id: I12eb9fecfd34d488eda92f6217b6ca51e466c6f6
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
2017-06-26 17:31:54 -07:00
abeykun
be55dab201 drm/msm/sde: add p010 format support in sde
Add MOD_QCOM_DX modifier on top of DRM_FORMAT_NV12
base format and update plane size calculation to support
linear and compressed p010 buffers.

Change-Id: I93bd9557e5c4a4a038891f24730edbbec1dba262
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
2017-06-26 17:29:59 -07:00
Srikanth Rajagopalan
1be46f2985 drm/msm: add sink capabilities for HDR support
Populate HDR sink capabilities to a DRM blob.

These capabilities shall be used by the userspace
to calculate the sink HDR properties and setting them.

Change-Id: I7c2dbca375c456052ad73889b011553090bcf8f1
Signed-off-by: Srikanth Rajagopalan <rasrik@codeaurora.org>
2017-06-26 12:01:55 -07:00
Bharathraj Nagaraju
228ba61cf7 base: firmware: add /lib64/firmware to firmware loading path
Adding /lib64/firmware to the driver for loading firmware from
 the target.

Change-Id: I1e489efc7e0d56991a0671950b88ce15afe3825b
Signed-off-by: Bharathraj Nagaraju <snbraj@codeaurora.org>
2017-06-26 10:32:11 -07:00
Ghanim Fodi
b6d325b8f7 msm: ipa3: Assert on GSI MHI event ring fatal error
GSI MHI event ring error is a fatal error where there is
no recovery possible. Data path will be stalled.
This change will assert on this case.

Change-Id: I9c94e44b2f2d5e1b0b8d059b871d1bd9ad2d3fcf
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2017-06-25 23:52:59 -07:00
Ghanim Fodi
7d7714eae2 msm: ipa3: Ring IPA MHI event ring doorbell on channel start
Ringing IPA MHI event ring doorbell is done at MHI device
during MHI channel start. This is done after the rings
are allocated. The ring write pointer updated by the host is
used as the doorbell value. Doorbell ringing is required
in order to supply event credits to GSI H/W.

Change-Id: I2db110b4f99c8ab6c6878d426b3ebb37149b0b76
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2017-06-25 23:49:59 -07:00
Amir Levy
9d56022bb6 msm: ipa3: remove delay from AP if QMI fails
In case of failure to send QMI message to modem
remove the delay from AP since modem is probably
down (SSR\reboot).

Change-Id: Iae4d5162d39cd05f5c50d75087ec90dfe04a6c43
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2017-06-25 10:06:14 +03:00
Lei wang
18bc3cb1f1 ARM: dts: msm: add non-removable ufs/emmc property for msm8996
Defines the non-removable property for ufs/emmc device node
This basically lets the driver whether ufs/emmc is the boot
device

Change-Id: I7e583e0ecef064d1ed91b443fe35f98a3b2c0c8a
Signed-off-by: Lei wang <leiwan@codeaurora.org>
2017-06-23 19:34:47 -07:00
Linux Build Service Account
6f56b2a9c8 Merge "ath10k: Add change interface handler" 2017-06-23 12:09:25 -07:00
Linux Build Service Account
7e03e0f79a Merge "qpnp-smb2: configure DRP mode after interrupt request" 2017-06-23 12:09:24 -07:00
Linux Build Service Account
fb8f2806f6 Merge "arm/arm64: Export save_stack_trace_tsk()" 2017-06-23 12:09:23 -07:00
Dhoat Harpal
acddcfffa0 soc: qcom: glink_pkt: fix number of intent queued
glink_pkt driver has no limit on number of intents auto queued for rx.
Intent are auto queued when remote side request for intent without checking
how many packets are pending to be read by client.

A max limit check is added to avoid memory exhaustion case with indefinite
intent queueing.

CRs-Fixed: 2042581
Change-Id: I68aa102b323716f591841b192477a70397a5536b
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-06-23 20:19:39 +05:30
Linux Build Service Account
bbf9eb8202 Merge "ath10k: wait for vdev delete response from firmware" 2017-06-23 05:56:57 -07:00
Linux Build Service Account
2e04fffa4a Merge "sound: usb: Add quirk to issue SET_CUR volume on 2nd channel" 2017-06-23 05:56:56 -07:00
Linux Build Service Account
a2aa60c24e Merge "msm: mdss: dp: fix no display issue on second connection" 2017-06-23 05:56:55 -07:00
Linux Build Service Account
b85e238432 Merge "mdss: dp: check if sink device is connected before DP ON sequence" 2017-06-23 05:56:53 -07:00
Linux Build Service Account
9bda357a1a Merge "msm: sde: Remove output fence object after user request completed" 2017-06-23 05:56:41 -07:00
Linux Build Service Account
10bb4a94f1 Merge "msm: mdss: Change IOMMU map sequence during splash cleanup" 2017-06-23 05:56:40 -07:00
Linux Build Service Account
c2841e623b Merge "msm: sde: Convert workq to kernel thread in SDE rotator" 2017-06-23 05:56:39 -07:00
Linux Build Service Account
b52caad54d Merge "smb-lib: add support for float charger reporting" 2017-06-23 05:56:38 -07:00
Linux Build Service Account
088c0f837e Merge "power: power_supply_sysfs: Add support for Floating charger" 2017-06-23 05:56:38 -07:00
Linux Build Service Account
8e102f05a2 Merge "msm:ipa: Fix to kasan use-after-free issue" 2017-06-23 05:56:37 -07:00
Linux Build Service Account
e965ee5226 Merge "btfm: provide a way to query wcn3990 status" 2017-06-23 05:56:36 -07:00
Linux Build Service Account
e213493c43 Merge "scsi: ufs: Fix initialization of pointer" 2017-06-23 05:56:21 -07:00