msm: camera: exit camera incase axi gets timeout

AXI hits timeout while stopping due to sensor not streaming.
Simply returning error from here puts AXI and camif in still
running state whereas userspace proceeds with releasing the
buffers. This fix ensures we halt AXi and stop camif in sensor
not streaming case. Thus avoid page faults and a delay in
stopping camera.

Change-Id: I4159ac7b21d2a22a5684d7b4a614b0dfd8f06e46
Signed-off-by: Mohit Setia <msetia@codeaurora.org>
msm: kgsl: get pm-qos-latency from device tree

pm-qos-latency parameter can be configured from
device tree as well. Will set to default value if
entry not found in target device tree.

Change-Id: I76271f4fdc26e191431e5dfe2a6de9e2b3ab426f
Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
ARM: dts: msm: Add pm-qos-latency to GPU dtsi

Currently the code has a fixed CPU latency vote from
the GPU driver. Some targets have different latency
requirements to allow various low latency PC modes.
Allow the CPU latency vote to be programmable based
on target. 701us PM QOS allows the A7 targets select
Low Power Mode which is better in terms of power.
This will help save static leakage of A7 during
graphics use cases.

Change-Id: I38a7ae76a4ebe0c4c98e6bc6d58353989e94c611
Signed-off-by: Prakash Kamliya <pkamliya@codeaurora.org>
Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
msm: lpm_levels: remove rpm handshake in l2_gdhs mode

Remove rpm handshake in l2_gdhs mode and adjust the
latency, time overhead and energy overhead values for
l2_gdhs mode.

CRs-fixed: 604873
Change-Id: I9eeae5fada4f84ee2ca2eb9d67707dee1adf56ac
Signed-off-by: Anil kumar mamidala <amami@codeaurora.org>
mdss: Move te parameters to dtsi file for 8x10

There may be need to fine-tune the te parameters depending on
panel. Move te parameters to panel dtsi file so that this can
be configured from panel dtsi file.

CRs-Fixed: 616178
Change-Id: I465b96f1631a96cddfa15c9c3004e3dbdcea5982
Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
arm: boot: dts: Add TE paramters to truly wvga command mode panel

Add TE parametrs to truly wvga panel. These parametrs are used for
configuring the TE for this panel.

CRs-Fixed: 616178
Change-Id: I660decda5360a41161939cb0d7b35db8ccb0768a
Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
Merge "Merge "soc: qcom: smd: Validate read and write addresses""
Merge "Merge "Merge "soc: qcom: smd: Validate read and write addresses"""
Merge "Merge "soc: qcom: smd: Validate read and write addresses""
Merge "Merge "Merge "soc: qcom: smd: Validate read and write addresses"""
msm: vidc: rewrite v4l2 cluster construction

V4L2 framework has limitation of not supporting
same control in multiple clusters. Overcome this
limitation by grouping all controls into one
super cluster.

Change-Id: I974199e1388a1b33ae5e56edd4b0af712eb9babf
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
msm: vidc: fix a race condition in cluster construction

At start of video session, when the super cluster is
constructed, it refers to a global static variable.
If we have multiple instances running simultaneously,
there exists a race condition, causing the instance
to register wrong cluster. Later on when a control
gets set in encoder, if the control is not found in
the cluster, we hit a BUG_ON, crashing the device.

Change-Id: Ib4ee64d684d903bb4f22310a1b34619728405649
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
Merge "mdss: Move te parameters to dtsi file for 8x10"
Merge "arm: boot: dts: Add TE paramters to truly wvga command mode panel"
Merge "Merge "soc: qcom: smd: Validate read and write addresses""
Merge "Merge "Merge "soc: qcom: smd: Validate read and write addresses"""
Merge "Merge "arm: boot: dts: Add TE paramters to truly wvga command mode panel""
Merge "Merge "Merge "arm: boot: dts: Add TE paramters to truly wvga command mode panel"""
Merge "Merge "arm: boot: dts: Add TE paramters to truly wvga command mode panel""
Merge "Merge "Merge "arm: boot: dts: Add TE paramters to truly wvga command mode panel"""