Commit Graph
53643 Commits
Author SHA1 Message Date
Jorge Solano Altamirano c32a4dcc07 [media] v4l2: Add VP8 QP min and max controls
The QP range is specific to every codec. These controls enable
VP8 drivers to define the supported range.

Change-Id: I7990aea15034776a33ae54699add244d694bf4ca
CRs-Fixed: 578892
Signed-off-by: Jorge Solano Altamirano <jsolano@codeaurora.org>
2013-12-08 22:55:19 -08:00
Linux Build Service Account 0abeecbfff Merge "cpufreq: interactive: Reset floor_validate_time if busy at max for 100ms" 2013-12-07 11:11:14 -08:00
Rohit Gupta a2c5e6ffdd cpufreq: interactive: Reset floor_validate_time if busy at max for 100ms
When the interactive governor selects to run at max frequency it doesn't
re-schedule the timer until it hits an idle. This change checks if the CPU
has been continuously busy for last 100ms on hitting an idle start. If yes,
then floor_validate_time is reset so that the CPU stays at max frequency
for at least another 100 ms before stepping down.
This is an important feature for detecting CPU intensive workloads which
require high frequencies for achieving better performance.

Change-Id: I7d48ffbc3d50a80af9be3bf94667ee3d0120b763
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
2013-12-06 16:38:46 -08:00
Linux Build Service Account 48c6de5632 Merge "usb: msm_otg: Add support for vdd min without phy retention" 2013-12-06 07:01:21 -08:00
Saket Saurabh b06a8c6942 usb: msm_otg: Add support for vdd min without phy retention
As a part of usb disconnect, usb will be put into low power mode
by putting phy into retention, voting for xo shutdown and vdd
minimization, also turning off LDOs. But on 8x10 platform,turning
off regulators is causing leakage current due to hardware limitation.
Hence add support for vdd minimization without putting phy into
retention to prevent power consumption. Also disable id pull up
as recommended by hardware team.

CRs-Fixed: 585073
Change-Id: Ie484f93e561664681501337be407e4f8038ac74a
Signed-off-by: Saket Saurabh <ssaurabh@codeaurora.org>
2013-12-06 11:18:18 +05:30
Linux Build Service Account f79cffe97e Merge "msm: Adding mechanism to Stop CAMIF Immediately" 2013-12-05 18:33:41 -08:00
Linux Build Service Account 50596dbd41 Merge "introduce kref_put_mutex()" 2013-12-05 01:22:56 -08:00
Linux Build Service Account 39c7154c3f Merge "msm: mdss: Add six zone functionality for PP PAv2" 2013-12-04 16:12:06 -08:00
Linux Build Service Account ccd584f840 Merge "msm: mdss: Add changes for PP PA v2 functionality" 2013-12-04 16:12:03 -08:00
Linux Build Service Account ea94dda469 Merge "msm: vidc: Support s3d framepacking payload information" 2013-12-04 05:52:58 -08:00
Linux Build Service Account 075defa915 Merge "cpuidle: make a single register function for all" 2013-12-04 05:52:15 -08:00
Linux Build Service Account f3659b46db Merge "tick: Dynamically set broadcast irq affinity" 2013-12-04 05:52:13 -08:00
Linux Build Service Account 5c38f9b559 Merge "ASoC: Compress: Check and set pcm_new driver op" 2013-12-03 14:11:35 -08:00
Linux Build Service Account bc1b1d5a23 Merge "msm: mdss: MISR based CRC validation" 2013-12-03 14:10:53 -08:00
Linux Build Service Account 414b87900f Merge "sensors: Add the sensor handle and type define" 2013-12-03 14:10:21 -08:00
Linux Build Service Account 82003260a2 Merge "camera_v2: Add IOCTL to set jpeg core clock rate" 2013-12-03 07:08:30 -08:00
Jie Cheng 50b00943d9 sensors: Add the sensor handle and type define
Add the sensor handle and type define for the sensor class device
drivers. The define is used for the sensor class device driver
parameters "handle" and "type". By using the define, people could
easily get the "handle" and "type" name.

