Commit Graph
332484 Commits
Author SHA1 Message Date
Jeremy Gebben 8555599aeb msm: kgsl: don't store rptr in struct adreno_ringbuffer
Since the rptr is written by the GPU, there's no point
in keeping a copy in the ringbuffer struct where it will
likely be out of date. If you need to look at the ringbuffer,
read it into a local variable with adreno_get_rptr().

Change-Id: Ibf1ba0b9c71a93f65a5c85a58328b2202a27af3f
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2013-06-18 09:58:23 -06:00
Jordan Crouse af8eba9906 msm: kgsl: Make active_cnt an atomic variable
In kgsl_active_cnt_light() the mutex was needed just to check and
increment the active_cnt value.  Move active_cnt to an atomic to
begin the task of freeing ourselves from the grip of the device
mutex if we can avoid it.

Change-Id: Ic0dedbad78e086e3aa3559fab8ecebc43539f769
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2013-06-18 09:58:23 -06:00
Jordan Crouse 7ab6e4dfc4 msm: kgsl: Only turn on the idle timer when active_cnt is 0
Only turn on the idle timer when the GPU expected to be quiet.
If the idle timer is enabled while the GPU is busy, there is
a chance it might unnecessarily fire during heavy GPU activity
such as a compute job.

Additionally, rather than trying to NAP directly from
kgsl_active_count_put(), just trigger the idle check work.

All of this makes the idle check happen more consistently.

Change-Id: Ic0dedbad57846f1e7bf7820ec3152cd20598b448
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2013-06-18 09:58:23 -06:00
Lucille Sylvester 90e47f42d9 msm: kgsl: Reduce unnecessary calls to _wake
If the device is already ACTIVE do not call _wake.

Change-Id: I2ae3956eb1bbc0a8bc0f1c147547aeed601622aa
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
2013-06-18 09:58:22 -06:00
Linux Build Service Account c03d8fea08 Merge "ASoC: msm: qdsp6v2: Update session id size to 32 bit" 2013-06-18 06:02:08 -07:00
Linux Build Service Account 1a4c668b90 Merge "msm: clock-rpm: Correct is_enabled implementation for RPM-SMD clocks" 2013-06-18 06:01:57 -07:00
Linux Build Service Account 90e308acc4 Merge "msm: clock-8610: Correct bimc_clk measurement mux select" 2013-06-18 06:01:47 -07:00
Linux Build Service Account f7706a202b Merge "sched: Make sure to not re-read variables after validation" 2013-06-18 06:01:35 -07:00
Linux Build Service Account 0fd086a744 Merge "ARM: 7643/1: sched: correct update_sched_clock()" 2013-06-18 06:01:32 -07:00
Linux Build Service Account 5e29ca316c Merge "ARM: 7565/1: sched: stop sched_clock() during suspend" 2013-06-18 06:01:29 -07:00
Linux Build Service Account 4229f1a3bb Merge "ARM: 7486/1: sched_clock: update epoch_cyc on resume" 2013-06-18 06:01:26 -07:00
Linux Build Service Account a49a71322a Merge "msm: mdss: Change vsync dispatch mechanism" 2013-06-18 06:01:09 -07:00
Linux Build Service Account 7779727077 Merge "msm: clock-8226: Fix clock test pin configuration" 2013-06-18 06:00:40 -07:00
Linux Build Service Account 7de23f3227 Merge "msm: clock-9625: Introduce qpic rpm clock" 2013-06-18 06:00:24 -07:00
Linux Build Service Account d2e08770a5 Merge "arm/dt: 8610: Increase EBI1 buffer reservation size" 2013-06-18 06:00:01 -07:00
Linux Build Service Account d356fae950 Merge "ARM: dts: msm: Disable bat-if for msm8226 CDP" 2013-06-18 05:59:53 -07:00
Linux Build Service Account 4488e0c7f6 Merge "power: pm8921-bms: Notify userspace after a new FCC is generated" 2013-06-18 03:48:38 -07:00
Linux Build Service Account d2df780b3f Merge "power: pm8921-bms: Fix variable naming" 2013-06-18 03:48:36 -07:00
Linux Build Service Account ffcef3e92a Merge "defconfig: msm8226: Enable early printk support for msm8226" 2013-06-18 03:48:21 -07:00
Linux Build Service Account cfc566b5dd Merge "msm: iomap: Enable debug uart support for MSM8226" 2013-06-18 03:48:18 -07:00
Linux Build Service Account ba97b93bef Merge "power: qpnp-bms: Clear fcc_count if battery removal is detected" 2013-06-18 03:48:05 -07:00
Linux Build Service Account eb46be166a Merge "msm: kgsl: Remove the skip counting code from the trustzone policy" 2013-06-18 03:47:50 -07:00
Linux Build Service Account 1fe3f4e21e Merge "msm: mdss: unsecure buffer if map fails" 2013-06-18 03:47:39 -07:00
Linux Build Service Account ceffc6400d Merge "arm/dt: msm8926: disable battery interface peripheral on CDP" 2013-06-18 03:47:27 -07:00
Linux Build Service Account d3acf4186d Merge "ARM: dts: msm: Modify L3 and S2 regulator voltages to support msm8926" 2013-06-18 03:47:24 -07:00
Linux Build Service Account 82e558849c Merge "cfg80211: Allow TDLS peer AID to be configured for VHT" 2013-06-18 03:47:15 -07:00
Linux Build Service Account e894e99778 Merge "msm: acpuclock-cortex: Select freq plan based on speed bin value" 2013-06-18 03:47:06 -07:00
Linux Build Service Account 5fecebc2da Merge "arm/dt: msm8226: Add optional pvs_efuse information" 2013-06-18 03:47:04 -07:00
Linux Build Service Account a6c71eb5f0 Merge "ARM: dts: msm: Modify L3 and S2 regulator voltages to support msm8226-v2" 2013-06-18 03:47:02 -07:00
Linux Build Service Account 35956fff9b Merge "sensor: Add enable interface for G-sensor driver kxtj9" 2013-06-18 03:46:48 -07:00
Linux Build Service Account a9d8268b62 Merge "sensor: Add device tree parser for G-sensor KXTIK-1004" 2013-06-18 03:46:45 -07:00
Linux Build Service Account 230756c989 Merge "msm: clock-8974: add clock for mcd driver" 2013-06-18 03:46:31 -07:00
Linux Build Service Account 1d746a80e1 Merge "msm: pm-8x60: Use dma_alloc_coherent for the saved region" 2013-06-18 03:46:20 -07:00
Linux Build Service Account 7546073f8f Merge "msm: kgsl: Option to disable GPU fault tolerance" 2013-06-18 03:46:10 -07:00
Linux Build Service Account 14950a856c Merge "PM / devfreq: allow governors to use devfreq_get_freq_level" 2013-06-18 03:45:58 -07:00
Linux Build Service Account 82e22ebf5d Merge "PM / devfreq: improve devfreq->data support" 2013-06-18 03:45:55 -07:00
Subbaraman Narayanamurthy 2f6bd1936b defconfig: msm8226: Enable early printk support for msm8226
Enabling this option to get kernel logs earlier which is useful
to debug early bootup failures.

