Commit graph

598044 commits

Author SHA1 Message Date
Lakshmi Narayana Kalavala
1f9861ad38 drm/msm: limit sde_dbg_dump output to current entries
Update the sde_dbg_dump function to only dump event log
entries up to the time the dump is initiated, and increase
the number of recorded event log entries.

This places a limit on the total number of entries that are
output to the dmesg log even if more entries would have been
added while the dump is executing (e.g., interrupt events),
while still allowing the extra events to be recorded properly.

Change-Id: I66f850d21a2d0217f9049facffce074831b7e17d
Signed-off-by: Clarence Ip <cip@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2018-03-16 17:25:34 -07:00
Lakshmi Narayana Kalavala
89ddcc12a1 drm/msm: add input sanitization on debug dump debugfs
Add checks to debugfs input parameters in sde debug dump debugfs
entries.

Change-Id: Iea170b75c1eb9aa46366662d36e677cb3251830b
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2018-03-16 17:24:54 -07:00
Lakshmi Narayana Kalavala
ac94b019c3 drm/msm/sde: add debugfs nodes for underruns debug
This change adds debugfs nodes for debugging underruns,
after this change following commands are supported:
1. To enable the underrun ftrace:
	echo 1 > /d/tracing/events/sde/sde_encoder_underrun/enable
2. To enable feature that disables the ftraces once the
	underrun happens:
	echo 1 > /d/dri/0/debug/dbg_ctrl
3. To enable the panic in the device when underrun happens:
	echo 2 > /d/dri/0/debug/dbg_ctrl
4. To enable both of the above options:
	echo 3 > /d/dri/0/debug/dbg_ctrl

Change-Id: Id9f407edb0908a5f8454f08d63c356dc8f04d353
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2018-03-16 17:23:52 -07:00
Linux Build Service Account
7b28bab476 Merge "ais: sync clk status and tasklet" 2018-03-16 15:34:20 -07:00
Balachandra C S
f7eceb3ec0 defconfig: msm-auto: Add qti can driver support
Enable qti can driver support in msm-auto_defconfg and
msm-auto-perf_defconfig.

Change-Id: I9a88bb345c9ebf3dac49cfef9e46ff7f736d979c
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
2018-03-16 19:05:58 +05:30
Balachandra C S
01965dc24a Modify k61 driver to remove support for mpc5746c CAN card
mpc5746c CAN driver will be supported by the unified driver qti-can
also remove rh850 support from qti-can driver.

Change-Id: I6743604c1298b9705ac3550b96c9dae04d5137bd
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
2018-03-16 18:49:58 +05:30
Soumya Managoli
44454d128a ASoC: sdm660: fix clock refcount for MI2S shutdown
For MI2S shutdown, if clock disable fails,
do not increment clock reference. Otherwise,
next time when startup is called, clock enable will not
be called again, so use case will not work.

CRs-Fixed: 2200021
Change-Id: Ic1b6f238e55a58ca1993049468cf13f13d80b9f4
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2018-03-16 04:58:47 -07:00
Balachandra C S
f90ae17813 ARM: dts: msm: Add DT changes for QTI CAN driver for MSM8996
Add CAN device for MSM8996 auto variant using QTI CAN driver.

Change-Id: I76db18009bec22e2fa2216511b42dee99d1173ee
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
2018-03-16 03:59:31 -07:00
Balachandra C S
512d289798 drivers: net: can: Unified driver for CAN controller
Create a single CAN driver for all the supported CAN
controllers.