Change-Id: I3e985a831d428fe3e921b2aecd8018b92d139302
Signed-off-by: Jie Cheng <rockiec@codeaurora.org>
2013-12-03 16:54:56 +08:00
Subhash Chandra Bose Naripeddy d773de756b ASoC: msm: Add support to enable audio post processing in DSP
Add interface to support configuring equlaizer, bass boost,
virtualizer and reverb effects in DSP for tunnel mode of
playback.

Change-Id: I5ed578df1e1cb860734d2205c0895e82cfbdfbfc
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: Ravi Kumar Alamanda <ralama@codeaurora.org>
2013-12-02 19:47:00 -08:00
Ravi Kumar Alamanda 3f6f0b1333 ASoC: qdsp6: Add support for audio post processing effects
Add interface to support configuring equlaizer, bass boost,
virtualizer and reverb effects in DSP for tunnel mode of
playback.

Change-Id: Ie1512e340315302691327b6379a0935170dc57a7
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: Ravi Kumar Alamanda <ralama@codeaurora.org>
2013-12-02 19:36:42 -08:00
Linux Build Service Account 3ee4486077 Merge "msm: mdss: Enable solid fill on pipe" 2013-12-02 02:44:19 -08:00
Linux Build Service Account a64861eb2e Merge "msm: mdss: Document mdss driver parameters" 2013-12-02 02:44:18 -08:00
Mayank Chopra 0a8c476fb9 msm: mdss: MISR based CRC validation
MISR allows a CRC to be generated from contents of a
particular hw block which can be used for validation.
Enable setup of misr and APIs to obtain CRC from hw blocks.

Change-Id: Ib07e31cba45d242922bd28b6b306220efece7b8d
Acked-by: Sachin Bhayare <sbhayare@qti.qualcomm.com>
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
2013-11-29 16:13:51 +05:30
Maheshwar Ajja 38062d6657 msm: vidc: Support s3d framepacking payload information
This change exposes s3d framepacking payload information
to userspace which client can use for display purpose.

Change-Id: I87daaad41e08ef19be96a86fd21e70a320b8c1e4
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
2013-11-28 10:45:07 -08:00
Kamen Kirov 14df928f3d camera_v2: Add IOCTL to set jpeg core clock rate
Adds a new IOCTL that provides ability to set the JPEG clock rate
dynamically.

Change-Id: Ifd8e4d57f6688e5f09c9ef049bcf928483bf1f79
Signed-off-by: Kamen Kirov <kkirov@codeaurora.org>
2013-11-28 04:37:10 -08:00
Linux Build Service Account 3e8a782604 Merge "thermal: Add Support for enabling and disabling tsens trip" 2013-11-27 04:47:05 -08:00
Abhishek Kondaveeti 74c1b27cd8 msm: Adding mechanism to Stop CAMIF Immediately
Adding mechanism to Stop CAMIF immediately from user space

Change-Id: If015241598ff9134d1ce49def35f6083eff2d9c3
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
2013-11-27 17:06:16 +05:30
Daniel Lezcano 72f256534b cpuidle: make a single register function for all
The usual scheme to initialize a cpuidle driver on a SMP is:

	cpuidle_register_driver(drv);
	for_each_possible_cpu(cpu) {
		device = &per_cpu(cpuidle_dev, cpu);
		cpuidle_register_device(device);
	}

This code is duplicated in each cpuidle driver.

On UP systems, it is done this way:

	cpuidle_register_driver(drv);
	device = &per_cpu(cpuidle_dev, cpu);
	cpuidle_register_device(device);

On UP, the macro 'for_each_cpu' does one iteration:

        for ((cpu) = 0; (cpu) < 1; (cpu)++, (void)mask)

Hence, the initialization loop is the same for UP than SMP.

Beside, we saw different bugs / mis-initialization / return code unchecked in
the different drivers, the code is duplicated including bugs. After fixing all
these ones, it appears the initialization pattern is the same for everyone.

