Commit graph

572962 commits

Author SHA1 Message Date
Harshdeep Dhatt
ce48563d9b msm: kgsl: Add vbif version for A540
A540 has a new vbif version. Add it so that we can
dump vbif registers in snapshot for A540.

CRs-Fixed: 1024192
Change-Id: Id9323fa98951e2755fcc6903f84a450bc7ab6169
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2016-08-03 10:34:04 -06:00
Harshdeep Dhatt
3529d2a995 msm: kgsl: Add A5XX_UCHE_DBG_ECO_CNTL_2 to snapshot
Add the register to be dumped in a5xx snapshot.

CRs-Fixed: 1024179
Change-Id: I316029caa10047828375ae0eab1f1d35d30fccb6
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2016-08-03 10:34:04 -06:00
Hareesh Gundu
9613ec8da8 msm: kgsl: Reduce CP preemption record size
A5xx GPUs currently don't need more than 64KB for
CP preemption record.

CRs-Fixed: 1019529
Change-Id: I3df22b7b282fb8ff3269f01b2b258318fc83cbcb
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
2016-08-03 10:34:04 -06:00
Harshdeep Dhatt
3dd8da5917 msm: kgsl: Add array of page pointers to memdesc
This is done to improve the kgsl vmfault routine. Currently,
it traverses the sglist to find the faulted page, which takes
linear time. By having an array of all the page pointers,
this operation will be completed in constant time.
Also, allocate sgt only for mapping this memory to the GPU.

Since this optimization is not needed for secure/global or
imported memory, we will not keep this array but keep
the sgt instead.

CRs-Fixed: 1006012
Change-Id: I221fce9082da0bdd59842455221b896a33a6ce42
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2016-08-03 10:34:03 -06:00
Deepak Kumar
8e3020fadb msm: kgsl: Don't allocate memory for microcode if it is already allocated
This change adds a check to avoid allocating memory for loading microcode
in case it is already allocated. This avoids memory allocation failure
for microcode during multiple tries by userspace to open the kgsl device
in case of errors.

CRs-Fixed: 1043490
Change-Id: I018ebdb0dab1fc13af8d85a273c1c8b477fa1e26
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2016-08-03 10:34:03 -06:00
George Shen
b35803e790 msm: kgsl: track GPU active time per frequency
Tracks GPU active time per frequency for GPU workload
profiling. The data will be output in
/sys/class/kgsl/kgsl-3d0/gpu_clock_stats
with one u64 value in microseconds per clock level.
For example:
cat  /sys/class/kgsl/kgsl-3d0/gpu_clock_stats
39392 29292 929292 929292 4040404

CRs-Fixed: 1011462
Change-Id: I5f2caa8b38d99ffd23f03c1dfed1efda273fc2fb
Signed-off-by: George Shen <sqiao@codeaurora.org>
2016-08-03 10:34:03 -06:00
Linux Build Service Account
a8ac335601 Merge "defconfig: Enable REMOTEQDSS" 2016-08-02 21:58:57 -07:00
Linux Build Service Account
b1d83ab714 Merge "msm: ipa: update wan rx size buffer" 2016-08-02 21:58:56 -07:00
Linux Build Service Account
25a1714bf1 Merge "Revert "Thermal: handle thermal zone device properly during system sleep"" 2016-08-02 21:58:55 -07:00
Linux Build Service Account
99d58ed366 Merge "irq-chip: gic-v3: remove print message in irq driver" 2016-08-02 21:58:54 -07:00
Linux Build Service Account
e24bca7ad0 Merge "ASoC: wcd9335: Changes to support CPE session using EC PP path" 2016-08-02 21:58:53 -07:00
Linux Build Service Account
8d5e73afc5 Merge "CHROMIUM: android: binder: Fix potential scheduling-while-atomic" 2016-08-02 21:58:52 -07:00
Linux Build Service Account
934a7620a1 Merge "android: binder: Disable preemption while holding the global binder lock." 2016-08-02 21:58:51 -07:00
Linux Build Service Account
f0f2abaefd Merge "soc: qcom: irq_helper: Add irq helper module" 2016-08-02 21:58:50 -07:00
Linux Build Service Account
0892f7eb91 Merge "ARM: dts: msm: vote IPA_cfg on msmcobalt" 2016-08-02 21:58:49 -07:00
Linux Build Service Account
e7c6403ad9 Merge "msm: ipa: Fix the memory leak on exception" 2016-08-02 21:58:48 -07:00
Linux Build Service Account
ade5764cd3 Merge "smb-lib: Add support for thermal daemon throttling fcc" 2016-08-02 21:58:47 -07:00
Sunil Paidimarri
9f8a7d8e9d msm: ipa: update wan rx size buffer
Consider headroom also while calculating wan
pipe rx buffer size.

Change-Id: Ic1edcb3548eae152fc01de88859bcf311f48f847
CRs-Fixed: 1037822
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2016-08-02 17:51:29 -07:00
Ram Chandrasekar
e1bce6cf5e Revert "Thermal: handle thermal zone device properly during system sleep"
This reverts commit <a67208e94d945ad890f8dc4734ec5fdb3219cc03>.

This commit prevented xo shutdown as during suspend exit, WSA sensor for
temperature read triggered a slimbus wakeup. Slimbus suspend mechanism
will expect a qmi message after the system has entered suspend. This
will wake the system from suspend. This happens recursively and
system will never enter suspend.

Revert this commit to avoid this issue, till the slimbus suspend
mechanism is fixed.