Change-Id: I3770aae1adf4ccafd5132f6b57ddc050a93c7c0f
Signed-off-by: Balachandra C S <balacs@codeaurora.org>
2018-03-16 16:21:50 +05:30
Linux Build Service Account
9825a105f3 Merge "diag: Proper update of logging mode" 2018-03-16 01:56:04 -07:00
Linux Build Service Account
a3343e7061 Merge "msm: mdss: Signal outstanding fences when panel is dead" 2018-03-16 01:56:01 -07:00
Linux Build Service Account
31aa446b1f Merge "msm: mdss: release retire fence during commit failure" 2018-03-16 01:56:00 -07:00
Linux Build Service Account
f5371bbcaa Merge "scsi: ufs: Avoid uninitialized use of offset" 2018-03-16 01:55:58 -07:00
Linux Build Service Account
a0a386a360 Merge "ath10k: append the wmi_op_version to testmode get_version cmd" 2018-03-16 01:55:56 -07:00
Linux Build Service Account
f6d12408a2 Merge "Revert "defconfig: msm: Modify tv tuner config in MSM8996"" 2018-03-16 01:55:54 -07:00
Linux Build Service Account
a915fa29fa Merge "drm/msm/sde: add validation checks for source split" 2018-03-16 01:55:52 -07:00
Linux Build Service Account
8353ae1eaf Merge "drm/msm: move display and event threads to realtime priority" 2018-03-16 01:55:49 -07:00
Linux Build Service Account
07d35574bd Merge "regulator: kryo: fix return value for regulator_disable" 2018-03-16 01:55:36 -07:00
Linux Build Service Account
2a7776a7f1 Merge "clk: qcom: osm: Update maximum number of bytes to read from buffer" 2018-03-16 01:55:35 -07:00
Mahesh Sivasubramanian
9ca78f3033 drivers: qcom: lpm-stats: Fix undefined access error
In cleanup_stats(), a freed memory pointer pos might be accessed for
list traversal. Switch to using _safe() variant of the list API to
prevent undefined accesses.

Change-Id: I7d068cb7813ccb9bfdbcab4646b4ec890145828a
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2018-03-16 11:00:00 +05:30
Suprith Malligere Shankaregowda
88628a32e1 adv7481: Fix CVBS input resolution.
Modify CVBS resolution to 720x507 so that
cvbs frames displayed correctly.

Change-Id: I036aaa4606ff00aab107834fc3e39a5a096c3d87
Signed-off-by: Suprith Malligere Shankaregowda <supgow@codeaurora.org>
2018-03-15 21:07:29 -07:00
Yong Ding
6e8ff43c0d soc: qcom: hab: add some pchans for BufferQ and FDE
This is adding pchans based on the legacy header files.

Change-Id: I0abf6b7617f4e1e057891c1312a20538bc65d2ea
Signed-off-by: Yong Ding <yongding@codeaurora.org>
2018-03-15 20:40:24 -07:00
Linux Build Service Account
56fe93b3ca Merge "drm/msm: init enum properties to default value" 2018-03-15 05:43:39 -07:00
Linux Build Service Account
0ae3ca513a Merge "drm/msm/sde: propagate the cdm block length from the catalog" 2018-03-15 05:43:37 -07:00
Linux Build Service Account
91892844ac Merge "drm/msm/sde: add ubwc equivalent tile formats" 2018-03-15 05:43:25 -07:00
Linux Build Service Account
ab30123fe2 Merge "drm: msm: dsi: fix potential NULL pointer dereference" 2018-03-15 05:43:23 -07:00
Linux Build Service Account
0fcfb086fe Merge "Merge android-4.4.120 (d63fdf6) into msm-4.4" 2018-03-15 05:43:21 -07:00
Linux Build Service Account
65b05aeab8 Merge "drm/msm : add null check on framebuffer in cleanup" 2018-03-15 05:43:20 -07:00
Linux Build Service Account
2b52426fbf Merge "msm: kgsl: Fix XO shutdown issue" 2018-03-15 05:43:18 -07:00
Linux Build Service Account
14d4683ff0 Merge "msm: isp: Clear irq status if irq is set again with same value" 2018-03-15 05:43:16 -07:00
Linux Build Service Account
135beca745 Merge "msm: isp: Add pingpong status to tasklet command" 2018-03-15 05:43:15 -07:00
Linux Build Service Account
b615bd970f Merge "ARM: dts: msm: Configure I2C instances for bus recovery" 2018-03-15 05:43:13 -07:00
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