Please note, some drivers are doing dev->state_count = drv->state_count. This is
not necessary because it is done by the cpuidle_enable_device function in the
cpuidle framework. This is true, until you have the same states for all your
devices. Otherwise, the 'low level' API should be used instead with the specific
initialization for the driver.

Let's add a wrapper function doing this initialization with a cpumask parameter
for the coupled idle states and use it for all the drivers.

That will save a lot of LOC, consolidate the code, and the modifications in the
future could be done in a single place. Another benefit is the consolidation of
the cpuidle_device variable which is now in the cpuidle framework and no longer
spread accross the different arch specific drivers.

Change-Id: I8f75188d5770871620f758c2973b74384ac570d5
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Karthik Parsha <kparsha@codeaurora.org>
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2013-11-26 11:26:45 -07:00
Daniel Lezcano 84a71aa31b tick: Dynamically set broadcast irq affinity
When a cpu goes to a deep idle state where its local timer is
shutdown, it notifies the time frame work to use the broadcast timer
instead.  Unfortunately, the broadcast device could wake up any CPU,
including an idle one which is not concerned by the wake up at all. So
in the worst case an idle CPU will wake up to send an IPI to the CPU
whose timer expired.

Provide an opt-in feature CLOCK_EVT_FEAT_DYNIRQ which tells the core
that is should set the interrupt affinity of the broadcast interrupt
to the cpu which has the earliest expiry time. This avoids unnecessary
spurious wakeups and IPIs.

[ tglx: Adopted to cpumask rework, silenced an uninitialized warning,
  massaged changelog ]

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: viresh.kumar@linaro.org
Cc: jacob.jun.pan@linux.intel.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: santosh.shilimkar@ti.com
Cc: linaro-kernel@lists.linaro.org
Cc: patches@linaro.org
Cc: rickard.andersson@stericsson.com
Cc: vincent.guittot@linaro.org
Cc: linus.walleij@stericsson.com
Cc: john.stultz@linaro.org
Link: http://lkml.kernel.org/r/1362219013-18173-3-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Change-Id: I6a880a39dd595526b80a6d72b88be74163513da9
Signed-off-by: Karthik Parsha <kparsha@codeaurora.org>
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2013-11-26 11:26:44 -07:00
Linux Build Service Account 86e78d55d3 Merge "sensors: add the sensors class support" 2013-11-26 00:50:29 -08:00
Ram Chandrasekar b2f1671270 thermal: Add Support for enabling and disabling tsens trip
Add new API to enable or disable the kernel client's trip
threshold request. The enable or disable trip threshold requests
from different kernel clients and userspace client will
activate/deactivate the corresponding clients threshold request.

Modify thermal sys framework to include only the active
thresholds from clients to determine the current trip
thresholds for tsens.

CRs-Fixed: 561775
Change-Id: I5de81b2272de92f19aa79a13d7bdbd58d4012cf3
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2013-11-25 16:39:05 +05:30
Linux Build Service Account 4cf14b38a6 Merge "msm: kgsl: bus modifier computation" 2013-11-24 16:17:12 -08:00
Linux Build Service Account 89905e10b4 Merge "msm: kgsl: convert pwrscale to use bus_mod" 2013-11-23 16:37:52 -08:00
Linux Build Service Account 413427610e Merge "PM / devfreq: Allow the governors to set the target flag" 2013-11-23 16:37:52 -08:00
Linux Build Service Account d4705e549f Merge "msm: kgsl: convert pwrscale framework to use devfreq" 2013-11-23 16:37:50 -08:00
Linux Build Service Account 95d087c820 Merge "tracing/sched: add load balancer tracepoint" 2013-11-23 10:10:21 -08:00
Linux Build Service Account 8d047f0bc5 Merge "cfg80211: export regulatory_hint_user() API" 2013-11-23 10:09:59 -08:00
Linux Build Service Account be60f9b10e Merge "cfg80211: add flags to define country IE processing rules" 2013-11-23 10:09:52 -08:00
Lucille Sylvester b80b6c9daf msm: kgsl: bus modifier computation
Use the vbif performance counter which counts bus busy cycles
to determine the requested bus bandwidth vote at a given
GPU frequency.

