msm: vdec: Update firmware with input buffer count

If input buffer count is not the same as firmware expects
then firmware should be updated with the new count.

CRs-fixed: 502537
Change-Id: Id952a53ef9e4bccffff5b7f6e67bacebc9183cc3
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
msm: mdss: Support specific enable and disable load for vregs

Changes are to add support for specifying the enable
and disable load for vregs

Change-Id: I0943237370af1cf6757a8b3617d2b192098f6b7d
Signed-off-by: Arpita Banerjee <cabane@codeaurora.org>
base: genlock: Correct the lock file reference count.

genlock_get_fd_handle API creates a new FD and attaches
it to lock file and shares this FD to second process.
Now, two file descriptor are pointing to same file.
If one FD is closed, lock file will be closed. This
changes add a extra reference to lock file as new FD
has been attached. Taking this reference will make sure
that file doesn't get close. This refrence will go when
client will call close on this FD.

Change-Id: I3524bed5ededd89d43ca6d8b85df11c85c03c1e3
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
msm: vidc: write venus firmware version to smem

Write venus firmware version info to smem image
version table.

Change-Id: Ia0e09ad481ecc58d51bc4b7742975f095fa7a808
Signed-off-by: Arun Menon <avmenon@codeaurora.org>
mtd: msm_qpic_nand: change bam pipe lock group

BAM pipe 2 needs to be part of lock group 1 while BAM pipes 0 and 1
are part of lock group 0.

CRs-Fixed: 509945
Change-Id: Iacff3c33129dcc38f65c219ab42e0ac87aa79aac
Signed-off-by: Krishna Konda <kkonda@codeaurora.org>
ARM: dts: msm: Define SOC specific DTSI files for 8974 v2.2

Some hardware components have special configurations for v2.2 hardware.

Change-Id: Ic0dedbad1c9a1c4b053489d9719dadddd149d471
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
msm: idle-v7: Add support to pass tz flag when core is hotplugged

When a core is hotplugged, trustzone migrates secure SPI to
the core that is online. Pass a flag to TZ indicating if it is
hotplugged or not.

Change-Id: I38d5a1987cdde9c6f3a456b7bb7726289ab0ad81
Signed-off-by: Priyanka Mathur <pmathur@codeaurora.org>
Merge "msm: mdss: Support specific enable and disable load for vregs" into msm-3.4
Merge "msm: idle-v7: Add support to pass tz flag when core is hotplugged" into msm-3.4
Merge "msm: vidc: write venus firmware version to smem" into msm-3.4
Merge "mtd: msm_qpic_nand: change bam pipe lock group" into msm-3.4
Merge "msm: vdec: Update firmware with input buffer count" into msm-3.4
Merge "base: genlock: Correct the lock file reference count." into msm-3.4
Merge "ARM: dts: msm: Define SOC specific DTSI files for 8974 v2.2" into msm-3.4
mdss: hdmi: Dynamic Audio re-configuration

This change allows audio driver to change the audio configuration
dynamically without bother HDCP link and video configurations.

Change-Id: I34af3a9070d29a3ea3ebad7196ca24765fcf6152
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
arm/dt: 8610: adjust the Truly WVGA panel parameters on 8x10

Adjust the truly WVGA panel parameters on 8x10 based on
vendor's application note.

Change-Id: Ia0fc56ae577ac7e44c56346e8954f46fd924617e
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
msm: kgsl: use the same logic in adreno_idle and adreno_isidle

These two functions need to agree on the meaning of "idle",
so that calling adreno_isidle() right after an adreno_idle()
will always return true.

Change-Id: I7cddf73773186c3ec8b56c111affacac3b07fcc7
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
msm: kgsl: use kgsl_mmu_device_setstate() whenever the gpu is idle

We really don't want new GPU commands or events to be generated
just to manage the iommu while we are idle.

Change-Id: I2e8740bee8c25c93bddc51a90a3370d151aaf558
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
gpiomux-8974: Add EPM GPIO markers

EPM GPIO markers can be used by clients to set
start/stop events to measure current consumption.

Change-Id: Ie14b8d8292892b8650c96e42a3d6ed30b7055d90
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
msm: kgsl: embed kgsl_context struct in adreno_context struct

Having a separate allocated struct for the device specific context
makes ownership unclear, which could lead to reference counting
problems or invalid pointers. Also, duplicate members were
starting to appear in adreno_context because there wasn't a safe
way to reach the kgsl_context from some parts of the adreno code.
This can now be done via container_of().

This change alters the lifecycle of the context->id, which is
now freed when the context reference count hits zero rather
than in kgsl_context_detach().

It also changes the context creation and destruction sequence.
The device specific code must allocate a structure containing
a struct kgsl_context and passes a pointer it to kgsl_init_context()
before doing any device specific initialization. There is also a
separate drawctxt_detach() callback for doing device specific
cleanup. This is separate from freeing memory, which is done
by the drawctxt_destroy() callback.

Change-Id: I7d238476a3bfec98fd8dbc28971cf3187a81dac2
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>