CRs-Fixed: 501362
Change-Id: I53f01949b3fef07a4d7969c5ccbd3b7271d15037
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2013-06-17 19:01:18 -07:00
Subbaraman Narayanamurthy 23317304d6 msm: iomap: Enable debug uart support for MSM8226
Debug uart support is needed for early printk.

CRs-Fixed: 501362
Change-Id: Icd6291d4f7b64f57694ad17475fb88e84dc69bf8
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2013-06-17 19:00:42 -07:00
Fenglin Wu 0ed3c47a94 ARM: dts: msm: Disable bat-if for msm8226 CDP
CDP platform doesn't need bat-if support.

This addresses frequent CDP wakeup via a bat-if interrupt
when entering into sleep.

Change-Id: I9d8368ff5bba42f2217fe159bc92e0c346206104
Signed-off-by: Wu Fenglin <fenglinw@codeaurora.org>
2013-06-17 17:56:50 -07:00
Anirudh Ghayal 0c435e9624 power: pm8921-bms: Notify userspace after a new FCC is generated
Any modification to the FCC is reported to the userspace
so that it can take the required action.

Change-Id: I0748218540e89278bbc720ec9de6bdb949e5f162
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-06-18 05:46:29 +05:30
Anirudh Ghayal a221d91f8d power: pm8921-bms: Fix variable naming
The max_fcc_learning_cycles variable actually indicates
the minimum number of FCC cycles required to update a new FCC,
name it accordingly.

Change-Id: I510d3a05eed736a9ee560c936faa20ed2d3c5bd1
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-06-18 05:45:00 +05:30
Pradnya Chaphekar 89bf5f3e9d ASoC: msm: qdsp6v2: Update session id size to 32 bit
Voice driver uses 32 bit vsid as session id. Update
session id size to 32 bit.

Change-Id: Ib94e0f145ffcc0acd435b0163b0e98521907087b
Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>
2013-06-17 15:02:30 -07:00
Patrick Daly 66e32aa6d2 msm: acpuclock-cortex: Select freq plan based on speed bin value
Due to process variation, not all hw has the same max speed. Duplicate
each speed_bin twice to allow greater flexibility between process yield
and chip demand. The bin values are chosen so that additional fuses can be
blown once to change between bins without the use of the multipurpose
redundant fuses.

Change-Id: I2e4f8c5c4d29e0461b455a3bd46a884bb43f6c20
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2013-06-17 14:37:36 -07:00
Patrick Daly 10acc8c81b arm/dt: msm8226: Add optional pvs_efuse information
Due to process variation, not all hw may run at the same maximum speed.
Read the max supported speed from efuse.

Change-Id: Ibd83593cc055479c2d5a7e68e64d6d63cdc2cc2b
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>stuff
2013-06-17 14:37:18 -07:00
David Keitel 952b827b4c arm/dt: msm8926: disable battery interface peripheral on CDP
Charging is not supported on the 8926 CDP board. Hence, disable
the battery interface peripheral.

Change-Id: I956f8d6ff1abab1ac0e17946b8a3e8faee0c6da6
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2013-06-17 14:26:23 -07:00
Aparna Das 1c2fa09fd2 arm/dt: 8610: Increase EBI1 buffer reservation size
Currently contiguous memory allocation fails for CoreSight TMC
driver since attempt to allocate memory is more than what is
reserved. Introduce temporary fix by increasing the total
memory reservation request until fix for allocation without
reservation goes in.

Change-Id: I97703a4606181bbab008cca36eb84629513b9074
Signed-off-by: Aparna Das <adas@codeaurora.org>
2013-06-17 14:00:28 -07:00
Linux Build Service Account c77a0418b0 Merge "msm: clock-9625: Do not clear the SLEEP_ENA register" 2013-06-17 12:59:51 -07:00
Linux Build Service Account 58cc6a7f6e Merge "msm: acpuclock-9625: Use 300MHz for cpu power collapse" 2013-06-17 12:59:48 -07:00
Linux Build Service Account 321283126e Merge "ASoC: msm: Add support for flexible period size and count" 2013-06-17 12:59:23 -07:00
Linux Build Service Account dd3032b9d1 Merge "leds: leds-qpnp: Correct VREG_OK value for flash LED" 2013-06-17 12:59:07 -07:00