Change-Id: I18915ef8a2be75a7ef5795a6030a1f2ddd09a967
CRs-fixed: 551893
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
2013-11-22 22:38:45 -07:00
Lucille Sylvester f036ae17dc msm: kgsl: convert pwrscale to use bus_mod
Use a bus specific speed flag rather than overloading
the least upper bound flag.

Change-Id: I343726e6e0d9885f39c343ed56c1667ab2008aee
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
2013-11-22 22:06:13 -07:00
Lucille Sylvester 3b6ee299e1 PM / devfreq: Allow the governors to set the target flag
The devfreq framework calls a frequency targeting function with
a flag parameter.  Allow the governors to influence that parameter.

Change-Id: I4058bd9dcd027dd246ccdb90d25c68f1dc055901
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
2013-11-22 22:04:17 -07:00
Jeremy Gebben f84c799de3 msm: kgsl: convert pwrscale framework to use devfreq
Convert the clock frequency scaling infrastructure to
be based on devfreq.

Change-Id: I1a60ba339db5715a8836b835bd1b29b46e151af6
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
Signed-off-by: Vladimir Razgulin <vrazguli@codeaurora.org>
2013-11-22 22:00:32 -07:00
Mihir Shete ebf67ef8dd cfg80211: export regulatory_hint_user() API
This is to help the hardware configured in world
roaming mode to save power when not connected to
any AP.

CRs-Fixed: 542802
Change-Id: Ia643d0e9848dcd486832973bd6dd186edd7bd4ea
Signed-off-by: Mihir Shete <smihir@codeaurora.org>
2013-11-22 14:32:34 -08:00
Carl Vanderlip 4ac3a13c5f msm: mdss: Add six zone functionality for PP PAv2
Added six zone memory color adjustment for picture adjustment block
in post-processing. This includes the necessary structures, flags,
and register reads and writes in order to program the six zone LUT hardware
block in PA

Change-Id: Idb381077497e2b63399ebeb7051027a46b5dd6e1
Signed-off-by: Benet Clark <benetc@codeaurora.org>
Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
2013-11-22 11:42:02 -08:00
Benet Clark 477baa09b9 msm: mdss: Add changes for PP PA v2 functionality
The new version of PA in postproc has added functionality in DSPP and VIG.
This change adds functions for handling the reading and writing of these
new registers, as well as PA v2 setup in DSPP and VIG setups. This change
only adds functionality for global adjustment and memory color adjustment.

Change-Id: Iab1644714928055f15cf496185509b1712d0ceae
Signed-off-by: Benet Clark <benetc@codeaurora.org>
Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
2013-11-22 11:42:01 -08:00
Adrian Salido-Moreno e21074d9df msm: mdss: Enable solid fill on pipe
Add support to enable solid fill on pipe with an option to
configure fill-color by userspace. This support does not confine
to background pipe and can be used to enable solid fill on any source
surface processing pipes irrespective of the z-order.
This support can be used in requirements involving constant
color layers.

Change-Id: Iae3c2968ca2f2f1be161e9c2f857641ffbb859e5
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
2013-11-22 15:51:10 +05:30
Adrian Salido-Moreno f8da392b17 msm: mdss: Document mdss driver parameters
mdss driver parameters, visible to userland, are documented,
giving out short descriptions of their role.

Change-Id: I34bfe0152c7f7629c18a968a474ab0a3369560fa
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
2013-11-22 15:41:00 +05:30
Linux Build Service Account c8d1d3c3c3 Merge "gpu: ion: remove IOMMU Heap" 2013-11-21 23:17:26 -08:00
Linux Build Service Account e2e637a247 Merge "gpu: ion: Add support for specifying heap type in the device tree" 2013-11-21 23:17:24 -08:00
Linux Build Service Account ae735c6c15 Merge "gpu: ion: don't use "vmalloc" for system heap readable name" 2013-11-21 23:17:21 -08:00
Linux Build Service Account 53701b0302 Merge "gpu: ion: Add buffer flag to skip page pooling on free" 2013-11-21 23:17:19 -08:00