Commit graph

590985 commits

Author SHA1 Message Date
Linux Build Service Account
3f302a6640 Merge "qpnp-fg-gen3: Move getting battery id and profile to profile_load_work" 2017-06-20 03:20:39 -07:00
Linux Build Service Account
5f0a789229 Merge "drm/msm: use 13-bit mask for h_total and v_total" 2017-06-20 03:20:31 -07:00
Linux Build Service Account
d00b4e6e09 Merge "drm/msm: start secure domain va from non-zero address" 2017-06-20 03:20:30 -07:00
Linux Build Service Account
296e2f3d7e Merge "drm/msm: Remove superfluous hang check message" 2017-06-20 03:20:28 -07:00
Linux Build Service Account
c9e6118965 Merge "drm/msm: Add a submit queue flag to disable the QoS timer" 2017-06-20 03:20:27 -07:00
Linux Build Service Account
73a0e7ea49 Merge "drm/msm: Add submit queue queries" 2017-06-20 03:20:26 -07:00
Ray Zhang
49e5049a72 drm/msm: use 13-bit mask for h_total and v_total
HDMI TX controller can output 13-bit h_total and v_total
compare to 12-bit width of previous generation chipsets.
So use 13-bit mask for these HSYNC and VSYNC settings.

CRs-Fixed: 2052655
Change-Id: I2421a4e0a7646d10ba9e8f427807daa6a1bc1a21
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2017-06-20 08:57:51 +08:00
Linux Build Service Account
0045ec6f11 Merge "drm/msm : add hdcp debugfs nodes for DRM HDMI driver" 2017-06-19 16:42:05 -07:00
Linux Build Service Account
25e509561f Merge "f_gsi: Use kernel buffer instead of user space provided buffer" 2017-06-19 16:42:05 -07:00
Linux Build Service Account
3e0ab6ba33 Merge "soc: qcom: glink: Move ctx initialization of xprt ptr" 2017-06-19 16:42:04 -07:00
Linux Build Service Account
2dc794c527 Merge "soc: qcom: glink_ssr: Remove subsystem_restart call" 2017-06-19 16:42:03 -07:00
Linux Build Service Account
61155a521f Merge "i2c-msm-v2: Print error logs in process context" 2017-06-19 16:42:01 -07:00
Linux Build Service Account
69c6a42d14 Merge "ARM: dts: msm: Enable use of 64K page pool for SDM630" 2017-06-19 16:42:00 -07:00
Linux Build Service Account
a34722136d Merge "qpnp-smb2: Fix QC_PULSE_COUNT reading logic" 2017-06-19 16:41:59 -07:00
Linux Build Service Account
ed435179ec Merge "ARM: dts: msm: Enable use of 64K page pool for SDM660" 2017-06-19 16:41:58 -07:00
Linux Build Service Account
f0d37d522b Merge "Revert "msm: kgsl: Update QoS settings for A508 VBIF as recommended"" 2017-06-19 16:41:57 -07:00
Linux Build Service Account
7223e29df4 Merge "msm: kgsl: Reset busy data after soft reset" 2017-06-19 16:41:56 -07:00
Linux Build Service Account
7d8e4243d2 Merge "clk: qcom: Check for errors during RCG read" 2017-06-19 16:41:55 -07:00
Linux Build Service Account
9e6f650f19 Merge "defconfig: Enable TIF drivers in MSM8996 auto" 2017-06-19 16:41:53 -07:00
Linux Build Service Account
b0dd74be59 Merge "msm: ba: Fix some potential risks" 2017-06-19 16:41:53 -07:00
Jordan Crouse
d8505d8307 drm/msm: Remove superfluous hang check message
There are plenty of log messages when a hang check and/or fault
occurs there isn't any need to add one more - recovery is
pretty much a given at this point.

Change-Id: Ic0dedbad392807591b726eb9d09af3ad29d7bc30
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-06-19 15:50:31 -06:00
Jordan Crouse
b25ea02d22 drm/msm: Add a submit queue flag to disable the QoS timer
Allow priviliged (CAP_SYS_ADMIN) processes to disable the
hangcheck / quality of service timer to allow individual
submits to run for as long as they need.

Change-Id: Ic0dedbad1399ebe7c6db74ba374bfa3a6f72917a
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-06-19 15:50:30 -06:00
Jordan Crouse
b674857b83 drm/msm: Add submit queue queries
Add the capability to query information from a submit queue.
The first available parameter is to query the number of GPU
faults that have been caused by the queue. The driver can
periodically query this value to see if it has caused a fault
and take action accordingly.

Change-Id: Ic0dedbadc68d5782c0b8b71d89722742aa6aaf1a
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2017-06-19 15:50:26 -06:00
Mayank Rana
949fbd80e1 f_gsi: Use kernel buffer instead of user space provided buffer
gsi_ctrl_dev_write() and gsi_ctrl_dev_read() API is directly using user
space provided buffer when qti_packet_debug is enabled. This can result
into using untrusted buffer pointer. Hence use cpkt->buf i.e. kernel
space buffer pointer instead of directly using user space provided buffer.

CRs-Fixed: 2061391
Change-Id: Iba6f2845dae2755446b4b8e9f3041686877d7bc4
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2017-06-19 11:31:20 -07:00
Dhoat Harpal
bb73294fb7 soc: qcom: glink: Move ctx initialization of xprt ptr
In glink_open function, channel context initialization with transport
pointer is done quite after after its creation. This create race condition,
if parallel thread try to use transport pointer of ctx.