Change-Id: I4236f4b6272d0bccaf8a2d6f7d5435caf044bd59
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-08-02 16:43:48 -06:00
Linux Build Service Account
ec9fd7cc51 Merge "mfd: wcd934x: Add page 0x50 registers for wcd934x codec" 2016-08-02 06:42:44 -07:00
Linux Build Service Account
04e7ebf191 Merge "ASoC: msmcobalt: fix proxy channels index value" 2016-08-02 06:42:44 -07:00
Linux Build Service Account
eeea2ec1ce Merge "input: touchpanel: Move Goodix GT915 driver to drivers folder" 2016-08-02 06:42:43 -07:00
Linux Build Service Account
23acf72005 Merge "input: it7258_ts_i2c: replace unused variable in driver" 2016-08-02 06:42:42 -07:00
Linux Build Service Account
0747b59e11 Merge "msm: ipa3: update IPA BCR register values" 2016-08-02 06:42:41 -07:00
Linux Build Service Account
d906969dfe Merge "input: msg21xx_ts: Move the driver to proper path" 2016-08-02 06:42:40 -07:00
Linux Build Service Account
412270ed6e Merge "input: it7258_ts_i2c: add low power mode support in suspend state" 2016-08-02 06:42:36 -07:00
Linux Build Service Account
7341630e35 Merge "input: touchscreen: clean ITE tech driver probe function" 2016-08-02 06:42:36 -07:00
Linux Build Service Account
af0987f562 Merge "Merge remote-tracking branch 'msm-4.4/tmp-2bf7955' into msm-4.4" 2016-08-02 06:42:35 -07:00
Linux Build Service Account
391a76b271 Merge "msm: ipa: add support for configuring polling interval/sleep time" 2016-08-02 06:42:34 -07:00
Shiv Maliyappanahalli
f6613b21f8 ASoC: msmcobalt: fix proxy channels index value
The array index value when setting/getting the channels
of proxy is incorrect as the channel count begins from two.
Fix by setting the correct index offset.

Change-Id: I3ab9858daf6dcdbce762946cbdebeb96eaad764a
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
2016-08-01 22:29:22 -07:00
Linux Build Service Account
9d9cf7636c Merge "clk: msm: clock-gpu-cobalt: Update the GPU PLL FMAXes" 2016-08-01 21:56:51 -07:00
Linux Build Service Account
160e45d7b2 Merge "ASoC: msm: Add dapm ignore suspend for front end dais" 2016-08-01 21:56:48 -07:00
Linux Build Service Account
0e0074f51e Merge "ASoC: wcd9335: Add dapm ignore suspend for backend dais" 2016-08-01 21:56:47 -07:00
Linux Build Service Account
90cc3af5c5 Merge "slim: msm: Handle slimbus HW noise during early boot-up" 2016-08-01 21:56:46 -07:00
Linux Build Service Account
6bdacafee4 Merge "iommu/arm-smmu: Don't group PCI devices" 2016-08-01 21:56:45 -07:00
Linux Build Service Account
aec1c3826b Merge "qcom-charger: qpnp-smb2: disable vbus-error IRQ trigger" 2016-08-01 21:56:45 -07:00
Linux Build Service Account
556668c60b Merge "input: touchscreen: add palm-gesture sleep feature" 2016-08-01 21:56:44 -07:00
Linux Build Service Account
aa738fdd92 Merge "msm: camera: Add support for multiple flash nodes" 2016-08-01 21:56:43 -07:00
Linux Build Service Account
1e86ba99e5 Merge "Revert "misc: uidstat: Adding uid stat driver to collect network statistics."" 2016-08-01 21:56:41 -07:00
Linux Build Service Account
b8977f5091 Merge "xt_qtaguid: Fix panic caused by processing non-full socket." 2016-08-01 21:56:41 -07:00
Linux Build Service Account
b85e6cc250 Merge "xt_qtaguid: Fix panic caused by synack processing" 2016-08-01 21:56:40 -07:00
Linux Build Service Account
598f95ba6a Merge "Revert "net: activity_stats: Add statistics for network transmission activity"" 2016-08-01 21:56:40 -07:00
Linux Build Service Account
3cfc91a2b4 Merge "Revert "coresight-tpdm: fix dsb edge ctrl mask interface"" 2016-08-01 21:56:39 -07:00
Linux Build Service Account
cf554e72cc Merge "ARM: dts: msm: Enable droop and fault detection for pmicobalt flash LED" 2016-08-01 21:56:35 -07:00
Linux Build Service Account
25070b2a8d Merge "leds: qpnp-flash-v2: Add support for led_fault_irq" 2016-08-01 21:56:34 -07:00
Linux Build Service Account
b7fb668a44 Merge "ARM: dts: msm: Add support for new flash mode on msmcobalt" 2016-08-01 21:56:33 -07:00
Linux Build Service Account
a0000b903f Merge "msm: camera: Add support for reading new property tag" 2016-08-01 21:56:32 -07:00
Linux Build Service Account
14051dfb5d Merge "smb-lib: introduce votable to disable charging" 2016-08-01 21:56:32 -07:00
Linux Build Service Account
dd6774e357 Merge "msm: kgsl: Add 5usec delay for idle check on A540" 2016-08-01 21:56:31 -07:00
Bingzhe Cai
633e973e5f input: touchpanel: Move Goodix GT915 driver to drivers folder
Goodix GT915 driver was provided by vendor and cherry-picked into
our project, it need to be placed to right location.

Change-Id: Idf191144354426233eca41727a41e26ddbf92f95
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Pan Fang <fangpan@codeaurora.org>
2016-08-01 21:25:25 -07:00