Ctx is initialized with transport pointer right at the time of its
creation.

CRs-Fixed: 2061645
Change-Id: Idcddf1ab10b8673a20bc1f23d8702bf870f79dbd
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-06-19 21:49:09 +05:30
Linux Build Service Account
6ec544aeed Merge "qdspv2: Add latency calculation support in pcm offload path" 2017-06-19 07:54:18 -07:00
Linux Build Service Account
c9ada11e43 Merge "ASoC: wsa881x: Fix GPIO leak issue" 2017-06-19 07:54:17 -07:00
Linux Build Service Account
3b61e32368 Merge "ARM: dts: msm: Early mount of vendor partition for sdm660/630" 2017-06-19 07:54:16 -07:00
Linux Build Service Account
371e1c1b54 Merge "ARM: dts: msm: Add Maxim regulator node for msm8996" 2017-06-19 07:54:15 -07:00
Linux Build Service Account
608d5ae7bc Merge "ASoC: msm: Add Compressed app type in transcode loopback driver" 2017-06-19 07:54:14 -07:00
Linux Build Service Account
f79c355176 Merge "msm:ipa: Fix to IPA static analysis constant null deferenced" 2017-06-19 07:54:13 -07:00
Linux Build Service Account
d4041b86d5 Merge "defconfig: msm: Enable maxim regulator driver for msm8996-auto" 2017-06-19 00:27:06 -07:00
Linux Build Service Account
edac345d02 Merge "drm: msm: Enable asynchronous driver probing" 2017-06-19 00:27:04 -07:00
Linux Build Service Account
ea8783eb74 Merge "drm/msm : add utility function to dump HDMI registers" 2017-06-19 00:27:04 -07:00
Amit Nischal
1164f8f6ee clk: qcom: Check for errors during RCG read
There could be instances where the RCG configuration update or readback
could fail. Notify the caller of the failure. Add support to change
scope of mux_div_get_src_div() in order to use it globally.

Change-Id: Ica07c28cede695785db81697effcb40ab6b717d4
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-06-19 12:04:55 +05:30
Siddartha Shaik
04b7e499f8 ASoC: msm: Add Compressed app type in transcode loopback driver
Pick proper app type for compressed input data port in
transcode loopback driver to support compressed input in
DSP loopback.

CRs-Fixed: 2061759
Change-Id: Ib2f66b467456787e08265a0da2bd85bb881a5d61
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
2017-06-18 21:55:39 -07:00
Siddartha Shaik
41144e80b6 ASoC: msm: Update mixer control for QUAT MI2S TX Format
DSP loopback uses QUAT MI2S TX as source interface
so mixer control is updated for QUAT MI2S TX Format
to support compressed and pcm input data formats.

CRs-Fixed: 2061759
Change-Id: I8c283de767f938ae8f4e1180a9dffc79a1da7ff0
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
2017-06-18 21:55:25 -07:00
Tirupathi Reddy
d60a836ac0 ARM: dts: msm: Add Maxim regulator node for msm8996
Maxim20010 buck regulator is used to provide the supply for
graphics rail. The programmable output voltage range is from
0.5V to 1.27V in 10mV steps.

CRs-Fixed: 2062515
Change-Id: I50d3fe4c89f412cda2b58b3f1f19086edcf10553
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-06-19 08:52:45 +05:30
Tirupathi Reddy
8312036ea6 defconfig: msm: Enable maxim regulator driver for msm8996-auto
Enable Maxim20010 external buck regulator driver to provide the supply
for graphics rail on msm8996-auto boards.

CRs-Fixed: 2062515
Change-Id: I1e70f16c660de6d3d2a8c138a34157538c19f0f1
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-06-19 08:50:15 +05:30
Linux Build Service Account
bfbbb3e4b2 Merge "fbdev: msm: Reserve mixers with dspp for primary display" 2017-06-18 16:31:15 -07:00
Linux Build Service Account
81f0507367 Merge "ARM: dts: msm: optimize brightness dcs control for msm8998 SKUK HDK panel" 2017-06-18 16:31:14 -07:00
Linux Build Service Account
7fb6b88294 Merge "msm: mdss: Fix number accuracy for backlight to brightness" 2017-06-18 16:31:13 -07:00
Linux Build Service Account
486d85185c Merge "msm: mdss: dp: use fixed NVID for VGA dongles" 2017-06-18 16:31:12 -07:00
Linux Build Service Account
deeef2aac2 Merge "msm: mdss: Add cursor validation for hflip" 2017-06-18 16:31:11 -07:00
Linux Build Service Account
df17a0c312 Merge "fbdev: msm: fix issue preventing cursor_buf address to be stored" 2017-06-18 16:31:10 -07:00
Linux Build Service Account
7b518455cc Merge "fbdev: msm: fix unaligned access problem" 2017-06-18 16:31:09 -07:00
Linux Build Service Account
7527441950 Merge "msm: mdss: validate number of cea blocks before reading from edid_buf" 2017-06-18 16:31:08 -07:00
Linux Build Service Account
cfdc77c29d Merge "msm: mdss: validate the buffer size before allocating memory" 2017-06-18 16:31:08 -07:00
Linux Build Service Account
f8d804ef05 Merge "msm: mdss: validate page id before reading from edid buffer" 2017-06-18 16:31:07 -07:00
Linux Build Service Account
59c83129d1 Merge "msm: mdss: size check before writing to edid buffer" 2017-06-18 16:31:06 -07:00