Commit Graph

1006 Commits

Author SHA1 Message Date
Lakshmi Narayana Kalavala
888afe822b msm: camera: Add support for Bayer stats
Add support for Bayer stats

Change-Id: I69b408af91565581c925540bccb04708278bda05
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2013-02-27 18:17:36 -08:00
Terence Hampson
8fc47f5dd1 msm: mpq8064: Enable separate ioctl call for noise reduction (nr)
NR for VCAP is capable of receiving manual tuning parameters. In
order for the client to pass in these parameters a separate ioctl
was developed.

Change-Id: Ia8d7e8de80ee4fd7ccd2019d30b4457f1000e106
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
2013-02-27 18:17:33 -08:00
Lakshmi Narayana Kalavala
9a5340b4d2 msm: camera: Fix memory leak with stats buffers
Buffer unprepare is not done while releasing stats buffers,
hence add support for buf unprepare ioctl

Change-Id: If4fa95c270363d1948b5924c2365785d1427e2f4
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2013-02-27 18:17:32 -08:00
Terence Hampson
071ac3d4dd msm: mpq8064: Dummy read to prevent false interrupt from triggering
The VBIF is capable of triggering a false bus error the first time
it performs a read. This fix creates a dummy read event that
happens every time that the VCAP is powered on that will ignore
the false positive VBIF interrupt error, so that during normal
operation the error can be properly identified.

Change-Id: Ie56e60faf2067fab7a05a0f16c2d840408c35035
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
2013-02-27 18:17:09 -08:00
Kiran Kumar H N
d2e5aa23fd msm: camera: Add support for instance handle based buffer lookup.
Currently when VFE requests for a free buffer, we search based
on the image mode sent from VFE. In some cases, there can be
multiple instances with the same image mode. This means the
buffer lookup logic has to take into consideration other
parameters like current usecase, vfe operation mode etc.
To ease this, add support for buffer lookup based on
the instance handle. The instance handle contains information
about where to get the buffer from. So the buffer lookup
logic does not have to know about other details. The instance
handle is decided when the user sets the format for a particular
instance. It is passed on to the VFE during AXI configuration.
VFE stores this and sends it whenever it requests for a free
buffer for a particular output.
Keep the current image_mode based buffer lookup logic for
legacy targets.

Change-Id: I78c3db77ac4014365c9866ff780ec71ac4c7ff87
Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
2013-02-27 18:16:52 -08:00
Ankit Premrajka
db99ddb60f msm: camera: resource manager related changes.
Make changes to support dynamic selection
of subdevs through the resource manager. Instead of
choosing the subdevs to be used by the current mctl
session statically during open, the VFE, AXI and VPE
subdevs are now selected and initialized later as per
session requirements.

Change-Id: I8df951b81f0ccc77e5b4f64bf5cf620822cf0175
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
2013-02-27 18:16:50 -08:00
Ayaz Ahmad
d14c60e64d radio: iris: Validate whether the current station is good or bad
Provide mechanism to decide whether the currently tuned station
is valid or not

CRs-Fixed: 371689
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
Change-Id: I1f058bdeec8ecebe85b950631118c1ac9604760f
2013-02-27 18:16:48 -08:00
Terence Hampson
212ebe6539 msm: mpq8064: VCAP corner case bug fixes
Closing VCAP devices could be called without calling stream off:
This problem would make VCAP resources taken by devices no longer
running.

Using unsigned variable to store signed result: This problem would
allow stream on to continue even when function returned error.

Fix problem of reading VP irq status register too early: It was
possible for cadence detection bit to be propgated faster by only
a few clock cycles then the picture done bit. When the irq status
read was performed and by the time a write to the clear register
was performed the picture done bit would propgate. Since the irq
is rising edge triggered this would cause a problem and the irq
would not be triggered until VP was reset.

Remove unused code

Change-Id: Iba72354c06287efb27178edf64d8d3f459dbf954
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
2013-02-27 18:16:23 -08:00
Terence Hampson
3e11253611 msm: mpq8064: Separate q/dq buffer for VCAP de-interlacing mode
This change fixes a crash when running VCAP in de-interlace mode.
The problem was noticed in the introduction of kernel 3.4. VCAP
was improperly using the videobuf2 framework APIs. Since VCAP is
already reliant on queue structure provided by videobuf2 framework,
we created our own basic version of the qbuf and dqbuf calls that
have some similarities to the videobuf2 framework. This addition
was necessary since we are calling qbuf from a kernel work thread.
Since moving to kernel 3.4 there has been a change in videobuf2
qbuf that dereferences the current process.s mm_struct, from a
kernel work thread this struct is NULL, which was causing a crash.
When we are de-interlacing a captured video we are cycling the
buffers internally in the driver, which is why we needed to create
our own q/dq buffer functionality.

Change-Id: Id51b775ae7f0a58bbac8a581e07fa02417802a30
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
2013-02-27 18:16:03 -08:00
Lakshmi Narayana Kalavala
66917c1a56 msm: camera: Add free status buffer queue
Add support for free buffer queues for vfe
statistics

Change-Id: I9a791d5869aa090f661904b41b210cea51f67aa4
Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2013-02-27 18:15:09 -08:00
Nishant Pandit
1e11a8dc54 msm: camera: Add support for concurrent Ispif interface streaming
Add support for multiple ispif interfaces streaming concurrently.
PIX abd RDI interface can stream at same time or two RDI interfaces
may stream at one time depending on usecase

Change-Id: Ib3cef418cd2816bc19891c1855e1dcae5a2a55a1
Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
2013-02-27 18:14:02 -08:00
Kiran Kumar H N
6a3fdea4e4 msm: camera: Allow user to abort live snapshot.
Due to some reason, user can decide to abort a live
snapshot while it is in progress. Add support to stop
the VFE write masters right away so that the VFE
stops writing on the buffers allocated by the user.
Also send an ACK message to userspace once we get
confirmation from VFE that it has stopped using
the buffers.

CRs-Fixed: 373080
Change-Id: Ia4d9134298dd3a1a51f5829f9bcc2b80d6f21d0f
Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
2013-02-27 18:13:56 -08:00
Kevin Chan
c244bd209f msm: camera: CPP driver Framework
Initial commit for Camera Post Processor Driver.
The driver contains frame queuing and process logic
using v4l2 framework.

Change-Id: I283c11c3de3bd121b9c3ea5af1446c13e188d329
Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
2013-02-27 18:13:29 -08:00
Anantha Krishnan
3e3687e226 radio-iris: Add ioctl commands to configure spur table
Provide interfaces to allow host to update the spur table
with spur frequencies specific to platforms.

CRs-Fixed: 352591
Change-Id: I139ac84a4a45578ebab63c26d7176666d47d3e2a
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
2013-02-27 18:13:07 -08:00
Ayaz Ahmad
d0727821ee radio: tavarua: Add IOCTL to enable the FM TX Tone generator
Implement IOCTL to set the Internal FM TX Tone
generator values

Change-Id: I2a94d5559a90362b9439ea510e98489102ed0c04
CRs-Fixed: 356789
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
2013-02-27 18:13:05 -08:00
Nishant Pandit
79eaa29d8a msm: camera: Add support for RDI in VFE
Enable RDI registers and irq handler in VFE. RDI may
be used to dump sensor data directly to memory
without passing through VFE.

Change-Id: I1ca131c31913f62228364440bbe2cd98a6079003
Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
2013-02-27 18:12:45 -08:00
Kiran Kumar H N
2577a712ce msm: camera: Add IRQ Router subdev implementation.
Add initial driver code for IRQ Router hardware.
It shall be implemented as a v4l2 subdevice of the
msm cam server node.
Add logic in msm cam server to request for irqs configured
to the IRQ Router, which can be individual or composite.
When the individual camera hardware cores interrupt,
the cam server receives them through the common interrupt
handler and dispatches them to to the respective hardware
core's v4l2 subdevice.
If the usecase demands that the interrupts from two
different hw cores be composited into a single interrupt,
(for eg: VFE and ISPIF), then the cam server stores this
configuration in its interrupt lookup table. When the
interrupt is triggered on the composited interrupt,
it is dispatched to the individual hardware cores
which have been composited into that interrupt.

Change-Id: Iaadd60cc24de9b5ba8d09a151474658902244d7b
Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
2013-02-27 18:12:20 -08:00
Kevin Chan
484598c16e msm: camera: Use image mode to get buffer
Use image mode instead of vfe operation mode to
get and free buffer

Change-Id: I33e912b0fa4e16d3a89161f98ab9a659b9c197f6
Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
2013-02-27 18:12:14 -08:00
Arun Menon
3658e5175d msm:vidc: provide support to raise afab and ebi1 clks to turbo mode.
This change provides support to raise the clks to turbo mode for mpeg4
clips with high number of slices. The firmware performance degrades if
the number of slices is more than 10. Without this fix, we see lot of
frame drops happening, causing a freeze effect.

Change-Id: Ia897854ef6d30bb97cd37810b22eb1ab5ad818fb
CRs-Fixed: 358615
Signed-off-by: Arun Menon <menon@codeaurora.org>
2013-02-27 18:11:59 -08:00
Anantha Krishnan
a5c636459d radio-tavarua: Add IOCTL commands to configure the SPUR Table
Provide interfaces to allow host to update the SPUR Table
with newly found spur frequencies and their RMSSI values.

CRs-Fixed: 352591
Change-Id: I84f296ea313971cc1995c644d604f96581be5f7f
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
2013-02-27 18:11:54 -08:00
Nishant Pandit
1741a46960 msm: camera: Decouple the ISPIF component from sensor
Ispif is a separate hardware block. Decouple
it from sensors so that it can be controlled for various
camera usecases.

Change-Id: I539fcb4166edc7a14d15a94c2f7f56b2f196a971
Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
2013-02-27 18:11:34 -08:00
Ankit Premrajka
11ff341a25 msm: camera: add ion dev fd field to frame structure.
The ion dev fd field is required to represent the client
that allocated the buffer represented by the frame.

Change-Id: I8de791158251069275becc9f6413382fc6738492
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
2013-02-27 18:11:17 -08:00
Terence Hampson
2ea0cba354 msm: mpq8064: Allow power up and down to be more dynamic
To save power regulators are only powered on when needed. Also in
this change is that clock rate is not longer set to max rate.
Clock speed set to lowest rate and still remain properly functional

Change-Id: I7141c8d630e4dbf5c2593e0aea9a18dc3866a1fd
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
2013-02-27 18:11:09 -08:00
Terence Hampson
0ce79bfa94 msm: mpq8064: Enable v4l2 event handle in VCAP
This will allow client to subscribe and receive events regarding
VCAP device

Change-Id: If8b6723feaa29dcf4e6a3bb9275ccc776081c830
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
2013-02-27 18:11:07 -08:00
Kevin Chan
87d4c4d1c2 msm: camera: Add v4l2 private ioctls
Add private ioctls s_ctrl, query_ctrl where
we need to get ctrl data from userspace.

Change-Id: I404236d072bafb3ef6ef3c0723a707f5805fe92b
Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
2013-02-27 18:10:57 -08:00
Kiran Kumar H N
bd50cd17b0 msm: Allow VPE driver to be configured directly.
Currently VPE hardware is being controlled through
the config node. Since it is converted into a V4L2
subdevice, we could control it directly from
userspace by issuing open, close and ioctl system
calls.
The ACK from VPE hardware shall be routed directly
to userspace by putting the ACK event on the v4l2
event queue.

Change-Id: I7f82a750a28732382627349da362dbee8e27b149
Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
2013-02-27 18:10:47 -08:00
Trilok Soni
b1ea821890 media: rc: Add wakeup functionality from GPIO IR event
Add can_wakeup functionality flag so that host can wakeup from
IR event.

Change-Id: I5cfa95fc17f390271d315a38d14dcbccd49dda78
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
2013-02-25 11:31:01 -08:00
Ravi Kumar V
3d1236b0c8 media: rc: Add remote control event report from user space input
Some of user space applications need to send the remote key events
to kernel input subsystem, so for these type of applications this driver
enables them to send key events to kernel.
User has to send the key event type (pressed,repeated,released) and scan
code value.

Change-Id: I31a03044702020bd7bfd6cfdc310e65f85d282ef
Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org>
2013-02-25 11:31:00 -08:00
Ankush Khandelwal
26ed156b3e msm: rc: Add support for MSM GPIO TSOP IR Reciever driver.
Add GPIO based TSOP IR Reciever driver. It decodes signals based on
NEC protocol.

Change-Id: Ic19fab61152a99828806cf451ae797797602ec70
Signed-off-by: Ankush Khandelwal <akhand@codeaurora.org>
2013-02-25 11:30:59 -08:00
Ravi Kumar V
05d7cab4d7 media: rc: Add support for Universal Electronics(UE) remote control keymap
UE remote control uses RF4CE protocol to send the user
control data through RF interface.

Change-Id: Id99ad2ceaf8e8e28b71e827bd950a6e9b7f5fe76
Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
2013-02-25 11:30:58 -08:00
Ravi Kumar V
552d9888f7 media: rc: Add support for RC6 philips IR remote control keymap
RC6 philips remote control uses RC6 protocol to send the user
control data through IR.

Change-Id: I53f93c679c08a2b2aca154a761f84dae2f1c52e9
Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
2013-02-25 11:30:57 -08:00
David Brown
6fb73feae7 radio: iris: Qualcomm FM radio driver
Including:
commit 7ba5c1ccceac56a2c4de59d379af68289f5726d4
Author: Ayaz Ahmad <aahmad@codeaurora.org>
Date:   Tue Nov 20 14:55:15 2012 +0530

    radio: iris: Allow user to set number of stations

    Maximum number of stations to be searched passed from application
    is not passed to FM Soc

    Set max number of stations to be searched passed from framework
    instead of always setting number of stations to zero

    Change-Id: I7196d16bfdb86ea6fb1c6ec3d9ef7b7538001bec
    CRs-Fixed: 421945
    Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>

commit 89265111440674132f59c3aa2938a0aefbfc84fb
Author: Ayaz Ahmad <aahmad@codeaurora.org>
Date:   Fri Oct 5 19:39:11 2012 +0530

    radio: iris: Add support for RT Plus, eRT feature

     - Allow Soc to interrupt host for RT Plus, eRT data
     - Parse the RDS group for RT Plus, eRT
     - Queue the parsed data and event for RT Plus, eRT
       to upper layer

    Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
    Change-Id: Id351b0c466855e9b0d20bf38a601aa63dd1be2b1

commit 7f095c44d4f63b168820aeba9d72b2504a879ab9
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Wed May 30 15:31:38 2012 +0530

    radio-iris: Fix corner cases in dqbuf

    - Sometimes user data getting corrupted and it is not available
    at the kernel level
    - Use the kernel buffer instead of user space buffer to copy
    the data from fifo.
    - Increase the STD_BUF_SIZE buffer size from 64 to 128 bytes to compatible
    with Frameworks buffer size

    Change-Id: I1e0fd8e59b218e7bec7820b0c27e2405d472cd56
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit 1c0db5273216ea80f3762dc5675daebac16e1e0b
Author: Ayaz Ahmad <aahmad@codeaurora.org>
Date:   Mon Aug 27 17:52:51 2012 +0530

    radio: iris: Pass proper parameters to SOC for RDS transmission

     - Pass number of ps string instead of ps length
     - Use proper name for radio text length

    Change-Id: I3dc87673e15eea4a230093ccb3d0a11af28910cf
    CRs-Fixed: 388115
    Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>

commit d588e7c5529d481a17dc2f5609f461ab6a98e7c8
Author: Ayaz Ahmad <aahmad@codeaurora.org>
Date:   Fri Aug 3 20:40:33 2012 +0530

    radio: iris: Set band limits as passed from upper layer

    Seek up/down in some band is tuning to a station
    which is out of band becuase band limits passed from upper
    layer are not used

    Change-Id: Ic7d11cb33e7964d385be04b0d2e007889ccc1429
    CRs-Fixed: 384287
    Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>

commit 37294ba321af3b2722540e97ba19ec50b3748d8e
Author: Ayaz Ahmad <aahmad@codeaurora.org>
Date:   Tue Jul 10 16:38:11 2012 +0530

    radio: iris: Validate whether the current station is good or bad

    Provide mechanism to decide whether the currently tuned station
    is valid or not

    CRs-Fixed: 371689
    Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
    Change-Id: I1f058bdeec8ecebe85b950631118c1ac9604760f

commit f950e320ee1e717b33c6ca7fbed7efe34beb07cf
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Wed Jun 6 14:25:49 2012 +0530

    radio-iris: Add ioctl commands to configure spur table

    Provide interfaces to allow host to update the spur table
    with spur frequencies specific to platforms.

    CRs-Fixed: 352591
    Change-Id: I139ac84a4a45578ebab63c26d7176666d47d3e2a
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit c1e6a95c31cc474f809bb7ab3c036e8890be7709
Author: Ayaz Ahmad <aahmad@codeaurora.org>
Date:   Tue May 15 19:29:54 2012 +0530

    radio: iris: Add calibration mode

    Do not queue the FM enabled/disabled events
    while calibration is in progress

    CRs-Fixed: 358229
    Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
    Change-Id: I02ee9c095d9d242de0610b210ae4e5d328e0afa8

commit d7b5a77f8183754fb9391f47739d8a529dca4cd3
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Mon Apr 30 04:21:03 2012 -0700

    Revert "radio-iris: Configure search direction as passed by FM APP"

    As per V4L2 framework APP should pass the parameter as '1' to
    search in forward direction and '0' to search in downward
    direction. Reverting the change that was uploaded as it configured
    the search direction directly that it received it from the APP.
    APP should pass '1' for SEEK UP and '0' for SEEK DOWN . The driver
    should check for the direction before configuring. To the FM SOC,
    '0' means SEEK-UP and '1' means SEEK-DOWN. If APP passes '1' driver
    understands that user is requesting SEEK-UP operation and will
    configure the direction as '0'.

    This reverts commit 4667d9d437c2fe5501db1fd741b4643452eda61b

    Change-Id: I64a4c2674281c0d405ff03f8cbff9956a27f6e40
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 152fe5bbe0ddb8407030c31bde743006a66509b5
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Feb 28 18:07:20 2012 +0530

    radio-iris: Add buffer overflow checks to Default Data Write ioctl

    Copy only the requested amount of data specified by the user as
    part of the FM Default Data Write HCI command.
    Sending additional default data than requested by the user
    causes data abort in WNCSS and results in WLAN crash.

    CRs-Fixed: 356330
    Change-Id: Icd87f2357ca53c3fa66d703e0e6f373c01b7023c
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 71731d5d400fa60cca24303aa31dd95a1443803d
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Wed Apr 4 12:30:51 2012 +0530

    radio: iris: Implement new radio IOCTLs.

    Implement IOCTLs for Tx power level control

    CRs-fixed: 349247
    Change-Id: Ie188b08fdf0aa697b6e1eada5c597813f0dc678f
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit 4667d9d437c2fe5501db1fd741b4643452eda61b
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Thu Mar 8 10:46:06 2012 +0530

    radio-iris: Configure the search direction value as passed by FM APP

    Do not invert the values passed for the search direction.
    Configure the value of search direction as passed from the user-space.

    Change-Id: Ic02714174740f4abb0c4b209a6f83c8f2c8575e6
    CRs-Fixed: 340401
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 3dad6519412c1de30c8905683047f51a89fd377b
Author: Ayaz Ahmad <aahmad@codeaurora.org>
Date:   Tue Mar 13 13:41:19 2012 +0530

    radio: iris: Send proper event to FM frameworks

    Send enable, disable event to fm frameworks
    when FM TX is turend on/off respectively

    Change-Id: I9372cc143d6352d3faaf137726156d2760165272
    CRs-Fixed: 339470
    Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>

commit b69202b62234d2a3103117536ed637bde87dcc2b
Author: Ayaz Ahmad <aahmad@codeaurora.org>
Date:   Thu Feb 23 19:24:46 2012 +0530

    radio: iris: Fix the set station issue at boundary

    Seek frequency at lower/upper limit is not working
    if selected country is in Europe band with channel
     spacing 50Khz

    Use the correct upper limit for Europe band

    Change-Id: Icdcb116c24ae9840cc66b1dc2da5fa739a2f89c8
    CRs-Fixed: 338137
    Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>

commit 0f69eb40055f94b293e9723f1d16ba9786a6eb82
Author: Sunny Kapdi <sunnyk@codeaurora.org>
Date:   Fri Jan 27 18:01:01 2012 -0800

    radio: iris: Add support for FM Subsystem Restart

    Inject FM Disable event when WCNSS resets.

    1. When WCNSS crashes, SMD will close the FM port
    2. Schedule a work queue to send RADIO_DISABLED event to upper layer.

    Change-Id: I10e4834df507fe39ce58b92e650c1a39ccbf66f7
    Signed-off-by: Sunny Kapdi <sunnyk@codeaurora.org>

commit 2f51a97c592d5cc369cef42c3b90743e3265fc75
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Mon Jan 23 20:11:13 2012 +0530

    radio: iris: Return proper antenna type for get antenna IOCTL

    FM TX UI turns off due to the invalid return value in response
    to GetAntenna on FM TX Restart.Save the type of the antenna that
    is set as part of SetAntenna.Return that in response to getAntenna.

    Change-Id: I35cf0ca36ed60a3c94b4bc98e020053763b24c88
    CRs-Fixed: 332432
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 1da1a240ee193089d5baf0740de25c525331650f
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Wed Jan 11 11:00:10 2012 +0530

    radio: iris: Fix the AF jump issue

    Clear the current AF JUMP settings before re configure.
    Otherwise FM Rx jumps to alternate frequency even though it
    is disabled

    Change-Id: Iab2e612c701876f2adec27d7d1abfcbe7fa6af52
    CRs-Fixed: 328783
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit d3184a4f6aecc65dafc0f45f5ca3a165523c08c7
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Wed Jan 4 21:18:01 2012 +0530

    radio: iris: Add signal detection threshold IOCTL's

    Add the IOCTL's to get the signal detection parameters like
    SINR, SINR samples, Low detection threshold and high
    detection threshold

    Change-Id: I0b8f8d978bd25990098b20073fd664e649af3b49
    CRs-Fixed: 322688
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 3d1d6e4b0c1f31b914328c6db797409f6abaf124
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Fri Dec 9 15:08:58 2011 +0530

    radio: iris: Fix the crash with get signal threshold command.

    Access to unallocated memory is causing the crash.
    Correct the implementation of returning the response to
    get signal threshold command.

    Change-Id: I920e984f68fbcfef82ad2f6e9d252f42c0b815d9
    CRs-Fixed: 330569
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit d6140eb5ef2ca2f342be568cc369a4ceeaeb9eac
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Tue Jan 17 16:23:52 2012 +0530

    radio: iris: Use service availability to indicate station's signal strength

    Check the service availability event to indicate the signal strength
    of the tuned station.

    Change-Id: I7d1c1f3de13351222cfdc27bc2d80dd08aadfdf2
    CRs-Fixed: 331137
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit 6983984c309a429d2ee3f161003c53335a30c6ae
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Fri Jan 13 18:36:12 2012 +0530

    radio: iris: Increase the RT buffer to fit the RT header

    Increase the RDS Radio text buffer size to fit the RT header.
    And also limit the Radio text to maximum allowed length

    Change-Id: Ib38b4bfaae83d5f381a831c2e202c7f3a52698b4
    CRs-Fixed: 328036
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit acdebccd13dccabb9103bb7ced38c5e89bb78417
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Fri Dec 23 14:31:38 2011 +0530

    radio: iris: Incorporate changes in tune status event

    SINR and interference detection threshold parameters are added to the
    tune status event. Update the driver to incorporate the changes.

    CRs-Fixed: 322478
    Change-Id: Ia883c85469ba4d4025d518b6ddba371c755f3763
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit de0b5d915d3968ede7ab26377409ae9ee87e1bd6
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Tue Dec 27 18:09:10 2011 +0530

    radio: iris: Add place holder for set audio path IOCTL

    Add place holder for Audio path IOCTL to make the FM FTM
    code generic across all platforms

    Change-Id: Iede9b6543e932882ee9c4bf4ead6f933132a08d8
    CRs-Fixed: 322893
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit d2ec468dc6623ef96728ec40a53df438f68d0d32
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Mon Dec 12 14:02:15 2011 +0530

    radio: iris: Fix the FM FTM Tx set station issue

    The get station parameters command failed during FM Tx as this is
    specific to Fm Rx.Add the check before issuing the get station
    parameters command

    CRs-Fixed: 323778
    Change-Id: Ie1a00fe5bf742c2c8158cff563c56d7fea44a21e
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 5e96e69e15862ec28b0ebbd1790009e453e0278a
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Mon Dec 5 17:36:06 2011 +0530

    radio-iris: Disable DC calibration.

    Disable do/set DC calibration.

    Change-Id: I3fdb39fb8fe3be3fd9f39aafe30b69f1127bedc8
    CRs-Fixed: 322471
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit 862492da4d83cb2a5c3b2c6821e6a3329a56951c
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Tue Nov 29 11:51:24 2011 +0530

    radio: iris: Handle error case for get & set frequency.

    Check the status and update the frequency.

    Change-Id: Ia529f92f0119ba6aaa46fa4559e88560f93f70cb
    CRs-Fixed: 317131
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit 61dc15eae13804a779dfd504a7d4875630b13820
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Dec 6 11:39:02 2011 +0530

    radio-iris: Add place holder for TAVARUA specific commands.

    Change-Id: I83226f1d6dce998dab0bde990c6855b0763ac0f3
    CRs-Fixed: 314648
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit c5320c2e36ef90f3c4b540f8361af4c6847c6185
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Mon Nov 28 14:28:51 2011 +0530

    radio: iris: Fix the FM FTM Tx configuration failure

    FM configuration failure is due to two issues. Since the calibration
    will take around 6 seconds to complete, any commands sent to SOC
    during that time will fail.Added a state machine to prevent the
    execution of another command while FM calibration is in progress.

    The other issues is with the Get tuner command.FM kernel driver is
    sending the Rx specific command to get the Tx configuration.
    Send the proper command to get the TX configuration parameters.

    CRs-Fixed: 317658
    Change-Id: I54e637c267cbdb88d15d68d8ad7ceb72f985c54d
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 45496f1b5ba4a2497bdefae56e770947a59c6868
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Wed Nov 23 12:51:13 2011 +0530

    radio-iris: Send the right channel spacing value to the SOC

    Send the set channel spacing command to SOC when there is a change

    CRs-Fixed: 318626
    Change-Id: I7471ec83253a1400fec1565c155f15723f403dd7
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit f78dab8050e0c6611cadf477cac7a879d40108e5
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Tue Nov 29 10:57:31 2011 -0800

    radio: iris: use the proper function to read from SMD

    Events are read from SMD in tasklet context, but The function
    used to read from SMD causes a deadlock as it only works
    in interrupt context. This patch replaces the read function
    with an appropriate function that can be used in tasklet
    context.

    CRs-Fixed: 322243
    Change-Id: I02e65fe33f4eee6ff1296abffd010f1283682624
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit 3a0b75d0af955926606ce97ae491d1fea02f3725
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Wed Nov 23 17:03:27 2011 +0530

    radio: iris: Fix the calibration issue.

    Fix the preset issue after the calibration

    Change-Id: I5c0c694304b70be48462feaf64f688109596e781
    CRs-Fixed: 318867
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit 4944e69000f93253863c632b572e602975f6dad7
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Fri Nov 25 16:00:20 2011 +0530

    radio: iris: Fix memory leak

    Fix the memory leak in transport driver.Free the memory
    after sending the command to SOC

    Change-Id: I2948debf882e004df41d6a1b5ce81581c1034ae2
    CRs-Fixed: 320325
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit f1febce83b54ac1ee999672fee32fd08e5c243fa
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Wed Nov 9 10:30:16 2011 +0530

    radio: iris: Fix stereo display issue

    There was a bug where the kernel driver was not sending the
    audio mode event.This patch adds the support to send the events
    to the upper layer.

    Change-Id: I08326f5de2796bf40ec25b5646bd21be4aa94b88
    CRs-Fixed: 312918
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit dcf9919244b01bbc73ab4c16c97ae1cd8d1d30fb
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Mon Nov 7 17:55:48 2011 -0800

    FM: fix the bug where SMD interrupts might not be processed

    radio_hci_smd_recv_event() function allocates memory with
    GFP_KERNEL which might sleep which can cause the interrupts
    not to be processed. This patch changes GFP_KERNEL to
    GFP_ATOMIC which prevents the function from sleeping
    while allocating memory.

    Change-Id: I0ff0feabf972c4ff5a9fb8474ec68611a13668bf
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit bab6b7ee8a65a87ae78160d707311618308528fa
Author: Priyanka Vunnam <pvunnam@codeaurora.org>
Date:   Tue Nov 1 15:41:54 2011 +0530

    radio: iris: Fix a few possible coding errors

    Add checks for null pointer dereferences, take care of memory leaks
    and handle buffer overflows.

    Change-Id: I0722f96707a8eeb2a231fc4601beeb3dbca9ceb9
    CRs-fixed: 313392
    Signed-off-by: Priyanka Vunnam <pvunnam@codeaurora.org>

commit f856ae6f14473db110e4e538408f9f502136cfb8
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Mon Oct 17 18:43:26 2011 +0530

    radio: iris: Implemen low power IOCTL's

    This patch adds the support for low power mode related IOCTL's

    Change-Id: Icbfb21c24b82d9dc40203bcaf37049160285cc4e
    CRs-Fixed: 312921
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit cb48ee690877fa3be1c9c367d169e3aec34b65ac
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Tue Oct 25 09:57:06 2011 +0530

    radio: iris: Added IOCTL's for FM calibration

    This patch adds support for FM Calibration IOCTL's
    to perform the FM calibration during the bootup
    and on every enable

    Change-Id: If1c9e1d131d67df1434e86debd214b52379cad61
    CRs-Fixed: 313588
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 787af69e5f496a5c1af539b84a4b604296869eeb
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Fri Oct 14 21:23:03 2011 +0530

    radio: iris: Added missing radio IOCTLs.

    Added IOCTLs for Read/Write default data commands

    CRs-fixed: 312337
    Change-Id: I1012840bb94352041f1e5134054588cb0976eb62
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit 1c67b75359aebeb2aba90f0124c0f12afd7e1d72
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Mon Oct 17 13:05:48 2011 +0530

    radio: iris: Corrected the OGF values

    There was a bug where we were using wrong OGF values
    for set/get threshold, get station debug parameters,
    get RT and get PS commands. This patch is submitted with
    Correct OGF values
    CRs-Fixed: 307742

    Change-Id: I6c47125e5749a22d82256e24101952778255a1b4
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit cf3a81185fc3c9130a61097ea3f0d5abe457988a
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Thu Sep 22 21:02:02 2011 +0530

    radio: iris: Freeing  memory after event handling

    There was bug where we were not freeing the memory after event handling.
    This patch adds the code to clear the skb memory.

    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 3c7a8eb9d84fd4a0b7e931e8ea607a6e9e2e2c0d
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Sun Sep 18 09:10:21 2011 +0530

    radio: iris: Added missing radio Events & IOCTLs.

    Added support for events rds availability, service availability,
    alternate frequency list and RDS group complete.

    Added IOCTLs for search on, radio state, search Program Type,
    search Program Identification, alternate frequency jump,
    stop Program Service name transmission and stop radio text transmission.

    CRs-fixed: 307369
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit f0d1374a2038d59170ad3b5953c8aa9e28859cd2
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Thu Sep 8 10:13:13 2011 +0530

    radio: iris: Fix for Japan band setting failure

    There was a bug where we are using default configuration
    (Setting to US band)in FM enable. This patch removes
    the default settings.

    CRs-fixed: 305266
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 0f4098f5b445f624e821e5cc97f88b0635ec95c3
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Tue Sep 6 16:46:28 2011 +0530

    radio: iris: Added support for FTM commands

    This patch adds support for  RDS group counters,
    Set HLsi and Set notch filter FTM commands.

    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 8f972e5c91c3ff4f62852b65ae145c58d0e11118
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Wed Aug 24 11:48:32 2011 -0700

    radio: iris: fix the seek bug during FM TX

    This patch fixes the issue we could not seek to
    another station in the TX mode when RDS was enabled.

    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit cc62b1cce23459f8074f71567e9fe0f1e64c991b
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Mon Aug 22 19:15:29 2011 +0530

    radio:iris:Fix for regional band settings issue

    This patch fixes the bug where the regional band settings were
    overwritten by default settings.
    And also sets proper high and low band limits
    for Japan band.

    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 07522d9b9dfa7892b195f19bd3765dd8e8b1b627
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Tue Aug 16 05:09:30 2011 -0700

    radio:iris: fix the FM scan failure issue

    This patch fixes the bug where break statements were missing
    while setting the stereo mode and enabling FM in
    Transmitter mode.

    CRs-fixed: 301572

    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit d928d54d59013dc82df80b4ee52f753cb5640a88
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Thu Aug 11 13:15:41 2011 -0700

    radio: iris: adding support for TX functionality

    This patch adds the functionality for FM enable, disable,
    tuning, configuration and RDS functionality for FM TX

    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit 6cc0e32a30b04ecb0376c99c5f97f06956feb537
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Fri Aug 12 10:54:48 2011 -0700

    radio: iris: Fixed the ssbi riva poke issue

    This patch adds the proper command type for riva poke

    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 58273f8b07b5f17b8287a9c06f59d977e4872583
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Wed Aug 10 19:07:45 2011 -0700

    radio: iris: Fixed the issue with RDS configuration

    This patch configures the rds registers properly

    CRs-fixed: 298431
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 0ffb5d65b7783fd60f08272d68362272ed3de88b
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Tue Aug 2 17:54:13 2011 -0700

    radio: iris: Added code to enable soft mute

    This patch adds code to enable soft mute, signal blending and
    interference blending

    CRs-fixed: 297396
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit abc8efa59771639e344b95a01c1a4b0d8c67154a
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Tue Aug 2 14:31:30 2011 -0700

    radio:iris:Adding support for FM debug commands

    This patch adds new debug commands for FM driver

    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 18fb80ef719e94493c257e3cd6c92e790cc6223f
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Sun Jul 17 17:33:00 2011 -0700

    radio: iris: Added code for search station list response

    This patch adds support to handle  the search station list
    response event

    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 7bb2210232d7a218a8a5dde43dddbcaafa76f745
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Thu Jul 14 11:27:30 2011 -0700

    radio-iris: Adding offset to the search mode for RDS search command

    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 78a782be53183ace3fb289e5ee9d6c1efc9e4af2
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Thu Jul 7 21:11:21 2011 -0700

    radio: iris: adding support for RDS program service and radio text

    This patch adds support for RDS program service and radio text
    so that RDS data is displayed in the UI

    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit 3f2bc4d6eb5a4fada842462ba22bb6bbb41d00c7
Author: Bryan Huntsman <bryanh@codeaurora.org>
Date:   Tue Aug 16 17:27:22 2011 -0700

    Initial Contribution

    msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

    Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
commit 8d8992e355f868f757044680f6a3ee97011fc170
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Thu Sep 22 21:02:02 2011 +0530

    radio: iris: Freeing  memory after event handling

    There was bug where we were not freeing the memory after event handling.
    This patch adds the code to clear the skb memory.

    Change-Id: I865fb9e62388a1fdff78a3ae3d852af8c4c16d8f
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 3e13e1f80d483b49c4863aba38e585bbd5526443
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Sun Sep 18 09:10:21 2011 +0530

    radio: iris: Added missing radio Events & IOCTLs.

    Added support for events rds availability, service availability,
    alternate frequency list and RDS group complete.

    Added IOCTLs for search on, radio state, search Program Type,
    search Program Identification, alternate frequency jump,
    stop Program Service name transmission and stop radio text transmission.

    CRs-fixed: 307369
    Change-Id: I0bb0f5cd2aef30e60c6af3d5deb7f1ddab93065a
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit ac31e78597cc8da6b66258abd84e9e33829351d3
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Thu Sep 8 10:13:13 2011 +0530

    radio: iris: Fix for Japan band setting failure

    There was a bug where we are using default configuration
    (Setting to US band)in FM enable. This patch removes
    the default settings.

    Change-Id: Idb43920df86557dda5087fda39e599fb3705d1d5
    CRs-fixed: 305266
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 70746090ff484139a57eeb2a73e92b6a3360d200
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Tue Sep 6 16:46:28 2011 +0530

    radio: iris: Added support for FTM commands

    This patch adds support for  RDS group counters,
    Set HLsi and Set notch filter FTM commands.

    Change-Id: I6831cc870fdc0cf4ebaaafb9247614a9fd3dee56
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 480d7d564b0d3948231f23416ab6512f315a0818
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Wed Aug 24 11:48:32 2011 -0700

    radio: iris: fix the seek bug during FM TX

    This patch fixes the issue we could not seek to
    another station in the TX mode when RDS was enabled.

    Change-Id: I8ed1c90aa51eccc15103de69b7b87488d2902e77
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit 8662f02e39b782782c6ec7bf1bc9254aafa68ea6
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Mon Aug 22 19:15:29 2011 +0530

    radio:iris:Fix for regional band settings issue

    This patch fixes the bug where the regional band settings were
    overwritten by default settings.
    And also sets proper high and low band limits
    for Japan band.

    Change-Id: If952ef44050a7449547968168e3ee14370c94efd
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit bf8e7d014c89b814c6eaff2d51d0f5a00e96a14b
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Tue Aug 16 05:09:30 2011 -0700

    radio:iris: fix the FM scan failure issue

    This patch fixes the bug where break statements were missing
    while setting the stereo mode and enabling FM in
    Transmitter mode.

    Change-Id: I8aeb109eedb2fdfb2d8084b263977794c6d0dbac
    CRs-fixed: 301572

    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit 3e721410f5fb14d29c9d105baaed222d927e9c09
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Thu Aug 11 13:15:41 2011 -0700

    radio: iris: adding support for TX functionality

    This patch adds the functionality for FM enable, disable,
    tuning, configuration and RDS functionality for FM TX

    Change-Id: I6a3c55db06fb712db2425906dbe2e4aed1dfa1f0
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit b9eb8c4bb9eec935b04630bac04cebd8ce071fc3
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Fri Aug 12 10:54:48 2011 -0700

    radio: iris: Fixed the ssbi riva poke issue

    This patch adds the proper command type for riva poke

    Change-Id: I878dc62a635abe3c3b5628fb524619e3962c7868
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 08ce3a00e2d9b04426c2a48793cb04be4ddedf38
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Wed Aug 10 19:07:45 2011 -0700

    radio: iris: Fixed the issue with RDS configuration

    This patch configures the rds registers properly

    Change-Id: Iaf17ffbe6802a12ca0b528edc5e763f03903f219
    CRs-fixed: 298431
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 4f33497a60134707b1c0d23711d77c5a06f3a6cc
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Tue Aug 2 17:54:13 2011 -0700

    radio: iris: Added code to enable soft mute

    This patch adds code to enable soft mute, signal blending and
    interference blending

    CRs-fixed: 297396
    Change-Id: Idddbfb758cb45ffa28a2c972a44449c3239f5868
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 6ee7ee74e3bd5b48df34f60c0d656fb186341fdc
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Tue Aug 2 14:31:30 2011 -0700

    radio:iris:Adding support for FM debug commands

    This patch adds new debug commands for FM driver

    Change-Id: I6f92be14197f8ff6e16e1a6a0e6778eab61040f2
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 94d218b5185682de673f86d5527f9c48ac1ef35b
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Sun Jul 17 17:33:00 2011 -0700

    radio: iris: Added code for search station list response

    This patch adds support to handle  the search station list
    response event

    Change-Id: Ie6e9e4867427eaace9ef179de2ec0f4e4b870234
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit c7c4b59a4319b937d20ccd328349838f2babf6c8
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Thu Jul 14 11:27:30 2011 -0700

    radio-iris: Adding offset to the search mode for RDS search command

    Change-Id: I05e8efc1c9e54098bdb7955599b0d4549f37a1b2
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 8ddd11bdaf5dccab3f8941db1051e3c8cc7e24a8
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Thu Jul 7 21:11:21 2011 -0700

    radio: iris: adding support for RDS program service and radio text

    This patch adds support for RDS program service and radio text
    so that RDS data is displayed in the UI

    Change-Id: Idc0d7caa77fef053cdd597426fd236de89649dff
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit 254e89abff8418d60d7d5f44db0f6782b6474937
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Tue Jul 12 16:07:11 2011 -0700

    radio: iris: using correct OGF for cancel search

    Change-Id: I4ca6b99f482503d5f056d8a0ac43548b229c6ed2
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 0a7d32781050824c2130e9c2b8a7ea569100e686
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Thu Jul 7 20:05:41 2011 -0700

    radio: iris: Sending an event to the app for disable

    This patch sends an event back to the app indicating
    disable has been completed

    Change-Id: I592f721885385e893c1cc38d18028b25bd8b3446
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit cde6173f8e2223feaf14fa9d5ec8fb3a10dffda7
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Fri Jun 24 10:32:24 2011 -0700

    radio: iris: returning a tune success event for FM tune command

    Change-Id: Ib2db48e85cef7d0cb909737954b863ecd6772146
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit 4108d501b055c21d19396ce52686975916f93c50
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Thu Jun 23 23:01:13 2011 -0700

    iris: msm8960: removing check for open/close calls in radio transport

    Change-Id: Ie64e8fe712b3b0bfbe5f137b463605ca99116566
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit 96e6bba671f11ff39a901f6a71fd06efe74d2dd0
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Wed Jun 22 01:41:51 2011 -0700

    radio: iris: adding wait_queue functionality and cleaning up code

    In this patch we add the wait_queue functionality so that the
    after sending a command the driver blocks until an event is
    recieved from RIVA.

    Change-Id: I9742f6db71e80f2931e796110adb034ea1cc2f5f
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

commit 4a8a4b1f27ccf01758c00e63451f1a69b32f2b36
Author: Archana Ramachandran <archanar@codeaurora.org>
Date:   Wed Jun 15 19:31:59 2011 -0700

    msm: FM iris driver fix for enable, disable and tune

    FM iris driver fix for enable/disable and tune,
    removed tasklets and wait

    Change-Id: Ia4c065dd5f062f8e89bd5e7d3bd71fdf403f4773
    Signed-off-by: Archana Ramachandran <archanar@codeaurora.org>

commit 31abca6a78e2128358b9a3434bc7c23d84eab65d
Author: Archana Ramachandran <archanar@codeaurora.org>
Date:   Tue Jun 14 11:33:45 2011 -0700

    msm: FM iris Driver bug fixes for initialization and cleanup

    FM iris driver updates fixes for platform init, v4l
    registration, export symbol to dynamic modules

    Change-Id: I7107d174620248f2b465721da78f782a17f3ed89
    Signed-off-by: Archana Ramachandran <archanar@codeaurora.org>

commit f966cdb1ae7f5e99a719cc234a496c9a20ec8331
Author: Archana Ramachandran <archanar@codeaurora.org>
Date:   Wed May 11 15:07:11 2011 -0700

    radio: iris: FM driver HCI code for async events and platform

    Modified FM driver to handle hci async events,
    added platform register and remove code,
    removed all the static objects and
    added DQBUF code to pass the data from the driver to the FM app

    Change-Id: I04c07083f4436ebe0f31ddb8a6738f2714fb305b
    Signed-off-by: Archana Ramachandran <archanar@codeaurora.org>

commit 19f8510478edc3a4baed0e689ad7d57d7ac00f23
Author: Ankur Nandwani <ankurn@codeaurora.org>
Date:   Wed Apr 20 21:15:39 2011 -0700

    radio: Iris: Add support for FM driver

    This driver provides support for FM on 8960. Messages
    are exchanged with RIVA using HCI protocol and SMD
    is used as the transport. Currently the driver
    dosen't handle RDS data and send asynchronous
    data to the FM App.

    Change-Id: I9eba2ee9b285e4f788b726bc45f50d589a3240b4
    Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>

Signed-off-by: David Brown <davidb@codeaurora.org>
2013-02-25 11:30:56 -08:00
David Brown
f01a4269de radio: tavarua: Add MSM FM radio driver
Including:

commit a6757832d554710798747bf3b46e560370bc0427
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Mon Sep 24 15:05:44 2012 +0530

    radio-tavarua: Add support for WCN2243 v2.1 SOC

    Enable support for WCN2243 v2.1 SoC which is respin of
    WCN2243 v2.0 with the bug fixes.

    Change-Id: I883ec0407224d875b1ba1b062903a4eefeb962c4
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
    Signed-off-by: Ram Mohan Korukonda <rkorukon@codeaurora.org>

commit 4c2dcd4a4cec5939fffda43f162c04757fdba42c
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Mon Jun 25 14:09:14 2012 +0530

    radio-tavarua: Validate whether the current station is good or bad

    Provide mechanism to decide whether the currently tuned station
    is valid or not.

    CRs-Fixed: 371689
    Change-Id: I1a28537d242fbb636732b120c9259ad5e7fffcc0
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 9efd5c923e5c8282ad7f80997732e4562cab1767
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Fri May 11 21:18:45 2012 +0530

    radio-tavarua: Add new IOCTL to set the soft mute

    Implement IOCTL to enable or disable the soft mute settings.

    Change-Id: Ie7f684f93e866d1126a59315bbe550e0677d35ee
    CRs-Fixed: 356774
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit a0d56b574b8d217b5aecde623da475596db35918
Author: Ayaz Ahmad <aahmad@codeaurora.org>
Date:   Tue Jun 26 15:58:41 2012 +0530

    radio: tavarua: Add IOCTL to enable the FM TX Tone generator

    Implement IOCTL to set the Internal FM TX Tone
    generator values

    Change-Id: I2a94d5559a90362b9439ea510e98489102ed0c04
    CRs-Fixed: 356789
    Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>

commit 537e445794569b7d70726679ed02b6c879dd9d3b
Author: Steve Muckle <smuckle@codeaurora.org>
Date:   Mon Jun 25 17:38:29 2012 -0700

    radio-tavarua: compilation fix for gcc 4.6

    The use of gcc 4.6 triggers a compilation warning regarding
    possible uninitialized use of a variable.

    Change-Id: I498ca7af5af88d91696c8d322ddc81795f961f31
    Signed-off-by: Steve Muckle <smuckle@codeaurora.org>

commit 93eb1769b8cc503bc431d266b4cd5aa5ea73a49e
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Mon Jun 4 13:41:07 2012 +0530

    radio-tavarua: Add IOCTL commands to configure the SPUR Table

    Provide interfaces to allow host to update the SPUR Table
    with newly found spur frequencies and their RMSSI values.

    CRs-Fixed: 352591
    Change-Id: I84f296ea313971cc1995c644d604f96581be5f7f
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 6be5660f48f46aec14c2c6ecc84eca4f52f18776
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Mon Apr 30 04:08:01 2012 -0700

    Revert "radio-tavarua: Configure search direction as passed by FM APP"

    As per V4L2 framework APP should pass the parameter as '1' to
    search in forward direction and '0' to search in downward
    direction. Reverting the change that was uploaded as it configured
    the search direction directly that it received it from the APP.
    APP should pass '1' for SEEK UP and '0' for SEEK DOWN . The driver
    should check for the direction before configuring. To the FM SOC,
    '0' means SEEK-UP and '1' means SEEK-DOWN. If APP passes '1' driver
    understands that user is requesting SEEK-UP operation and will
    configure the direction as '0'.

    This reverts commit 75b90b2359fe55e9e98906fbc088a32fe5537675

    Change-Id: I46d50994ec7eb52db389dc1b02e9a78600dbb5e1
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 00c882d6fc56349032062f8f17d556ef475c1e5f
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Thu Apr 12 10:50:53 2012 +0530

    radio-tavarua: Fix corner cases in dqbuf

    - Sometimes user data getting corrupted and it is not available
      at the kernel level
    - Use the kernel buffer instead of user space buffer to copy
      the data from fifo.
    - Increase the STD_BUF_SIZE buffer size from 64 to 128 bytes

    CRs-Fixed: 344443
    Change-Id: Ibb8c60f18b72cbcd63c2f39eb49fbbadb7af5443
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit af2eafc359250859c61f8b2c4fc33406b7eeab6a
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Wed Apr 4 11:58:28 2012 +0530

    radio-tavarua: Update the low power mode flag during FM off operation

    The lower power mode flag is not updated after the interrupts
    have been disabled during FM turn Off operation. This causes the
    interrupts to not to be enabled during next FM turn On
    operation and this results in GPIO not toggling for XFR operations.

    Change-Id: I0f2199292b570f1add2bc23c9cf6bcd480781c03
    CRs-Fixed: 344780
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit b49c2cb0221cabfa9f41891fa93ecdceeed55d17
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Tue Apr 17 17:44:50 2012 +0530

    radio-tavarua: Enable the I2S lines only when FM is in digital path.

    With this change I2S Path will not be enabled by default as part of
    FM on sequence. It will be enabled only when FM Digital Path is set.

    Change-Id: Iab09eb6a0c7ab06e880e15ce505fb94f5a61692e
    CRs-Fixed: 335908
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit 75b90b2359fe55e9e98906fbc088a32fe5537675
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Thu Mar 8 12:42:30 2012 +0530

    radio-tavarua: Configure the search direction value as passed by FM APP

    Do not invert the values passed for the search direction.
    Configure the value of search direction as passed from the user-space.

    Change-Id: I93e14cc9e309e2e9429768e289c594003954cfe3
    CRs-Fixed: 340401
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 1475c9390d9262cab388a9930a879ed9cf1af6b1
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Thu Feb 16 21:54:03 2012 +0530

    radio-tavarua: Queue only the FM Shutdown work during FM Off

    Disable the IRQ line and do not add any work other than
    FM Shutdown work to the FM radio work queue as part of the
    FM "Turn Off" operation.

    Change-Id: I9bde2651a0e24ba8c0c50df6d41d030848f77dc0
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 0fa19849354c41e3ac89ec0b6b3bb411cb69b908
Author: Ayaz Ahmad <aahmad@codeaurora.org>
Date:   Wed Mar 14 22:54:53 2012 +0530

    radio-tavarua: Send disable event

    Send disable event when FM turn off is completed
    so that file descriptor can be released safely

    CRs-Fixed: 339470
    Change-Id: Ib66f4cd79a470498404a07759d730504f6615e33
    Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>

commit 9ac855f01e3898663dba342cddc2b3d39a4457dd
Author: Taniya Das <tdas@codeaurora.org>
Date:   Thu Feb 9 18:05:21 2012 +0530

    radio: radio-tavarua: Re-org code for workqueue

    When fm task is killed from task manager rpc failure is seen.
    <3>[   72.817162] pmapp_rpc_req_reply: rpc failed! len = -512
    <3>[   72.817173] fm_radio_shutdown: voting off failed with :(-512)
    RPC failure is because data to be sent from apps, was on behalf of the
    current process, but as the process is killed the current->pid given to
    rpc is a non-existing pid.
    To resolve the issue a valid pid is needed, which can be done by
    queueing a work in existing workqueue and wait for completion.

    Change-Id: I8181d0a398d79b493b92c899f068f008a8ff2d0f
    Signed-off-by: Taniya Das <tdas@codeaurora.org>

commit a3dcce4029742d8e510c695b902cbe349bf98f44
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Thu Jan 5 19:27:57 2012 +0530

    radio-tavarua: Add commands to configure the FM Search parameters.

    Provide commands to get/set the On channel and Off channel detection
    threshold search parameters to optimize the FM search performance.

    Change-Id: Id232ffe2d1231fbd44bb34b4b98263434763b7c0
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit d09f24a89c3bf1c9e8e2792a2c6d133dd98a1bae
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Fri Jan 13 19:10:39 2012 +0530

    radio-tavarua: Increase the RT buffer to fit the RT header

    Current RDS RT Buffer is not sufficient to accommodate the
    RT header and data. Increase the RDS Radio text buffer size to
    accomidate the RT header and data.

    Change-Id: I742dad912bbe6e360ffeda09f80117d47822fdc5
    CRs-Fixed: 328036
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 31f45dafe0b257cd662e944dffd3cd5a57f5ae17
Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
Date:   Fri Jan 6 14:58:13 2012 +0530

    radio-tavarua: Modify FM Turn Off Sequence.

    Flush the event and work queues prior to queuing READY event.

    Change-Id: I95584006d252b2284bf15562edbca50fa5593384
    CRs-Fixed: 327151, 326855
    Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>

commit 29f1d9352f5cf247ff0a4136bd2b43d894e4565c
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Thu Dec 29 21:17:29 2011 +0530

    radio-tavarua: Set the lower and upper band limits for all regions

    Configure the lower and upper band limits for all regions.

    Change-Id: Ie9ceced02be0d3f5b335fb7eb6594d5783823f91
    CRs-Fixed: 326007, 325078
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 71d6fa6ccd9d6bf6d47dda6b4e4b8b672161adca
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Dec 13 19:30:51 2011 +0530

    radio-tavarua: Add place holders for IRIS specific commands

    Change-Id: I4bcf4316b23ce0f9c02815c0bc0d495ee49df51f
    CRs-Fixed: 324758
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 40bcd05937c63eca0965b6043b2c30bed5a60c81
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Mon Dec 5 15:28:29 2011 +0530

    radio-tavarua: Add host side support for the new FM Search Algorithm

    Change-Id: Iba497b84e525d08fa588bb7f58ff6a238452c47c
    CRs-Fixed: 314648
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 71bea3c7b5426071b56ef2e58572466582a231d6
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Nov 15 07:36:49 2011 +0530

    radio-tavarua: Perform suspend and resume only when device count is '0'

    CRs-Fixed: 321609
    Change-Id: Ia377d22d96be7e46c04e80d4b5ba07760ca82d4d
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit bdb128c752857876e6ca229e4627296470466d97
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Mon Nov 21 17:51:26 2011 +0530

    radio-tavarua: Add private IOCTLs to poke threshold values.

    Add V4L2 private IOCTL commands to poke On-channel and
    Off-channel detection threshold values.

    Change-Id: I299a2ba7c5f25bcb36688ae0f7de7aff255b7d03
    CRs-Fixed: 320147
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit c72725ac8cfae7b51a4fd76e29a767616af97886
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Sep 6 09:28:22 2011 +0530

    radio-tavarua: Configuring the FM Audio path

    This changes ensures that if 'Ananlog' path is enabled
    then 'Digital' path is disabled and vice-versa.

    Change-Id: I3492471ab69923d29c9912bb1a84784638b38ee1
    CRs-Fixed: 304621
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit a2f9808c5848657e91c6a84d2abf3b2b6cfbdba3
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Oct 4 20:02:11 2011 +0530

    radio-tavarua: Modified the device count handling mechanism

    Replaced the existing mutex lock with atomic increment/decrement
    operations for manipulating the device count.

    Change-Id: Ic08b3861f06620acbc68b6ca0aea7c622e7027b3
    CRs-Fixed: 296214
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 4e38bfc56cfbc092a6edd3256d66756e5ebd7095
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Thu Sep 15 16:00:31 2011 +0530

    radio: tavarua: Added place holder for notch filter ioctl

    This patch adds place holder for notch filter, to keep
    the driver compatible with the framework changes made for IRIS

    CRs-fixed: 306856
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 3be3b2611624ebcc8f7758e115a13631a888093c
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Mon Sep 5 17:22:48 2011 +0530

    radio-tavarua: Added changes to return the RMSSI Delta value

    This change involves returning the currently set RMSSI Delta value.

    CRs-Fixed: 304534
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit f225860718c7595b75d59c8fd6a3cee0ea6da4bb
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Thu Jun 30 01:32:09 2011 +0530

    radio-tavarua: Adding V4L2 private control to enable HLSI

    This change is to add a new private control to enable the
    high-low injection.

    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit a02ef213066e163f2c9dfde2a3bab6cc0d94a090
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Jun 28 00:57:25 2011 +0530

    radio-tavarua: Changes for supporting the new FM Search Algorithm.

    Added host side changes for supporting the new Bahama FM Searcher
    Algorithm. This involves configuring the channel spacing as 100KHz
    and enabling the 200KHz enforcer for regions that are 200KHz spaced.

    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 3b44cd4aeedfa3026caf379c4687d980ed3261b8
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Wed Jul 6 12:36:15 2011 +0530

    radio-tavarua: Adding private control to configure the RMSSI threshold

    This change is to add V4L2 private controls for configuring the
    value of RMSSI threshold.

    CRs-Fixed: 293328
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit e46ef6f1bc4d6d406e90e8e4dbcbeef0e2257cae
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Wed Jun 29 23:56:03 2011 +0530

    radio-tavarua: FM jumps to alternate freq. with AF jump option disabled

    When the transmit power of the currently tuned station decreases,
    FM Receiver automatically switches to available alternate frequencies,
    even though the auto AF jump feature is not enabled

    CRs-Fixed: 293773
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit c88b6e39d50f56e8a9d644d16352f5cb82709ec0
Author: Rahul Kashyap <rkashyap@codeaurora.org>
Date:   Thu Jul 7 10:52:16 2011 +0530

    radio-tavarua: Set FM status before calling FM Shutdown.

    FM status is checked in FM shutdown function, based on which Bahama
    SYS RESET GPIO is put in Low power mode

    Signed-off-by: Rahul Kashyap <rkashyap@codeaurora.org>

commit 3f2bc4d6eb5a4fada842462ba22bb6bbb41d00c7
Author: Bryan Huntsman <bryanh@codeaurora.org>
Date:   Tue Aug 16 17:27:22 2011 -0700

    Initial Contribution

    msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

    Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
commit 97e954c69fd028d044fea6f9a11e6666d32c5a82
Author: Srinivasa Rao Uppala <uppalas@codeaurora.org>
Date:   Thu Sep 15 16:00:31 2011 +0530

    radio: tavarua: Added place holder for notch filter ioctl

    This patch adds place holder for notch filter, to keep
    the driver compatible with the framework changes made for IRIS

    CRs-fixed: 306856
    Change-Id: I3b20c6138798c2eb19ece5be1c381f2297e204dd
    Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>

commit 011ecfecd703869bc6d8566a008d7496b3f75af2
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Mon Sep 5 17:22:48 2011 +0530

    radio-tavarua: Added changes to return the RMSSI Delta value

    This change involves returning the currently set RMSSI Delta value.

    CRs-Fixed: 304534
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
    Change-Id: I62725f08ba121f2d43d81943938f69bb36d54ede

commit 675a1815dcb46cb3afc7a1877a6bb2f673852487
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Thu Jun 30 01:32:09 2011 +0530

    radio-tavarua: Adding V4L2 private control to enable HLSI

    This change is to add a new private control to enable the
    high-low injection.

    Change-Id: Ib64b29e01bbfa950827514edafaf5fe1d5d97db4
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 04e89de8b7687459788b37a45b77c2f13c6af3fb
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Jun 28 00:57:25 2011 +0530

    radio-tavarua: Changes for supporting the new FM Search Algorithm.

    Added host side changes for supporting the new Bahama FM Searcher
    Algorithm. This involves configuring the channel spacing as 100KHz
    and enabling the 200KHz enforcer for regions that are 200KHz spaced.

    Change-Id: Ia2d26a09c4f79b22426bc13499c4c2a17d7d366e
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 4f5bfe8884d04a45cec3b293d3b1cce8cb3e05b8
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Wed Jul 6 12:36:15 2011 +0530

    radio-tavarua: Adding private control to configure the RMSSI threshold

    This change is to add V4L2 private controls for configuring the
    value of RMSSI threshold.

    CRs-Fixed: 293328
    Change-Id: Ic18aae8eeddc7634033ac26aa5e6d2639a7d832e
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit c8dfdb17594429322b117fafecb0508d28885ad6
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Wed Jun 29 23:56:03 2011 +0530

    radio-tavarua: FM jumps to alternate freq. with AF jump option disabled

    When the transmit power of the currently tuned station decreases,
    FM Receiver automatically switches to available alternate frequencies,
    even though the auto AF jump feature is not enabled

    CRs-Fixed: 293773
    Change-Id: Ic84bae6a11dbedee570388c9b74f11d4489dc9b4
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 7d1434c73bd05190048550e1f2611d39b2461081
Author: Rahul Kashyap <rkashyap@codeaurora.org>
Date:   Thu Jul 7 10:52:16 2011 +0530

    radio-tavarua: Set FM status before calling FM Shutdown.

    FM status is checked in FM shutdown function, based on which Bahama
    SYS RESET GPIO is put in Low power mode

    Signed-off-by: Rahul Kashyap <rkashyap@codeaurora.org>
    Change-Id: I06162deb33e4f938246ea61c7db79f6aa02ae747

commit 44de9e51c6ed4fea63618121be09f8725ebed000
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Mon Jun 20 20:27:05 2011 +0530

    radio-tavarua: Modified the processing of radio text(RT) header

    Saving the radio text payload in to the RT buffer after filling
    up the first 5 bytes with the contents of RT header.

    CRs-Fixed: 289884
    Change-Id: I84513ceab215358153e018c41de51b8bf1f7a6f4
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 6870685de158946f94911ae778d798899d79f4be
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Thu May 5 10:39:44 2011 +0530

    radio-tavarua: Added support for peeking MPX_DCC parameter

    CRs-Fixed: 285809
    Change-Id: I1f7e8f22bfdbe1e6b2235e8b3fa31889568f17b5
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit baa2f80baebc44da31f81567cc81eca3ec52dfa0
Author: Srinivas Krovvidi <skrovvid@codeaurora.org>
Date:   Tue May 17 14:21:39 2011 +0530

    FM: tavarua driver changes to update i2s gpios on start and stop FM.

    The direction of MSM GPIOs is different for BT and FM. So when
    ever FM is started or stopped these GPIOs are required to be
    updated.

    Change-Id: I39162ea964e3ffb2c1b7f27f8b90022cdc91c0c2
    Signed-off-by: Srinivas Krovvidi <skrovvid@codeaurora.org>

commit 86e15169938beb7deeb60589b62fc90ad90f0ce7
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Apr 19 19:12:01 2011 +0530

    radio: tavarua: Handling BT-FM concurrency using a global mutex instance

    Change-Id: I4cf4ea1879775ab88e583f6da6795adcb6050ea8
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 5629ce1cc45fe4117359301dc5fbcae2eea6e2dc
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Fri Apr 29 00:42:41 2011 +0530

    radio: tavarua: Added support for JAPAN-WIDE regional band

    Change-Id: Iffb02653afb3b496c3178c05774e4c1adc00b82a
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 17ce68c25984aa7a461bb72d6fa24a41e27301a9
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Apr 5 14:06:57 2011 +0530

    radio: tavarua: Configuring FM SoC as I2S master/slave based on target

    Change-Id: I2b7b7895b9fc5e8ba3dd8d8b23ef5e596fc008a9
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 8e393f6c4d77b37e5a7a8fb9e7e495cd55e2fb47
Author: Michael Bohan <mbohan@codeaurora.org>
Date:   Thu Feb 24 12:10:11 2011 -0800

    Initial contribution

    This commit takes the MSM and driver changes from
    git://codeaurora.org/quic/la/kernel/msm.git:android-msm-2.6.35 and applies
    them on top of
    git://android.git.kernel.org/kernel/common.git:android-2.6.38.

    Change-Id: I3e80240311c76c05d4177a4958a660fba80d5d14
    Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
commit 218bf7f07f8c43cde535abfac5e0ba911cb87306
Author: Raj Kushwaha <rajk@codeaurora.org>
Date:   Mon Aug 8 10:38:31 2011 -0700

    radio-tavarua: Changes for supporting the new FM Search Algorithm.

    Added host side changes for supporting the new Bahama FM Searcher
    Algorithm. This involves configuring the channel spacing as 100KHz
    and enabling the 200KHz enforcer for regions that are 200KHz spaced.

    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
    (cherry picked from commit 04e89de8b7687459788b37a45b77c2f13c6af3fb)

    Change-Id: I73df8688ec61a99dab0da1faee248c0a3e76c206
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 76f3145f203b55ecd701cd7e8956f313129b7a29
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Mon Jun 20 20:27:05 2011 +0530

    radio-tavarua: Modified the processing of radio text(RT) header

    Saving the radio text payload in to the RT buffer after filling
    up the first 5 bytes with the contents of RT header.

    CRs-Fixed: 289884
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
    (cherry picked from commit 44de9e51c6ed4fea63618121be09f8725ebed000)

    Change-Id: I7abf3f13071a295afb75bfa59f56beb3c33ffc91
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit f71154eab0921fe407f14e46898db3913d0450b6
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Apr 19 19:12:01 2011 +0530

    radio: tavarua: Handling BT-FM concurrency using a global mutex instance

    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
    (cherry picked from commit 86e15169938beb7deeb60589b62fc90ad90f0ce7)

    Change-Id: I403bb53d3735b5cf516cd4527b064f2bcbcb075f
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 057eeff9dd5de6be15500e9884515f92d8b84881
Author: Anantha Krishnan <ananthk@codeaurora.org>
Date:   Tue Apr 5 14:06:57 2011 +0530

    radio: tavarua: Configuring FM SoC as I2S master/slave based on target

    Change-Id: I2b7b7895b9fc5e8ba3dd8d8b23ef5e596fc008a9
    Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>

commit 1d697cb2ec68bd5ba724b10ea3a229115cd584d9
Author: David Brown <davidb@codeaurora.org>
Date:   Mon Mar 14 10:45:03 2011 -0700

    radio: tavarua: Fix enum warnings

    The xfr_status variable is being read from an 8-bit unsigned register.
    Although the value definitions it is compared with are defined in an
    enum, these use bit arithmetic to define the cases (setting the high
    bit) which brings the constant values outside of the range of the
    enum.  This causes warnings on gcc 4.5.

    Fix this by keeping the value as an unsigned char.

    Change-Id: Iab1ebe7692f62ba5a1716aca9dcf9690c65dcc5f
    Signed-off-by: David Brown <davidb@codeaurora.org>

commit 48abd8198c1a848ed6dce104ac43fb5b7d3f28d4
Author: Srinivas Krovvidi <skrovvid@codeaurora.org>
Date:   Wed Mar 2 18:30:16 2011 +0530

    radio: tavarua: Changes for supporting FM Tx power level

    Added changes to support setting different power levels
    at which FM transmitter can radiate.

    Change-Id: I99358bf7fac48fcc4c5337bc2750e0da0f79ecbc
    Signed-off-by: Srinivas Krovvidi <skrovvid@codeaurora.org>

commit c36319f2c0acea7a8628f22da4c3507267775a70
Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
Date:   Fri Feb 18 10:53:42 2011 +0530

    radio:tavarua: Adding new controls to get IOC and IntDet in FM Driver.

    Change-Id: I96f544bafc4a2ab6c8616644c989b24a92ad9fab
    Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org>

commit ad4f9f3d7f62eb71a6eec5ba187995ba8b8d4227
Author: Srinivas Krovvidi <skrovvid@codeaurora.org>
Date:   Thu Feb 3 18:38:48 2011 +0530

    FM: V4L2 driver changes for enabling FM Tx.

    Change-Id: Ife0209379bc697c89d43f89df2f715cb762b4046
    Signed-off-by: Srinivas Krovvidi <skrovvid@codeaurora.org>

commit 62604db9c8b7476c2e6981d7c20f3b84a0d4283e
Author: Srinivas Krovvidi <skrovvid@codeaurora.org>
Date:   Wed Feb 9 15:21:31 2011 +0530

    FM: Stereo/mono blending and SoftMute features enabled by default

    Change-Id: Idedd7b3542cf61543b1392189f8cdec050c313a9
    CRs-Fixed: 273742
    Signed-off-by: Srinivas Krovvidi <skrovvid@codeaurora.org>

commit e9ac973a0f575b17a8d495c9541dc94887e0d8a7
Author: Rakesh KrishnaMoorthy <rakeshk@codeaurora.org>
Date:   Wed Feb 9 20:26:38 2011 +0530

    radio/tavarua: Add implementation for returning the Mute mode status

    This change fixes the issue of not returning the correct status
    for get Mute mode request from user space

    CRs-Fixed: 261537
    Change-Id: I7c213388b0e8f4077e611a8c0d5a1202aa5030dc
    Signed-off-by: Rakesh KrishnaMoorthy <rakeshk@codeaurora.org>

commit b86d3dcc5704ac909a5db5d8b5dd782f67487ba7
Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
Date:   Thu Jan 6 15:44:38 2011 +0530

    radio: tavarua: Use internal vreg controllers based on bt status

    This change checks the bt status and enables the
    internal vreg controllers accordingly for the optimal
    power usage.

    Change-Id: I887a64039524bee04bc3b38a50e0cc8ee8fc161f
    Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org>

commit a19594bce16cce078c38f20af5d5334ed9152584
Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
Date:   Tue Dec 21 20:26:15 2010 +0530

    FM: Adding support to WCN2243 v2 FM

    Change-Id: I129f50a8076fd2a0100d866fa9e0b1cb33990882
    Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org>

commit c053f1ab26af965a28d3f68298a709dee478abb1
Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
Date:   Mon Dec 13 12:25:51 2010 +0530

    radio: Adding Fm shutdown down sequence for Marimba

    Change-Id: I8af146be2ef9fb724636ab12dc12437e34f9c718
    Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org>

commit df0fe1bb9141910151e27c0959de133fb094a8fc
Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
Date:   Thu Dec 9 14:46:51 2010 +0530

    radio: including slab.h for kfree and kzalloc declarations

    Fm driver uses kzalloc and kfree function, which is getting
    compiled in 7x30 case, as it is getting included from some
    other headers internally. But, It is giving compiler issues
    in 8x60. It is recomended to include the slab.h rather than
    depending on the other headers.

    Change-Id: Id111bd73ffb9346519847de9eff5576043576040
    Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org>

commit 1be9894ababe1d65da8a3a997a8f8f0a42921742
Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
Date:   Mon Dec 6 17:37:00 2010 +0530

    radio: Adding support for the nested interrupt request.

    Using the generic irq interface which support both
    nested and non-nested GPIO interrupts. In MSM8x60, FM
    ISR is connected to PMIC GPIO which is nested interrupt.

    Change-Id: I32326f9e23839960b2ae8433363e4e194d53e3fa
    Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org>

commit 31b2fd9ccd06f593ddd987dd13b29e42cebcf93a
Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
Date:   Fri Nov 19 11:06:32 2010 +0530

    radio: Adding changes FM driver to support WCN2243

    This change makes the v4l2 driver to work for both
    Marimba and WCN2243 chips, FM driver will get the
    current connectivity type and call the corresponding
    i2c slaves.

    Change-Id: Id8e76e629276c78814885945569cd1ee105c7e59
    Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org>

commit 16b18b63619a491413546f6d8910615fb3042828
Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
Date:   Mon Nov 22 11:56:15 2010 +0530

    radio: Initializing the work queue for raw rds read.

    This change initializes the work queue for raw rds read.

    Change-Id: I50fed2a1792e06ddc490c796351586a89c8ed8b5
    Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org>

commit 30beae9ef1644657be08fb94a9eb2068097e1f74
Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org>
Date:   Thu Nov 18 16:40:07 2010 +0530

    radio: Change to driver to set the chip-Id as the version

    This change sets the version of the v4l2 driver with the
    chip-Id of the FM SoC, so that the upper layers can get the
    chip-Id and perform the calibration and required firmware patch
    downloads.

    Change-Id: I0b5b84a8eb16c33ce4438def9dfe4cc135e8be03
    Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org>

commit 9709e34cb615584e13739e42cccf40e01c752940
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Thu Oct 14 13:14:33 2010 -0700

    radio: Fix section mismatch

    The function tavarua_probe is reference outside of the __init section.
    This is fixed by calling platform_driver_probe instead of
    platform_driver_register since the device is not hotplugable.

    Change-Id: If4883d03c2e71a2f769401ef7fa1155b4a86187e
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

commit 826d26c4992b04b3775852b49071b14dab4f17e5
Author: Rajiv Kumar <rkumar@codeaurora.org>
Date:   Fri Oct 8 12:48:32 2010 +0530

    radio: Fix for DP timeout and Tune response failure issue

    The suspend and resume routines in radio-tavarua modified to reduce the
    processing time to make sure that the DP timeout does not happen.
    This fixes the crash due to this timeout during the stability tests.

    Unwanted read of FM SoC Tune control registers on every Tune interrupt
    is removed to reduce the i2c bus transactions.
    This fixes the intermittent tune failures seen during FM tune stress
    tests.

    CRs-fixed: 256708, 252894
    Change-Id: Ifb060f95336529f3bdf8bfa2ddc2cc1cb0e4d56c
    Signed-off-by: Rajiv Kumar <rkumar@codeaurora.org>

commit 2712ccd9fb537934a2680fc57e363d3b46e59e68
Author: Vijayadurga Muthusamy <vmuthusa@codeaurora.org>
Date:   Tue Sep 21 15:38:51 2010 -0500

    radio:FM Changes to read the threshold value as a signed integer

    FM driver code modified in such a way that it reads
    and interprets the threshold value as a signed integer.
    This ensures that framework/app
    layer will get the proper signed values as expected.

    CRs Fixed:  243833
    Change-Id: I236d7a1fe20869043d3b59b09f070ba061453332
    Signed-off-by: Vijayadurga Muthusamy <vmuthusa@codeaurora.org>

commit 44e8afe41625f2a781192bcf15871e6e58dc402c
Author: Vijayadurga Muthusamy <vmuthusa@codeaurora.org>
Date:   Wed Sep 22 11:30:58 2010 -0500

    radio: FM fix for headset plug/unplug issue

    Waiting on a completion variable, which has timeout
    in its earlier wait was causing kernel crash at some
    occasions. Initialization of completion (struct completion)
    variable before waiting on it ensures the proper working of FM driver.

    CRs-Fixed: 256443
    Change-Id: I03245254050d905bf0bdc7c483757942ca786481
    Signed-off-by: Vijayadurga Muthusamy <vmuthusa@codeaurora.org>

commit b53acb30b28eff7cbd18c1c16264544631ec3f34
Author: Vijayadurga Muthusamy <vmuthusa@codeaurora.org>
Date:   Thu Sep 16 10:07:17 2010 -0500

    radio: FM Disable operation is made synchronous

    FM Disable operation is made synchronous to the
    top layers by waiting till the READY interrupt
    at the driver layers. This ensures that the Disable() will
    disable the FM in one go, so that the further
    cleanup of FM driver resources can be done by closing the
    device descriptors.

    Change-Id: Ic71379c2996ca8aa974c3020465e2fd83a39a492
    CRs-Fixed: 250289, 251760
    Signed-off-by: Vijayadurga Muthusamy <vmuthusa@codeaurora.org>

commit 160d42d529f7a5563bbd7cd117c83b7f434f0c22
Author: Bryan Huntsman <bryanh@codeaurora.org>
Date:   Wed Sep 8 18:01:18 2010 -0700

    Initial contribution.

    This commit takes the MSM and driver changes from
    git://codeaurora.org/quic/la/kernel/msm.git:android-msm-2.6.32 and
    applies them on top of
    git://android.git.kernel.org/kernel/common.git:android-2.6.35.

    Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
commit 1919f250807e0c6eddd8fef847e664bfbe532496
Author: Simon Venshtain <simionv@codeaurora.org>
Date:   Mon Aug 16 11:19:20 2010 -0500

    radio: tavarua: fixed low power support

    removed unnecessary i2c transaction to move between
    power modes when the requested power mode is already
    enabled. Changed the way the driver does user refernce
    count from atomic operations to semaphore synchronization.
    Also, disabled debugs.

    Change-Id: Iadc507984bf3a7c7e6e87b77224e58dcef19a6aa
    Signed-off-by: Simon Venshtain <simionv@codeaurora.org>

commit e922b1be98b585e82ce4dcca5dba5e470475fe1c
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Wed Aug 4 14:18:08 2010 -0700

    radio: tavura: Fix copy_from_user() warning

    The compiler is having a hard time determining that bytes_to_copy
    cannot be larger than XFR_REG_NUM. This causes a warning when
    strict user copy checks are enabled. Silence the warning by
    making bytes_to_copy unsigned, and use a more appropriate min
    function (min_t) on the bytes_left variable to help the compiler
    understand that the buffer will never overflow.

    In file included from include/linux/uaccess.h:5,
    from drivers/media/radio/radio-tavarua.c:32:
    In function 'copy_from_user', inlined from 'tavarua_fops_write' at
    drivers/media/radio/radio-tavarua.c:1408:
    arch/arm/include/asm/uaccess.h:417:
    warning: call to 'copy_from_user_overflow' declared with attribute warning:
    copy_from_user() buffer size is not provably correct

    Change-Id: I8294ecb31be2aa2cbd13a270b437a45e5cf51a36
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

commit 637046dc2b30da935013272656b3681e2d7187b0
Author: Simon Venshtain simionv@codeaurora.org <simionv@codeaurora.org>
Date:   Mon Jun 21 10:42:58 2010 -0500

    radio: tavarua: added comments and macros

    Added more detailed comments, function headers and
    macros for constants for better code maintainability.

    Change-Id: Ia18c4bbc38dcb5aca91360e3cdf5589f3d2b6817
    Signed-off-by: Simon Venshtain <simionv@codeaurora.org>

commit d9397555f617b2eb8afa748a8a35b7097098a360
Author: David Scherba <dscherba@codeaurora.org>
Date:   Tue Jun 1 18:13:27 2010 -0400

    radio: tavarua: Setup FM Rx audio path when FM receiver is enabled

    Default FM Rx audio output path is set to analog.  This is changed to
    digital I2S when the FM receiver is successfully enabled.

    Change-Id: I519c67dc3262bf7258a87d86b5ede05c0dc4d544
    Signed-off-by: David Scherba <dscherba@codeaurora.org>

Signed-off-by: David Brown <davidb@codeaurora.org>
2013-02-25 11:30:55 -08:00
David Brown
096874a08b msm: camera: videobuf mem extensions
Including:

commit 76b9b4d881b32c13356c736a07b2ee363d5ddd9b
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Mon Sep 17 14:33:22 2012 -0700

    ion: remove obsolete ion flags

    The symbols CACHED and UNCACHED have been replaced by ION_FLAG_CACHED
    upstream. This removes them from the kernel.

    Change-Id: I565dcc4595298ce6a0e81dd8cb98b86a1b38fdb2
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 7d72bad55a0e03392d81eee77a9a8c9df6b73a9a
Author: Hanumant Singh <hanumant@codeaurora.org>
Date:   Wed Aug 29 18:39:44 2012 -0700

    ion: Port heap mask change to ion

    Heap mask field passes as argument at allocation time to specify ion
    heap.

    Change-Id: I8881dfc491dc0f8f70581ad97b35756a6a33dd6d
    Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 79b9f2233530ce7f3af51a64d257dd4f7f5a0974
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jul 2 12:38:34 2012 -0700

    msm: camera: Dynamically register domain and attach to device.

    Starting with B family chips, the IOMMU client is responsible
    for registering a domain (page table) and attaching it with
    the corresponding device context when required.

    Change-Id: I3b17ce6e27c74516325198f89d88d3635bdbff50
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit b14ed96f74b1258b1f102831a2b0ccd56f991132
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Mon Jan 30 14:18:08 2012 -0800

    gpu: ion: Pull in patches for 3.4

    Pull in Ion patches for 3.4 upgrade. Inclues the following
    patches from google:

     commit 7191e9ba25
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Jan 30 14:18:08 2012 -0800

         ion: Switch map/unmap dma api to sg_tables

         Switch these api's from scatterlists to sg_tables

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 6f9e56945d
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Tue Jan 31 09:40:30 2012 -0800

         ion: Add reserve function to ion

         Rather than requiring each platform call memblock_remove or reserve
         from the board file, add this to ion

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 9ae7e01de1
     Author: KyongHo Cho <pullip.cho@samsung.com>
     Date:   Wed Sep 7 11:27:07 2011 +0900

         gpu: ion: several bugfixes and enhancements of ION

         1. Verifying if the size of memory allocation in ion_alloc() is aligned
         by PAGE_SIZE at least. If it is not, this change makes the size to be
         aligned by PAGE_SIZE.

         2. Unmaps all mappings to the kernel and DMA address spaces when
         destroying ion_buffer in ion_buffer_destroy(). This prevents leaks in
         those virtual address spaces.

         3. Makes the return value of ion_alloc() to be explicit Linux error code
         when it fails to allocate a buffer.

         4. Makes ion_alloc() implementation simpler. Removes 'goto' statement and
         relavant call to ion_buffer_put().

         5. Checks if the task is valid before calling put_task_struct() due
         to failure on creating a ion client in ion_client_create().

         6. Returns error when buffer allocation requested by userspace is failed.

         Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>

     commit 043a61468f
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed Feb 1 11:09:46 2012 -0800

         ion: Switch ion to use dma-buf

         Ion now uses dma-buf file descriptors to share
         buffers with userspace.  Ion becomes a dma-buf
         exporter and any driver that can import dma-bufs
         can now import ion file descriptors.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 0d1259b5f8
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Apr 30 16:45:38 2012 -0700

         gpu: ion: Use alloc_pages instead of vmalloc from the system heap

         With this change the ion_system_heap will only use kernel address
         space when the memory is mapped into the kernel (rare case).

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit be4a1ee79a
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Thu Apr 26 20:44:10 2012 -0700

         gpu: ion: support begin/end and kmap/kunmap dma_buf ops

         These ops were added in the 3.4 kernel.  This patch adds support
         for them to ion.  Previous ion_map/unmap_kernel api is also
         retained in addition to this new api.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 46d71337f9
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon May 7 16:06:32 2012 -0700

         gpu: ion: Allocate the sg_table at creation time rather than dynamically

         Rather than calling map_dma on the allocations dynamically, this patch
         switches to creating the sg_table at the time the buffer is created.
         This is necessary because in future updates the sg_table will be used
         for cache maintenance.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 903f6c716d
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed May 23 12:55:55 2012 -0700

         gpu: ion: Get an sg_table from an ion handle

         This patch adds an interface to return and sg_table given a
         valid ion handle.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

    The commit also includes fixups needed for MSM specific code.

    Change-Id: Idbcfa9d6af0febf06f56daaa6beaa59cc08e4351
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

commit 5b1e6f1afb70ace03b32b48d4d70f34302decdc2
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Mon May 28 08:13:55 2012 -0700

    msm: camera: Remove subsystem_map header

    The old subsystem_map APIs are being deprecated. The
    msm_subsystem_map.h header file used to have definitions for
    iommu domains. Remove this header file and include iommu_domains.h
    to get the necessary iommu definitions.

    Change-Id: I417a357789a8fea16bbadd98663a8ebe873ff4e7
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

commit 459429648e0dd7c9b2bbaffc63a4086614e4109e
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed Feb 15 19:21:25 2012 -0800

    msm: v4l2: use new IOMMU mapping API.

    The ion_phys API is being deprecated. Instead there
    is a new set of API that does the same thing as ion_phys
    if the system has no IOMMU enabled. Otherwise, it
    returns an IOMMU device virtual address.

    Change-Id: I1f01d33cbc6d236d28c9193a90e48377b9fb35cc
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 318d7cbd8eaaced74293b90bec8533a280d41bdc
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Nov 29 14:24:26 2011 -0800

    msm: camera: Correct the reserve buffer logic in mctl_pp.

    When the daemon asks to reserve a free buffer, get the
    correct address by using the image mode to get to the
    correct camera instance and populating the buffer address.

    Change-Id: I23c6e00458562ef2b9880cbffe2d6a100de80ea1
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit d814743600bf0b5c26ec4a532d47fce828c18d6f
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jan 6 09:45:11 2012 -0800

    msm: v4l2: fix support for test app.

    This commit fixes bug in query-cap ioctl and
    adds ION support for case where buffers are
    allocated in the kernel with mmap. This change
    is required to fix the V4L2 command line test app.

    Change-Id: I50a535e8a0af60ff7d86341a3f726ed81a630fb0
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 748a70ad755602593d35eb841b69d0fee35d3132
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Nov 1 08:22:04 2011 -0700

    msm: camera: use ION for stats and userptr buffers in V4L2 driver.

    Change-Id: Ibc7db3a7355d07f421e63e990354e44e372e79d0
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 5e08d77840cfcaba5bd6c43a2ee4b40d516a448f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Oct 3 10:19:15 2011 -0700

    camera: Store the data offsets for each planes.

    - When the user queues a buffer, store the data offset
      along with the address offset which is already stored.
      data offset indicates the offset of the data in the
      buffer.
    - Use this offset when the physical address of the
      buffer is configured to VFE.
    - Depending on the number of planes present in the
      buffer, store either the y, cbr offset or the
      offset of each plane.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit ceea762f4b33c244059f674798527902b0e2168e
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Aug 23 14:01:03 2011 -0700

    msm: camera: Support for Multi planar image formats.

    Add support for multi-planar image formats. This
    allows the luma and chroma planes of the image to
    reside in different memory locations.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit a5ea3a921763e7bb3059116e67635daa2a5d77ca
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 4 17:54:17 2011 -0700

    msm: camera: correct error checking in case of failed allocation.

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 1b9b9a4310cfc4eee2afdd3c20ae96a1dfc4e47d
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Aug 5 15:49:42 2011 -0700

    msm: camera: correct size passed into IOMMU mapping API.

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit c6864b8db38bd6ee700d862df15380eb95234c25
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jul 15 11:43:41 2011 -0700

    msm-camera: add SMMU code for use with videobuf2 framework

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 9812bd34ec034b4a78ed1c1c5f6fbd1ca3d1b43e
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 22:57:11 2011 -0700

    msm camera: migrate to videobuf2 framework

    add necessary changes in camera driver to
    migrate to videobuf2 framework.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

    Conflicts:

    	drivers/media/video/Makefile

commit 5a19c68d63da33710ed52a974a996f03a706b84f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Jul 23 11:34:34 2011 -0700

    Revert "msm: camera: YV12 video support"

    This reverts commit 66882a5046143601429632a0b589d9ffeeb3c668.
    This change will be submitted later.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 7ff0cf49995d22fddaa90cea95dac8850abcac89
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Fri Jul 15 15:56:40 2011 -0700

    msm: camera: YV12 video support

    Support for color format YV12.

    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit fc38e95cca1a20c34fce8202d3465bd53ba74eb1
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jul 13 15:41:14 2011 -0700

    camera: v4l2: Avoid duplicate put_pmem_file on single buffer.

    For each video buffer, get_pmem_file is called when it's enqueued
    the first time. When releasing the buffer, make sure put_pmem_file
    is only done once.

    CRs-fixed: 295111
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 3f2bc4d6eb5a4fada842462ba22bb6bbb41d00c7
Author: Bryan Huntsman <bryanh@codeaurora.org>
Date:   Tue Aug 16 17:27:22 2011 -0700

    Initial Contribution

    msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

    Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
commit 02d550d38360d875cbca8b230591b5e449c0ea2a
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Oct 3 10:19:15 2011 -0700

    camera: Store the data offsets for each planes.

    - When the user queues a buffer, store the data offset
      along with the address offset which is already stored.
      data offset indicates the offset of the data in the
      buffer.
    - Use this offset when the physical address of the
      buffer is configured to VFE.
    - Depending on the number of planes present in the
      buffer, store either the y, cbr offset or the
      offset of each plane.

    Change-Id: I51166ce71b1d8cbe7fc26254e2b460288072342c
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 93d42d4357772a178c7729d20f1a4353a5d9b08d
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Aug 23 14:01:03 2011 -0700

    msm: camera: Support for Multi planar image formats.

    Add support for multi-planar image formats. This
    allows the luma and chroma planes of the image to
    reside in different memory locations.

    Change-Id: Ibd85b89d752d17d6f840e6959d9b3692e0f2aa98
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 1df3081483dfef31e9d8238731915d6d1e6a1bc5
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 4 17:54:17 2011 -0700

    msm: camera: correct error checking in case of failed allocation.

    Change-Id: I8ef5281529e80dffd3ae7d8991e35d11dfeb9f17
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit eac9292b28e7eb1270d4cb0f3e9e8eb234cdea8e
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Aug 5 15:49:42 2011 -0700

    msm: camera: correct size passed into IOMMU mapping API.

    Change-Id: If0b0759a87bff951cbd649f13c7cfcb2ac4f7276
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit f63f37d83adb904bfc4eb011da278e58f160e3b9
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jul 15 11:43:41 2011 -0700

    msm-camera: add SMMU code for use with videobuf2 framework

    Change-Id: I24c1e94173ecca588f4b3d17305014b069aef010
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit bc843c09bde81e1859d557f1d36625bf02499f37
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 22:57:11 2011 -0700

    msm camera: migrate to videobuf2 framework

    add necessary changes in camera driver to
    migrate to videobuf2 framework.

    Change-Id: I703c29b464fa33d4fec271d4970da44281cbb2d6
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 01a5bde2b58c6968994480d9738c0defd8149b1a
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Jul 23 11:34:34 2011 -0700

    Revert "msm: camera: YV12 video support"

    This reverts commit 66882a5046143601429632a0b589d9ffeeb3c668.
    This change will be submitted later.

    Change-Id: I9ac60ad2dadbc330a0b010a706bbefe344d706e7
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 66882a5046143601429632a0b589d9ffeeb3c668
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Fri Jul 15 15:56:40 2011 -0700

    msm: camera: YV12 video support

    Support for color format YV12.

    Change-Id: I89c139c6c7a4d3ec6555cadcb8afe9eef0023de2
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit ab60576721702a811e31536cefd49880a03e1eba
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jul 13 15:41:14 2011 -0700

    camera: v4l2: Avoid duplicate put_pmem_file on single buffer.

    For each video buffer, get_pmem_file is called when it's enqueued
    the first time. When releasing the buffer, make sure put_pmem_file
    is only done once.

    CRs-fixed: 295111
    Change-Id: I79a0e91d7389d6658e004d9958f201504a310a5f
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit da7283c54090a0597d0ae4127f9214ab4f338c83
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Sat Jun 18 22:59:45 2011 -0700

    camera: v4l2: Implement raw snapshot.

    Enhance videobuf-msm-mem, msm_mctl, and msm_vfe32 to
    support CAMIF raw snapshot.

    Change-Id: Id93b9e76c461f12fedddd9ac8b7e8c3c571759a4
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 40798a89bd8932e71a26d1a88f4e6160ca83829e
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jun 21 15:54:12 2011 -0700

    camera: Remove mapping the mmap-ed buffer in kernel space.

    We don't need to access mmap-ed buffer in kernel memory space.
    Hence removed the ioremap. Doing ioremap would fail because
    of the very limited kernel vma.

    Change-Id: I1e7435fdbc1393124be96649b4dd81080830230c
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit ec6d301e36b541c66396464632c7e5631929f9d8
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Sat Jun 18 22:57:21 2011 -0700

    camera: v4l2: Remove ioremap for USERPTR videobuf.

    When videobuf uses USERPTR, the buffer is already allocated
    in user space. We don't need to remap physical address to user
    space.

    Change-Id: Ia93784cfa006d736116cc82447f0cbe5dd975012
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit bb47a1d526e05aa9ce2f66757af76878c8f204fb
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Sat May 28 22:51:50 2011 -0700

    camera: Implement user space pmem buffer using V4L2 userptr.

    In order to support user space pmem buffer across processes,
    we use V4L2 userptr buffer, in which we pass file descriptor
    and offset to the driver.

    Change-Id: Icf89af9b39d2223d9f6ef4beb4c2fb7c67219adc
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 58f35500b3051e2a4e866dacede9e370d3d1ce01
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri May 27 11:38:13 2011 -0700

    msm: v4l2: replace pmem calls with new API

    Replace pmem kalloc/free calls with
    allocate_contiguous_memory_nomap and
    free_contiguous_memory_by_paddr.

    Change-Id: If04255c236bb915b4fd56e4391b8e9e22480bb26
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 075cdb154e92a5fc6017c47b6aced4eb65071414
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Apr 15 16:18:09 2011 -0700

    msm: Remove pmem code dependency in V4L2 camera driver

    This change is being made because PMEM won't
    be included in 8960 kernel.

    Change-Id: I2ab92c4973ee367f528758874776f607f0d85a26
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

Signed-off-by: David Brown <davidb@codeaurora.org>
2013-02-25 11:29:49 -08:00
David Brown
a01a8cabfd msm: video: vcap: Add video capture driver
commit 6a744e339817d68e2b371fa35b0040382b38d044
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Fri Dec 7 15:50:32 2012 -0500

    media: video: Allow NR threshold to be updated by motion est

    VCAP did not allow for client to update threshold values based
    on the motion estimation. By enabling an option for this threshold
    to be updated dynamically by hardware, this allows for a more
    aggressive noise reduction to be applied at the request of the
    client.

    Change-Id: I0ac590ef826ce4567c048745efafbeb05011f31e
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 06550627e1f08b3956e9bf190999cd14123acf9d
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Fri Nov 30 14:35:16 2012 -0500

    media: video: Prevent memory leak in VCAP

    If a client were to do the following, VCAP would not free the ion
    handle:
     -Opened VCAP
     -Start initial configuration
     -Queues buffers
     -Close VCAP without ever calling stream on

    Since VCAP was not freeing ion this would cause a memory leak

    CRs-Fixed: 423881
    Change-Id: I594924d85884aa5e0a647bc52fa9e89e720f4ff6
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 14600e5b94992cebb0cdc1b541293c8f6c952715
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Wed Nov 7 17:16:27 2012 -0500

    media: video: vp_enabled state incorrect after a forced reset

    After a forced reset occurred on VP, during a stream_off call,
    vp_enabled state was incorrect causing one extra call to
    disable_irq. This would result in VP isr to be called whenever
    interrupt was triggered.

    CRs-Fixed: 418792
    Change-Id: Ia66b2d70506d4b06782bc5c25c83587c78f8e9c8
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit df1d4deafb7931eed7ae102440aea76647aab234
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Mon Nov 5 17:06:02 2012 -0500

    media: video: Stride alignment configurable by client

    Prior to this patch VCAP assumed that the line stride should be
    aligned to 16 bytes. It is possible that that the client needs a
    line stride to be 32 bytes aligned. Line stride is now a
    configurable parameter.

    Change-Id: Id05aa862813582c23b18c79bd9edf95b2cdfffbe
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit b0c58b1c28f95b653808a32e1069f88e474bfd0d
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Tue Oct 30 17:56:36 2012 -0400

    media: video: Prevent buffer ion resource from being freed twice

    It was possible for the client to have two threads running where
    one would be blocked in dq_buf that would wake up while the other
    thread was in the process of turning the stream off. This cause
    two thread to try freeing the ion resource which would result
    in a crash.

    Change-Id: Ibbbf34c7770eed99e1a89d2a4c41ad48f5b6a13a
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit aa64d3a2c70286485c37ae640bf929c451ac6188
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Mon Oct 29 13:05:37 2012 -0400

    media: video: VC ISR restructure to make code more readable

    As new features were added to VCAP the ISR for VC has become
    increasingly complex and difficult to read. It was determined that
    the VC ISR code should be simplified and cleaned up in order to
    make the code flow more easier to read.

    Change-Id: If7bc0a41e14c40f67120dacde9a1544e8f1ef7b1
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 37b1ecc312d7fcc3baa4423dfde6a107d85c2500
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Mon Oct 29 17:53:39 2012 -0400

    media: video: Make VCAP properly call regulator_get

    VCAP was not providing a pointer to the device when calling
    regulator_get. Although the call was able to get the regulator,
    there was always an error message regarding not being able to
    create a debugfs node. The problem was because the device provided
    to the regulator_get call was NULL.

    Change-Id: I6b344cafd96db50e95abfbf46021a361ac0de638
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 1f0f274818326a871184fa3e5597d0d2d82002b1
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Wed Oct 24 17:43:47 2012 -0400

    media: video: VC to use data polarity given by client

    VC would ignore the polarity given by the client and hardcode the
    value to zero. Now client is properly reporting value, VC now
    takes the value provided by the client.

    Change-Id: I511b59ed3e9f6b47d14cd688592d85ab97a5204d
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit f0ab1ee4a19e9616b8726d7974b1fb89baec9086
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Mon Oct 22 12:43:36 2012 -0400

    media: video: Force drop 2nd field after VC drops 1st field

    If a field was dropped by the VC, the VP would not be able to
    de-interlace the content properly. The problem with the VP is
    it would have an unbalanced number of top fields and bottom
    fields. In order to alleviate this problem the subsequent field
    will also be dropped. That way there would be a balanced number
    of top and bottom fields in the VP which would prevent jumping
    behavior observed in the de-interlaced frame.

    Change-Id: I96e8c0670b5b29baea8d1574b21c259c16a7a32e
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 0857c97b89fdc6316ed3a1029179963a07c785b4
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Wed Oct 17 16:24:21 2012 -0400

    media: video: Prevent VCAP from dequeue buffers once turned off

    VCAP should not report any buffers ready to be dequeued or allow
    for any buffers to be dq once streamoff has been called.

    CRs-Fixed: 398896
    Change-Id: I2eccf62b7ddff0f7cc0343c8e26bd699b335b9dc
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 8d1c327634466332a93c6d7403758e61de79f728
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Fri Jul 27 16:36:31 2012 -0400

    media: video: Use IOMMU mapping API

    The ion_phys API is being deprecated. Instead there is a new set
    of API.

    Change-Id: I701cc045fe5a0cb0026574dd08016a2bccbc4c72
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit f1b7b584430f6cd33bfee13b916a084fc1b80419
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Tue Oct 16 11:49:24 2012 -0400

    media: video: Shutdown VP before freeing VP buffers

    It was possible for buffers to be freed while VP was still using
    them. This patch ensures that VP has been stopped before that
    happens.

    Change-Id: Ifff689f690cdc43c935ee355dfaca61ade9e9d65
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 9d6f89cb2343ff5adaccb77a177fdc6c3844c65d
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Wed Oct 3 16:24:04 2012 -0400

    msm: mpq8064: Correct VCAP stride calucation

    VCAP was not properly calucating the stride values. This patch
    allows for line stride to be 16 byte aligned.

    CRs-Fixed: 390191
    Change-Id: Id9eca2fd3ec4a51347f2656271591f7bccf36ad5
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit c4aa4c09475ed3029d010417393a6a6368449772
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Fri Aug 31 04:49:21 2012 -0400

    msm: mpq8064: Adding debugfs support to VCAP

    In order to assist in debugging various VCAP issue it would be
    useful to have debugfs. This patch is about making everything to
    debug VCAP, from message to getting important data, available
    within debugfs.

    Change-Id: Ic9373036af6a5eb795da2d89d6f26fcd404264af
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit f3cd9a12838bfe4688e184f90ad16b6c304a8245
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Fri Sep 21 11:18:02 2012 -0400

    msm: mpq8064: Correct VP event type

    There is a VP error that was being incorrectly reported as a VC
    error event. This patch allows for the error to properly be
    reported.

    Change-Id: Ic2a1c6eb3b149bb7075417d54e2040d2261dda08
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 674f4799a54da7f5c38675308c3471c1b70bba4f
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Fri Sep 21 11:10:22 2012 -0400

    msm: mpq8064: VCAP probe properly reports failures

    It was possible for VCAP probe to fail, but still return 0.

    Change-Id: I395cecea90475ea07491a57dde12aae1fa67166e
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit f51f6e6d43c8d1d9b5a8ed86e044f19020146407
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Wed Aug 29 11:02:17 2012 -0400

    msm: mpq8064: Improve VCAP performance

    This patch increase bandwidth request and VCAP core clock
    for 1080 interlace or progressive content. This increase
    helps VCAP capture and process content in a timely manner.

    Change-Id: I8cb8d6e87954272b28a8e83351152354ea75a184
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 911b4b702a63fbd241863966cad45909e40e4665
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Wed Sep 12 14:42:50 2012 -0700

    ion: change ion kernel map function to not take flags argument

    Buffer flags are going to be specified at allocation time rather than
    map time. This removes the flags argument from the ion kernel map
    function.

    Change-Id: I91589ca7b1ab142bb5ac8e6b0f4c06fa1305f23a
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 7d72bad55a0e03392d81eee77a9a8c9df6b73a9a
Author: Hanumant Singh <hanumant@codeaurora.org>
Date:   Wed Aug 29 18:39:44 2012 -0700

    ion: Port heap mask change to ion

    Heap mask field passes as argument at allocation time to specify ion
    heap.

    Change-Id: I8881dfc491dc0f8f70581ad97b35756a6a33dd6d
    Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 8ba7ad9492496e12c5555da796bc1f60d52c46f8
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Tue Sep 18 17:01:34 2012 -0400

    msm: mpq8064: Improve VP de-interlacing completion time

    VP time to de-interlacing for 1080i content was over 20ms. This
    was way too long considering content updating at 60Hz requires
    latency to be under 16ms. This change allow for de-interlacing
    to complete within 7ms.

    Change-Id: Iae2be758ef8d5a6fcecb96df93448226c9ed9109
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 9c4f8a220532407fd890187522b0ddb365b1d660
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Wed Sep 12 10:25:50 2012 -0400

    msm: mpq8064: VC report field info that is used by VP

    VP assumed that the first field provided was a bottom field, if VP
    was incorrect in this assumption it would not properly de-interlace
    content. It was also possible for VC to drop a field, when this
    happened VP would become out of sync again causing de-interlacing
    to be incorrect.

    CRs-Fixed: 397534
    Change-Id: I7a75a5dcd27149220273284a3d48f407bc5a4f31
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 3af95c07d0ff5be80502734f87ed90dc811face7
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Tue Sep 18 16:43:38 2012 -0400

    msm: mpq8064: VP report proper timestamp value

    There was a problem where de-interlace content was not getting a
    valid timestamp.

    Change-Id: Ief9e19c9d20bae3d785a7932b5021e2bba36d238
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit a1e8af4e6cf4bf8a4187a1be844a1462d37affff
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Tue Sep 18 16:41:57 2012 -0400

    msm: mpq8064: Timestamp properly populated within VCAP

    Before this change VCAP was only populating the usec parameter in
    timeval. Now VCAP populates sec and accounts for timestamp counter
    overflows.

    Change-Id: I32b2c49604baba95f56faa483acfe787fdb13b34
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 616762dc78540d8cf82fed1cbbc19cf90956aa4b
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Thu Aug 16 17:47:44 2012 -0400

    msm: mpq8064: Allow any client to control noise reduction parms

    It was requested that any client be allowed to modify the nr
    parameters. Reason for this is that there will be a separate
    pc tool that will be controlling NR for demos. Also fixed a
    bug with that cause s_fmt to failed with EINVAL when arguments
    were valid.

    Change-Id: Ie58972a036bb6637a938b48212ef85faf894002e
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 4b88553634efb3b8748a4c2462c71b69bf491947
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Tue Sep 4 03:51:55 2012 -0400

    msm: mpq8064: Prevent VC from running after error reported

    If VC continues to capture frames after receiving an error the
    frames do not contain a valid frame it is possible for a system
    crash to occur. This change resets NPL as soon as an error occurs,
    thus preventing VC from capturing any more frames. VC waits for
    client to handle error reported by VC.

    CRs-Fixed: 372564
    Change-Id: I72bdbab3251852520801541ed6d5521dc75f7cf1
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 2cba63f9f64c1c5e7d53eeddefc67d075d78d6f8
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Tue Aug 21 10:54:38 2012 -0400

    msm: mpq8064: Allow client to select num bufs for VC to hold onto

    VC part of the VCAP driver was initial implmented for the hardware
    to 2 store and work with 2 buffers. Since hardware is capable of
    storing and filling up to 6 buffers, a new API was created to allow
    client to select how many they want VC to use.

    Change-Id: I0548f1322c9703d9ccf12700be05511b0e1eb0de
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit b128b98ac802c210dfb0ea0b279271c0c24bc2eb
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Thu Aug 16 14:41:19 2012 -0400

    msm: mpq8064: Correct VCAP shutdown procedure

    VCAP hardware shutdown sequence was incorrect. This would cause
    the hardware to become unstable, which would result in the system
    crashing. This patch corrects it so the driver calls the correct
    shutdown procedure.

    Change-Id: I78273f2c70d9eab060dcc34aef0b3704ed685f40
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 72452631e2db3ca641414d05d2437144ac0366c6
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Mon Aug 13 12:32:24 2012 -0400

    msm: mpq8064: Fix false error reported by VP

    Logical or where there should have been a bitwise or. Also ignoring
    cadence change interrupt, because there is nothing for the driver
    to do cadence change occurs.

    Change-Id: I8a6214a66b67f6397a7b99ef54969761640abedf
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit a2cba0df366dc571feb8f8a750405f2ad8284cf6
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Wed Aug 8 11:39:53 2012 -0400

    msm: mpq8064: Use ION to alloc driver buffers

    Since VCAP is behind IOMMU, in order to get proper address for VCAP
    hw to write to driver needs to alloc buffer from ION and not
    kzalloc.

    Change-Id: I1f4fcc6834d0ea09ba0fc812b301219d35f40721
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit cc88c1256aaf04ad1ecc1d7ae6b35ae05112a397
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Mon Jul 16 18:20:02 2012 -0400

    msm: mpq8064: Avoid NPL clock overflow

    Since external components has its own variation there is a need
    for an additional 2% margin for the npl_clk

    Change-Id: I27d77ccd2f5cd9a9635975ea286bf3d0f8dba1d2
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 3dff4ef26eb40494eebb17adef80e66a0a469478
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Wed Jun 13 15:20:59 2012 -0400

    msm: mpq8064: Enable separate ioctl call for noise reduction (nr)

    NR for VCAP is capable of receiving manual tuning parameters. In
    order for the client to pass in these parameters a separate ioctl
    was developed.

    Change-Id: Ia8d7e8de80ee4fd7ccd2019d30b4457f1000e106
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 54d3a6d39374c5fe3bd22be970717f57480d6ad8
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Tue Jul 10 14:05:35 2012 -0400

    msm: mpq8064: Dummy read to prevent false interrupt from triggering

    The VBIF is capable of triggering a false bus error the first time
    it performs a read. This fix creates a dummy read event that
    happens every time that the VCAP is powered on that will ignore
    the false positive VBIF interrupt error, so that during normal
    operation the error can be properly identified.

    Change-Id: Ie56e60faf2067fab7a05a0f16c2d840408c35035
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit ad33c513b4b9455f0822c125affc39138603459e
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Mon Jul 16 17:50:00 2012 -0400

    msm: mpq8064: VCAP corner case bug fixes

    Closing VCAP devices could be called without calling stream off:
    This problem would make VCAP resources taken by devices no longer
    running.

    Using unsigned variable to store signed result: This problem would
    allow stream on to continue even when function returned error.

    Fix problem of reading VP irq status register too early: It was
    possible for cadence detection bit to be propgated faster by only
    a few clock cycles then the picture done bit. When the irq status
    read was performed and by the time a write to the clear register
    was performed the picture done bit would propgate. Since the irq
    is rising edge triggered this would cause a problem and the irq
    would not be triggered until VP was reset.

    Remove unused code

    Change-Id: Iba72354c06287efb27178edf64d8d3f459dbf954
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit a6c9648dd8e85e1e1e854347a78e4497578ebf51
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Fri Jul 6 17:53:09 2012 -0400

    msm: mpq8064: Separate q/dq buffer for VCAP de-interlacing mode

    This change fixes a crash when running VCAP in de-interlace mode.
    The problem was noticed in the introduction of kernel 3.4. VCAP
    was improperly using the videobuf2 framework APIs. Since VCAP is
    already reliant on queue structure provided by videobuf2 framework,
    we created our own basic version of the qbuf and dqbuf calls that
    have some similarities to the videobuf2 framework. This addition
    was necessary since we are calling qbuf from a kernel work thread.
    Since moving to kernel 3.4 there has been a change in videobuf2
    qbuf that dereferences the current process.s mm_struct, from a
    kernel work thread this struct is NULL, which was causing a crash.
    When we are de-interlacing a captured video we are cycling the
    buffers internally in the driver, which is why we needed to create
    our own q/dq buffer functionality.

    Change-Id: Id51b775ae7f0a58bbac8a581e07fa02417802a30
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit b14ed96f74b1258b1f102831a2b0ccd56f991132
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Mon Jan 30 14:18:08 2012 -0800

    gpu: ion: Pull in patches for 3.4

    Pull in Ion patches for 3.4 upgrade. Inclues the following
    patches from google:

     commit 7191e9ba25
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Jan 30 14:18:08 2012 -0800

         ion: Switch map/unmap dma api to sg_tables

         Switch these api's from scatterlists to sg_tables

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 6f9e56945d
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Tue Jan 31 09:40:30 2012 -0800

         ion: Add reserve function to ion

         Rather than requiring each platform call memblock_remove or reserve
         from the board file, add this to ion

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 9ae7e01de1
     Author: KyongHo Cho <pullip.cho@samsung.com>
     Date:   Wed Sep 7 11:27:07 2011 +0900

         gpu: ion: several bugfixes and enhancements of ION

         1. Verifying if the size of memory allocation in ion_alloc() is aligned
         by PAGE_SIZE at least. If it is not, this change makes the size to be
         aligned by PAGE_SIZE.

         2. Unmaps all mappings to the kernel and DMA address spaces when
         destroying ion_buffer in ion_buffer_destroy(). This prevents leaks in
         those virtual address spaces.

         3. Makes the return value of ion_alloc() to be explicit Linux error code
         when it fails to allocate a buffer.

         4. Makes ion_alloc() implementation simpler. Removes 'goto' statement and
         relavant call to ion_buffer_put().

         5. Checks if the task is valid before calling put_task_struct() due
         to failure on creating a ion client in ion_client_create().

         6. Returns error when buffer allocation requested by userspace is failed.

         Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>

     commit 043a61468f
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed Feb 1 11:09:46 2012 -0800

         ion: Switch ion to use dma-buf

         Ion now uses dma-buf file descriptors to share
         buffers with userspace.  Ion becomes a dma-buf
         exporter and any driver that can import dma-bufs
         can now import ion file descriptors.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 0d1259b5f8
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Apr 30 16:45:38 2012 -0700

         gpu: ion: Use alloc_pages instead of vmalloc from the system heap

         With this change the ion_system_heap will only use kernel address
         space when the memory is mapped into the kernel (rare case).

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit be4a1ee79a
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Thu Apr 26 20:44:10 2012 -0700

         gpu: ion: support begin/end and kmap/kunmap dma_buf ops

         These ops were added in the 3.4 kernel.  This patch adds support
         for them to ion.  Previous ion_map/unmap_kernel api is also
         retained in addition to this new api.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 46d71337f9
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon May 7 16:06:32 2012 -0700

         gpu: ion: Allocate the sg_table at creation time rather than dynamically

         Rather than calling map_dma on the allocations dynamically, this patch
         switches to creating the sg_table at the time the buffer is created.
         This is necessary because in future updates the sg_table will be used
         for cache maintenance.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 903f6c716d
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed May 23 12:55:55 2012 -0700

         gpu: ion: Get an sg_table from an ion handle

         This patch adds an interface to return and sg_table given a
         valid ion handle.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

    The commit also includes fixups needed for MSM specific code.

    Change-Id: Idbcfa9d6af0febf06f56daaa6beaa59cc08e4351
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

commit 779dc76f0a8d5db02df5d8b7d9794cd6766d0b9d
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Thu Jun 7 15:59:27 2012 -0400

    msm: mpq8064: Allow power up and down to be more dynamic

    To save power regulators are only powered on when needed. Also in
    this change is that clock rate is not longer set to max rate.
    Clock speed set to lowest rate and still remain properly functional

    Change-Id: I7141c8d630e4dbf5c2593e0aea9a18dc3866a1fd
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 98d11809bd87467a452f9e74d591515499abcfd8
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Wed Jun 6 18:18:43 2012 -0400

    msm: mpq8064: Enable v4l2 event handle in VCAP

    This will allow client to subscribe and receive events regarding
    VCAP device

    Change-Id: If8b6723feaa29dcf4e6a3bb9275ccc776081c830
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 5b1e6f1afb70ace03b32b48d4d70f34302decdc2
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Mon May 28 08:13:55 2012 -0700

    msm: camera: Remove subsystem_map header

    The old subsystem_map APIs are being deprecated. The
    msm_subsystem_map.h header file used to have definitions for
    iommu domains. Remove this header file and include iommu_domains.h
    to get the necessary iommu definitions.

    Change-Id: I417a357789a8fea16bbadd98663a8ebe873ff4e7
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

commit aeb793ea48f0958b0aafac76c3fe774862f4dc69
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Fri May 11 11:41:16 2012 -0400

    msm: mpq8064: Add Video processing driver block for VCAP

    Adding VP portion to MSM VCAP. VP is used for deinterlacing video.

    Change-Id: I888e841cf4d65cf1e5b0316db16923c914469235
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 7d5bfbc69248f59e4889372e536d310ccfeb49a3
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Tue May 8 13:33:48 2012 -0400

    msm: mpq8064: Client passes timing information to VCAP

    This will allow the VCAP driver to be more dynamic and will allow
    for the timing table to be removed from the Video Capture

    Change-Id: Ib631104cc2c45adf429b6a6ca90415c191e24566
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit 3cd5b3d7ce774bf6ea5b1aa5cf38db9ac470985c
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu May 3 20:35:20 2012 -0700

    msm: vcap: Pass device pointers to regulator_get()

    Passing a device pointer instead of NULL as the first argument
    to regulator_get() allows the device to be taken into account
    when finding a matching regulator.

    Change-Id: I8cb02e5dc3294090f2f81371fca64b82139756d7
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit 2dd21d788f51b52b32b3bbfd9baeda9726940ad7
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Tue Apr 24 11:16:51 2012 -0400

    msm: mpq8064: Change in how vcap req_buf calcs num buf

    A design change in how req_buf is suppose to work. Before req_buf
    would set the number of buffers needed to the minimum required by
    VCAP plus one buffer for cycling. The design now is now designed
    that req_buf now adds the minimum number of buffers requred by the
    VCAP to the value passed in.

    Change-Id: If3ac47fee076aefc9095804abfb38cf26c4a806f
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

commit a6914ca5f03f7f8e35ad443c612a6081a8efa127
Author: Terence Hampson <thampson@codeaurora.org>
Date:   Mon Apr 9 14:06:50 2012 -0400

    msm: mpq8064: Add VCAP v4l2 device for MPQ8064

    Adding v4l2 interface for VCAP device driver that utilizes
    video capture (VC) portion of VCAP.

    Future addition will allow for v4l2 VCAP to utilize video
    processing (VP).

    Change-Id: I5e68f4ba39f569ef07d67ca39fb922ad5a19aa4e
    Signed-off-by: Terence Hampson <thampson@codeaurora.org>

Signed-off-by: David Brown <davidb@codeaurora.org>
2013-02-25 11:29:48 -08:00
David Brown
cf5a4992bf msm: vidc: Add msm video core driver
commit 72d9968a380b41386631d83bbca4f02fe87658c8
Author: Arun Menon <menon@codeaurora.org>
Date:   Wed Dec 26 22:09:02 2012 -0800

    msm: vidc: rename functions in hfi layer to hardware specific

    The V4L2 video driver hfi layer would be supporting
    Venus hardware and Q6 firmware for video encode\decode.
    So renaming the functions specific to Venus and common
    functionality accordingly.

    Change-Id: Iaacf44bfe4fd5735fe5e82f335e01e8a314f6575
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit 2f39048f9e548d11134ae686549f92283e23d319
Author: Arun Menon <menon@codeaurora.org>
Date:   Wed Dec 26 15:43:01 2012 -0800

    msm: vidc: move vidc resources inside hfi layer

    As a part of V4L2 video driver restructure, hardware
    specific resources such as ocmem, bus bw requests are
    moved inside hardware specific hfi layer. This is needed
    since same V4L2 video driver will be supporting video
    decode\encode on both venus and Q6 hardware.

    Change-Id: I35eef5051d07ba36f61eded3c58018fde28ca57d
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit bf94306622a59f35d4e0079e5df4ee60cedafe0c
Author: Arun Menon <menon@codeaurora.org>
Date:   Tue Dec 18 14:13:15 2012 -0800

    msm: vidc: create common packetization module

    Venus and Q6 host firmware interface (hfi) share common
    packet interface. The hfi_packetization module
    will be used by both Q6 and Venus hfi layers to create
    packets.

    Change-Id: I74d89d8568315a8e21fa07179eeeb1d9132048e9
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit d9223b518a19e40e306523b42678e3d1518673be
Author: Arun Menon <menon@codeaurora.org>
Date:   Mon Nov 5 13:56:04 2012 -0800

    msm: vidc: Rename hal files to hfi

    The v4l2 video driver will be supporting multiple
    Host Firmware Interface (HFI) layers, so renaming
    generic file names to hfi specific ones.

    Change-Id: If96e23619fc28a03841e9e41470d1de86406ad2f
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit ed7d1fa26f4ec8f263c63a926e6a5308ab4066bf
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Dec 14 16:22:08 2012 -0800

    msm_vidc: Add support to log Firmware debug messages

    Driver need to configure the debug mode to
    Venus firmware. Venus firmware won't send any
    messages to driver without this setting.
    This change fixes the same.

    Change-Id: I24cac6054afc65b9672bb5b294d641053ddd87ea
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit c66cd9a1ae4933b1585d381bfd44f36b9632deb6
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Dec 14 14:53:54 2012 -0800

    msm_vidc: Notify subsystem framework of venus subsystem crashes

    The subsystem framework will use this information to do
    housekeeping work on the subsystem like taking ramdumps
    (if enabled) when the next subsystem_put() is called, etc.

    Change-Id: I5b76acde223e46c04b51a6b84950f4d59566c8c7
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 484fa46427fddc8f72758b90b7646317cf688e32
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Dec 14 15:17:00 2012 -0800

    msm_vidc: Handle venus watchdog timeout

    Handle venus watchdog timeout by informing all
    clients about the error so that existing video
    sessions can be closed.

    Change-Id: I631e319c810d8114050b21038e2f9edbbaf7427e
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit ca878a968d466b432cfec23935bbeb10c9855d33
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Dec 14 13:57:54 2012 -0800

    msm_vidc: Remove SSR related code

    Remove venus subsystem restart related code as this
    code is obsolete now after architecture changes in
    subsystem restart framework.

    Change-Id: I429f5d6ccf6d0a6f0d2513fb0e52c2ed0206e77d
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 86aa0d6de817dbd4e9bd8a009621f297a7349aaf
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Dec 14 00:29:33 2012 -0800

    msm_vidc: Add support to send EOS NAL

    If FW detectd End Of Sequence through NAL unit, it
    sets a flag in FBD message. Add support to process
    this flag and convey to userspace.

    Change-Id: I1224199b0a0db727278898e6d8ef2bb49f814d57
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 1d498a8d96fd01691a1c05809feeb50cc881ec7e
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Oct 18 17:08:17 2012 -0700

    msm_vidc: Update bus bandwidth request to support 4kx2k resolution

    when running 4kx2k videos, video driver was not requesting enough bus
    bandwidth, resulting in low performance. This change updates bus
    request for both encoder and decoder.

    Change-Id: Ic5458338443d777ce3b9a274677c10a62581e9a2
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 9c52fe1998e67983e548a384b2ce6cf620a53fe2
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Wed Dec 12 15:40:56 2012 -0800

    msm_vidc: Add error check for clock scaling.

    Clock scaling uses timestamp to determine the current fps.
    Timestamp for some frames might be invalid and shouldn't
    be used to calculate the fps. Add a check to handle this case.

    Change-Id: I8c570b131d11b1d2644806714fe2a726ca155eb5
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit aed3021f83932b0bc50ff52e6bc0b088a58c4223
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Dec 11 18:27:23 2012 -0800

    msm: vidc: Numerator of timeperframe should be in seconds

    Currently we're treating the numerator of timeperframe as microseconds.
    This is contrary to the V4L2 spec, hence treat it in units of seconds.

    Change-Id: Id934e38c055fe8977557cd6ed464051330607439
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit d08430e2ffad551f7b99e591aab83c05060d278d
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Oct 23 15:23:38 2012 -0700

    msm: vidc: Deprecate V4L2_CID_QCOM_VIDEO_SYNC_FRAME_SEQ_HDR

    Removing the vendor specific control V4L2_CID_QCOM_VIDEO_SYNC_FRAME_SEQ_HDR
    in favour of the more standard V4L2_CID_MPEG_VIDEO_HEADER_MODE.

    Change-Id: Iae2b357f23bbcd68af5b38fcbb08d97763dd1dc4
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 05c648e741255b2f7138f801496412a2ef3ccccc
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Wed Dec 5 18:03:25 2012 -0800

    msm: vidc: add support for V4L2_CID_MPEG_VIDEO_HEADER_MODE

    Add support for V4L2_CID_MPEG_VIDEO_HEADER_MODE, which changes the
    interface by which userspace can request for the video header.

    Change-Id: I412316c5173d677b2797b6b30f91dc0ead596718
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 5b624bbfabfafa36c443d9b36d5912979eeb753f
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Oct 22 19:09:10 2012 -0700

    msm: vidc: Allow client to set only bitrate mode

    Add support for V4L2_CID_MPEG_VIDEO_BITRATE_MODE which is a standard
    V4L2 control.  This precedes the custom QCOM specific control which only
    allows the client to set the bitrate and the framerate.

    Change-Id: Idb2bef8f5b10a2d72c0d02be628f67eb878826c7
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 5084a757570b3ee5220442721d0bbff5787fe31f
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Oct 22 16:21:28 2012 -0700

    msm: vidc: Add support for setting I-frame period

    Add support for the V4L2 standard control for setting I-frame period.
    Thus far, we've only had support for setting the IDR-frame period.

    Change-Id: I877ec596d9056dd24384718bcb397bc5b8e6eede
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 2c2836fb7572d2d5eeaf622fddb4f44734d2d860
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Nov 5 18:39:43 2012 -0800

    msm: vidc: Group controls into clusters

    Organize related controls into clusters.  This commit does away with
    hacks to store values of related controls in static structures which
    inhibit concurrency use cases.

    CRs-Fixed: 414261
    Change-Id: I7347a8c10b57be22be34d88b0a1a7bca5ce8b8a1
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit d7cd510da3eff4645227144c2d33fcda074443f3
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Tue Oct 30 19:20:54 2012 -0700

    msm: vidc: Add support for decoder dynamic clock scaling

    Add support for dynamic clock scaling by calculating the
    decoding fps. Fps is calculated using input timestamps.

    CRs-fixed: 405399
    Change-Id: I0f09d902a3d44a9b93540ed652f872baf8ef8264
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 37529ad4569b2ab42d5b5690b6b286da58491b3b
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Dec 7 15:20:23 2012 -0800

    msm: vidc: Fallback to IOMMU heap

    Video buffer allocation falls back to IOMMU
    heap if MM heap runs out of memory. This helps
    reduce MM carveout size while supporting higher
    resolution encoding/decoding.

    CRs-fixed: 420585
    Change-Id: I3b71a722cbff3bcac32fdd3d74908685870d51ad
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit d9db1c618b1804eab402129878d710cd70a0f5c8
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Dec 6 16:44:33 2012 -0800

    msm: vidc: Print buffer address in hex

    Print buffer address in hex for readability.

    Change-Id: I8c747701b5a6f8c1669ad31537721954af135594
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit eea3cc694bfd3af1ba2643585a06736397543157
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Dec 5 17:38:36 2012 -0800

    msm: vidc: Driver cleanup on receiving SYS error

    SYS errors reported by firmware are handled properly
    and reported to client. On receiving SYS error client
    tries to close the driver. Cleanup in such scenarios
    was not proper. This change fixes that.

    CRs-fixed: 420316
    Change-Id: Ied7303bc2ecf4def6241dc7a37eceb1265417c2e
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit d8e3de6042849eab31df3d6ee4486dcb356eda3f
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Nov 16 17:31:30 2012 -0800

    msm: vidc: Add error check before calling release buffers to FW

    Release buffers can be called in any FW state. If release
    buffers called in non-release reources state, the FW might
    use them whereas the driver will unmap them causing IOMMU page fault.

    Change-Id: I21e7ac3e696594c0a802bd6066ef7a9a3ab9f12b
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit cc8192a0ace8ddd5bd44adca3347ff98296309a1
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Wed Nov 28 17:08:27 2012 -0800

    msm: vidc: Fix NULL pointer exception

    The error check to validate the device open failure has an
    issue where it is checking the wrong variable. This lead
    to NULL pointer access. This change fixes the same.

    CRs-Fixed: 417092
    Change-Id: I635fc43b19a368c2477ab41c9d6d28ec9dc8524e
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 949c2524f9c8d3cf9dd9cf558c0a2cfd2dd2789f
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Nov 8 18:33:18 2012 -0800

    msm_vidc: Fix race condition during buffer release

    Firmware accessed buffers when driver was freeing them. To avoid this
    race condition, firmware now acknowledges release buffer command. Driver
    will wait for this response before releasing the buffers.

    CRs-fixed: 417952
    Change-Id: I1d28103fb4aa8ef55b3d3665a7202284887ae6f6
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 25731c7b1b5a36284729821c0f906392f000a4d6
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Nov 28 12:36:01 2012 -0800

    msm: vidc: Vote for DDR BW before FW download

    Vote for DDR bandwidth before downloading video
    firmware so that as soon as hardware is brought
    out of reset it is able to access firmware. Not
    doing this might result in IOMMU page faults
    on starting video playback or recording.

    Change-Id: I91ecdcdc4c57765f848f75ae6f476cee46a16829
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 7765f8331fe55363c35f3a28592bea064db6fbb1
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Nov 28 12:58:26 2012 -0800

    msm: vidc: Align secure buffer mappings to 1MB

    Secure buffer mappings should be aligned to 1MB
    for the mappings to succeed. This change takes
    care of that.

    Change-Id: I963df71271b9b24191ac94203d36a25fec90cdbf
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 4e4922b4c17353c60b5b89fb4ed32d81b9868dd1
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Tue Nov 27 12:17:11 2012 -0800

    msm: vidc: update driver for firmware interface changes

    This change updates the driver with the new FW interface
    changes. FW modified various packet structures. So the
    changes have made to update the driver accordingly.
    The changes are backward compatible so these work
    with old FW as well.

    Change-Id: I6b34eb1282c74b2ac4a5dd7fc4b4435b9517070b
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit bdcbe380dd07e711a20dbbc6da79768a8f2a6cbf
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Nov 26 21:01:52 2012 -0800

    msm: vidc: Unvote for bus BW after unloading FW

    Driver should unvote for bus bandwidth after all
    transactions are completed. Unvoting after unloading
    firmware makes sure there are no outstanding transactions.
    Without this change, stability of video playback might
    be impacted when video is played back to back.

    CRs-fixed: 419402
    Change-Id: I821f941183fc24ba65d6f17b3f39354e0d77b4bf
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 60802d92c6c96dd57c9b2d988dc3334e731c83fe
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Wed Nov 21 14:53:35 2012 -0800

    msm: vidc: Use proper msm_vidc_core when handling SYS_ERROR

    When handling SYS_ERROR use device_id to determine the core rather than
    find the core via the instance (contained with in session_id).  The
    firmware does not respond with the proper session_id in cases of
    SYS_ERROR.

    When handling SESSION_ERROR pass through the session_id returned by the
    firmware, so that the instance can be cleaned up properly.

    Change-Id: Ic38feb0878579403a1c8e108f18d46bea2891795
    CRs-Fixed: 419792
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit af26b337d6d092106c2fa099b2ed1a8cd3cf43af
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Nov 12 11:50:49 2012 -0800

    msm: vidc: Add control to enable extradata

    Add control to enable extradata. Client can use this
    control to enable a particular extradata for gathering
    additional information about the associated buffer.

    Change-Id: Ib39c614997cd43bee68fccac00d623ddd8caaf9b
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 110e12cc3807af1401986147e6b8371c0c38518e
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Mon Nov 5 12:24:57 2012 -0800

    msm: vidc: Add change in error check for FW buffer requirements

    FW buffer requirements for some buffers can be zero.
    Driver treat them as an error and returing bad buffer
    requirement which are actually valid.Add a fix to
    process the FW buffer requirement correctly.

    Change-Id: I7116fe5a03be77d10b1ecab737f0f3504377f80f
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit b0c1a9ae734a67a45e519bd67c5a1e7d9cbbea46
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Nov 9 15:44:03 2012 -0800

    msm: vidc: Add fix to update capture port buffer size

    If the resolution changed and no port reconfig, the
    V4L2 framework and driver have different capture port
    buffer sizes. Due to this mismatch the buffer is rejected
    by V4L2 framework.Add fix to update the buffer size.

    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
    Change-Id: Ib2ed5684aa10d13a614a3e213afb449d1c3dee8c

commit 6c03c29dbb9e70d172674c33391daff210710db9
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Tue Nov 13 13:35:25 2012 -0800

    msm: vidc: Fix a bug in state transition

    Fix a bug in state transition in driver. Without this
    fix some of the buffers were not released on firmware
    in following scenario:

    1. Video device is openend.
    2. Buffers are allocated.
    3. Video device is closed.

    This change fixes this issue.
    CRs-fixed: 419927

    Change-Id: I5f27b047971bcf1fb85e45a8c9d9938e177a4de5
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 6472cd488fe6f5d59b442745700f0f88f4318a35
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Sep 6 14:12:34 2012 -0700

    msm: vidc: Changes for secure video playback

    Changes required to protect and unprotect buffer
    memory for secure video playback.

    Change-Id: Ia918e35142852b9cb51275972692914d4b78bfb9
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit d4497883dad4e34d0755cb7585db1088c2fb969e
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon Nov 12 17:57:31 2012 -0800

    msm_vidc: venc: update input buffer count for firmware

    Setting max buffer count to firmware and later querying the buffer
    requirements after setting resolution and other properties will result
    in firmware returning max buffer count. To avoid allocating extra
    buffers, this change sets firmware with the max buffer count
    requested by client and firmware.

    Change-Id: I3d5e800ea3cdea4064d4e9d8453eb4d925c77f8c
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 0eaa2266918bb65a89d2a7df0ebb20aebf76c590
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Fri Nov 2 11:57:55 2012 -0700

    msm_vidc: update driver for firmware interface changes

    This change updates the driver to the new firmware requirements.
    Since, FW interface has changed significantly so pre-existing driver code
    does not work with this firmware. This change is a must for driver to
    work with new firmware. After this change, old FW will not work with this
    driver.

    Change-Id: I2f8408dd46909f7f527252410655c6fa919c465a
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 3823bbcf8132561b8da5a76d33d5bd2d143b3d82
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Oct 25 15:36:22 2012 -0700

    msm_vidc: Update firmware of input buffer count for video encoder

    If video firmware is not aware of input buffer count, and driver
    queues more buffers than firmware is aware of, this results in
    firmware crash. This change updates firmware of updated input buffer
    count.

    CRs-fixed: 411057
    Change-Id: I5713a300636071db80f532029cf81c3b88db0789
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 9e2d8826d1b6c7c7a7ccfd8da908af68a5a808aa
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Nov 7 16:23:05 2012 -0800

    msm: vidc: Fix a bug in free_irq

    Free irq should not be called with NULL but instead
    it should be called with hal_device.

    Change-Id: Ic45fbec37ab1c3d3ec877a0f89c7e1c7a1834f59
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit c4e0e5de4869c0bc3c91fddb0657c93bc997b324
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Tue Nov 6 15:50:10 2012 -0800

    msm: vidc: Remove SSR init/uninit calls

    SSR architecture has changed so driver does
    not need to call ssr init/uninit anymore.
    Changes need to be made according to new
    architecture. Removing the old code.

    Change-Id: I5a4334a4da604a78775864a310f2a12378a8de83
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 57860a865d0f91e0c40645c7d8dc0e2b9143936e
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Thu Nov 1 11:52:28 2012 -0700

    msm: vidc: Add support to process FW errors

    Adds support to process system and session
    errors received by FW and communicate them to
    client.

    Change-Id: Iddcb8f0b8a459cf7185e56121ffcbd6a3532e365
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 36f8d36a1fd675741df5e76e030c6bfc09bc6d17
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Oct 18 17:01:06 2012 -0700

    msm_vidc: update vbif setting for video hardware

    Update vbif registers to improve encode and decoder performance
    on 8974.

    Change-Id: I297968273c6acd8d753c310a34f24fa978a6e5f2
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit ff9c23f98a888f7acfe4416f9fd166e876e8d490
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Oct 26 13:09:10 2012 -0700

    msm: vidc: Fix iommu detach and pil_put order

    IOMMU detach should be called before subsystem_put.
    This change takes care of it.

    Change-Id: Iece3f548a152a443705223725763cb8ef6e37b80
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 72f479db62c0cec8080183d2171bd1967ba2598b
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Wed Oct 31 15:30:25 2012 -0700

    msm: vidc: Remove SSR trigger for SYS error

    Firmware is incorrectly sending the SYS error
    for nonfatal error cases. This is causing
    the SSR trigger for invalid scenarios hence
    removing this trigger until it is fixed in
    firmware.

    Change-Id: If98a1b07d071a8c903fe2c6addf01747745c0ae5
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 71b7ba92ed4d143bf1ff3e6a38ab362a56e8775f
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Tue Oct 30 15:41:02 2012 -0700

    msm: vidc: Add support to process resources request from HW

    Add support to process resources request from HW based on
    smooth streaming flag.The client is updated with the
    updated resource request.

    Change-Id: Id95321f6894a903c23d25ee33835bcd1efb36d29
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit c1a7261dcaed73a2023ed4f43df12a13cc77991d
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Thu Jul 5 14:07:35 2012 -0700

    msm: ramdump: Add parent link to miscdevice

    Set the parent of the miscdevice created in
    create_ramdump_device() to be the platform device for each
    processor. This allows us to easily locate ramdump devices for a
    particular processor.

    Change-Id: I7241e57231ad3f6a60d799be094d2b7a7fc40a3d
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

commit 77db8bb9741de2d09f52947a7f6dff89110f3f99
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Wed Jun 27 15:15:16 2012 -0700

    treewide: Replace pil_get()/put() with subsystem_get()/put()

    Do a tree wide sed to replace pil_get and pil_put() with their
    subsystem counterpart. With all the pil drivers migrated over to
    the new subsystem start/stop API this is essentially a no-op.

    We rename "q6" to "adsp" to be more in line with how future
    chipsets name the low power audio subsystem. This requires minor
    changes to userspace; hopefully no more changes will be
    necessary.

    Change-Id: I22dbbdcf7f5aaaa80394a6d70b5cfc24cdb32044
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

commit 6c51b6e489752a0f92e9e446625c79504028ec44
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Oct 15 15:18:04 2012 -0700

    msm: vidc: Add header file for sharing media info

    Create a common header file which can be used across
    mulitmedia subsystems for sharing static information
    between them. One such requirement is to share information
    related to video color formats. This common header file
    avoids duplication of same calculations across different
    drivers and userspace.

    Change-Id: I4cb70c6b2461cc4dfcabcf147f0f314c5cf6a8bd
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 9cb13cccc47d197987f750ad3096aa0dcf583d64
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Oct 29 12:58:57 2012 -0700

    msm: vdec: Handle no-extradata case for video.

    Firmware or client may request for no extradata.
    In such scenarios we have to ignore the extradata
    and let the session go ahead without extradata as
    extradata is not required.

    CRs-fixed: 415351
    Change-Id: I2b58303172552a0e1aa78e71e5b91e2d80d084e9
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 1f0c265bb1da311601f2c1d20baca4506450d1aa
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Mon Oct 22 15:47:52 2012 -0700

    msm: vidc: Add support for dynamic clock scaling

    Adds support for dynamic clock scaling by calculating
    the number of mbs based on the frame rate set by client.

    Change-Id: Ie680bfc4ad536636a1e5793f15efbda1c73e5af8
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 4e303609cf8dc5c340e47224df37f54cf37b90a0
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon Oct 1 18:56:34 2012 -0700

    msm_vidc: venc: Release encoder buffers

    Video encoder session cleanup was not done completely, this
    change allows cleaning up of the scratch buffers and ensures
    firmware releases output buffers before driver frees them.

    Change-Id: I08e825376c81311c4235bbf7d6dd81de969bee73
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 74932576309bf985c3b985f2e88912ff90f8ecaa
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Oct 24 18:54:13 2012 -0700

    msm: vidc: Fix iommu unmap and iommu detach order

    Free any outstanding memory allocations and unmap
    IOMMU before IOMMU is detached.

    Change-Id: Id750db5be260cfdb07e4db013635f94bd120a755
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit a2692a1946b0365c6c335315ced32c9ef4f4d201
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Oct 18 19:23:29 2012 -0700

    msm: vidc: Add logs to indicate video open/close

    Add logs to indicate when video is openend and
    when it is closed. This helps a lot in debugging
    complex issues where multiple instances of video
    are running concurrently.

    Change-Id: I043b248a6bf90bd9b328527782b3a406f6b7f577
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 131aaac36440b3a68bfd252c16adf85b55566f9b
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Tue Oct 16 17:30:22 2012 -0700

    msm: vidc: Add support for thumbnail mode

    Add support for thumbnail mode decode. This reduces
    the memory requirements from HW.

    Change-Id: I7f54cc618759b366389e748527b051524fb2c20b
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit e0368f062d399970940f1d16264f1874ac0a392a
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Wed Oct 17 16:41:14 2012 -0700

    msm: vidc: Change V4L2_CID_MPEG_VIDC_VIDEO_REQUEST_IFRAME to button type

    V4L2_CID_MPEG_VIDC_VIDEO_REQUEST_IFRAME should not be a boolean type as
    subsequent requests for I-frames will be dropped by the V4L2 control
    framework as a duplicate s_ctrl.

    Change-Id: I27b30d8626488dcf7164a4709551d817d607a8d7
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 1efc291329375462538440baca9c47fcfad1aae2
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Jul 25 19:52:17 2012 -0700

    msm: vidc: Add extradata support

    Uncompressed buffers can have extradata associated with
    them. This extradata contains information about the
    uncompressed buffer, eg: interleaving information,
    macroblock error information etc. With this change
    extradata buffers can be exchanged between firmware and
    client. If the number of planes in a  v4l2 buffer are more
    than one, then the last plane is considered as the plane
    containing extradata information.

    Change-Id: I4659d5a5749b0c1f4e32e17ccd5aecfbc4600f62
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit ed8ad3cee7f2a51f1b33cd22f8c391b1ff036727
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Tue Oct 23 16:17:50 2012 -0700

    msm_vidc: update performance calculations in video driver

    Performance calculation were not accurate, resulting in incorrect
    fps reported by driver. Updated the calculations to reflect correct
    numbers.

    Change-Id: I74813aa902332cb2fc088f353e3d1e47e223791d
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit cd2c13431063c20104ee1a07a60280b57f1d2623
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Thu Aug 23 11:59:09 2012 -0700

    msm: vidc: Add support to process HW Error

    Add support to process Watchdog timeout and sys error
    with SSR framework and reporting event bck to userspace.

    Change-Id: Ie12a15044dd01cb0ceab82d4f29d612db2955b8d
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 9df72b18a3fed5b0752812978a4713631d5eaed3
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Tue Oct 16 15:57:04 2012 -0700

    msm_vidc: update bus bandwidth selection for video driver.

    Incorrect bus bandwidth was selected for video encoder or decoder,
    resulting in performance being lower than expected. This change picks
    the correct value when requesting bus bandwidth.

    Change-Id: I76d8bc4e77430337e26aa394e6a3c1d0e5c8b79b
    CRs-Fixed: 406619
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 39f7889bd4d53480867cedd726aaabba4858ef9d
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Oct 16 16:36:25 2012 -0700

    msm: vidc: On session_end_done only free current session context

    Currently, the msm_vidc driver is freeing the contexts of all the active
    sessions, causing hanging pointers and general memory corruption.  We
    should only be closing the context of the session that is ending.

    Change-Id: Ie7bbd5a5b31f79a3ed80bca84b4ec0cc7e6bb013
    CRs-Fixed: 407718
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit ae3e91a67f5d8e4a6aae55a9f7a0d9aad6b71215
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Fri Oct 12 17:37:37 2012 -0700

    msm_vidc: mask extra interrupts from video hardware.

    video driver was registering to receive all interrupts from video
    hardware, so video hardware raised multiple interrupts when
    processing a frame. This change masks interrupts which do not convey
    video information, thereby reducing the number of times video hardware
    interrupts the host.

    Change-Id: I861cad7cc217241bb804b808796863f566aedf6c
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 000b382c1ee984de63c1b63b8b88c01ed04282bd
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Oct 11 18:20:58 2012 -0700

    msm_vidc: reduce excess logging in video playback.

    Excess video driver logs sometimes causes system to crash/freeze UI.
    This change reduces the logs printed during session and fix incomplete
    messages.

    CRs-fixed: 408825
    Change-Id: I1da2f077e2254a813655792805d9bd26b1d63495
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit cde7852e58e7e6d55edca090d63a3b371e7336a8
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Jun 28 18:14:50 2012 -0700

    msm_vidc: enable firmware debug logs from video driver

    Firmware messages don't get printed to console. This change enables
    firmware debug messages and prints them as part of video driver
    kernel messages.

    Change-Id: Ie59a11ee127bbdf87e9ee1983ab52720aa427d27
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit ee1973ba0ea6c63ca781fd6a233411212df3c934
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Sep 26 18:24:34 2012 -0700

    msm_vidc: Enable performance metrics calculations in video driver

    Add support for measure video core response time for command/data
    calls issued from driver

    Change-Id: I2d08cb65b2ef8cf2f977ae13870956413bd8e5fa
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 45648a4a5199e3fb2c8f9aca9e8c003d477c8aaa
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Oct 10 18:58:54 2012 -0700

    msm_vidc: venc: set resolution on firmware in set_format call.

    Resolution information was saved in driver and set to firmware once
    before encoding starts, in one use case this lead to corruption. This
    change configures the firmware to update the resolution everytime
    client updates resolution.

    CRs-fixed: 408761
    Change-Id: I6b43d59c7e44b2e4f48d1fda061f006dc0faca55
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 6a8803fded6d41363efac47314efeb3f142248bc
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Tue Oct 9 18:41:49 2012 -0700

    msm_vidc: venc: set slice size to firmware.

    Slice size information was not propogated to firmware resulting
    in slice size = 0 for all slice enabled encodings. This change
    configures proper size to firmware.

    Change-Id: Ie87ac63791e3473aab98a7186364befbb2156128
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 1586fee7cb9f25516a4290a45a42b9568b9ebee2
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Oct 4 16:21:36 2012 -0700

    msm_vidc: venc: set correct count for input buffers.

    Input buffer count was not set properly for video encoder driver
    resulting in failure to start encoder session. This changes configures
    the encoder to pick maximum of the configured buffer count and updated
    buffer count.

    Change-Id: Ifc25eb930be758bf690d697638255a312b2f39c6
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit acff683704e6c952b6c8007f14f2f477db24118e
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Sep 27 18:06:01 2012 -0700

    msm_vidc: change logging mechanism in video driver

    video driver was logged all messages below given level, this change
    allows selective logging, and enables error and warning messages.

    Change-Id: Idf19bf9f4aa3d729506a32a5e781af7c7d6aa8ad
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 9105d4246637072b7cc9fe4a30cedf7889101324
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Thu Oct 4 18:11:24 2012 -0700

    msm: vidc: Adds fix to set the correct MPEG4 profile

    Fixes a mismatch of profile values between HW
    and vidc driver.

    Change-Id: Id82ab02445fa3f35e4dec5a1553fbecde6b307f7
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 99686cafd940a4734b527117a13a9100e6c24a68
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Oct 4 10:14:21 2012 -0700

    msm: vidc: Clear pending buffer queue on flush

    If flush is called before streamon but after queuing the buffers
    then driver needs to return back the queued buffers. This change
    takes care of that scenario.

    Change-Id: Icab901ee0016c8033d113bc049cc1abbe01ed9e9
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 76b9b4d881b32c13356c736a07b2ee363d5ddd9b
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Mon Sep 17 14:33:22 2012 -0700

    ion: remove obsolete ion flags

    The symbols CACHED and UNCACHED have been replaced by ION_FLAG_CACHED
    upstream. This removes them from the kernel.

    Change-Id: I565dcc4595298ce6a0e81dd8cb98b86a1b38fdb2
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 911b4b702a63fbd241863966cad45909e40e4665
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Wed Sep 12 14:42:50 2012 -0700

    ion: change ion kernel map function to not take flags argument

    Buffer flags are going to be specified at allocation time rather than
    map time. This removes the flags argument from the ion kernel map
    function.

    Change-Id: I91589ca7b1ab142bb5ac8e6b0f4c06fa1305f23a
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 7d72bad55a0e03392d81eee77a9a8c9df6b73a9a
Author: Hanumant Singh <hanumant@codeaurora.org>
Date:   Wed Aug 29 18:39:44 2012 -0700

    ion: Port heap mask change to ion

    Heap mask field passes as argument at allocation time to specify ion
    heap.

    Change-Id: I8881dfc491dc0f8f70581ad97b35756a6a33dd6d
    Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 227a6582d86ae918d290c208f30246b3756084fb
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Tue Sep 11 15:59:11 2012 -0700

    ion: change ion buffer flags

    This syncs up our ion buffer flags in ion.h with upstream (using
    ION_FLAG_CACHED instead of CACHED and UNCACHED).

    Change-Id: I0bca35210da403098a12747ddadb51fa399f8758
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit a67f6464ffbeccb97cc5c27cc704881bc8324e42
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Sep 19 22:02:49 2012 -0700

    msm: vidc: Protect queued buffers list with lock

    Queued buffers list can be accessed across different
    threads so it should be protected with a lock. Without
    proper locking the lists might get corrupted resulting
    in frame drops and crash eventually.

    CRs-fixed: 400702

    Change-Id: Ie316b6744db342203e23a83bf6194983ea5eecca
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit cc2bb4d2164217b82fd0e36a84b1a8f309005ea9
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Sep 24 16:17:45 2012 -0700

    msm: vidc: Fix release buffers to prevent mem leak

    Fix a bug in release buffers and clean up code to reuse already
    existing functionality. Without this fix release buffers was
    failing which might result in memory leak.

    Change-Id: Iedaa19657b69883dd0c66654ada8f0e5bf2ec03f
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 2e542e4409b7a351dbfbe53d2256c3511cb63579
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Sep 24 14:28:19 2012 -0700

    msm: vidc: Unmap iommu in non-atomic context

    ion_unmap_iommu should not be called in atomic context.
    This change removes spinlocks around this call. spinlock is
    needed to protect the addition and deletion into the
    queues and it is not required while unmapping/freeing
    memory.

    Change-Id: I8a35f8d9c18302ce4761eda25f4238b66e948430
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 8c5f34fb8a5c98a827f0c70839cee3c2bfaf1d28
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Fri Sep 14 17:13:38 2012 -0700

    msm: vidc: Configure codecconfig param on video core

    When firmware sends syncframe, codecconfig is also sent along,
    this is default behavior. This means codecconfig is being sent
    multiple times resulting in parsing errors in container. This
    change configures firmware to not send the codecconfig data with
    syncframe.

    CRs-fixed: 396716
    Change-Id: If89aee60a16e422217ac9a7e7415d6448a068966
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit bddb1ebee894aa085db755bfd889b798f74e37c6
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Sep 24 18:01:57 2012 -0700

    msm: vidc: Fix IOMMU pagefault for long clips

    Shared command/message queues are circular, so if they get
    full driver has to write/read into them from the beginning.
    The address used to write/read from beginning was not the
    kernel virtual address causing IOMMU page fault.

    CRs-fixed: 400747
    Change-Id: Ie414f75370c31c8a4fb1bf7c879d1d0f4d5c7ea0
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 86449e6b5f9a803c730ef3988d67378b3d57c86e
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Sep 19 15:24:33 2012 -0700

    msm_vidc: venc: Change default fps for Video encoder.

    V4L2 framework will not pass the fps information to firmware
    if new fps = current fps. This resulted as incorrect rate
    control setting to firmware. This change fixes the issue.

    CRs-fixed: 396793
    Change-Id: I69b66c2d06330cc00857a612f1f4e1f28a2eb2ec
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 00dd73ca7b3b8a0083596354dfe0295694399fd0
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Wed Sep 5 23:13:14 2012 -0700

    msm: vidc: Adds support to release buffers

    Adds support to release internal,scratch and output
    buffers at the end of the video playback and return
    them to userspace.

    Change-Id: Iffd2a09146f4129a97a9566432be8ddde9442308
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 106f5182c1344abff687477a7feabb231f7856ab
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Jul 6 15:08:22 2012 -0700

    msm: vidc: Add msm_vidc_wait as a poll interface for kernel clients

    Add a new interface msm_vidc_wait that is similar to msm_vidc_poll in
    functionality, except intended for kernel-space clients.

    Change-Id: Ia08f228f9865dcb8c92ba8fc04692e4b0184daea
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 7d12f84196c9f2f29f7ca92759502fe407bebe30
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Jul 3 15:10:49 2012 -0700

    msm: vidc: Expose additional vidc interfaces

    Add additional interfaces to msm_vidc so that kernel clients may use
    them.  To enable this, msm_vidc_open() interface has been modified such
    that internal structs do not need to be exposed.  Furthermore, some
    functions such as (un)subscribe_event() have been moved from the v4l2
    layer to the vidc layer.

    Change-Id: If29154b8f542835e6c4ebf0be4c654474038c1ec
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 2e2c63936972bbb4f004e2499485e2c67e62293f
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Sun Aug 12 01:43:14 2012 -0700

    msm: vidc: Adds support for VC-1 MP and SP support

    Adds support for VC-1 Main and Simple profile decoders
    by adding VC-1 decoder entry in vdec formats struct.

    Change-Id: I7b2bbaee6b84e7198f825a80aeb7c52a6271a9a5
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit ff92804047a2e3f7d75f7fc661779a93f9bc2c24
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Sep 14 18:33:45 2012 -0700

    msm: vidc: Reduce video core clock for encoding

    After performance and power analysis, video core clock
    should be reduced to 133MHz for 1080p@30fps load. With
    this clock setting, camcorder end to end performance is
    not impacted.

    Change-Id: Iee0fa9ce20181935faceb7b833b1aa510bbc6976
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit b717b9d6825305d55b3aff75545afbd283ee0714
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Sep 14 12:00:45 2012 -0700

    msm: vidc: Camcorder performance enhancement

    Set VBIF priority register to achieve 1080p @ 30fps
    camcorder performance. This register setting has been
    recommended after performance testing.

    Change-Id: I5feb128b0ff460f3638edb6ca644efbfb3b03283
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 071b9bef721194780cea699b31cdff7d19921052
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Thu Sep 6 10:45:28 2012 -0700

    msm: vidc: include msm-specific ion header

    All msm_ion clients need to use <linux/msm_ion.h> instead of
    <linux/ion.h>

    Change-Id: Ie44e862e13d0929b6ef6e73a74a7bb19a5c6319e
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 4e042b585af2a84e5dec89aba56219dfcdebbec5
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Sep 12 13:41:39 2012 -0700

    msm: vidc: Remove HAL_MSG_* macros

    Video driver no longer uses HAL_MSG_* macros
    for debug messages. Instead dprintk is uses.
    Removing these macros as they are deprecated.

    Change-Id: Id3949b28c1fcd85803c061768e59da79218171f0
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit aaeffd29ab225cd12f30c9dbd581b015ffaf2cab
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Tue Sep 11 17:19:55 2012 -0700

    msm: vidc: Reduce OCMEM bandwidth request.

    Reduce bandwidth request for OCMEM as same
    performance is achieved at lower bandwidth
    numbers.

    Change-Id: I2e1f1560681f86316ecccb08a9daabf46b70cf3e
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit e76323d5edd85dc16a21c1ebee2044f370292f14
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Sep 10 18:03:48 2012 -0700

    msm: vidc: Remove spinlock around ocmem_free

    Spinlock around OCMEM free is not needed. This
    is already being protected by a mutex.

    Change-Id: I9fa370047433812a6b267e24fb4a71ab5443ad58
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 934e81ed00866b905a5e6a8ce53fd45699173dea
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Mon Sep 10 16:56:45 2012 -0700

    msm_vidc: Fix bus bw request for lower resolutions

    Fix bus bw request for lower resolution and send
    proper device address to firmware while releasing
    buffers. With this change clips less than VGA
    resolution should work.

    Change-Id: I96f3ef4185f1ba88931f92a859c3fd92d6e13b63
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 15e870b358cbe8f9e75209448ef6a92f8e4793b3
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Sep 10 15:30:23 2012 -0700

    msm: vidc: Encoder performance tuning.

    Set VBIF registers and clock changes to improve
    encoder performance. This is required to achieve
    1080p 30fps encoding.

    Change-Id: Iacb66e70a3988ca114b23ff002aa46d0fbadeb54
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit b673450004ebe1e44748c1f414900b114d745cb1
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Fri Aug 24 13:00:22 2012 -0700

    msm_vidc: Changes to enable Camcorder

    - Add get_seq_hdr support in driver
    - send KEYFRMAE flag with first frame data

    Change-Id: I57c9097f3f54e63bb8e46629aed987cee054c816
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit f1a7cffbda1049a005ca7c028bfd305fc95f6760
Author: Blaine Dietrich <blained@codeaurora.org>
Date:   Mon Jul 23 12:14:18 2012 -0700

    msm: vidc: Enable/disbale debug messages

    Adds support to enable/disable debug messages
    from debugfs so that messages only upto a
    desired priority can be enabled. By default,
    only error messages are enabled.

    Change-Id: Id133c3f109d227862d1fa580f3b5df4cbbc37e11
    Signed-off-by: Blaine Dietrich <blained@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 7ceb94edc3f97df463b6e1c3e9062760fb7f9ad2
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed May 23 20:19:54 2012 -0700

    msm: vidc: Add debug support for video driver

    Add debugfs and other debug support for video
    codec driver. This creates a debugfs entry
    on device for video and basic information
    about video playback and encoding can be obtained
    from the debugfs files.

    Change-Id: Id4d3d7f6e38bb4993587621ecb8e5dc6bbeb00fd
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 4cd435dd3e4d0157c8d8a692ea66a39d826c3351
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Aug 23 12:59:24 2012 -0700

    msm: vidc: Add flush for video codecs

    Add support to flush input/output buffers. This will flush
    the buffers being held by firmware or video driver and
    return them to client. This operation is usually used
    by an application during seek operation or while
    closing the driver.

    Change-Id: I61d3d8f94eeeeeea0e4c40460bebfd7873f428df
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 9f2303869d0d81b8e09a27e8c3fb2e5057d25dbb
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Aug 24 11:48:41 2012 -0700

    msm: vidc: Pass on the CODECCONFIG flag to core

    In case of SPS/PPS buffers in frame by frame mode,
    the respective buffers must be marked with the
    CODECCONFIG flag.

    Change-Id: Iba29fc03ec736280f2babefc68d3380e856e3006
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit be3d0f7d01f715a642b87f602a2b97f9da6d23f5
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Aug 29 21:10:53 2012 -0700

    msm: vidc: Reduce calls to get buffer requirements

    Reduce calls to firmware to get buffer requirements.
    This call is very expensive causing too much delay
    in video startup. Only calling this when necessary.

    Change-Id: I01f59b5402e82a79742f257d39cda1c9504e6dd0
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit d40bd3f22bec010057a7f26d43f0c8f84edd79fa
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Aug 31 13:22:32 2012 -0700

    msm: vidc: Tune input buffer count for performance

    With just two input buffers, video hardware stays
    idle quite often waiting for data. With the new
    input buffer count venus idle time is reduced and
    improved performance is observed.

    Change-Id: Ia44e106e4c8cf46ebcae9c89054508337c23a6cb
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit cdf8d0cf7bb1e8313d2e5f949ef00b59ef797553
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Tue Aug 28 12:07:36 2012 -0700

    msm: vidc: Video performance tuning.

    Setting vbif registers as per the performance
    analysis to achieve better video performance.

    Change-Id: Id12ebb93ea3bea6e599b40bebf16b0cab16a2bdf
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit a31f9e6ba2087844b3c124aa961463fc99ec95ab
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Aug 20 22:49:18 2012 -0700

    msm: vidc: Fix clock and bus scaling

    Fix bus and clock scaling requests by video
    encoder and decoder. Updated bus bandwidth
    numbers after performance analysis.

    Change-Id: I17a6e857679e88afb88a0b31e9e1a0f4da3d995d
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 20d2801618a3ec248fa0188f9494a91f0e29f4d5
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Thu Aug 23 14:07:10 2012 -0700

    msm: vidc: Always map into IOMMU as uncached

    If buffers provided by userspace are cached, mapping into IOMMU with the
    same flags results in a failiure as cached IOMMU mappings are not
    supported.  As a result, map all buffers as uncached.

    Change-Id: I483eab817b330e4aa7e232b30db2ae0d56730d8b
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 39a8e71631e6658e0909df3573b44694b0df0c96
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Aug 17 16:39:51 2012 -0700

    msm: vidc: Return timestamps correctly back to the client

    Propagate the timestamp client provides on the OUTPUT port to the
    CAPTURE port.  Additionally, use kernel provided functions to convert
    the timeval struct to a 64 bit value rather than requiring the clients
    to set the timestamp within the tv_usec field.

    Change-Id: I19b8b953c837199019d7370f8bf3afec88a0d00d
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit cd111c7a4710f08ea28e4cdb17d6e6e088d38d60
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Aug 16 22:39:02 2012 -0700

    vidc: fix NV12 buffer size calculation in encoder and decoder.

    Buffer size calculation in driver and firmware is different. This
    results in inconsistent behaviour for different resolutions. This
    change calculates buffer size as in firmware.

    Change-Id: I9dca9e0e8729eb4e578de63dc43c01dd65c3f3be
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 3dbe9997ba80f8fcd7e90a91c8dc8154a991ff07
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon Aug 20 12:22:57 2012 -0700

    msm_vidc: Fix setting queue size to firmware.

    Incorrect queue size was being set to firmware. This patch fixes the issue.

    Change-Id: Ic0ab9384d364f70cf06c352331887dfcdf6592c4
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 3475a6e57c17051ffe2180f02f38957e36a912c0
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Aug 10 21:34:03 2012 -0700

    msm: vidc: Honor client's request for more buffers

    The driver should allow the client's request for more buffers than the
    minimum rather than enforcing just the minimum required by Venus.

    Change-Id: I8c10372b1ffef55d0e73b824b13ad80de2446f23
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 564814bd20e01d1d49a105df00604ab90b418179
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Aug 20 11:09:57 2012 -0700

    msm: vidc: Fix for IOMMU mapping.

    Same memory region was being mapped multiple times.
    This fix avoids this scenario and makes sure that
    that we map proper size and single fd is mapped
    and unmapped one time only.

    Change-Id: Ibba932456792d5964213fe93db2c6101ad94b74c
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit e38c55f7034c140d6bdd57bc7016107e3746e72f
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Aug 16 19:37:28 2012 -0700

    msm: vidc: Add support for cached ion allocation

    Add support to allocate ion memory from cached
    or uncached region in video driver. Also, Clean and
    invalidate caches for input, output, shared command
    memory and internal buffers incase they are allocated
    from cached region.

    Change-Id: Id1ac9587bfef8d2d0e2a3d3d30f30e39de10665e
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 8383c095459de560e644c7fa1f96dd8dcc025983
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Aug 16 22:30:09 2012 -0700

    vidc: Disable venus VBIF dynamic clock gating for video core.

    Video core behaviour was inconsistent for different resolutions. This
    was due to dynamic clock gating for venus VBIF was enabled. Disable Venus
    VBIF clock gating to prevent this inconsistent behaviour.

    Change-Id: Id7efd4b7f922efcb77c729f1dc119b1549cb8d74
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit cbad85b92cfe6e487c1da0c723f3e94206690a0c
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Fri Aug 17 14:38:53 2012 -0700

    vidc: Use correct port setting for encoder during prepare buffer.

    When prepare buffer was called for encoder, the port configurations
    were swapped. This change corrects this error.

    Change-Id: I927cf66666dd02e0f4abbdc9d7be561a857ab2b0
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit c71662f18efbbd44270df8c81571c73ea98a980a
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Aug 16 17:49:28 2012 -0700

    msm: vidc: Separate partition for shared memory

    Create separate partition for shared command
    queues. Virtual device addresses for shared
    command queues need to be from upper 16MB
    region of mon-secure virtual device address
    space. This change creates a partition to
    ensure this.

    Change-Id: Iba22daf93b7d08c70f43685de7182a2f235a7690
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 443e6348f76663fd0d590c3fe446ec3fda838854
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Mon Jul 30 00:48:07 2012 -0700

    msm:  vidc: Adds support for Rate Control

    Adds support for Rate Control by setting correct
    RC Mode and bit rate.

    Change-Id: I0307417f3a517e0aa40f67c5d4835db3ef4ea444
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit e541526f3b35b02b25831c14cbc4f43baf6310df
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Wed Aug 1 16:21:08 2012 -0700

    msm: vidc: Adds support to send new command

    - Adds supports to send DECODER command to
    decoder which inturn used to CLOSE the instance.
    - Adds supports to send ENCODER command to
    encoder which inturn used to CLOSE the instance.

    Change-Id: Ia6037fdf66824538124f775442150b7a4ed201b8
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit cd9383f390ebce77c88cd6acb1345fee5b0a497b
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Thu Aug 2 15:58:26 2012 -0700

    msm: vidc: Adds support to send frame rate to Video Hardware

    Adds support to send frame rate to Video HW in right format.

    Change-Id: Ifba83310cb88e6ec898266f9d24bb157ae63aad6
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit d075233da173e5ea1e64f7558d3b3fc8f8a74e4a
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Jul 6 11:14:21 2012 -0700

    msm: vidc: Adds error check for controls

    - Adds Error check before calling control to make
    sure that Venus is in right state.
    - Adds supports to calculate right scratch buffer length.

    Change-Id: I83043a87859d7bb31c683e3ad19a4a23fb519747
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit d39507a2afd46a2caa4460699a72d0ee1287c687
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Jul 30 17:31:37 2012 -0700

    msm: vidc: Allocate persist buffers.

    Persist buffers are needed by decoder/encoder
    in some cases. These buffers are mandatory and
    cannot be ignored. This change allocates persist
    buffers according to the requirement by video device
    to avoid hangs.

    Change-Id: I961bb1abe45dba1cbc770edef2277f33ea186546
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit c2a557ca7c83963156770f6e4212619969c29714
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Aug 3 11:39:47 2012 -0700

    msm: vidc: Fix scratch buffer allocation.

    In some cases, firmware is reqesting driver
    to allocate one scratch with size zero,
    eg: if height and width is set to zero on
    firmware. This change handles this scenario
    appropriately to avoid kernel panic.

    Change-Id: If670f91ef600678af8e246934f685defcb7fdfeb
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 12d8eefc7bcdb1dc4f65b0943e8ea1f1e8b9ea31
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Aug 3 17:45:53 2012 -0700

    msm: vidc: Set proper height and width.

    Set proper height and width on firmware.
    Proper height, width was not getting set
    on firmware resulting in firmware reporting
    bad buffer requirements which caused hang or
    crash during port reconfig.

    Change-Id: I4097e0219a1df423fdd0ec9421800635525cf8c4
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit b17f8aa08ff5d4c7acff0dd3f07019f1755be7b6
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Jul 30 17:16:32 2012 -0700

    msm: vidc: Specify the number of planes in buffer to client

    When a V4L2 client sets or gets the format, driver is supposed to report
    back the dimensions, the size of the buffer, and the number of planes
    contained with in the buffer.  The former two were being reported back
    to the client, while the latter wasn't.

    Change-Id: Ie225e108ce90cc40823ee9c0f13aeb7d054f5bdb
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit bc9f60a99f7d6130e6d8028e340a421072498d3f
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Tue Jul 17 01:23:42 2012 -0700

    msm: vidc: Uses on-chip memory for video codecs

    Video driver allocates on-chip memory (OCMEM) and
    hands it over to the video hardware for internal usage.
    Video encode/decode performance improves with OCMEM.

    Change-Id: Ic6e35278db24cedc003aa33d5e3cef52172e2254
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit cb722d6f8f9a27cd9d579bc8821692b6b03beefc
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Jun 28 19:35:22 2012 -0700

    msm: vidc: Adds bus scaling for video codecs

    Adds bus scaling so that the bus bandwidth
    can be voted for according to load. This
    optimizes power consumption during video
    encode and decode operation.

    Change-Id: I4b7123e9ae2e429ffe9bf4636d633284768e1b33
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 6a8d04ce4f9fa9b7ea96a7009120c9bcee295627
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Tue Jul 17 19:23:05 2012 -0700

    msm: vidc: Change configuration flag for video.

    Change kernel configuration flag for video
    on 8974 so that it does not interfere with
    video drivers on other chipsets.

    Change-Id: I74fa8f0ed7be713893b9e280bb9b77606bc5c786
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 94b221b88d8274f1d04839e52ad3b09fc5aa5fe1
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Jun 25 18:50:13 2012 -0700

    msm: vidc: Adds clock scaling

    Video driver manages clock rate according
    to the increase in load on video core. Clock
    is scaled as per number of macroblocks
    decoded/encoded per second. This makes sure
    that the power consumption and performance is
    optimal.

    Change-Id: If8aede0e3048cdc9bcdf14ce0c239a58bdd5d263
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 0ebb19b6f630f7ee2338504b37db278b617d2a5e
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Jun 22 01:32:37 2012 -0700

    msm: vidc: Add controls specific to H263

    Userspace requires controls to set profile and level values. Hence
    expose V4L2_CID_MPEG_VIDC_VIDEO_H263_PROFILE and
    V4L2_CID_MPEG_VIDC_VIDEO_H263_LEVEL.

    Change-Id: Id2b5d4ade8dda1a32b11820936532300b18c37ac
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 68398a4f0e87aa7285ccf55d1e087f15c32aedca
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Jun 22 18:36:12 2012 -0700

    msm: vidc: Download firmware using PIL.

    Video driver uses PIL and IOMMU to download video
    firmware.Video firmware is downloaded during the
    start of video session using PIL apis.

    Change-Id: If285e9b6df57ecdfa379fa82b9eef542e6aa9bba
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 9c4d9599ad8d57a4fa860c52ac892441a5e605bc
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Sat Jul 14 01:27:35 2012 -0700

    msm: vidc: Adds support for high bit rate and frame rate

    Increased the maximum value for controls
    V4L2_CID_MPEG_VIDEO_BITRATE and
    V4L2_CID_MPEG_VIDC_VIDEO_FRAME_RATE thus by
    increasing maximum supported frame rate and bit rate.

    Change-Id: I6330d178d12652683cce793b7544572594b5dabf
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 951c02de0409e5e56ce2cfe0c06989e2aec1814a
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Wed Jul 11 12:19:42 2012 -0700

    msm: vidc: Adds support for dynamic I frame request.

    Adds support for dynamic Intra frame request by setting
    correct command packet size to video hardware.

    Change-Id: Id851345176bfececae87927fcd61cc9e3f028828
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit c5041daa75ffab4ce8cffb222298bd958fec5ffe
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Wed Jul 18 15:44:57 2012 -0700

    msm: vidc: Adds support for high bit rate decode

    Adds support for high bit rate decoding by
    increasing the input buffer size to hold
    large input frame data.

    Change-Id: I06f8bebddf879104761956bd982c44d854edca2b
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit a46f06badbe9da62bb64790d45c34293b3831a00
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Jul 6 12:23:48 2012 -0700

    msm: vidc: Adds support for VP8 Encoder.

    Adds support for VP8 video encoder by adding VP8
    entry in venc formats struct.

    Change-Id: Icb9fbc049aadd226c7f803ad938d1d76cbb760f4
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 40c3ae806210f2e4576e8fa44fb871124a8fbcc7
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Jul 9 15:23:02 2012 -0700

    msm: vidc: Fixes back-to-back video decode/encode.

    Fixes a bug introduced in recent commit because of
    which only one video session worked. Next video
    session always failed when client tries to open
    the video device.

    The commit ID caused the issue is
    fe72c45cf670cb0fafb04a6a2fa6a1aa428435c6

    Change-Id: Ib0cbe7cac5189cf617e8b3bcfc549e022e88fd46
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 1e8ddaef241c09ab7684fd6dea4a7952c3d57e42
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Jul 6 12:13:06 2012 -0700

    msm: vidc: Adds support for VP8 Decoder.

    Adds support for VP8 Decoder by adding VP8 codec
    entry in vdec formats struct.

    Change-Id: I93bca63e18ae2ba2a125e76584d230c0af1cc33a
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit df7532d69948f453d66f59d0303fe116e3ad8919
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Jul 9 11:21:16 2012 -0700

    msm: vidc: Migration to new firmware version.

    Adds support for the new firmware version by incorporating
    the interface changes between driver and video firmware.
    These changes make the driver compatible to new firmware
    version.

    FW_VERSION: 100100

    Change-Id: I04e9457ac8a85a070f2e4c738ad3e4fc9cbfbaeb
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 1b03554c22ee7d6a90f1a281072dbb73ee831535
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Jul 6 11:02:38 2012 -0700

    msm: vidc: Adds support to send individual controls.

    Adds support to set individual properties to Venus by
    calling controls separately.

    Change-Id: I4af3176ee009f202e62d566de3ce859b6a8d36c2
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit b040a018b5ec2f054e58b6a3b2806c161fd9d22a
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Jul 6 11:29:15 2012 -0700

    msm: vidc: Adds support for Intra Refresh

    Adds Support for Intra refresh by setting
    default values and calling right set_property.

    Change-Id: Ibc04ec195b5265a1db60befb8109693a41f8fe51
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit d8c98c33c58f5f78e7fb60a678fac69b33424dc0
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Jun 15 18:32:52 2012 -0700

    msm: vidc: Fixes polling on video driver.

    poll should return all the available events
    in one call. This change implements this
    behavior.

    Change-Id: I498b621cc5d8fca820376109ca4a5f1bd4c492b2
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 2bf4fb12fdfbfe5552039c6d9d272fdd0c95937c
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Wed Jun 27 20:42:33 2012 -0700

    msm: vidc: Amend buffer size calculation

    Amend the input and output buffer calculation to
    reflect what the Venus core expects.

    Change-Id: Ib3c600d0e838525e3a82a1b2c05803f86075ba15
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 98dfb65a7644809b8868809262a8fbf4937aa915
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Jul 6 08:19:37 2012 -0700

    msm: vidc: Adds support to parse SEQ_CHANGED cmd payload

    Adds support to parse the payload of command
    evt_seq_changed to know about resource request.

    Change-Id: I483954b0453a84be26e3d180f4f18bef042ab409
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 3a323802585b92a821aa79e368611d7c0cb407b3
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Jun 15 15:15:42 2012 -0700

    msm: vidc: Add input buffer flushing support

    Flushing the core is now done with the V4L2_DEC_QCOM_CMD_FLUSH ioctl
    rather than V4L2_DEC_CMD_STOP.  The latter is confusing and the
    arguments specified by the V4L2 spec do not allow for flushing the input
    and and output buffers seperately.

    Change-Id: I53e18e06c4e09ee8496bdcc337b4798f22911708
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 1fc82a278c42f755e65dc909baf2326a3a6e142e
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Jul 6 11:38:51 2012 -0700

    msm: vidc: Adds Profile and Level support

    Adds support for Profile and Level support by setting
    default values and calling set_property.

    Change-Id: Ied289779bca6441c5cfdde7c766c02c14c8bce23
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit e29238b519a7c3b210ceab89029baf0498f6328d
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Fri Jul 6 12:04:17 2012 -0700

    msm: vidc: Adds support for VC-1 decoder

    Adds support for VC-1 decoder by adding the VC-1 Decoder
    entry in vdec formats struct.

    Change-Id: I4a5a278a93c252f4e3a16eb004d06d72dba6e491
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit b361d7772dffe94636c53ea0da113cfc6637fab7
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Thu Jul 5 23:26:55 2012 -0700

    msm: vidc: Adds new event type

    Adds new event type to convey about the resources
    requirement.

    Change-Id: I7ea67231c247dc983463a02b828c10adc486b60d
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit b14ed96f74b1258b1f102831a2b0ccd56f991132
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Mon Jan 30 14:18:08 2012 -0800

    gpu: ion: Pull in patches for 3.4

    Pull in Ion patches for 3.4 upgrade. Inclues the following
    patches from google:

     commit 7191e9ba25
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Jan 30 14:18:08 2012 -0800

         ion: Switch map/unmap dma api to sg_tables

         Switch these api's from scatterlists to sg_tables

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 6f9e56945d
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Tue Jan 31 09:40:30 2012 -0800

         ion: Add reserve function to ion

         Rather than requiring each platform call memblock_remove or reserve
         from the board file, add this to ion

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 9ae7e01de1
     Author: KyongHo Cho <pullip.cho@samsung.com>
     Date:   Wed Sep 7 11:27:07 2011 +0900

         gpu: ion: several bugfixes and enhancements of ION

         1. Verifying if the size of memory allocation in ion_alloc() is aligned
         by PAGE_SIZE at least. If it is not, this change makes the size to be
         aligned by PAGE_SIZE.

         2. Unmaps all mappings to the kernel and DMA address spaces when
         destroying ion_buffer in ion_buffer_destroy(). This prevents leaks in
         those virtual address spaces.

         3. Makes the return value of ion_alloc() to be explicit Linux error code
         when it fails to allocate a buffer.

         4. Makes ion_alloc() implementation simpler. Removes 'goto' statement and
         relavant call to ion_buffer_put().

         5. Checks if the task is valid before calling put_task_struct() due
         to failure on creating a ion client in ion_client_create().

         6. Returns error when buffer allocation requested by userspace is failed.

         Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>

     commit 043a61468f
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed Feb 1 11:09:46 2012 -0800

         ion: Switch ion to use dma-buf

         Ion now uses dma-buf file descriptors to share
         buffers with userspace.  Ion becomes a dma-buf
         exporter and any driver that can import dma-bufs
         can now import ion file descriptors.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 0d1259b5f8
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Apr 30 16:45:38 2012 -0700

         gpu: ion: Use alloc_pages instead of vmalloc from the system heap

         With this change the ion_system_heap will only use kernel address
         space when the memory is mapped into the kernel (rare case).

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit be4a1ee79a
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Thu Apr 26 20:44:10 2012 -0700

         gpu: ion: support begin/end and kmap/kunmap dma_buf ops

         These ops were added in the 3.4 kernel.  This patch adds support
         for them to ion.  Previous ion_map/unmap_kernel api is also
         retained in addition to this new api.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 46d71337f9
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon May 7 16:06:32 2012 -0700

         gpu: ion: Allocate the sg_table at creation time rather than dynamically

         Rather than calling map_dma on the allocations dynamically, this patch
         switches to creating the sg_table at the time the buffer is created.
         This is necessary because in future updates the sg_table will be used
         for cache maintenance.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 903f6c716d
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed May 23 12:55:55 2012 -0700

         gpu: ion: Get an sg_table from an ion handle

         This patch adds an interface to return and sg_table given a
         valid ion handle.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

    The commit also includes fixups needed for MSM specific code.

    Change-Id: Idbcfa9d6af0febf06f56daaa6beaa59cc08e4351
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

commit 995fd27825c1bb27f0bfa76d4a887dc00cd0f1eb
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon Jul 2 12:57:55 2012 -0700

    msm_vidc: Fix decoder output order.

    Decoder's output order was configured incorrectly, this
    change fixes it.

    Change-Id: I523260db33f1df5ffb7c30026683b272c9a05488
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 90ced6e40066e6ed681b78d1689ef9b8e552f0ab
Author: Abhimanyu Kapur <abhimany@codeaurora.org>
Date:   Tue Jun 26 17:41:25 2012 -0700

    msm: 8974: rename copper to 8974

    The official name for copper is MSM8974.
    Switch to it.

    Change-Id: Ifb241232111139912477bf7b5f2e9cf5d38d0f9e
    Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>

commit fe72c45cf670cb0fafb04a6a2fa6a1aa428435c6
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Tue May 29 19:52:00 2012 -0700

    vidc_hal: update driver to new hal interface.

    Update video driver to maintain video functionality with
    new hardware interface.

    Change-Id: I731133ffc4b3633d0c2b55846d983846dfe6930f
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit cf7e27f92a99cdc422d67f6d328c0b910d2bbf9d
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Jun 14 19:05:15 2012 -0700

    msm: vidc: Video driver update to kernel 3.4.

    During the migration from kernel 3.0 to 3.4, V4L2 framework changed.
    This requires changes from video driver. This change makes video
    driver code compatible with kernel 3.4.

    Change-Id: I12fb28e4b7c261c9755fbb62bb6bb8ea299d5272
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 1c72b395348a0d4944e4f05e2979c80e7f8d8c52
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Jun 20 10:50:00 2012 -0700

    msm: video: Fix compiler warnings

    changed array definitions, #defines and variable repetition to resolve
    warnings in compilation.

    Change-Id: Ic26f1924da389f4a8638728963c6a4c8b2f859d0
    Signed-off-by: Jessica Gonzalez <jgaona@codeaurora.org>

commit 240368102e7f6f23ed70835c97bb4e43effb78cc
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Thu Jun 14 00:26:25 2012 -0700

    msm: media: Adds error check in memory alloc function

    Adds Error check for Zero size.

    Change-Id: Ib450c1c8b34436b6a5d1fdc3c14dbb52c9b3f177
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit a1980a18e0e6f868485b232af83efb58f2b3f004
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Thu May 31 12:31:10 2012 -0700

    msm: vidc: Add support for DIVX 4/5/6

    Add support to the driver to properly configure the Venus core for
    various DIVX formats.

    Change-Id: Ica6411936a09edfc3aa4ca321c781ff22948742a
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit c249b751531d3ca2f5506d083720571cb07fc453
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri May 18 17:31:03 2012 -0700

    msm: vidc: Add DIVX311 support

    Implement changes in the driver to support decoding of Divx311
    bitstreams

    Change-Id: Ie4e05c9161d89b866f9f36ca1865a9b64bc51240
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit e6a37af67ac6f2f9eef441e57d13914b4682e1ef
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed May 16 16:47:54 2012 -0700

    msm: vidc: Removes extradata allocation.

    Reverting extradata allocation added earlier in
    3766b1e6b4dea7dea0abed1e9090390640a12909 because
    extradata allocation is causing a hang in firmware.

    Change-Id: I18854cf19757a01794522da75f066bf1ff5e0aa0
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit bff3d1085ec9aeb7942fe76ea3520741061eb1cc
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon May 21 14:50:27 2012 -0700

    media: msm_vidc: change encoder output size

    Change encoder buffer size from fixed to resolution based,
    so high resolution input can be encoded

    Change-Id: I572c8c82a649ae11abe1319bb13d24838d6fcfd1
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit cb00cab7f826f54338303bbb8f02ce72cfa05030
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon May 21 14:22:55 2012 -0700

    media: msm_vidc: extradata buffer cleanup.

    move extradata buffer cleanup to the end of decoder session to
    enable back to back decoding

    Change-Id: Ib4183c73d083efc26442d42e33dc9e2d476ecc13
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit f2acb8593e9b17c69a4c33dd280ecd7edee3dbea
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Mon May 7 17:44:53 2012 -0700

    msm: vidc: Adds support for port reconfiguration.

    Adds support for port reconfiguration. This enables decoder to
    reconfigure to new resolution or settings other than initially
    configured to continue video playback.

    Change-Id: Id11e973e4cf1a5c7e4ec5544215fe57cb19466be
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit 5b79a3252710683b406c03ab21a808e852cb2962
Author: Praneeth Paladugu <ppaladug@codeaurora.org>
Date:   Wed Apr 18 15:16:29 2012 -0700

    msm: vidc: Adds support for conveying events.

    Adds support for conveying events to userspace from kernel
    driver. This is needed to let userspace/client know of
    any error or other event of importance.

    Change-Id: Ife450b9f5dfe23f07b6f346c8e27c214fc85e083
    Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>

commit a6b8db6c28d6db6409bba8397b28f4b89dfb74ac
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Fri Apr 20 15:20:29 2012 -0700

    msm: msm_vidc: enable msm_vidc driver compilation on 8x74.

    Enables compilation of v4l2 based video driver for 8x74.V4L2 clients
    can use video driver to encode and decode video using hardware
    accelerated codecs.

    Change-Id: If615930ddf72023b2a626af6cca87ebf56ede047
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 9c8bab95ac974600c7809db2fc7b3c35004fd5dd
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu May 17 18:20:25 2012 -0700

    media: msm_vidc: fix compilation issue.

    This file depends on vidc_hal_api.h, which was modified to
    address review comments. The change reflects the fix.

    Change-Id: I2b5a64c28e87f6a1696f86c07d597fc058927e6c
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit d2ab0e33cf250647cccabff1073f736f05c7ee83
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Tue Apr 3 18:40:29 2012 -0700

    media: msm_vidc: add v4l2 controls for video encoder

    Adds encoder specific v4l2 controls in video driver, giving
    flexibility to userspace or in-kernel v4l2 client to change/set
    video encoder properties like  codec, profile, level, resolution,
    bitrate, ratecontrol, framerate to video hardware.

    Change-Id: Ie9d0eed301c3adad20471d8ef93f8087fe9dda15
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 1ccbc9106c61b27462036667e7896bdbe0c7d8fb
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Fri Mar 23 16:26:52 2012 -0700

    media: msm_vidc: add set property support in video driver

    Enables setting video encoding and decoding parameters to video
    hardware. This allows configuring video hardware with userspace
    or in-kernel client settings for codec, profile, level, bitrate,
    resolution, ratecontrol, framerate.

    Change-Id: Ie95674dc4ad50e00d737e765af1382c1397d4442
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 6ab782bdf6385bb325667841b7ee53a62a97dca5
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Jan 26 16:58:01 2012 -0800

    media: msm_vidc: Add hardware interface for video core.

    - Provides hardware level interface to perform video encoding
      and decoding.
    - Implements interrupt handling and processing for video core.
    - Packages data to core readable format and processes response from core.

    Change-Id: Ie16796449d2aacf331c7e02b3f0a63175cc5d37b
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 3766b1e6b4dea7dea0abed1e9090390640a12909
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Jan 11 18:58:41 2012 -0800

    media: msm_vidc: Add video driver for video core.

    - Adds video encoding and decoding functionality.
    - Implements v4l2 interface based driver for interacting
      with userspace modules to perform video encoding and
      decoding.
    - Implements kernel API for interacting with kernel
      modules like Wifi display(encoder) and V4L2 based
      DVB(decoder).

    Change-Id: Iadb83b60139e659ae7f66e5dc38c46fef52ca99d
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

Signed-off-by: David Brown <davidb@codeaurora.org>
2013-02-25 11:29:47 -08:00
David Brown
96bb55d8ff msm: camera: Add msm camera support
Contains the following:

commit 85a28502e0308cdd8994c654f3166b6edd314322
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Dec 18 10:49:54 2012 -0800

    camera: Flush event queue for config node before unsubscribe.

    A msm_isp_event_ctrl structure may be attached to a v4l2_event
    entry. Before unsubscribing from the event queue, we need to
    go through the queue and flush all the entries.

    If we leave it to v4l2_event_unsubscribe, msm_isp_event_ctrl
    will be leaked.

    CRs-Fixed: 433808
    Change-Id: I4e7187093c6aa11c64d83a00c310f773a6067f14
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 486846820740c2cafea0c06442a3440ecb70b4d3
Author: Pawan Kumar <pavaku@codeaurora.org>
Date:   Fri Dec 21 16:55:24 2012 +0530

    msm-fb: v4l2: Add user pointer support using ION for mdp3 target

    -Add multi-planar user pointer support in msm v4l2 display driver
    using multiple ION fd's (2 fd's in case of mdp3).
    -Handle multi-buffer use case using memory offset along with ION
    fd to calculate physical address.

    Change-Id: I1352512cbdfb9cf2c9fc20968416d369337e433b
    Signed-off-by: Pawan Kumar <pavaku@codeaurora.org>

commit 3333c85b7dfc7d1b57426ab331461942600d1c28
Author: Punit Soni <punits@codeaurora.org>
Date:   Wed Oct 10 16:51:52 2012 -0700

    msm: camera: Support imx135 bayer version

    IMX135 sensor driver to support the bayer module.
    DW9714 autofocus actuator is enabled

    Change-Id: Ifca80b0da07e15e29927e7165370238dfd05c0b0
    Signed-off-by: Punit Soni <punits@codeaurora.org>

commit c258cd8dae56a95e2bc3a299501f1e988bfac113
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Dec 11 12:42:22 2012 -0800

    msm: camera: Check for valid mctl handle before using it.

    Everytime we get the mctl handle, check if its valid or not
    to avoid null ptr dereferences.

    Change-Id: I94f63edb90765387c719f4355a5c6ddd2c19bee6
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit c0822cd055ac8c09f28747aac2dd4853c58266bd
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Nov 14 14:25:57 2012 -0800

    msm: camera: Add LED trigger flash driver for 8974

    Add LED trigger flash driver for back camera on 8974. Create
    LED trigger client, read hardware parameters from device tree,
    use it to configure LED flash using LED trigger event API.

    Change-Id: I8c8b7bd5a07b2d37dfe5365a0e83b9162c284c6c
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit cef6e5ca81da938b0920865f6ed871b67851063d
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Nov 8 16:45:35 2012 -0800

    msm: camera: Update VFE 4.0 VBIF settings

    Fix VBIF settings mismatch to improve bus efficiency.

    Change-Id: Iab7b61549f69168bb18df9da7c1525a8b9f881f1
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit e3ee3a3aafae950b329970b8d0f104bee09025fd
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Thu Nov 8 16:59:26 2012 -0800

    msm: camera: Update VBIF register settings in JPEG driver

    Fix VBIF settings mismatch with configMon in the JPEG
    encoder/decoder driver

    Change-Id: I88053cf1b7b6acbc8a8226c369d63a56bd9e0840
    Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>

commit dee14bc0c950a18e8fcf305e6072ff43f7ebf83d
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Nov 14 14:24:19 2012 -0800

    arm/dt: camera: Add LED flash support for camera

    For 8974 fluid, pm8941 2A flash is attached to S5K3L1YX sensor.
    Add LED flash device node in sensor device nodes and parse its properties
    in sensor driver.

    Change-Id: Iaefd5c3f1ccdaa81ebd85ae173b33b10a83827f3
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 24b4787b8657080339265468fd8191a2baa4f80f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Nov 19 19:06:02 2012 -0800

    msm: camera: Update the status of the ctrlcmd to userspace

    When the cmd sent by HAL is notified to the daemon, copy the
    result of the processing of that ctrl command like status, back
    to the userspace.

    Change-Id: I6209981fb18abd7d4bd55e1f6525998f7fa14ddf
    CRs-Fixed: 411688
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit c0b42559aa2d1543435b7fee500887cc86c71f3f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Nov 17 13:02:08 2012 -0800

    msm: camera: Add missing unsubscribe function in server ops.

    The entry for unsubsribe_event function is missing from the server ops
    table. Add this entry and point to the correct implementation of the
    function.

    Change-Id: I083213f546556723167a088e0c64c5a20f3295c0
    CRs-Fixed: 399710
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 22370438df34a0bd0039a565d47925bc47bfa133
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Nov 5 20:08:10 2012 -0800

    msm: camera: Update bandwidth requirement for 8x30.

    8x30 hardware configuration is slightly lower compared
    to 8960/8064. So the bus bandwidth figures need to be
    adjusted to avoid bus overflow issues seen in different
    camera usecases.

    Change-Id: I385b1132130affb676ca8199d4b887b7ecafaae3
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 7f723dc68499812c492de39ca0577c1986dbd790
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Oct 12 22:58:13 2012 -0700

    msm: camera: Create v4l2 subdevice for flash modules

    All hardware module drivers except flash are created as v4l2
    subdevices in msm camera architecture. This creates
    inconsistencies in treating hardware drivers at msm media
    controller layer. To have transparent framework and call flow,
    Create v4l2 sudevice for flash modules and register with
    msm mctl. Create drivers for individual flash modules and
    trigger flash functionalities based on wrapper functions
    initialized in function table. Create i2c driver for flash
    modules driven by i2c and platform driver otherwise.

    Change-Id: I15cf00f3f443edb2aeb8cf21ba41ce977c3d4c86
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit f597dacd601bb897911272c0d5f5b3c6ae2e00b6
Author: Ryan Chan <clchan@codeaurora.org>
Date:   Mon Oct 15 16:58:36 2012 -0700

    msm📷 Fix liveshot stop logic

    Injected register-update when liveshot is completed to turn off AXI.
    Ensure register-update is independently set instead of
    waiting for other event to set the register-update bit

    Change-Id: I2484701e2b2bc0d8ad4d8a22e9b45b1e643a587b
    Signed-off-by: Ryan Chan <clchan@codeaurora.org>

commit efc1225298ab93d5bb5c9894324804d6c6a6a0a3
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Thu Sep 13 12:19:13 2012 -0700

    msm: camera: add BE stats support for vfe40

    1.Configure VFE Bayer Exposure(BE) stats registers to collect BE
      stats for 3A to decide total gain to apply on camera.
    2.Add buffer support to collect Bayer Exposure stats for 3A to use.
    3.Allocate and release buffer properly for BE stats.

    Change-Id: Ib857173aa195b9ff1d8b44cf7ba5f9a4a0d30621
    Signed-off-by: Peter Liu <pingchie@codeaurora.org>

commit 75bb69c84245eba8653de4e156557aa3fa12c8e1
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Fri Sep 14 17:17:22 2012 -0700

    msm: camera: Add Bayer stats support for vfe40

    1.Implement correct stats logic for 8974 bayer stats support.
    2.Modify UB buffer config for 8974.
    3.Add frame subsample and irq subsample support for 8974 bayer stats.

    Change-Id: I1ade40e5781868171d138b4ba79afc9b9ef61a9d
    Signed-off-by: Peter Liu <pingchie@codeaurora.org>

commit 6fa6ceffd3356a10339cbf125c1d17a854a369fb
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Oct 12 17:45:12 2012 -0700

    msm: camera: Update mctl_handle only if notification is needed.

    In concurrent camera usecase, a YUV camera could still use the
    preview/video image modes just to queue the buffers. These
    buffers will not be used to configure AXI, but will only be used
    for the postprocessing pipleine. Since hardware is not 'aware'
    of these buffers, there is no need to send any kind of notification
    from the hardware directly. So detect this case, and avoid updating
    the interface map table, which is used to lookup the mctl handle in
    case of hardware notification. Otherwise, the valid mctl handle will
    get overwritten which will impact camera functionality.

    Change-Id: Ie78f606b15bc2b1c502ce2b259a137561df9ce68
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 420381eb5f693fad99ca7f7485a9075c537e6996
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Tue Oct 9 18:18:31 2012 -0700

    msm: camera: enable YUV sensor

    fix sync timer irq by switching from status 0 to status 1

    Change-Id: I7b7944bf5fd373fc2b77c4816074460dd879c899
    Signed-off-by: Peter Liu <pingchie@codeaurora.org>

commit 83efd295891d98ae8a85731e2ab00e565293904b
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Fri Sep 28 18:26:46 2012 -0700

    msm: camera: Support for three planar images in the JPEG Encoder/Driver

    The JPEG 1.0 encoder/decoder hardware supports three planar input
    and output to handle images in IYUV and YV12 memory formats.

    Change-Id: Ie7539be3f13f9b0c57b3c7adc0a92912e58af4f4
    Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>

commit 5785010ab97982528f02aa3b0bb5e9c2aad5438d
Author: Punit Soni <punits@codeaurora.org>
Date:   Wed Sep 26 11:31:27 2012 -0700

    msm: camera: kernel driver for sensor imx135

    Support for 13MP Sony image sensor IMX135.

    Change-Id: If25d8ad0bfdfe9ab4118efb9b54a609df2c16f24
    Signed-off-by: Punit Soni <punits@codeaurora.org>

commit 5c5da4fda9b1d78946c057ea554f65b6bf82c71e
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Oct 5 14:14:29 2012 -0700

    msm: camera: Add missing frame_id copy from diverted frame.

    When a frame diverted to daemon for postprocessing is being
    sent to user, copy the frame_id from the diverted frame along
    with the timestamp information.

    Change-Id: I268148e28f8b055fceb13acf57336ce671c0c3d0
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit d718c5cba80b0eb80e03c74353302e87e27704b0
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Fri Sep 28 12:51:33 2012 -0700

    msm: camera: Add null check for VFE subdev

    If vfe configuration is called after vfe subdev is
    released, kernel crash happens, hence add null check
    for vfe subdev.

    Change-Id: Ib38ed90f4d756278a7a0a3a24712ee601b32e403
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 0665b5ae940c29da0395a1f1e0a02060209c76d2
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Oct 4 09:49:05 2012 -0700

    msm: camera: Clear pending interrupts during AXI subdev release.

    Currently all the pending interrupts are being cleared from
    axi_disable_irq. There can be a race condition where this goes
    ahead and clears all pending interrupts before all the RDI/PIX
    interfaces have stopped completely. This causes undefined
    behaviour during stopping the camera application especially in
    case of RDI only cameras. Move this to AXI subdev release after
    all the AXI subdevs(in case of concurrent camera) are released.

    Change-Id: I35d2db0fd11d4f44b7638d680351ccdcd3715487
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit ec4450439f0a6668a5c2a71398a0713a17fc1b23
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Oct 4 09:58:54 2012 -0700

    msm: camera: Copy the frame_id from the diverted frame.

    When a frame diverted to daemon for postprocessing is being
    sent to user, copy the frame_id from the diverted frame along
    with the timestamp information. Otherwise user will not be able
    to match this frame with other frames based on its frame_id.

    Change-Id: I1d2ed83361ca90e89d27925830cae08226d05483
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 06079c8bfe77e8f2952396de1bfcd4711494a1de
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed Aug 22 14:10:27 2012 -0700

    msm: camera: remove 512 bytes limitation from ctrlcmd payload.

    This change removes the 512 bytes length limitation from the
    payload data passed to the server thread, as part of the control
    commands

    Change-Id: I871b6a6d467f86431bb5d701784231d7142d60d2
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 7ea965018a5c758048f3e96d2ec50366def69997
Author: Aditya Jonnalagadda <ajonnala@codeaurora.org>
Date:   Wed Sep 12 12:45:18 2012 +0530

    msm : camera : Fix Livesnapshot issue

    Create a seperate image mode for vfe2x liveshot to select
    buffer from the proper queue based on proper image mode

    Change-Id: If98ba5ff200f8527bb2cb327f4693e54cd865dd3
    Signed-off-by: Aditya Jonnalagadda <ajonnala@codeaurora.org>

commit 76b9b4d881b32c13356c736a07b2ee363d5ddd9b
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Mon Sep 17 14:33:22 2012 -0700

    ion: remove obsolete ion flags

    The symbols CACHED and UNCACHED have been replaced by ION_FLAG_CACHED
    upstream. This removes them from the kernel.

    Change-Id: I565dcc4595298ce6a0e81dd8cb98b86a1b38fdb2
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit e8d5a24b1afc3456072dc336de925793f06b5e23
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 24 22:19:57 2012 -0700

    msm: camera: Remove is-vpe property from device tree

    is-vpe property is obsolete. Remove it from device tree and
    associated code in msm_sensor to read and interpret its value

    Change-Id: I2428bbd34c784ef23aed2c0051dcaf511d3f3c3b
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit fffd22de3ad8503a0a2c6fc3aa33926e550bd0c7
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Sep 21 16:25:26 2012 -0700

    msm: camera: Change I2C write table logic

    Remove call to pass I2C array for I2C write table since CCI driver
    does not handle I2C polling, I2C mask and unmask yet, handle those
    operations in I2C utility functions.

    Change-Id: Icfc95a950d072b40bb2cb6be9557fa88d184581d
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6be2781bbcf6e7acd7e7362f2b966e7419f84d70
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Sep 19 16:42:06 2012 -0700

    msm: camera: Add MT9M114 support on 8974

    Add device tree node with sensor properties and clock settings.
    Perform platform_driver_probe() since camera sensor is represented
    as platform device on 8974 and create platform driver to drive the
    sensor

    Change-Id: I1e51c09990a0ba745251a345627d288aafb188a0
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 7984d220bbcf31a50e41fa004424e166ec109241
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 24 05:25:23 2012 -0700

    msm: camera: Add sensor settings for s5k3l1yx

    Add settings to support 19.2mhz input clock to s5k3l1yx sensor

    Change-Id: I309303f20b1e40d8c086b9ce9f4ae403eb285515
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 09dbf59ec1027f63b47fff31135bbd8d0b1fa2ad
Author: Jack Wang <jackwang@codeaurora.org>
Date:   Tue Sep 4 16:50:46 2012 -0700

    msm: camera: Bug fixes for new architecture

    Fix bugs so user side can invoke a kernel side eeprom read
    through MSM_CAM_IOCTL_OEM

    1. Handel MSM_CAM_IOCTL_OEM in msm_mctl
    2. Fix handling of CFG_GET_EEPROM_DATA in msm_sensor_bayer
    3. Add a function table entry for eeprom read function in sensor_ctrl_t.

    Change-Id: I1f503f7054a17e34ceb4596910b494b2151470ed
    Signed-off-by: Jack Wang <jackwang@codeaurora.org>

commit 9fc5a6b3acefe112c9083e215c347957de709d70
Author: Katta Santhisindhu <kattas@codeaurora.org>
Date:   Mon Sep 24 14:32:21 2012 +0530

    msm-camera: Remove AXI Reallocation

    During Initialisation Axi is allocated with max frequencies,
    so no need of rellaocating again while taking snapshot or recording.

    Change-Id: I511e97ac200ca4e755c2f649d17dc754448852a7
    Signed-off-by: Katta Santhisindhu <kattas@codeaurora.org>

commit 5ad18cdb0dece4fa320df95ce25287e94cc2f61d
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Sep 7 23:22:34 2012 -0700

    msm: camera: Add CSIPHY core select in camera info for 8974

    Until 8960, CSID cores are physically connected to its corresponding
    CSIPHY cores. Hence CSID core can receive data only from its CSIPHY
    core. On 8974, CSID core can receive data from any CSIPHY core. Add
    support for CSIPHY core select in camera sensor platform data and use
    the CSIPHY core value to select the subdev during msm open. For 8974,
    initialize wait_num_frames during sensor probe if its not initialized
    in sensor driver.

    Change-Id: I46e4be6425c631f0675a547faf46efd746401fe6
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 43211cf36f0094074b0a3cf4c77e42fe250c1954
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Sep 13 00:18:43 2012 -0700

    msm: jpeg: Support for decoder 1.0 driver

    Add support for decoder in jpeg 1.0 common driver.

    Change-Id: Ia4167ea7532bb6a4b5f8a8bc9ae4e638f2be5914
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 5610bab350587a2ba1c87043f19d2f2a4f9ec34a
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Sun Sep 16 05:13:02 2012 +0530

    msm: camera: Fix for camera crash

    while getting interface handle there is no check to
    verify frame_info. Update camera driver to check
    frame_info before accessing this to avoid crash
    in camera.

    Change-Id: Ia2eabe411466da218e3c3de1c79b6a0fd26cb3ce
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 1400e0308463ea8500d9f9fb88c7842ea15cdd05
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Sep 5 00:07:31 2012 -0700

    msm: camera: bug fixes in sensor start and wait error handling

    - If the wait_event_interruptible_timeout() returns with
      error code ERESTARTSYS retry the wait action
    - If the queried FPS is zero the delay needs to be
      set to the minimum delay

    Change-Id: I4b091d0926a3d0d04a3c63190c86aca24e553b70
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 252fa6a4149870642b66a6b858754e280b01612d
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Thu Sep 6 10:28:47 2012 -0700

    msm: camera: include msm-specific ion header

    All msm_ion clients need to use <linux/msm_ion.h> instead of
    <linux/ion.h>

    Change-Id: I38fb66bb9d0cf4d279fc4536c4d165d798076968
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 221a948caac6f9e4132e0fd35c439b78aaa123f1
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Mon Sep 3 05:36:04 2012 +0530

    msm: camera: Enable RDI snapshot.

    Add support for snapshot through raw dump interface which bypasses
    image processing pipeline. This will be used in case of concurrent
    camera when PIX interface is used by one camera. Do a bus reload
    for ping pong buffers individually for each write master for every
    mode that it is started with, as a global reset command may not have
    been issued. Add separate bus scale parameter and keep the crystal
    clock unmodified in case of RDI camera snapshot operation in
    parallel with PIX camera.

    Change-Id: I8b1eb70e623ecd9cc8fe02b5a58e496aa2c016c4
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 6d9dacd5b8c5b2d264c8b6fe0de04d16860ed64f
Author: Aditya Jonnalagadda <ajonnala@codeaurora.org>
Date:   Thu Sep 6 18:35:58 2012 +0530

    msm : camera : Change register value to get 15fps in ZSL mode

    Update ZSL (Zero Shutter Lag) fps to 15fps, VFE gets
    sufficient AXI bandwidth to support this frame rate

    Change-Id: Ied6c0185c0b45c2b7a0bf9b239b62fd1b2e12471
    Signed-off-by: Aditya Jonnalagadda <ajonnala@codeaurora.org>

commit 86ec84fd00c8d6d51ddf0acc2e03cb0f29d15e91
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Sat Sep 8 21:20:51 2012 -0700

    msm: camera: enhance global media controller lookup table

    The existing global lookup table cannot handle the use case that
    two camera devices uses the same image mode. Actually,
    for the SoC camera its pixel image mode are only used for post
    processing. Protection is added to enable this use case.

    Change-Id: I2b560bdc32417a22f0198c948e9734381c2e8f70
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit b2f4f8d5313b4a562fd6890dc37962c7fadcf404
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Aug 24 18:24:51 2012 -0700

    msm: camera: Enable divert of RDI frames to userspace.

    RDI frames from sensor may have to be processed depending
    on the usecase. For eg: For a sensor capable of outputting
    only YUV 422 data, the frame may have to be processed in the
    post processing pipeline to convert it to the standard
    YUV 420 format. Add support to divert these frames.

    Change-Id: I5a0df274348ccf6cc2818eac7652ef83771d011b
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 5c36fd3c94232d681053e9bcd36fc8a8ba238e2c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Aug 23 20:22:48 2012 -0700

    msm: camera: Update the missing information for mctl pp node buffers.

    When a buffer is dequeued from mctl pp node, the offset information is
    not copied over to the userspace. This will result in garbage offsets
    received by the user when he tries to dequeue a buffer on the mctl pp
    node. Update these information when the buffer is being dequeued.

    Change-Id: I93212ce784e5cc2cb062f57873c28fb2e0cf6ed5
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 17b3d50da2917f87bfb450b70597162068334d80
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Sep 6 15:30:34 2012 -0700

    msm: camera: Front camera fixes for 8974

    Change clock array size to accomodate 8974 clocks and change
    OV2720 (front camera) I2C write sequential to I2C write since
    CCI has issues with I2C write sequential.

    Change-Id: Ic73e3fc7005d54b924b6db107a9a46199c2bf54a
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit bd910c85599300ab2f2277c79b75a329a35725c9
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Thu Sep 6 18:24:33 2012 -0700

    msm: camera: Add padding support for the JPEG encoder buffers

    Add support to handle padding added to the input buffer.
    Padding maybe added to prevent edge corruption for certain
    resolutions.

    Change-Id: I6c3525243b388359b7f6ee5c2fb2811833817628
    Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>

commit e581bd66e42ab97c17f434d9f9a25afa464448f6
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Thu Sep 6 17:02:34 2012 -0700

    msm: camera: Disable logs in JPEG Encoder

    Disable logs in the JPEG Encoder driver

    Change-Id: I0234d4cf41954ebc01d3ac30b0053bf37c2df875
    Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>

commit 4f9d27fa52364737a97f16f9379da3c515b49fd2
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Aug 28 23:51:38 2012 -0700

    msm: camera: Enable front camera or cam1 for 8974

    Add support for CSID cores to enable CSID0 clocks by default since
    CSID1, CSID2 and CSID3 cores requires CSID0 clocks. Add support to
    extract phy-sel value from device tree node and pass it to CSID core.
    With phy-sel value in device tree node, sensor can choose CSIPHY core
    and CSID core to use for streaming. Reading buffer if probe fails causes
    CCI to enter into bad state and future I2C call fails. Avoid CCI from
    reading buffer if probe fails.

    Change-Id: I18334db0526c1b86f3f2713b63cd7e7c0d1ddb84
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 5eb01218ae7d64c1b2e3dc9368868197a8c6f731
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Wed Aug 29 17:12:19 2012 -0700

    msm: camera: JPEG Encoder driver

    Add support for the new JPEG 1.0 encoder hardware.This
    is the kernel driver and takes input from the corresponding
    userspace driver.The new encoder hardware supports
    formats H2V2, H2V1, H1V2 and H1V1. It also has support for
    upscaling and downscaling.

    Change-Id: Ib8d7929d7c384b68f87e7f28db335fdca605e15b
    Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>

commit c19653f38023da9775479b289fc53845f8a1efb3
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Tue Sep 4 23:29:18 2012 -0700

    msm: camera: raw snapshot kernel fix for vfe40

    --configure AXI  for raw snapshot correctly
    only one channel for the RAW snapshot.
    --configure BUS command according to HW team
    --update VFE_CGC_OVERRIDE  for vfe40

    Change-Id: I2b38ef51e7bb6b2a9e8ae17f7d4a34c9a632bcbf
    Signed-off-by: Peter Liu <pingchie@codeaurora.org>

commit 43f3afdb2599abe6251979cdbc8e295378f8b437
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Jul 30 15:25:52 2012 -0700

    msm: camera: Change S5K3L1YX clk setting

    Currently output pixel clk is set at turbo mode (320 MHz). This
    causes power drain for S5K3L1YX preview and snapshot. Reduce it
    to proper value for preview, snapshot and HFR mode.

    Change-Id: I94071f9ce48f04f2b049b6fe94f03e91927cd292
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 1854892d7da29ca259c44d693f21980c5601a3db
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Aug 27 11:11:20 2012 -0700

    msm: camera: ISPIF fixes for uinitialized variables

    Initialize local variables in ISPIF driver. This is to ensure
    that the values are not referenced before getting assigned.

    Change-Id: I2cdd4bb93ea024a0d0f8c362fdf125a85e5be834
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 9f2ea270bb6d5a720be9626443582c462dce06f5
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Aug 28 18:31:25 2012 -0700

    msm: camera: Sensor changes for 8974

    Populate child nodes during CCI probe. This is to ensure that
    platform devices for camera is created after CCI is probed
    successfully. Change camera sensor name in clock lookup table
    to ensure that proper clocks are picked up.

    Change-Id: I189372abac22bab08f9600d004c6af045881240b
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 050abf4c0290b9b70e845b61c81f11613db3e048
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Aug 31 13:14:38 2012 -0700

    msm: camera: Add I2C mux config for IMX091 sensor

    I2C mux config is required for IMX091 sensor to successfully probe
    on 8064 target. Add it in power up sequence table.

    Change-Id: I5cad78944723fd7fe87ffe7d209173babbf9d4f3
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 7477130ff2be46ac3ec55bb6b812be477c007e2e
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Mon Aug 27 18:46:47 2012 -0700

    msm: camera: Fix raw snapshot issue.

    Add back raw snapshot support on tip.

    Change-Id: I271e8fb8055660fe69abe6dea4ec69ede6e8b596
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 184c5a58064436a5bb52371f2a48724334dabc80
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Aug 23 20:12:33 2012 -0700

    msm: camera: Remove usage of redundant variable.

    When a diverted frame is returned from userspace, use the instance
    handle present in the frame, if availabe. Otherwise fall back to
    the image mode. We dont need to use the field 'path' since it shall
    be deprecated soon.

    Change-Id: I65d9edd9456d06fe2cc0d02e7c389efe6157447c
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit fd74078153fc7f7a0b58fbe9bc5317a1ae0acbf2
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Aug 29 15:48:56 2012 -0700

    msm: camera: Add state machine for CSI modules

    Add state machine for CSI modules (CSIPHY, CSID and ISPIF) to ensure
    that release is done only if init succeeded.

    Change-Id: I775d2e40ae933da6c61f7882859d61e83c266108
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 7303f594d633006c143b4219ef555c9d33cb2389
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Aug 23 23:36:53 2012 -0700

    msm: camera: VFE 4.0 bring up changes

    Add IOMMU changes to register device context with camera domain.
    Update register address and bit fields for VFE 4.0 for
    bayer stats modules and some status registers.
    Update driver to support concurrent camera feature, the changes are
    mainly to separate the controls of VFE pixel path and RDI path.
    AXI write masters are also control separately to start/stop
    pixel and RDI paths.

    Change-Id: I292efe95ce4ed4b193de95a0f836681ed4d34a14
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 51dbdc50dfb565d9ec15a1b3299fda3d928f83a5
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Sun Aug 19 22:01:09 2012 -0700

    msm-camera: adding new image mode for VFE streaming

    Added two more VFE stand along streaming modes.

    Change-Id: Ifd4c9647c66bcba41438ea11636f030519ed6511
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 2660bd83cbedfcdb871d625c6205d1f9265e313b
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Aug 24 21:07:17 2012 -0700

    msm: camera: Device tree changes in msm sensor

    Append "qcom," to all properties (other than standard properties)
    in msm sensor node in device tree.

    Change-Id: I54eaa350d1190bb9f7c68e67f81521b3fab1829f
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit bdcf7ef9f4c83f138fe4f4d4e147a28bbe4463a0
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 24 08:33:33 2012 -0700

    msm: camera: Sensors changes for 8974

    Enable camera sensors for 8974 by changing clocks, regulator
    and gpio configuration in msm sensor modules.

    Change-Id: Ieed5e44e072fd4fb33c1b15b8d0ab0337c6fa865
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 6e85d932ff968578bc86db310f106537ca730e92
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 24 00:41:00 2012 -0700

    msm: camera: Add 8974 support for camera server device

    Add device tree support to allow probing of camera server device.
    Fix incorrect max number of AXI v4l2 sub device, in order to
    support multiple VFE/AXI sub devices.

    Change-Id: Ie6d169df403f8178edc76fb2bab5e78807506a10
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 91a958a450a7dca24ec8170989d3a4242650b5a2
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Wed Aug 22 17:33:59 2012 -0700

    msm: camera: Disable stats logs by default

    if userspace thread is busy, vfe stats will be dropped.
    But this is not fatal. Hence disable the logs
    which indicate unavailability of free stats buffers by default.
    Otherwise, these logs printed continuously result in
    issues like watch dog bark.

    Change-Id: I37ae2f646726f8c71fdbc98c5c12fdeac031f65e
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 79b9f2233530ce7f3af51a64d257dd4f7f5a0974
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jul 2 12:38:34 2012 -0700

    msm: camera: Dynamically register domain and attach to device.

    Starting with B family chips, the IOMMU client is responsible
    for registering a domain (page table) and attaching it with
    the corresponding device context when required.

    Change-Id: I3b17ce6e27c74516325198f89d88d3635bdbff50
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 5178451deeb68e3abd92532ec79d6eee85bf92d6
Author: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Date:   Tue Aug 14 18:36:14 2012 +0530

    msm: camera: Preserve fixed frame length lines for HFR mode

    When OV5647 is operated under HFR then frame length lines
    are kept unaltered by line count

    Change-Id: I98fe8a4d4af66723e1bd574ead0fe2cc87ca12ba
    Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>

commit 2e68e3394a7f2f7ca9124d56c67252a9035d7cd7
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Aug 7 21:07:30 2012 -0700

    msm: camera: Map/Unmap the VPE I/O buffers.

    Currently the input buffers and the output buffers configured to VPE
    are directly picked up from the v4l2 buffer queue, when a particular
    frame is sent to VPE for processing. This adds a condition that the
    input/output buffer should be present in the v4l2 buffer queue at all
    times. If the user wants to do some processing (for eg: Image
    stabilization) on the frame and then send it for VPE processing, this
    can not be achieved, since the frame would be dequeued by the user for
    processing. Add support to map these buffers when they are sent for
    processing and unmap them, when the user is receiving the processed
    buffer. Add two generic APIs msm_mctl_map_user_frame and
    msm_mctl_unmap_user_frame to perform the necessary map/unmap
    functionality.

    Change-Id: I5f1489b38844b5d2bcacb67a17f6d63e1aced342
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit b88c8c2de9479a9448325fc3887e47231577eefe
Author: Jack Wang <jackwang@codeaurora.org>
Date:   Thu Jul 26 11:33:36 2012 -0700

    msm: camera: Sensor kernel restructure

    Add new sensor utility functions for I2C write,
    I2C read, EEPROM read and gpio operation. This is
    to provide better control and flexibility for user
    space sensor module.

    Change-Id: I534c9c51768fcd8d00713bdcf87b63083a606ced
    Signed-off-by: Jack Wang <jackwang@codeaurora.org>

commit 923fbad109f4703c72369d4fe8ecf61f6bdf56c3
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Jul 26 17:31:42 2012 -0700

    msm: camera: Sensor regulator sequence restructure

    Move senser regulator sequence from board file to sensor
    driver. In future, this sequence shall be passed from user
    space for initial development.

    Change-Id: Ie1c65f66da077529b9952f3edaa95ac07dc119bd
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 254f7e728d4ed366d1d783f23b75cf29b92c3f34
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Sat Mar 17 17:27:34 2012 -0700

    msm: camera: Restructure CSI components

    Instead of sensor controlling CSI modules, move it user space
    and configure it through media controller. This is to make
    all v4l2 sub devs to function independently without the knowledge
    of other sub devs.

    Change-Id: Ie37dad8cb393f0b8deb65f330469e38eb374ba40
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 47e5657507e793ea00c3938c14edfb662af9ef93
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Fri Aug 10 20:05:55 2012 -0700

    msm: camera: Add vb2 buffer support for parsed stats

    Add video buffer support for parsed vfe stats

    Change-Id: I14f1814a57187a0d80f0aa1b781762058bb62ad5
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 8c9bf5dcd7c1fdaa32a0855f3aa76ef45a8cc7c6
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Aug 7 15:45:31 2012 -0700

    msm: camera: add support for private general ioctl and event

    This change adds support for private commands going to the plugin
    and private events with payload going to HAL.

    Change-Id: Iceb3c3ad1fdc5f45f3bd552b727456ccf54bc006
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 5c6060cc62c33f1db5abf44e33c98e30f9afa4d2
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Aug 11 03:06:17 2012 +0530

    msm: camera: Fix the camera init sequence for dual camera

     - Initialize the camera subsystem cleanly for two concurrent
    camera sessions without overwriting the data structures for the
    older session.
     - Move the initialization of vfe default variables to vfe reset
    as vfe reset is called only for the camera running on PIX interface
     - Add a global holder for the axi output mode to be shared
    for multiple config commands.
     - Initialize shared gpios for dual session only once.

    Change-Id: I80a42f84de800293ae0c620f7299297467e4ce19
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 5d00d6665dfe96e5b9c0da7a37ab6f8414a5cd0b
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jul 30 09:42:26 2012 -0700

    msm: camera: update rdi frame count from ISPIF SOF.

    The RDI frame id count needs to be updated based on SOF
    interrupts from ISPIF. This is unlike the PIX count
    which can(possibly) depend on SOF interrupts from CAMIF.

    Change-Id: I5a69f1d4dcc8aadc6defe896835c59415b84a445
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit c4a19d6c421fc192a8b0afad0a604327f36b5c5f
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Aug 3 08:40:54 2012 +0530

    msm: camera: Move operation config from vfe to axi and split irq handling

    - Move the operation config registers for rdi to axi for concurrent camera
    - Split irq as shared and interface specific
    - Move AXI related irq handling to AXI subdev.

    Change-Id: I108dddadf96b3e987d0a91d0793dc89e815c380f
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit b6539e0e2e190568f63daf82f23de8fcf3beabe3
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Aug 2 23:23:02 2012 -0700

    camera: vfe32: Init vfe subdev during axi subdev init.

    This makes sure vfe subdev is initialized even when
    user space doesn't call ioctl to initialize it in RDI
    use case.

    This is necessary because vfe subdev is used in axi
    only case.

    Change-Id: I1d8179b28b8cf065b50ae8dabbd14df6cd9a2fef
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 6735126e59848404e31b176e696b435a7902d4ee
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Aug 1 17:09:42 2012 -0700

    camera: Remove isp_sdev for concurrent use case.

    For concurrent use case, isp_config & isp_notify
    should be specific to each use case, not to each
    vfe subdev.

    Change-Id: I1d82a37f19e2d824f2971ebf6810f62b816f5712
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit d778571b17baf792ef63f31cf9539722361818fc
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Jul 31 19:09:11 2012 +0530

    msm: camera: Enhance start stop logic in axi

    - Handle RDI start stop separately from PIX
    - Add separate call for axi halt
    - START_ACK is now redundant because PIX0_REG_UPDATE_ACK
      implies START_ACK.

    Change-Id: I84fa25310c4eb27feda65a224bea5bb3f7e32945
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 526df7fad91516d3e4ff0713c5dc389bdb87df5f
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Wed Jun 27 19:43:27 2012 -0700

    msm: camera: Fix lens lock issue in actuator.

    The actuator is not able to move beyond one region boundary.
    This is because when there is region boundary between current
    lens position and destination lens position, the lens is first moved
    to region boundary and then moved to the destination target position.
    Once region boundary(target lens position in this case) is reached
    we should not assume it is the end of total lens movement. So
    condition check (curr_lens_pos == target_lens_pos) is wrong. Hence
    removing the inaccurate condition check.

    Change-Id: I0346277b4e9a3f1e0e4ce7bd11c8dbaacfc288f7
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>

commit 8047d09e74ba449fd1fbd05cfdf196bb77f47292
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon Aug 13 19:14:23 2012 +0530

    msm: camera: Add AXI arbitration logic for VFE

    Camera is facing axi overflow issues for full size
    modes due to unavailability of AXI bus for VFE. Update
    camera driver to send AXI allocate request before starting
    the camera.

    Change-Id: I2b3249cd85ecf552a042cd690853eb6f4d4b346d
    CRs-Fixed: 383532
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit ae5f5e800c0db491f7e96ba1f8de42a206c4dc29
Author: Jeyaprakash Soundrapandian <jsoundra@codeaurora.org>
Date:   Wed Jul 25 20:52:49 2012 -0700

    msm: camera: eeprom support flag moved to right place

    The eeprom support is set to true and should be populated
    and passed in the eprom getinfo

    CRs-Fixed: 383179
    Change-Id: I2b67247b6175978eef6effec42b6995e1a2458d6
    Signed-off-by: Jeyaprakash Soundrapandian <jsoundra@codeaurora.org>

commit 0aab6ac98d61244dd2af358b8450947fd611ef98
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jul 31 18:31:32 2012 -0700

    camera: vfe32: Use vfe subdev for NOTIFY_VFE_IRQ notification.

    By doing this we don't need to look up mctl instance, which is
    not necessary because NOTIFY_VFE_IRQ does nothing more than
    routing IRQ to VFE subdev.

    If we were to look up mctl instance, for IRQs like RESET_ACK,
    we won't know whether we should use PIX or RDI instance.

    Change-Id: Idbecc47d7e031302cc4c03aa9936584ea10225d3
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 842f3fbfe52ea24fb2e11c3f1826c190209e3368
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Fri Aug 10 02:32:20 2012 -0700

    msm: camera: Add state for sensor power up

    The sensor and flash triggers I2C transactions during close.
    These transactions should be done only if the sensor is in
    power up state. Add necessary state variables to check
    the state of sensor.

    Change-Id: Id41a39b12e2d368899c308e24a02eb357db78e64
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>

commit b07deddc7706aa86964ef5c273d543a82d788469
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Jul 2 17:30:44 2012 -0700

    msm: video: wfd: Move WFD related files out of camera directory

    The msm/ directory is intended for camera. Hence moving up the wfd/
    directory one level higher and renaming it as msm_wfd/.

    Change-Id: I9309ccfee91a04b6d55cf3be7ed88da15364b475
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 70509435d4dcc218be0b4b17ebffe09a9c0aaa42
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Jul 31 11:04:36 2012 -0700

    msm: camera: Fix couple of potential race conditions.

    When the camera daemon dies(either killed manually or
    some crash), all the open fds(server node, mctl pp node,
    config node) will be closed. However the order in which
    these are closed is not predictable. Hence there might
    be a couple of potential race conditions triggering
    kernel panics. Fix those potential race conditions.

    Change-Id: I2ceb608ba99cbc698832a8dcf1ddfcaa7a0a0675
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 7479183e6a2091f7a695852f669fad5aba25b255
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jul 30 13:53:43 2012 -0700

    msm: camera: Initialize the vb2 queue during buffer registration.

    Move the vb2 queue initialization from set_format to
    reqbuf(buffer registration). This is to ensure that the
    user does not have to set the format again, if he is trying
    to stop and start a stream.

    Change-Id: I902072a33fcf43ed882759c14d327667c42a88bd
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 853d2c8ad8313d2788eabbdab90464da6b3cd835
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Aug 2 11:59:39 2012 -0700

    msm: camera: Fix gestures start issue

    Gesture control framework doesnt use MCTL. Hence prevented
    MCTL valid check for gesture subdev notifications.

    Change-Id: I862a7514e7ab3d6801399a9c4c288ae1afa8c465
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 4538be463ef2293c2b825879e1ca29ea63836570
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Tue Jul 24 22:20:11 2012 -0700

    msm: camera: Fix RAW snapshot pipeline for YUV camera

    The pixel format for YUV sensor output is added to the
    list of supported RAW output formats.

    Change-Id: If9c5df2c33b2ca3d5555ea54cd09095a0031fd12
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>

commit 3e8a1d1c69b56198e946e2fc45d054912965178f
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 31 15:00:09 2012 -0700

    msm: camera: Move ping pong buffer and bus scale logic from vfe to axi

    Move the ping pong buffer configuration and bus scaling
    logic from vfe to axi as for concurrent camera case,
    vfe component will be turned off

    Change-Id: I39b465dcc121b83f960370b25349dc941ac8c34b
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 99430570f350a50f27b2722910e0de636ab9b8ea
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sun Jul 22 02:23:43 2012 -0700

    msm: camera: Initial commit for VFE 4.0

    Add Image Signal Processor support for 8974 chipset.

    Change-Id: Id1f425e59d48e490d5e426f5d056bca7c54b54a2
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit e50fd27b416768fd6b1edbbad2b7667abbee6f7d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 26 11:41:00 2012 -0700

    camera: Pass the isp notification to correct mctl/config.

    In concurrent camera use case, multiple mctl instances
    coexist at the same time. isp notification needs
    to be sent to proper mctl instances. The decision is
    based on the interface from which the notification comes
    from: PIX, RDI0, or RDI1.

    Change-Id: Ieb3cdcc26c595871e1b9ffcc04c8d5c0ab4f210f
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 196a27c6b390003912cae287c8fa84396fa601d7
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jul 23 23:01:52 2012 -0700

    camera: vfe32: Add RDI reg update ack notification.

    RDI and PIX have different timing characteristics.
    They should not share the same START_ACK notification.
    Add rdi0, rdi1, rdi2 reg update ack notifications.

    Change-Id: Id36b52ae5cf98f5f9f86e92028ec7ab0e7427a23
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 109c211daa5771cededece028ee2026fb3d22934
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jul 23 17:28:11 2012 -0700

    vfe32: Separate AXI reset with VFE reset.

    Refactor reset to axi_reset and vfe_reset. axi_reset
    initializes stream off/on, irq related registers.
    vfe_reset only handles stuff related to VFE components.

    VFE_RESET_2 is removed. Both axi_reset and vfe_reset
    are synchronous calls.

    Change-Id: I274c17defbfbc56056b020c48239696b0f579b0e
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 42eedc90fd7ec892da8dd25608b6ee6c65fba377
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Jul 27 04:28:11 2012 +0530

    msm: camera: Add api for axi halt and axi stop

     - Add api for axi halt and axi stop. Axi stop disables the write masters
    based on port information and calls axi halt if not in concurrent
    use case.
     - Add support to disable axi halt for snapshot to preview transition

    Change-Id: I5d0b7436d1f1a67e1c25e902c244bdb8bca1a466
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit d34791bd9bf218e636d4cb7f5b8b2956d38b27b1
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Mon Jun 11 18:47:36 2012 -0700

    msm: camera: calculate sof_count in ISPIF instead of VFE

    Instead of counting the frame id inside VFE camif,
    obtain the sof count in ispif and then pass the count into VFE
    also add the capability to enable the sof count in VFE

    Change-Id: I90c0178d933cb4c80627eb9a5f22b4bb13b10b27
    Signed-off-by: Peter Liu <pingchie@codeaurora.org>

commit cd3d81ef876be616e94c423a2a6b0395ff687b96
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 31 13:04:03 2012 -0700

    msm: Decouple VFE component from AXI

     1. Move the logic to enable write masters from vfe
    to axi as vfe component may not be enabled for concurrent camera
     2. Pass the vfe operation mode and port info from user space
    instead of storing in the global shared variable

    Change-Id: Ibe01bbe6a449afc3e4116c0a1c5f0d68662c5ee6
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 52c886e197706191393c06777145783b9006f700
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jul 20 16:15:06 2012 -0700

    camera: vfe: Refactor axi configuration for concurrent case

    1. Ping pong buffer configuration is not done during axi
    configuration. Rather, they are programmed by enqueuing/
    dequeuing of buffers. Ignore ping pong buffer from axi
    configuration structure.
    2. BUS_CMD register should be updated when all UB offsets/
    depths are configured.

    Change-Id: I1de1f5a5b43f964cfd3d1d86f91e2e91e58e9939
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 1121b64304fb5747d5fb90ee1bf437d870bc5644
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Jun 28 15:22:04 2012 -0700

    msm: camera: Add DT support in msm sensor for 8974

    On 8974, camera sensor is created as a platform device.
    platform data is specified in device tree node. Add
    support in sensor driver to parse sensor information
    from device tree node. Create sensor drivers as platform
    driver since CCI hardware controls i2c bus. Also, use
    Camera Control Interface (CCI) util functions for I2C
    communication.

    Change-Id: I5dc954c5b83eacbdaf486a4c8241644568f167fe
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 920b8e0d8421e547f5739830b1eebf211873d400
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu Jul 12 00:03:22 2012 +0530

    msm: camera: Live snap shot changes for VFE 2x

    VFE needs special handling for live snapshot case. A flag is
    used to check the livesnap shot state

    Change-Id: I48295624f77d49f355b881f66520c0310dc1d68a
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 08413fc60b221e8ed9305f68904b1537e7fe878f
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Jul 16 17:27:02 2012 -0700

    video: msm: wfd: Delay fill_buffer until START_DONE

    VCD requires we do not give any output buffers to be given until
    START_DONE is received. In the case that buffers are given, it
    introduces race conditions in the vidc with respect to the SPS/PPS
    buffer, which vidc assumes to be present on the first fill_buffer but
    actually isn't present until START_DONE.

    Change-Id: Ie4dec3ed41e0f248175fb7d9719b458d3b699539
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 5bfc57822c91d3922bc422b895155fec239592ee
Author: Srinu Gorle <sgorle@codeaurora.org>
Date:   Fri Jul 13 07:32:18 2012 +0530

    video: msm: wfd: Send signal HDMI observer to mirror on  FB2.

     - Send KOBJ_ONLINE, KOBJ_OFFLINE events to HDMI observer
       to mirror on  FB2.

    This reverts commit 4102d704243cf0ff297cdbe8d5b731da4c0bb9d5.

    Change-Id: Ie5f0c4528ee43edf5ff8145520723a8095c0f542
    Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>

commit 5c190ad7f53aa2890ca0d466d933e99daa04019d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jul 9 16:30:51 2012 -0700

    camera: vfe32: Create synchronous version of VFE reset cmd.

    Logically from RESET to RESET_ACK, no interrupt should be
    generated from hardware. Synchronous RESET call makes
    code flow simpler.

    Create a new ISP command VFE_CMD_RESET_2 which blocks
    until RESET_ACK irq fires.

    Change-Id: I1c1974c01d7037f457ab767a83f5cece3fe23705
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit c842b613e6e090c06574b7b3c0d0166c4dfe6fb1
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon May 21 17:23:24 2012 -0700

    msm: camera: CCI driver for 8974

    Add Camera Control Interface (CCI) driver based on V4L2
    architecture. Add probe sequence, subdevice creation,
    hardware registers and configuration through V4L2
    subdev call mechanism. This driver is responsible for
    communicating with sensors, actuators and EEPROM
    connected on I2C bus.

    Change-Id: I2f135798e26348740f58da223caafdd8dfbbd098
    Signed-off-by: Hody Hung <hhung@codeaurora.org>
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit d812321dcb7fe15d0c62af549f18946320380129
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Sat Jun 30 13:15:27 2012 -0700

    msm: camera: ISPIF changes for 8974.

    ISPIF changes on 8974 to include VFE interface. Pass VFE interface
    from user space ISPIF module and configure accordingly. Add support
    to configure extra PIX and RDI interfaces.

    Change-Id: Idb840fa3d1ef2d1a7242fc2175b8fa64f75aa14b
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6267cb6a50991110dd7409c90f65c29084033134
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Jun 18 23:34:24 2012 -0700

    msm: camera: Remove VFE version specific enum

    Remove duplicated enum for different VFE version

    Change-Id: I386ef874731442ac3deb4ccec36f353f30671f9f
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 4698a5b0299a5222c0e9f06978e7e2eb1bc80c9c
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jun 5 22:44:14 2012 -0700

    camera: Reorganize vfe files into vfe folder.

    The number of files in msm/ folder is increasing and shared by other teams.
    This helps improve the organization of the msm folder.

    Change-Id: I25f73e467b9d0390850f587363ddc3ff9e44b1e4
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 6a08cbb7863ee238ba0812a9d344c3257b2bde82
Author: Yonggui Mao <yongguim@codeaurora.org>
Date:   Mon May 21 10:39:23 2012 -0700

    Camera: Enable AE bracketing on VFE 2.0

    Add support for burst mode for VFE 2.X.

    Change-Id: I276e380038ec61be05b2a5ba8fd340533fb15e81
    Signed-off-by: Katta Santhisindhu <kattas@codeaurora.org>

commit 1df2e2576f90c5a441e2cd584c6561ac2b6c1033
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Jul 24 13:41:56 2012 -0700

    msm: camera: Correct the usage of return free buffer API.

    When a free buffer is released/returned back from userspace,
    mark it as QUEUED instead of UNUSED. This will ensure that the
    buffer is put back into circulation.

    Change-Id: Ib6fc058ee2f34044446e777a525f81b2ee971c9c
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit bc315ea3c81c545f273492d5532d62d109a3c4c7
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 24 09:55:48 2012 -0700

    msm: camera: Add support for Bayer stats

    Add support for Bayer stats

    Change-Id: I69b408af91565581c925540bccb04708278bda05
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 58243db25ebb92f6ae812886a9b5c15106bd432b
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 24 00:06:27 2012 -0700

    msm: camera: Fix memory leak with stats buffers

    Buffer unprepare is not done while releasing stats buffers,
    hence add support for buf unprepare ioctl

    Change-Id: If4fa95c270363d1948b5924c2365785d1427e2f4
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 97e2e6125a2d5b4cb00b27652e8355f4854d8c94
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 12 13:51:17 2012 -0700

    msm: camera: Add some minor code fixes.

    Add couple of valid ptr checks and zero out
    variables after allocation.

    Change-Id: Ib0e80eab9ac41cec192d1c4a04f8aeafd77729a3
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 318134d515525e73a5c57775ab692107b140c92b
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 12 12:33:34 2012 -0700

    msm: camera: Remove duplicate video device list initialization.

    When a video device is registered through video_register_device,
    the fh_lock and fh_list variables are already initialized. So we
    dont need to explicitly initialize them during v4l2 event queue
    setup. Doing this overwrites the fh_list in some cases like
    mctl pp node, where each instance can have its own eventHandle but
    linked to the mctl pp video node. This can cause video device list
    corruption in some usecases like HDR. Remove this extra
    initialization for v4l2 nodes which register their video devices.
    For native nodes using v4l2 event handles, add the initialization
    before setting up the v4l2 event queue.
    Move the function setup_v4l2_event_queue and
    destroy_v4l2_event_queue into msm_cam_server.c for better code
    organization.

    Change-Id: Ifcd148d5d0187cf33a6ea49977010e88d6043698
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 907859007ebd854b7afcfa3c14edda8efadd2e55
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 5 13:59:38 2012 -0700

    msm: camera: Add support for instance handle based buffer lookup.

    Currently when VFE requests for a free buffer, we search based
    on the image mode sent from VFE. In some cases, there can be
    multiple instances with the same image mode. This means the
    buffer lookup logic has to take into consideration other
    parameters like current usecase, vfe operation mode etc.
    To ease this, add support for buffer lookup based on
    the instance handle. The instance handle contains information
    about where to get the buffer from. So the buffer lookup
    logic does not have to know about other details. The instance
    handle is decided when the user sets the format for a particular
    instance. It is passed on to the VFE during AXI configuration.
    VFE stores this and sends it whenever it requests for a free
    buffer for a particular output.
    Keep the current image_mode based buffer lookup logic for
    legacy targets.

    Change-Id: I78c3db77ac4014365c9866ff780ec71ac4c7ff87
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 4b3443f0882826f3f0de468c799e77c6477380d0
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jun 11 14:06:31 2012 -0700

    msm: camera: resource manager related changes.

    Make changes to support dynamic selection
    of subdevs through the resource manager. Instead of
    choosing the subdevs to be used by the current mctl
    session statically during open, the VFE, AXI and VPE
    subdevs are now selected and initialized later as per
    session requirements.

    Change-Id: I8df951b81f0ccc77e5b4f64bf5cf620822cf0175
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 1d1d3075e4f5be4d63c2f0271bc9a99d82804a7b
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 5 13:40:13 2012 -0700

    msm: camera: Add live snapshot entry to bus vector table.

    The current camera bus vector table does not have an entry
    for Live snapshot usecase. Add this entry into the bus vector
    table. When user takes a live snapshot during video recording,
    just switch to this new entry and when its done, switch back
    to video entry. Also, correct the .ab value for video usecase
    since the current value is not sufficient for all the usecases.

    Change-Id: I9c8c9ede2cf22cf8a21383e3d7868c75f21eba12
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 31ed0277b503adc7ca9a106cd1b2f844838858a5
Author: Hody Hung <hhung@codeaurora.org>
Date:   Mon Jun 11 10:22:20 2012 -0700

    msm: camera: CSI changes for 8974

    This request has changes in CSI drivers to address hardware
    changes between old platform and 8974. Add combo PHY
    support in CSIPHY and CSID driver. In CSID, select
    input from any CSIPHY core and add support for matching
    platform device in device tree convention

    Change-Id: I3d1d8eed56f0440db7a8a4864f1c63f098f4caa7
    Signed-off-by: Hody Hung <hhung@codeaurora.org>

commit 353d7b3ebcfd1390b0d2e85358dbb16caf0380f9
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Mon Jun 11 00:20:30 2012 -0700

    msm-camera: Add Double Padding support in Gemini.

    Add support to handle the padding on both sides of the input
    buffers to the Gemini driver to support rotation in ZSL mode

    Change-Id: I4bc0ef5a3d0f551021afbb93fd57acdcc83875b4
    Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>

commit e80fb9b2df87991010e603150c064e0248f8707d
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Jul 10 03:30:47 2012 +0530

    msm: camera: Add proper axi channel width in kernel header

    Pass the right axi channel width as corresponding data
    structure has changed in user space

    Change-Id: I4df5407cee79f07707048dbce5b28cfd1f925306
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 90e6438d9a13ebd2c0a5d807b1b37ab08bb22e99
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jul 2 17:36:56 2012 -0700

    msm: camera: handle simultaneous SOF and stat interrupts.

    Sometimes a stat interrupt arrives just before the next SOF,
    such that the VFE bundles the two interrupts together into one.
    In such a scenario, the frame id sent along with the stat interrupt
    message will incorrectly carry the farme number for the next frame.
    This change checks for such occurences and adjusts the frame
    id accordingly.

    Change-Id: I9914c428baf74cab81aade62843b9043f20108f9
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 780f6db0c0e5a9174d2cd7d9ea203a2b49039c77
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Tue Jul 10 11:30:23 2012 -0700

    msm: camera: Fix flicker issue for S5K3L1 camera sensor

    The S5K3L1 sensor has a flicker issue when the exposure
    settings are changed. This is resolved by using FAST
    UPDATE MODE.

    CRs-Fixed: 365712
    Change-Id: I297c2dcfb6750f01fe9947cf42be9b34386be5cc
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>

commit eebdb24da356264dbc08ee604e947d9130daa6eb
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Jul 6 12:28:28 2012 -0700

    msm: camera: Camera IRQ router changes

    Camera IRQ router changes for 8974
    1) Add device tree match struct for camirq_router driver.
    This is required for 8974 since platform device node is
    added in device tree.
    2) Probe camera IRQ router before other modules by
    changing probe order. This is required since irq router
    needs to register irq information with cam server before
    other modules update its irq information
    3) Assign proper cam_irq_hw for ISPIF during register
    subdev. Otherwise, cam_irq_hw will be used uninitialised.

    Change-Id: Ida29abb91264a178d45d000fe78c9555b55c0fe3
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 717b9e38da7069e46346bc67eb938c90096fabeb
Author: Katta Santhisindhu <kattas@codeaurora.org>
Date:   Wed Jul 4 17:06:22 2012 +0530

    msm-camera: Fix the Mask Parameter

    "mask" is a new variable added in the I2C register config
    structure. It is introduced in the middle of the structure.
    This creates issues with MT9M114 camera YUV sensor
    using the structure.

    Change-Id: I29f6e175f1e1a7a5275ac3dd7c2e9deb7cfa3a49
    Signed-off-by: Katta Santhisindhu <kattas@codeaurora.org>

commit becf41c5f741586eb5446879100f063549786ce0
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Sun Jul 15 12:53:55 2012 -0700

    msm: camera: Fix crash in camera on 8660

    The ackpending flag check is not valid while processing cs
    stats irq which is causing an additional read to the ping pong
    status register and resulting in crash of the device.

    Change-Id: I8dab122ab2cd93718f2a90f493822bddd299b457
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit c13372eaf3ef8446216c2420a65683a49b02f712
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Jul 11 20:08:07 2012 -0700

    msm: camera: Initialize the vfe stats structures.

    The vfe stats ctrl and ops structures are being used
    uninitialized. Zero them out during vfe subdevice
    initialization.

    Change-Id: I1c20dd54f98a778060953d25449114cdafcf52e7
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit ef95ae33a328426b45f502eeb86f2edc120faf30
Author: Olav Haugan <ohaugan@codeaurora.org>
Date:   Tue May 15 09:50:30 2012 -0700

    msm: iommu: Split rotator/mdp iommu domains

    Finer granularity is needed when mapping into the IOMMU's for
    rotator and mdp for secure playback. During secure playback
    HLOS will only have access to map into one context bank. The
    other context bank is secured and programmed by TrustZone.

    Divide DISPLAY_DOMAIN into DISPLAY_WRITE_DOMAIN and
    DISPLAY_READ_DOMAIN. Divide ROTATOR_DOMAIN into ROTATOR_SRC_DOMAIN
    and ROTATOR_DST_DOMAIN.

    Change-Id: I2d67525d6026b8a1fb2f2cb00e4bb118c8eb6f27
    Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>

commit 2db3384fa38336391ea177d7475eb7bc00627f7f
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jun 26 22:41:32 2012 -0700

    msm: camera: Add free status buffer queue

    Add support for free buffer queues for vfe
    statistics

    Change-Id: I9a791d5869aa090f661904b41b210cea51f67aa4
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 54bf3abc0d7e96b55874cf1ff64a1d92f2ff3987
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jul 2 09:57:59 2012 -0700

    msm: camera: Send camif error notification to user.

    In case of CAMIF errors, notify the user so that it
    can cleanup resources and exit gracefully.

    Change-Id: Id6cea63ef47e1bd3881db7f61c6cc3cc3c9343b3
    CRs-Fixed: 371688
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit fa18a0377950bd3836a6c6a9828b1c684f42f78f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jun 25 14:34:18 2012 -0700

    msm: camera: Pass device pointer to regulator_get()

    During VPE/VFE initialization, pass the device pointer to
    regulator_get() as per the expected usage of the API.

    Change-Id: Ide33ff05814e11d5955a8ec7916ef595dceb0f84
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit b14ed96f74b1258b1f102831a2b0ccd56f991132
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Mon Jan 30 14:18:08 2012 -0800

    gpu: ion: Pull in patches for 3.4

    Pull in Ion patches for 3.4 upgrade. Inclues the following
    patches from google:

     commit 7191e9ba25
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Jan 30 14:18:08 2012 -0800

         ion: Switch map/unmap dma api to sg_tables

         Switch these api's from scatterlists to sg_tables

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 6f9e56945d
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Tue Jan 31 09:40:30 2012 -0800

         ion: Add reserve function to ion

         Rather than requiring each platform call memblock_remove or reserve
         from the board file, add this to ion

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 9ae7e01de1
     Author: KyongHo Cho <pullip.cho@samsung.com>
     Date:   Wed Sep 7 11:27:07 2011 +0900

         gpu: ion: several bugfixes and enhancements of ION

         1. Verifying if the size of memory allocation in ion_alloc() is aligned
         by PAGE_SIZE at least. If it is not, this change makes the size to be
         aligned by PAGE_SIZE.

         2. Unmaps all mappings to the kernel and DMA address spaces when
         destroying ion_buffer in ion_buffer_destroy(). This prevents leaks in
         those virtual address spaces.

         3. Makes the return value of ion_alloc() to be explicit Linux error code
         when it fails to allocate a buffer.

         4. Makes ion_alloc() implementation simpler. Removes 'goto' statement and
         relavant call to ion_buffer_put().

         5. Checks if the task is valid before calling put_task_struct() due
         to failure on creating a ion client in ion_client_create().

         6. Returns error when buffer allocation requested by userspace is failed.

         Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>

     commit 043a61468f
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed Feb 1 11:09:46 2012 -0800

         ion: Switch ion to use dma-buf

         Ion now uses dma-buf file descriptors to share
         buffers with userspace.  Ion becomes a dma-buf
         exporter and any driver that can import dma-bufs
         can now import ion file descriptors.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 0d1259b5f8
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Apr 30 16:45:38 2012 -0700

         gpu: ion: Use alloc_pages instead of vmalloc from the system heap

         With this change the ion_system_heap will only use kernel address
         space when the memory is mapped into the kernel (rare case).

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit be4a1ee79a
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Thu Apr 26 20:44:10 2012 -0700

         gpu: ion: support begin/end and kmap/kunmap dma_buf ops

         These ops were added in the 3.4 kernel.  This patch adds support
         for them to ion.  Previous ion_map/unmap_kernel api is also
         retained in addition to this new api.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 46d71337f9
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon May 7 16:06:32 2012 -0700

         gpu: ion: Allocate the sg_table at creation time rather than dynamically

         Rather than calling map_dma on the allocations dynamically, this patch
         switches to creating the sg_table at the time the buffer is created.
         This is necessary because in future updates the sg_table will be used
         for cache maintenance.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 903f6c716d
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed May 23 12:55:55 2012 -0700

         gpu: ion: Get an sg_table from an ion handle

         This patch adds an interface to return and sg_table given a
         valid ion handle.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

    The commit also includes fixups needed for MSM specific code.

    Change-Id: Idbcfa9d6af0febf06f56daaa6beaa59cc08e4351
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

commit 3fee9743f3a5635370c7558c0f9599966790ef72
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jul 2 13:20:11 2012 -0700

    camera: Add missing mutex initialization.

    inst_lock of pcam_inst needs to be initialized and destroyed
    properly.

    Change-Id: Ie041fc429cdf122c01b93393bb4a6c20a08e4267
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 5dd5442cd6e726430ab5294149f1cff0a33ce6a2
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Jun 26 22:52:44 2012 +0530

    msm: camera: Add support for concurrent Ispif interface streaming

    Add support for multiple ispif interfaces streaming concurrently.
    PIX abd RDI interface can stream at same time or two RDI interfaces
    may stream at one time depending on usecase

    Change-Id: Ib3cef418cd2816bc19891c1855e1dcae5a2a55a1
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 1bc7b22825ee72017f7519215f0aa5144d75a9c7
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Jun 23 16:28:11 2012 -0700

    msm: camera: Allow user to abort live snapshot.

    Due to some reason, user can decide to abort a live
    snapshot while it is in progress. Add support to stop
    the VFE write masters right away so that the VFE
    stops writing on the buffers allocated by the user.
    Also send an ACK message to userspace once we get
    confirmation from VFE that it has stopped using
    the buffers.

    CRs-Fixed: 373080
    Change-Id: Ia4d9134298dd3a1a51f5829f9bcc2b80d6f21d0f
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit a2e0c10e4b6bb438300618d6757e9172b4f14f81
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Fri Jun 8 17:06:53 2012 -0700

    msm: camera: Add per instance lock in to serialize

    Add per instance lock to serialize stream operation.
    Protect unpredicted crash on video recording by serializing ops.
    Instead of only using the vid_lock to protect the video node,
    we need inst lock to serialize the stream operation, too.
    This commit increases the stability during recording.

    Change-Id: I4f6dcb6637eb700df04f30a102aada4fdec9f2d1
    CRs-Fixed: 363221
    Signed-off-by: Peter Liu <pingchie@codeaurora.org>

commit ef37a64b411d7d482b71fccc979f2e232e61afd3
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Wed Jun 27 19:05:09 2012 -0700

    msm: camera: Add support for autofocus driver for ov8825

    The sensor OV8825 supports internal actuator driver
    for autofocus operation. Adding necessary board information
    to enable the autofocus driver support

    Change-Id: I8d9a19b31d9fec7dafc6e6b9aabb4c930d0b9ac0
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>

commit 73ec728288b1d30c3b967a378d0f2893d254bd67
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jun 7 01:32:00 2012 -0700

    msm: camera: CPP driver Framework

    Initial commit for Camera Post Processor Driver.
    The driver contains frame queuing and process logic
    using v4l2 framework.

    Change-Id: I283c11c3de3bd121b9c3ea5af1446c13e188d329
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit ff5c9a6edd03766a5f57a51b36b2071053805e65
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Jun 14 09:09:17 2012 -0700

    msm: camera: Actuator i2c interface changes

    Change actuator i2c interface to handle delay within utility funcion.
    In future platform, delay will be handled by lower i2c layer. Hence
    actuator driver need not handle it.

    Change-Id: I39088c20c2a4b38b2a50c6e7e79a29668d8016c1
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit b339a1606917e9fcf75b60a0d16f6cce73face1e
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Jun 14 08:45:30 2012 -0700

    msm: camera: Change OV2720 exposure setting

    When sensor is changed from one mode to another, Validate
    coarse integration time and stretch frame length line if
    needed. This is to ensure that coarse integration time is
    always less than frame length lines.

    Change-Id: I7c06e7d1d143d299a6203c56fad351e8cad2f5a1
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 9c4743fd7d5e5230b4f05564432bd6d6b51b4a88
Author: Mayank Chopra <makchopra@codeaurora.org>
Date:   Wed Jun 27 15:31:43 2012 +0530

    Revert "msm: iommu: Split rotator/mdp iommu domains"

    This reverts commit 9ae9beaf0a79f929c4f9928b8daed5a9ed131d6a.

    Change-Id: Ie93cbb23eaa1e35bfbacc53cd18f05b345acea4b
    Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>

commit f8f1ed45e949eb0381918ba4858736f5b81885a6
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Mon Jun 25 12:37:36 2012 -0700

    camera: To fix compilation error in Mercury.

    Remove the unused include to avoid compilation
    error.

    Change-Id: I8829cc8debe5184951066f23342b3ade2e16777a
    Signed-off-by: Kalyani Oruganti <kalyanio@codeaurora.org>

commit d05f40bc3a0912c2dc9a61f7772390f4acb5e49d
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jun 25 08:39:54 2012 -0700

    msm: camera: provide NULL pointer error checks.

    At certain places in the camera driver, the returned pointer
    from function calls is directly being de-referenced
    without NULL value checks. This change provides such
    checks and appropriately handles failures.

    Change-Id: I333e35df5903355336279483bc326d8f3b99de4f
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 9ae9beaf0a79f929c4f9928b8daed5a9ed131d6a
Author: Olav Haugan <ohaugan@codeaurora.org>
Date:   Tue May 15 09:50:30 2012 -0700

    msm: iommu: Split rotator/mdp iommu domains

    Finer granularity is needed when mapping into the IOMMU's for
    rotator and mdp for secure playback. During secure playback
    HLOS will only have access to map into one context bank. The
    other context bank is secured and programmed by TrustZone.

    Divide DISPLAY_DOMAIN into DISPLAY_WRITE_DOMAIN and
    DISPLAY_READ_DOMAIN. Divide ROTATOR_DOMAIN into ROTATOR_SRC_DOMAIN
    and ROTATOR_DST_DOMAIN.

    Change-Id: If3e556171645e8ea02deb12ca543df36233db5f2
    Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>

commit e55f0ea77374adff00ea6e104ddee6234bea4b53
Author: Katta Santhisindhu <kattas@codeaurora.org>
Date:   Tue Jun 19 11:58:42 2012 +0530

    msm-camera: Fix for the Preview Blinking for YUV sensor

    Preview is blinking while Zooming for the YUV sensor.
    CRs-Fixed: 371341
    Change-Id: I9c8e0b16ed8384399febea9b2651b8187cd6f964
    Signed-off-by: Katta Santhisindhu <kattas@codeaurora.org>

commit 28feb3d6001aede64d44f7aa13f364571bb25c5c
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Apr 26 23:56:22 2012 +0530

    msm: camera: Add support for RDI in VFE

    Enable RDI registers and irq handler in VFE. RDI may
    be used to dump sensor data directly to memory
    without passing through VFE.

    Change-Id: I1ca131c31913f62228364440bbe2cd98a6079003
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit af7e5142152a20d25c418fb8b400d0dd04ac69a4
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Sun Jun 17 20:30:16 2012 +0530

    msm: camera: Fix for suspend resume issue due to shared GPIOs

    Use gpio-regulators cam_vdd & cam_avdd instead of
    gpios 35 & 40 as they are shared between camera
    and lcd display.

    CRs-Fixed: 354986
    Change-Id: I72f4611f353415a03117e46e2b8bab2a94d27990
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit b4a278e5206d63224c6c8dc4d46f971cc1124c4b
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jun 18 19:25:47 2012 -0700

    msm: camera: Add IRQ Router subdev implementation.

    Add initial driver code for IRQ Router hardware.
    It shall be implemented as a v4l2 subdevice of the
    msm cam server node.
    Add logic in msm cam server to request for irqs configured
    to the IRQ Router, which can be individual or composite.
    When the individual camera hardware cores interrupt,
    the cam server receives them through the common interrupt
    handler and dispatches them to to the respective hardware
    core's v4l2 subdevice.
    If the usecase demands that the interrupts from two
    different hw cores be composited into a single interrupt,
    (for eg: VFE and ISPIF), then the cam server stores this
    configuration in its interrupt lookup table. When the
    interrupt is triggered on the composited interrupt,
    it is dispatched to the individual hardware cores
    which have been composited into that interrupt.

    Change-Id: Iaadd60cc24de9b5ba8d09a151474658902244d7b
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit f8644f794a066605a5691290ba9409ace5f451f0
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jun 14 15:59:26 2012 -0700

    msm: camera: Update camera code to use clk_prepare api

    Update camera clk functions to call clk_prepare
    before clk_enable.

    CRs-Fixed: 372265
    Change-Id: I02a1235f9785277e2197eb98181bb1735ba99e3e
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 2df27e66353d448e145f7e9fcc4cf57016cf4b57
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Jun 15 00:06:54 2012 -0700

    msm: camera: Use image mode to get buffer

    Use image mode instead of vfe operation mode to
    get and free buffer

    Change-Id: I33e912b0fa4e16d3a89161f98ab9a659b9c197f6
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 9276a02891347a4e167cbd67d6ac09c4535b6d8b
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Jun 14 20:42:05 2012 -0700

    msm: camera: Update gesture control commands

    The control cmd structure for sending events to and from the
    camera daemon has been updated for camera controls in server
    node. Gesture control has been updated leading to crash since
    both camera and gesture uses the same server node.
    Adding the change to reflect the changes for gestures.

    Change-Id: I82d20294d1026a5dce7d63f6d009c83f3f895e56
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 2759134d37be22b61b2b6d8b32a69c9585f3be4f
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jun 20 17:13:09 2012 -0700

    msm: camera: Fix compilation for 7630

    Enable camera on 7630

    Change-Id: I908edcb2801bca621e2f39aea2b4e09106876456
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 023827475bee5cd7a7023639d92d610bc561ed32
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Thu May 31 10:49:44 2012 -0700

    msm: camera: actuator: Fix the I2C write data.

    The I2C transaction was not properly performed. The data was
    not properly masked for the I2C transaction.

    Change-Id: Ie20c19d1c780e963d9ae47564bb5b0b8a0cd0d72
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>

commit b2157c9abb7b436776f786760607126d1c9a8433
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 25 01:09:28 2012 +0530

    msm: camera: Decouple the ISPIF component from sensor

    Ispif is a separate hardware block. Decouple
    it from sensors so that it can be controlled for various
    camera usecases.

    Change-Id: I539fcb4166edc7a14d15a94c2f7f56b2f196a971
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit d69aeb377834dcad84d54af4b63e8e26a1996a9b
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Tue Jun 12 16:33:36 2012 -0700

    msm: camera: Fix blank preview issue for 8660.

    Decoupling of AXI and VFE is not required for VFE3.1 as multiple
    instances are not supported on it.

    Change-Id: I58882f949ab7d46f09a4120f0038491a4c9c0b03
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 41a3870e67baceb635884c7fcc76bc7b12273418
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jun 6 22:25:41 2012 -0700

    msm: camera: Add v4l2 private ioctls

    Add private ioctls s_ctrl, query_ctrl where
    we need to get ctrl data from userspace.

    Change-Id: I404236d072bafb3ef6ef3c0723a707f5805fe92b
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 26ba77b6cb1fc740e462ce706d81feed8895857a
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sat Jun 2 18:45:01 2012 -0700

    msm: Remove VFE global variable

    Remove vfe ctrl global variable for concurrent camera.

    Change-Id: Iedac66025c68264341f56916120ab2c9b0ffaf9b
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 7667d1aeb296043c35f3f00375a45c68202566b6
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Jun 13 23:24:24 2012 -0700

    msm: camera: Use utility function for i2c write

    Use common utility function for i2c writes in flash interface.
    If all i2c transfers are routed through common utility function,
    only the utility function implemention will change if i2c inteface
    changes across platform.

    Change-Id: If42f6ec274e42a61b7406031d87b6908525d9442
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 1811cbac5c4245d1bdbf31ac0913efcf949b9e24
Author: Rajeev Kulkarni <krajeev@codeaurora.org>
Date:   Wed Jun 13 12:11:28 2012 -0700

    msm: camera: Fix msm.h include path.

    msm.h is now moved to drivers/media/video/msm
    directory.

    Fixes following compilation error:
    drivers/media/video/msm/server/msm_cam_server.h:20:
    fatal error: msm.h: No such file or directory

    Change-Id: I3bd478558e2b0f583475809244d33f4d59132ec0
    Signed-off-by: Rajeev Kulkarni <krajeev@codeaurora.org>

commit 26fb71c5d7cfdd315af20b946802909e3f146796
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Tue Jun 12 17:03:27 2012 -0700

    msm: camera: Fix for post power-down actuator IOCTLs

    When there is an error condition, there is a possibility
    for the call sequence to be out of order. Hence the actuator
    IOCTLs could be invoked after power-down. This NULL assignment
    ensured no IOCTLs are processed by the actuator.

    Change-Id: I4cf228212220633e4f9d978e3871e735f8f360ef
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>

commit 64bd23cb9d7ed79a1f18a938116112c4196772e3
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri May 25 12:06:21 2012 -0700

    msm: Allow VPE driver to be configured directly.

    Currently VPE hardware is being controlled through
    the config node. Since it is converted into a V4L2
    subdevice, we could control it directly from
    userspace by issuing open, close and ioctl system
    calls.
    The ACK from VPE hardware shall be routed directly
    to userspace by putting the ACK event on the v4l2
    event queue.

    Change-Id: I7f82a750a28732382627349da362dbee8e27b149
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 3a799e82585f7538387049bb02bdb4da7e382383
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Jun 13 18:28:32 2012 +0530

    msm: camera: Ignore STOP command in snapshot mode

    Ignore VFE(Video Front End) STOP command if camera
    is in snapshot mode and send STOP_ACK as part of
    STOP command processing.

    Change-Id: Ib9e6af9c6f19d47a873ece9b9916c5ae262a4bfa
    CRs-Fixed: 369336
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 9f84f79fa9c668d45c7a67a1784b30af110f864e
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Jun 5 14:19:10 2012 -0700

    msm: camera: Change S5K3L1YX sensor setting

    Change S5K3L1YX sensor register setting to increase Frames Per
    Second (FPS) to 30.5 to fix banding at 60Hz light source

    CRs-fixed: 365107
    Change-Id: I0358cbc093cd00bf28dd7e61ee99b7f5c2434523
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit b0565b366177e040cb13d3d97723c3f2a6297860
Author: Katta Santhisindhu <kattas@codeaurora.org>
Date:   Fri Jun 8 13:21:43 2012 +0530

    msm-camera : Support for OV8825 sensor

    OV8825 (OmniVison) sensor Support is added for 8625
    target. This sensor is added as a V4L2 (Video For Linux2)
    sub device and It supports 8MP resolution.

    change-Id: Ic89ccf059ff8747ce56a4341cd87fb8870a94512
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
    Signed-off-by: Katta Santhisindhu <kattas@codeaurora.org>

commit 212d97204704a2f2503a2ff7f288fb08bf2b2153
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed May 30 15:51:20 2012 +0530

    msm: camera: Add effects for front camera.

    Added Support for  Effects like saturtaion,contrast for YUV sensor
    CRs-Fixed: 352316
    Change-Id: If278755849a866e84069ce517b2f1f6c67294980
    Signed-off-by: Katta Santhisindhu <kattas@codeaurora.org>

commit 465d1e118f33364e2d6608c9646814987ed85789
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Tue May 15 10:23:05 2012 -0700

    camera: Mercury hardware JPEG decoder driver support.

    Support for Mecury hardware JPEG decoder engine.

    Change-Id: I3b213f373e813db6766ec4f6a779fbdbae54afe8
    Signed-off-by: Kalyani Oruganti <kalyanio@codeaurora.org>

commit 837ae365bf6a2e8ee116f2e9efeadf1faa4588d2
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sat May 12 23:26:53 2012 -0700

    video: msm: wfd: Add turbo mode support

    Add support for userspace to push the video core clock to maximum
    supported by hardware.

    Change-Id: Ida6618fd77bc24fe043885306083249546797054
    CRs-Fixed: 361108
    Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>

commit cbe03057bee96b70e9cb1b323fd951ccc63b2331
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Fri Jun 8 14:34:49 2012 +0530

    msm: camera: Fix for preview exposure gain for ov5647

    The frame_length_lines are approriately scaled according
    to fps value while writing exposure gain for ov5647

    Change-Id: Idb9982977b21edebfe8eca6e0597493b01403f4e
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 06172ca8219a8fad863698dfb20c8dec25ac2ca0
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jun 1 16:29:46 2012 -0700

    camera: Use suspend wakelock and pm_qos functions.

    Idle wakelock is being obsoleted in Linux kernel 3.4.
    Replace idle wakelock with suspsend wakelock. To request
    latency requirements, use pm_qos family of functions
    across all targets.

    CRs-Fixed: 366402
    Change-Id: I30936d60c17f8f77d31f6e04667bb0681c6a9294
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 96caeb815ae6a1d4b489c6ceae768114b6d4b835
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Jun 5 11:31:16 2012 -0700

    msm: camera: use IOMMU mapped IMEM addresses

    For the inline JPEG use case, VFE writes directly to IMEM. These
    IMEM addresses need to be mapped to the IOMMU, before VFE can
    write to them through the corresponding IOVAs.

    Change-Id: I746316f77c0b56b004fad50e40e23bdabcad3069
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    CRs-fixed: 356873

commit 2fcabf92eea31cad2ec4852dcab563f2c93e4294
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Wed May 30 10:41:11 2012 -0700

    msm: Replace idle wakelocks with pm_qos

    Idle wakelocks are being removed so replace them with pm_qos.
    Since we don't know every driver's latency requirements we
    maintain one-to-one compatabilty with the idle wakelock API by
    replacing the wakelock with a pm_qos request of the correct
    latency.

    Once we determine the actual latency requirements of each driver
    we can replace the latency used with the correct latency for the
    device.

    Change-Id: Icc40f1642218e0de8fc2f56eaf9e8f92914d142f
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

commit 29f838bdaea6b245de9e5abfcf2ad0941bf3f0f0
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed May 16 00:39:07 2012 -0700

    msm: camera: Move server code into seperate file.

    Seperate server code from msm.c.
    msm.c will host the code responsible for
    maintaining the video node, including multiple
    instances of camera.
    msm_cam_server will host the code responsible
    maintaining camera server and code common across
    multiple camera instances.

    Change-Id: I408d10411162151851e94f3de4a301f0d3fe4106
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit f10b6c985bf1a26265e2fb2feebd437f8426d1ce
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed May 16 21:57:38 2012 -0700

    msm: camera: Close camera gracefully in case of userspace crash

    Add protection to prevent race condition during userspace
    crash. Ensure that all V4L2 events and event payload
    are dequeued and free properly.

    Change-Id: I6b30b20b8c7b9c1ee6fb9c75faca631def414cd1
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 7c81518dcab881ec50ea811b6968a3031974e8fa
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu May 31 19:28:09 2012 -0700

    msm: Seperate VFE/AXI register programming from start and stop func.

    Decouple AXI and VFE. This will help to control/program VFE and AXI
    independently.

    Change-Id: Ic892f1ebe1ce0ac29bd95f0852a74de6cfbabcc5
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit a76271d17690151f7220a95ddb16bf6d2fc9d3dd
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Jun 5 11:37:46 2012 +0530

    msm: camera: Fix for exposure gain in ov5647

    Initialize max_line to zero instead of 984 to allow
    the code execution if the line count is less than 980
    and max line count is greater than 984.

    similar change is done for snapshot exposure gain.

    Change-Id: Ic3e68ccf27cf05a71eacc9b7409b7ebe81190eee
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 6822e1c9a3c634182aae143ce1a92aa9a0aea4c4
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Jun 4 02:47:08 2012 -0700

    msm: camera: Store buffer info in vb2 buffer

    Store data & address offset for each plane
    to vb2 buffer for HAL layer. The buffer information
    will be re-used when buffer is queued back to kernel.

    Change-Id: I1e2aac2c65092d168d584a2e58ef375b2cd7fa0b
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 20d393f8c27b2477e24bb0dbc93fcb9a96d55344
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Fri Jun 1 19:19:54 2012 -0700

     msm: gestures: Fix invalid error check

    Current code does NULL check  when gesture payload is
    received. Since v4l2_event userdata is an byte array,
    NULL check is not required.

    Change-Id: Ia2542e4567a694587358c21e863d2c7a7857ea85
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 31dc5a2b083a27c0521879546318869bbe713711
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue May 29 13:44:36 2012 -0700

    msm: camera: Remove msm_sensor undefined functions

    Remove undefined functions in msm_sensor header

    Change-Id: Ie81fd441dda89370b5eb89c2618ced532c0e70fc
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit ec33ff2208d2a3aebf7b742d2609bcef6f18ad06
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed May 30 16:48:54 2012 -0700

    msm: camera: use correct instance of local queue pointer.

    There is a bug in the msm_open error handling, where the clean-up
    is being done on a 'function level' instance of a pointer,
    whereas the initialization is done on an 'if level' instance in
    the same function. This change removes the 'if level' instance.

    Change-Id: If4eb1db222a503523cb96fa2a49b6f15cbe8e36c
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    CRs-fixed: 366199

commit 94d07c3e3d2604777d40ec5d6a2d04dbb105793a
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue May 29 17:59:25 2012 +0530

    msm: camera: Fix for ZSL issue

    In ZSL(Zero Shutter Lag) mode, only 5 buffers are
    allocated. 3 buffers are with VFE and 2 buffers are
    with userspace. After receiving 3rd buffer only
    userspace code enqueue free buffers again to driver.
    After sending 2 buffers to userspace driver is not
    able to find free buffer to satisfy 3 buffer requirement.
    So driver always resend it to VFE instead of userspace
    and no frames to userspace.

    Update driver to send the buffer to userspace and
    resend the same buffer to VFE also in ZSL mode.

    CRs-Fixed: 364107
    Change-Id: I4111052acdb3a1973121f71d332c4d3a569c700d
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit ca00c341b7657888f6a2b3d06c9a9a3d5aa66209
Author: Deepti Mudadla <dmudadla@codeaurora.org>
Date:   Thu Apr 19 17:20:14 2012 -0700

    msm📷 Fix for msm_sensor_set_fps function

    The msm_sensor_set_fps function should update only fps_div and the
    fll update should be done in the msm_sensor_write_exp_gain function.

    Change-Id: I5d1320b7af826e113cb798fc77ac61155204cf13
    Signed-off-by: Deepti Mudadla <dmudadla@codeaurora.org>

commit 687841ef81f55c5c9cc516af45a8255fea0c67b9
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon May 28 09:00:17 2012 +0530

    msm: camera: Fix memory leaks in vfe2x driver

    Update vfe2x driver to free allocated memory to
    avoid memory leaks.

    CRs-Fixed: 357468
    Change-Id: I951aca2f2fc8ae103fd9f13a7e66f49f6548d1f0
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 5b1e6f1afb70ace03b32b48d4d70f34302decdc2
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Mon May 28 08:13:55 2012 -0700

    msm: camera: Remove subsystem_map header

    The old subsystem_map APIs are being deprecated. The
    msm_subsystem_map.h header file used to have definitions for
    iommu domains. Remove this header file and include iommu_domains.h
    to get the necessary iommu definitions.

    Change-Id: I417a357789a8fea16bbadd98663a8ebe873ff4e7
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

commit 772e453eb3ae319ceb8ef8e1df960fb41661b103
Author: Vijay kumar Tumati <vtumati@codeaurora.org>
Date:   Mon May 28 19:29:18 2012 +0530

    msm: camera: add check for null queue pointer

    crashes are possible without the
    null pointer check for 'queue' in msm_open

    Change-Id: I8c049ff1f3df092c36aec8696bfbef604ed2b99a
    Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>

commit 353b6ffa1c70ff6f5cd948272b129caace87444b
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Fri May 18 00:53:44 2012 -0700

    msm: camera: camera lens placed at mechanical infinity

    The lens should be moved smoothly to the mechanical
    infinity with proper damping values while closing the
    camera application. The default focus call is initiated to
    reset the lens at proper place.

    Change-Id: Ib063bfc23ef44a1d9f17bbaf01043b2767584b81
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 1c2c832b3fe89cc7e44c9662fe73795417c3e39b
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri May 25 16:24:12 2012 -0700

    msm: camera: Change OV2720 sensor register setting

    Change OV2720 sensor register setting
    1) to turn off auto white balance
    2) to get 90 fps by changing internal clock configuration

    Change-Id: Ifb11edbc543cc6ac87109007453909b12b860b99
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 9ef70852238212e6df24584426ad263291df1bf4
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue May 1 19:19:40 2012 -0700

    video: msm_fb: Wait for dma to finish before terminating

    If writeback takes too long to finish, after calling _stop()
    writeback client might deallocate buffers during the DMA causing faults.
    To prevent this situation, make _stop() a blocking call that waits
    for the writeback to finish before returning.

    Change-Id: Ia710095a55d705589a81aa9bc29c41d536c2a42d
    CRs-Fixed: 351773
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit b607a109cbb7093da12cef6a3c21f1e2719ef35b
Author: Praveen Ac <praveenac@codeaurora.org>
Date:   Tue May 22 16:06:59 2012 +0530

    msm: camera: Adjust exposure under low light for Snapshot

    When input line count exceeds max_line count then
    max_line count is written for frame lenght lines.

    Change-Id: Id7d5f57e3f88979171aa03109d2fd770c9a186a8
    Signed-off-by: Praveen Ac <praveenac@codeaurora.org>

commit bbbafb5a7d4542da5737b0fb85c48ebd1cc57392
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu May 24 08:56:50 2012 -0700

    msm: camera: Configure sensor exposure setting

    While returning to preview after snapshot, preview session is
    started with exposure setting of snapshot. There is a flicker in
    preview screen due to this. Store exposure setting during preview
    and use it while returning from snapshot.

    CRs-fixed: 360384
    Change-Id: Idad068f00613e4cc1d052e9b810f484173b39689
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit a236290fa341c3bd10ffd7295e65eceb600f5b6c
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed May 9 22:58:21 2012 -0700

    msm: camera: Not allocate memory for the buffer done event.

    Unnecessary code cleaned.

    Change-Id: I9ffd389156a971a867475ff9ea6d4a7f8ca70cab
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 85099fe598e08ea3225f72dd7c088a36ddd54657
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Tue May 15 17:09:51 2012 -0700

    msm: camera: enabled flash driver support with TPS61310

    The tps61310 drives the LED flash in the target 8930.
    The driver support for the same is enabled with sensor 3L1.

    CRs-Fixed: 359982
    Change-Id: I2c3027cbb7bc9db57e081840de9972e3ac802e88
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit ad053e8efce7113d87652e07bbfdd54a8fc766b1
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Mon May 21 10:58:01 2012 +0530

    msm: camera: Disable MIPI_PWR_CTRL reg and csi_pclk clock

    Disable AHB/VFE/CSI clock bits in MIPI_PWR_CTRL register
    and csi pclk if camera is not in use

    CRs-Fixed: 362533
    Change-Id: If0e68a0964a9b4d52667299f366db2fc74303e96
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 5e7eab6d4063a964e37de249f94f7f5fd0530c9c
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Mon May 21 17:11:30 2012 +0530

    msm: camera: Fix buffer corruption issue

    VFE driver should not send the buffer received from
    VFE to user space when there is no free buffer in
    a queue to configure VFE.
    This is to avoid concurrent access to the same buffer
    by VFE and user space(display/encoder).

    CRs-Fixed: 362141
    Change-Id: I99bc9372454ca6752436ea50982a50ad18979bdc
    Signed-off-by: Sandeep Kodimela <skodimela@codeaurora.org>

commit 4f126a9013071d49f076f8abb6aefde636599b83
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Sat May 19 15:09:02 2012 +0530

    msm: camera: Fix for 8x25 camera stability issue

    1. Handle Auto Focus Stop command in vfe2x driver
    2. Don't move auto focus lens if current and target
       lens positions are same
    3. Don't send Update command when table command is in
       progress and send a fake update ack.

    CRs-fixed: 361149
    Change-Id: Ib01c8c41fd14a8ad89bbfc3fabfc7fdd134caf01
    Signed-off-by: Sandeep Kodimela <skodimela@codeaurora.org>

commit cfdfa0ea8458d0705c2d8b69d5b851d88c20c55c
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue May 15 15:56:05 2012 -0700

    msm: camera: Rename OV7692 config macro

    Rename OV7692 config macro from CONFIG_WEBCAM_OV7692_QRD to
    CONFIG_OV7692 since the driver is shared between 8x60 and 8x25.
    Rename OV7692 driver file name.

    Change-Id: Ife0414ebb2f3fd16b7a0daf3883f2db55ab2b4cc
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 3a9722a0244985896f4052867c1e66176741dc76
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon May 21 10:09:05 2012 +0530

    msm: camera: Reset CSI clocks before csi configuration

    Reset CSI(Camera Serial Interface) clocks in CSI
    initialization function. It avoids resetting of
    CSI clocks after CSI configuration.

    CRs-Fixed: 328242
    Change-Id: I6314e712d58069d4f7ba0965cf2d9969a60d8cf7
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 66d2cbe44f51b4f0cdff1020350d146bd76db61e
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Mar 16 12:28:55 2012 -0700

    video: msm: wfd: Allow client to specify number of buffers

    As per the V4L2 spec, client is allowed to specify the number of output
    buffers that it would like to use.

    Change-Id: Ie70ddc82257f639cd704548988330c075829adf8
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 4584b5fe6f4ed1f4b0e5131c83a767a97497b9de
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Fri Apr 13 12:48:25 2012 -0700

    msm: camera: Add support for gesture driver

    Added gesture driver code. Gesture node is a subdevice to
    server node.

    Change-Id: I488da3dbdb502a2f78b0cd5269dd113c472ee377
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 34fc95b423796e7b1d474171af67784a5678cfd2
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Fri May 11 17:40:20 2012 -0700

    msm: camera: Flush event queue during close.

    Event queue needs to be drained to avoid picking any
    stale entries in the future iterations

    CRs-Fixed: 360672
    Change-Id: I5a54afe6a3c2e2527069dcebd95998657e1e7b18
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit ce5c5c21bfdf325c5451c2a14c8727a9743888a6
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu May 17 23:10:08 2012 +0530

    msm: camera: Fix for setting gpio states used by ov7692

    The gpios 35 & 40 are shared by camera sensors & lcd display.
    The generic gpio config functions disable the gpios during
    camera power down if specified through the normal gpio table
    array. These gpios need to be handled differently.

    Change-Id: I43dd915e5467372ba5b15a535dcb8d2ce7c78c2f
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit ff697200a2acf720bf7870d6cc57b04c12f6dcb7
Author: Deepti Mudadla <dmudadla@codeaurora.org>
Date:   Thu May 10 11:16:06 2012 -0700

    msm: camera: Fix for LED GPIO

    Configured LED GPIO to low as we are pulling to high
    when LED is LOW and HIGH.

    Change-Id: I6e84fa4c992a138642d2d44a9c8d342816ebdb13
    Signed-off-by: Deepti Mudadla <dmudadla@codeaurora.org>

commit e1eacdcaa7add67cf91014030283a41db0094e85
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu May 17 12:08:27 2012 +0530

    msm: camera: Enable ZSL for 5MP sensor (ov5647)

    Register settings, dimentions related structures added
    specific to ZSL to enable it for 5MP (ov5647) sensor.

    CRs-Fixed: 351047
    Change-Id: I189a59c89e6f2ecc3fd02a5d159124c60cc991e3
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit a435fc678ece863162b02211fe19859825e4bb0d
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu May 3 22:20:20 2012 -0700

    msm: camera: Add some error checks

    CRs-fixed: 358717
    Change-Id: Idd5c49b185c70f8874553b6da9b02db259441642
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit e09ddcfc3b41f52788fe3174b08bb69f0078929a
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Fri May 11 15:33:48 2012 +0530

    msm: camera: Fix for msm_open_config kref_get warning

    Fixes the kref_get warning by calling it only in case of ION

    CRs-Fixed: 359533
    Change-Id: If003e30f3fb30eb7dce7defe185cd5d4773e2e14
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit d77287be02473b9e93711c3878ecfeef3c4d031e
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu May 10 18:32:36 2012 +0530

    msm: camera: Make memory allocation atomic in vfe irq handler

    Use GFP_ATOMIC instead of GFP_KERNEL to make kalloc atomic
    in vfe irq handler.

    Change-Id: Ie91d60e1301cdb45b925b5699441ea3c37ff41ef
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 94eeeaad68d7ca8c6a1ce39c60cfd29df62f54b4
Author: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Date:   Tue May 8 16:01:16 2012 +0530

    msm: camera: Fix Greenish Edges in corners for CW & Horizon images

    1.Add Black Level Trigger register values to register set.
    2.Change Group hold ON/OFF register base address & data.
    3.Update correct exposure calculations,especially during exposure
      switch from light to dark.
    4.Access of Frame lenght lines is protected under Group Hold ON/OFF

    CRs-Fixed: 359509
    Change-Id: I8dd748f1b82850e565928bf4ea4c890ebae71d63
    Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>

commit 90b64d89893e599ff282efe4707c279fb18e0999
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Mon May 14 12:13:25 2012 +0530

    msm: camera: Fix for high power issue in s5k4e1 actuator

    The gpio directions are set to output and state
    is set to low during probe.

    CRs-Fixed: 347415
    Change-Id: If0d2f60613a6d1140ed3d99e01f349ef283d67a2
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit abd2dc46edf60005a2b051c2b86540cfe63f1a70
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Mon May 7 21:28:45 2012 +0530

    msm: camera: Update vfe clock rate specific to sensor

    Update vfe clock depending on sensor
    type and fps setting

    CRs-Fixed: 356122
    Change-Id: I8493cb667733f56de6ad8714bbe0d0af716ad40d
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 4947d8cd8cc0889058801820d56edd9bbcb23d70
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Apr 3 12:41:06 2012 -0700

    msm: vidc: Use pre-computed frame delta values in WFD use case

    In WFD use-case with frame skipping enabled, we wish to fool the core
    into thinking that that the frames are coming at a consistent rate so
    that we don't run into any issues with the core's rate control
    mechanism.

    Introduce a client-settable property that dictates what the timestamp
    delta between any two frames might be.

    Change-Id: Iea3f97879227b7932543d3449d311758dc4a2f59
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 4a023d8274df1e0b92a97a6c7733e7954a31ec57
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon May 14 09:39:08 2012 -0700

    msm: camera: Change OV2720 exposure setting

    Change OV2720 sensor register setting to use manual auto
    exposure mode

    Change-Id: I13a97b7988355029a3fd60fda9367e3a719cd101
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 042feecc09d5eefa7ab2e1f128d71f03ceaa3785
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Thu May 3 15:35:10 2012 -0700

    msm: camera: Add proper error handling during camera open.

    During camera open, many sequential operations are performed.
    If any of those operations fails, undo the previous
    operations in reverse order.

    CRs-fixed: 356281
    Change-Id: I990def08c6a516b20de5e27e6df3a17f020df06c
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 734476bedc61c6faaed7038131ac63f72ef2aac4
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu May 3 20:08:15 2012 -0700

    msm: camera: eeprom subdevice support for camera sensor

    The OTP data for calibration is stored in the eeprom. The eeprom
    is registered as a subdevice and necessary functionality is added
    for reading and fetching data to user space.

    Change-Id: I119a31fa7eccc597c92b7c418c8d04c291e294f5
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 9719a9969db818587b6ca38bfe1362679bfbb74b
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Apr 16 15:28:05 2012 -0700

    msm: camera: OV7692 v4l2 sensor driver

    Add board file configuration, clock configuration, regulator
    setting and sensor register setting to enable OV7692 sensor
    driver based on v4l2 architecture

    CRs-fixed: 351530
    Change-Id: I76287fdd0fc45999e6463f43b4dd3b0640017bfc
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 21be254af471153a99af3c39f7fc7f35f1115e58
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Apr 26 18:08:49 2012 -0700

    msm: camera: OV2720 HFR support

    Add sensor register settings and resolution information to
    support high frame rate (HFR) for OV2720 sensor

    Change-Id: I50c8ef55607e134de0cc444815bbecd77d0db014
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 60151a3feffa67441a9896f9661d473517c03c57
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Tue Apr 3 20:26:50 2012 -0700

    msm: camera: Fix msm_camera_i2c_poll function call

    The i2c_poll call was failing. This is because the
    argument was not properly used. Fix the argument which
    corresponds to reg_data.

    CRs-Fixed: 348564
    Change-Id: I6dea8ce818a3e92ce177a7070171dc8f7c30bf1a
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>

commit b3280be7a418e5a6923cacfae4079a9fc9bda376
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Wed May 9 16:36:23 2012 -0700

    video: msm: wfd: Make logs clearer

    The normal log printed after a successful stream_off is too scary.
    Amended the log to be more accurate.

    Change-Id: I0ee6cc2b15bf0cdfb77026ea5c6adece32a91ad7
    CRs-Fixed: 358796
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 5c822ec19abd289f6745182893a8308765368d17
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Mon Apr 30 12:23:00 2012 -0700

    msm: camera: Add proper csid irq release

    Whem CSID is released and reopened interrupts
    need to be freed and requested to ensure
    proper handling of CSID interrupt resource.

    Change-Id: I47e7cf951254fee72de4da04a5b5ab3fb6c8c2db
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>

commit b4a0b9f95da3cdd536ec18a1b61b52401de47c08
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Thu May 10 18:24:20 2012 -0700

    msm: camera: Correct typos in VPE driver.

    Correct the register address of VPE_AXI_ARB_2
    and device name during irq request.

    Change-Id: I49f89b8d1d6fc64981a9cce0efbdf7f214360cb5
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit c685e052804ce5ee5989813ea72f52f6fdcc9185
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue May 1 09:38:08 2012 -0700

    msm: camera: Validate and adjust exposure setting

    While changing between preview and snapshot modes, different
    frame length line is configured. Coarse integration time may
    become invalid for some frame length line values. Validate and
    reconfigure frame length line while switching between modes

    CRs-fixed: 356564
    Change-Id: I4b0f3b9525b11a3590610acb69434ad8a19f9552
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 967d862f12043c20a508784875a032a822d8f29c
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Wed May 9 12:35:51 2012 +0530

    msm: camera: Add HFR support for ov5647 sensor

    Add High Frame Rate support for 5MP (ov5647)
    Omnivision sensor

    Change-Id: I16e49ea50cf3786425d2726587f58c3ed7d1010b
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit e4454b833d34b348495e80488948b60589adbdc8
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu May 3 20:48:01 2012 -0700

    msm: gemini: Pass device pointers to regulator_get()

    Passing a device pointer instead of NULL as the first argument
    to regulator_get() allows the device to be taken into account
    when finding a matching regulator.

    Change-Id: Ib5cd5858cd0f61ea1b699385763adec9ca9ae72e
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit c43396f4b1c9243d9bd26198e2aa45dc7645a933
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue May 8 10:03:57 2012 +0530

    msm: camera: Fix for ZSL and RAW snapshot issue

    AXI configuration is failed for ZSL(Zero Shutter Lag) mode,
    and for RAW snapshot cases, because these cases are not handled
    in camera driver. Update camera driver with ZSL and RAW
    snapshot cases to handle axi configurations for these modes.

    Change-Id: I880f8ef9059017a012299a3c153af6d510469b3d
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 5bd0660a216dfdf934e4d91b519aa04cc186c9dc
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Fri May 4 16:23:23 2012 -0700

    msm: camera: Change timeout values for msm_server_proc_ctrl.

    Allow userspace to set timeout values for msm_server_proc_ctrl.

    Change-Id: I3cccccafc036d0904f7c10d523a6a03f25b7b9b3
    Signed-off-by: Deepak Kurien <dkurien@codeaurora.org>
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit f45cd3699c60038ab79723ae0595f610a50718f4
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu May 3 21:09:44 2012 -0700

    msm: gemini: Rename ijpeg clocks to match MSM naming convention

    For consistency, a core clocks main clock should be called "core_clk",
    its register interface clock "iface_clk" and its memory clock
    "mem_clk". Rename msm_gemini's ijpeg clocks to match this convention.

    Change-Id: Icae549c1e49e7f3ad13b63e71a8f688f64bc871a
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit cf26486f50d223cd763909b08cea04bd525e25c6
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Apr 19 19:10:38 2012 -0700

    msm: camera: Separate AXI from vfe

    This change will separate axi functionality from vfe core,
    in order for camera RDI (Raw dump interface) to work.
    When RDI is used, only axi subdev is configured.
    When PIX interface is used, both vfe and axi are configured.

    Change-Id: Id986ea1c12bbeb0664d08429acffe24d20a51028
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 56f7efa84140d5fd51ef917967a26915b08eacc0
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Apr 11 06:18:24 2012 -0700

    msm: camera: Move VPE out of msm isp

    Move vpe out of msm isp in order to be an independent
    subdev.

    Change-Id: Idfe90302fd143c4d5f9aab6e7bf60c3b3ee26c2c
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit b6dd587b602ab3cf7149fa609cf912820d643577
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Apr 5 15:24:58 2012 -0700

    msm: wfd: Flush encoder before stop.

    Flushes the encoder before stop to make
    sure that encoder does not hold on to
    any input/output buffers.

    Change-Id: I3e475a91fb55a7e71f04cd1b228e18ed811ab674
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 19b1881a135bdc600a58d0b741a0190b4f3627ca
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Apr 19 18:43:01 2012 -0700

    msm: camera: Convert camera actuator devices to v4l2 subdev

    Remove actuator control structure from media controller
    Use v4l2 subdev calls to control actuator

    Change-Id: I779160308aceda867c6f6c82c465697e3c92c838
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 047053ee18ba75eedd12385e6a6afa0a8e0889b9
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Apr 19 11:30:33 2012 -0700

    msm: camera: Clean up kernel structures

    Use handle to obtain media controller
    for active camera
    remove msm sync structure

    Change-Id: I2c8df7ba5452c2aab3648f59d953b544d8b9baf9
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit c25ff9c4952764d15f4b498b62a3ee8c9d3377b3
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 2 03:13:43 2012 -0700

    msm: camera: Create v4l2 subdev for camera hardware blocks

    Each camera hardware block will have its own device node
    which can be open by the daemon process

    Change-Id: I78d5564a30b4afa8cb368b811aafc59836129927
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 515a5614b413420527436d1ee359e1a9c49dbc13
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon Apr 30 20:35:11 2012 +0530

    msm: camera: Fix for ov5647 exp gain function

    restrict the line count value to maximum allowed
    value i.e, 984.

    Change-Id: Ia9ccfb7533b984636fbee21bba7ca4216a310ad8
    CRs-Fixed: 356168
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit e5ce7729a24e15324e7674510ab2e9ee2e39e88d
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Apr 30 11:27:45 2012 -0700

    video: msm: wfd: Expose CIR control to v4l2 clients

    V4L2 client can enable cyclic intra-refresh by specifying the number of
    macroblocks to refresh through the
    V4L2_CID_MPEG_VIDEO_CYCLIC_INTRA_REFRESH_MB control.

    Change-Id: I8ee974e7c8680415e0217d4a1d3f83e83f62df5c
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 147c760d0034a1f2e0b406d4ee144d97775fa74e
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sun Apr 29 14:46:58 2012 -0700

    video: msm: wfd: Explicitly disable b-frames

    Previously, the wfd capture driver was disabling b-frames when the V4L2
    client set the intra-period control.  However, we cannot always expect
    the client to do so.  Instead set it when client sets the profile.

    Change-Id: I9985a74341a149c47d3e7904aa57ce6778f03dde
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit f94df435527a5296b1e3c1ebeef4f9eb36e04fcd
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sun Apr 29 11:09:03 2012 -0700

    video: msm: wfd: Expose entropy control to v4l2 client

    V4L2 client can choose the type of entropy encoding to use.

    Change-Id: I7d5336da8d2cdd28b06b668694edb67df61f734c
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 4102d704243cf0ff297cdbe8d5b731da4c0bb9d5
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Apr 16 11:18:45 2012 -0700

    video: msm: wfd: Don't signal HDMIDaemon to mirror on FB1

    Remove obsolete code that signalled HDMIDaemon to mirror the
    display on FB1.

    Change-Id: I97a6fc137af66f96acc65abd978aa4f7a9573f82
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    CRs-Fixed: 352830

commit 61c5efaaf8f9b37aca938a2efb085f758877407c
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Apr 23 21:16:20 2012 -0700

    msm: camera: Change sensor power down sequence

    Call stop stream at the beginning of power down to make sure
    sensor stops at frame boundary. This is to avoid spurious signals
    from being picked up by receiver.

    Change-Id: I61eed60fce38cc121312c3c2687cc96587525761
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit d22c43a3a2b0448e5cba25950ece2ad3e90e9ec8
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Apr 24 12:29:38 2012 -0700

    msm: video: wfd: Disable multiple clients for wfd capture device

    Explicitly check to see if the device is in use before allowing client
    to open either of the wfd capture devices.

    Change-Id: I70bd275c5e0f058b7905abe7b7639342d07fe0e2
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    CRs-Fixed: 350398

commit 561894c4f585e277d97fc6147ea2469aff628509
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Apr 24 12:22:22 2012 -0700

    msm: camera: stop VPE cleanly when mediaserver crashes.

    When mediaserver process crashes, we should disable the VPE first
    and then unmap the base register address. Otherwise, subsequent
    io reads and writes will cause a kernel fault.

    Change-Id: Id4432867039ace5e4483d528e1e48f0cc4b0dce8
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 94b4c83b8c27dfadc3d9756d41bcadbf4e9f090c
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Mar 2 21:27:16 2012 -0800

    msm: camera: Change camera server into a video node

    Convert ioctl and server node to be compliant with
    v4l2 architecture.
    Add multiple control and event queue to
    support multiple camera instance

    Change-Id: Idcb8533e15599f7fb0ad621c3da6b19235fa64f4
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 92d99c02aa31ba66b2b9e647aada608f7bbff1a5
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Apr 27 10:44:07 2012 -0700

    msm: fix for HDR with vfe31

    On vfe31, we don't get update ack irqs for the frames that are
    going to be dropped via the frame skip module. Hence, the snapshot
    count decrement logic needs to move to the SOF irq handler to
    maintain sanity when taking multiple snapshots in HDR.

    Change-Id: I263d0258211653e45f0461c39082adba228672aa
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit a6bde8d3a940446a3dae1124ab60c616938b9c52
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Apr 20 16:34:29 2012 -0700

    msm: video: wfd: Fix array out of bounds and stale pointer issue

    The following change fixes two issues.  The first being a stale pointer
    in which the driver accesses memory that has already been freed.  The
    second is an array out of bounds bug, where the venc-subdev iterates
    VIDC_MAX_NUM_CLIENTS-times over an array whose size is only
    VID_ENC_MAX_ENCODER_CLIENTS.

    Change-Id: I35de18fd042181d9358f534908bb785dea630294
    CRs-Fixed: 350398
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 13d82f8216593b296ef799b5d9663d3dd869959a
Author: Deepak kotur <dkotur@codeaurora.org>
Date:   Mon Mar 12 11:12:32 2012 -0700

    msm: vidc: Handles secure/non-secure concurrency.

    Handles concurrency scenarios by preventing
    nonsecure sessions when secure sessions are
    ongoing. This is required since secure and
    non-secure sessions cannot run concurrently.

    Change-Id: I197a4c437312d916c0f75e7eb026c0570fee12ff
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 43cc6d002b426538fa8ef62e22d90b1420d35246
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Apr 12 04:59:44 2012 -0700

    msm: fix vfe stop sequence.

    Fix sequence of register writes during vfe stop. The interrupts
    need to be disabled before CAMIF is stopped and AXI
    needs to be halted. This ensures that there are no spurious
    interrupts.

    Change-Id: I3a6813d6cdd2f722fd72b3654fd66fe9721310c8
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 921649d064637411e0e23f2da2b29dd32454c37c
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Thu Apr 19 06:57:23 2012 -0700

    msm: camera: Move gemini clk to gemini driver

    Move gemini clk and regulator to gemini driver,
    to remove the need for platform specific io files.
    Update clock lookup table with the gemini device name,
    for find clocks properly through clk_get

    Change-Id: I5097635eb1da4c142fea0ee40516b74d21cf0929
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit ee55c1984badacc44f716bf9dd900f815650e650
Author: Ninad Mahimkar <ninadm@codeaurora.org>
Date:   Wed Apr 25 14:36:17 2012 -0700

    msm: camera: Add SOF timestamps

    Add a message for passing real time clock timestamp
    to userspace when SOF is generated

    Change-Id: I99cb05bb3d619c4bf6da520366bd42e7e6ac8ee2
    Signed-off-by: Ninad Mahimkar <ninadm@codeaurora.org>

commit 5d03ce384515c5d1163fac74fe750c58532af7fb
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Wed Apr 25 11:51:09 2012 -0700

    camera: sn12m0pz: Fix section mismatch

    WARNING: drivers/built-in.o(.text+0x195f78): Section mismatch in
    reference from the function sn12m0pz_i2c_probe() to the function
    .init.text:sn12m0pz_init_client()
    The function sn12m0pz_i2c_probe() references
    the function __init sn12m0pz_init_client().
    This is often because sn12m0pz_i2c_probe lacks a __init
    annotation or the annotation of sn12m0pz_init_client is wrong.

    Change-Id: Ib8092e484422f716282d8bc91c8131761afd3d44
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

commit 72ee044121488cc9f4cde91c5e3a2b820d7a0fad
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Mon Apr 23 18:06:01 2012 -0700

    msm: camera: Assign Null to unmapped addresses

    Observed unhandled virtual addresses with all the camera drivers
    while performing reads and writes to the ioremap addresses in different
    scenarios, Hence assigining NULL to all the hardware remapped addresses
    immediately after the iounmap calls

    Change-Id: I1cbb3969db449c5c37ee6cb5d85cc5715d991f19
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 39f704ead9ee833a486d3716f08eb42ab213b74f
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Tue Apr 24 19:44:01 2012 +0530

    msm: camera: Fix for HFR issue on 8MP sensor

    Update mt9e013 aptina sensor driver structures
    to use appropriate settings for High Frame Rate
    modes.

    Change-Id: I1059a70333befa068569c0896796ed09dd8c5554
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit df04532712c6001b3b97da479a0a3a6483c35f6f
Author: Hody Hung <hhung@codeaurora.org>
Date:   Tue Apr 10 16:52:46 2012 -0700

    msm: camera: Change CSID configuration

    1. Enable CSID irq mask only when debug flag is ON since
    we don't handle error irq.
    2. Remove unnecessary delay in csi_config.
    3. Correct CID configuration for IMX074, IMX091 and
    S5K3L1YX sensors.

    CRs-fixed: 350008
    Change-Id: Icc52a74760981311214e4be200e9b4ddb3fb5521
    Signed-off-by: Hody Hung <hhung@codeaurora.org>

commit 7046d9cbb66287ef6168b783a0c8bee84f8971a4
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Apr 19 17:32:55 2012 +0530

    msm: camera: Fix for HFR option Issue on 8MP sensor

    Update 8MP mt9e013 aptina camera driver structures to
    use proper sensor settings for diferrent FPS
    options in HFR(High Frame Rate) mode.

    Change-Id: I3d6ae28ed0c9401af4bd9716e3971bf9eccc5438
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 3ee46810e9109bba454f0c82d21b69a68441e723
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Apr 13 16:57:57 2012 -0700

    msm: camera: Reorganize the camera io functions.

    - Reorganize camera io functions by putting all the
      common APIs in the util file.
    - Move all the hardware
      specific IO files into the io folder.
    - The io functions used by the camera driver are named
      as msm_io_* even though they are camera specific.
      Rename them to msm_camera_io_*.

    CRs-Fixed: 350209
    Change-Id: I5be9a000ee7f9506ae921233196f3507a9ebb095
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 6627b36ee06ab56a800e2b570a038423c6572b02
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Sun Jan 29 19:00:30 2012 -0800

    msm: camera: 8960: Unify Autofocus actuator

    The actuator functionality is the same for different camera
    modules. So a single actuator driver module is supported.
    The variation is because of actuator control parameters,
    which are made available in user space actuator driver
    for better integration with tools used for autofocus
    tuning.

    Change-Id: Ibbae2ef426b570c59ec3796ac56abcf05af28259
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>

commit 43d5e02fb0fb56493d85b5baecf830aeffa0d49e
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Apr 16 10:09:49 2012 -0700

    msm: camera: Sensor power down sequence

    During sensor probe, all sensors compiled for the platform is probed.
    Sensor stop stream need not be called during power down of probe
    sequence. If stop stream is called, camera preview start up may
    not work due to wrong I2C write from other sensors.

    Change-Id: I00a324773817e3256d2255994b1469cd3a9f6837
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6050cef57a370cdc8f95cd5290d0eef9268a0356
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon Apr 16 21:44:59 2012 +0530

    msm: camera: Fix camera switch issue

    Reset CSI1 clock branches at the time of VFE_RESET to
    get START_ACK from VFE block to avoid camera switch
    issue from front to back.

    Change-Id: I3b097e748544c28450ca772b08e8aa43eca8f769
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 47ef81ffe4ffd35db48a0a8795697a910378664a
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Apr 9 12:31:14 2012 -0700

    video: msm: wfd: Reduce first frame latency in CFR mode

    When we get the first frame, push it immediately to the encoder rather
    than waiting for the timer to expire.

    Change-Id: Icda6f5696d984ed683ee8a3395dfafefde0671c0
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 4a3b94251460fbfc66244475a5f1a54c72a9fe97
Author: Philippe Gravel <pgravel@codeaurora.org>
Date:   Fri Mar 23 14:21:04 2012 -0700

    msm: camera: v4l2 updates

    - Adds some protection against unexpected calls
    - Update ifdef guards in msm_camera.h

    Change-Id: I388822001159188a6c487f8c0deefa8fb5238249
    Signed-off-by: Philippe Gravel <pgravel@codeaurora.org>
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 66deac39b2f75cdd2a58adc964b6d6312d0b75f8
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Apr 5 10:15:38 2012 -0700

    msm: camera: sensor changes for 7x30 v4l2

    1) Add board file information to support parallel sensor
    2) Add clock file entry for vfe clocks
    3) Add support to use csic setting for parallel sensor

    Change-Id: Ia1ac4d9e724a2264bf6f8ec2e8cf73cc4ba2be37
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 305c53b581354653791549162280504cd4c17566
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Mar 24 14:14:13 2012 -0700

    msm: camera: prepare msm8x55 camera for V4L2 architecture.

    - This change is intended towards unifying camera architecture
      across all msm chipsets.
    - This new architecture is V4L2 based and is already supported
      on msm7x27a, msm8960 and apq8064.
    - This change prepares msm8x55 camera for this new architecture
      without enabling it at this moment.

    Change-Id: Idef723e57b8caa1b72e13ee50b6023d229b61e51
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 700f5c27d0687f96e9c4a38742b1c0b247051238
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Mar 28 17:35:28 2012 -0700

    msm: vidc: Adds API to request performance level.

    Adds API to request for a particular performance
    level from video core. This is needed for Wi-fi
    display (WFD) to reduce end to end latency.

    Change-Id: Ib4133b8cd62ccad286be1984f944911754b887c5
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 3be11616591d1bd24633f38d30f309129ce39c9a
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Mar 22 20:05:40 2012 -0700

    msm: camera: prepare msm8x60 camera for V4L2 architecture.

    - This change is intended towards unifying camera architecture
      across all msm chipsets.
    - This new architecture is V4L2 based and is already supported
      on msm7x27a, msm8960 and apq8064.
    - This change prepares msm8x60 camera for this new architecture
      without enabling it at this moment.

    Change-Id: I8e1a7f4893fdf873243597be9c29ac829d315cf8
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
    Signed-off-by: Aditya Degwekar <adityad@codeaurora.org>
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit a2688820ce17aa8ba1c67077c3ca9e9d5246637b
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Apr 5 20:22:50 2012 -0700

    msm: camera: Acutuator and flash control

    Pass actuator and flash support to user space
    so that modules can be enabled and used based
    on availability at run time

    Change-Id: Ia801f17181b492d65feb7bd707d9cc344de9cfe6
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit bf3faffaa003bfd77bab9cca59f9800fc485b341
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu Apr 5 14:33:36 2012 +0530

    msm: camera: Add flash source support for ov5647

    The flash support for ov5647 (back sensor) on 8x25 target

    Change-Id: I2f431174dea37f83c5a555d394f15419fdccd3f3
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 94b8fc3759375bcab778f659b3cffa13e6bd1cec
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Tue Apr 3 14:30:08 2012 -0700

    msm: camera: Fixed memory leak and added NULL check

    1. Dynamic memory stored in cofig_cam allocated through
    function kzalloc can be lost in the error cases. Hence
    common error handling along with de-allocation is added.
    2. Pointer ctrl checked for NULL and returned on NULL.

    Change-Id: I53ca31159507a3bc059507cdfda897028a241065
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit e2aa76492cab5366718b1fb8898f4c7aa8911328
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Mar 23 15:43:54 2012 -0700

    video: msm: wfd: Add debugfs support

    Added debugfs support on a per device basis located at
    /<debugfs-root>/wfd/<device-minor-number>

    Change-Id: I571885c4321a5e76f40f6e773b00e67fd25acb44
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 5f868a449e08da7c09399c8d6f72587b762c6e4e
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Apr 3 13:07:20 2012 -0700

    video: msm: wfd: Delete from free_queue before freeing memory

    VSG has a stale pointer to deallocated memory that is accessed, causing
    a page fault.

    Change-Id: I036293950795f601c0592c39b6da20d3c0cbb77f
    CRs-Fixed: 348977
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit c55856c548e0cec8b29e415a08a353a0ab1ac4c8
Author: Alhad Purnapatre <alhadp@codeaurora.org>
Date:   Tue Feb 28 13:24:57 2012 -0800

    msm_fb: display: MSM V4l2 video overlay driver

    Provides a V4L2 device that uses the MDP overlay pipes (on MDP4),
    or the PPP interface (MDP3) to overlay frames on top of display
    framebuffer.

    Signed-off-by: Alhad Purnapatre <alhadp@codeaurora.org>
    Change-Id: Iab69d0a5acfe993d13cb7a585e292b9a87eb90ee

commit af0c7cadc6779e7babad150551b95de74a9db91f
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Mar 20 18:57:51 2012 -0700

    msm: camera: Add proper error handling during msm_open

    Currently VFE and VPE are singleton. Hence only one camera
    instance can use the ISP modules. Added check for the same.
    Also added proper error handling to reset the reference count
    and free the pcam instance incase of failure

    CRs-Fixed: 340315
    Change-Id: Ia12a3f305aa03eb70b9ce8b5ed526f1d5e4e7568
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 98e604c324cef02f65e1b7fb9d5ba7299d414a15
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Wed Apr 4 14:28:08 2012 +0530

    msm: camera: Sensor sequence change in Makefile

    Fix for bringing up back sensor (ov5647) first
    instead of front sensor (ov7692) by default

    Change-Id: I3d888453dd4df2bfd983fc7008a622a2baefe108
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 839a1adbe5d8228458e368b030c7a91174952795
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Wed Apr 4 12:02:14 2012 +0530

    msm: camera: Fix for ZSL vfe configuration

    1. Select output1 buffer for ZSL vfe configuration
    2. Set correct vt_pixel_clk for frame rate calculation

    Change-Id: I99f188ae9b0314d84763f9282fb39ddeef8b177c
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 607fbf2a04256ad12504259a923d27936c39fd0a
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Apr 3 16:23:11 2012 -0700

    video: msm: wfd: Allow client to specify multiple slices per frame

    Adds support for V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE, ..._MAX_BYTES ,
    ..._MAX_MB controls which allow clients in specify the numbers of slices
    in a frame in terms of bytes or macroblocks.

    Change-Id: I5e4e5bd9ebbb7a00714cbcb331f350c538289641
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 06ebad546ac4aaf4d543a1c57146197b0a1bb714
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Wed Mar 14 17:17:18 2012 -0700

    video: msm: wfd: Remove the need for scratch buffer by VSG

    VSG has until now needed a scratch buffer to memcpy YUV frames into as
    the video driver had a limitation of not being to accept the same
    buffer consecutive times.  This restriction no longer applies. Hence,
    remove all references to the scratch buffer.

    Change-Id: Idc835296f5b4b8063529f5ac914956c69e809500
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    CRs-Fixed: 341405

commit 3f4b302e99c96d9da9f7f0a3438f593a2c9ba87a
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu Mar 29 10:09:01 2012 +0530

    msm: camera: Fix for camera crash

    1. update get_sensor_info function to send sensor type
       to the upper layers
    2. update table ack pending flag in case of table ack
       received
    3. add ov5647 sensor power down function

    Change-Id: I92c8e25d377d2fee09276b72119eb95adfcc79f8
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 459429648e0dd7c9b2bbaffc63a4086614e4109e
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed Feb 15 19:21:25 2012 -0800

    msm: v4l2: use new IOMMU mapping API.

    The ion_phys API is being deprecated. Instead there
    is a new set of API that does the same thing as ion_phys
    if the system has no IOMMU enabled. Otherwise, it
    returns an IOMMU device virtual address.

    Change-Id: I1f01d33cbc6d236d28c9193a90e48377b9fb35cc
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 186cfc7d80730ed6eaef58d116ced268c543181a
Author: Sree Lakshmi Bheemarti <sbheem@codeaurora.org>
Date:   Fri Mar 30 18:35:28 2012 +0530

    msm_camera: Handle setEffect while configuring 0v7692 sensor.

    While switching from external to internal sensor,
    setEffect was failing in setParameters.
    To avoid this  setEffect is handled for  internal sensor.

    Change-Id: I41c86eea4d74320f36e171635b9aceb57d814e70
    Signed-off-by: Sree Lakshmi Bheemarti <sbheem@codeaurora.org>

commit 5c2d5dce91a1c9cef0e7467fd70a7ec998309fcb
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sat Mar 10 22:43:47 2012 -0800

    video: msm: wfd: Add support for multiple wfd device nodes

    Creating another wfd device node for secure capture. Accordingly
    changed the probe such that multiple wfd devices are supported.

    Change-Id: I3f0db8c32c7a8aa8d6886c970c6a4cb9612e8857
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 21e602b2933b5321abb8999e64004a6c05ddd545
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Thu Mar 15 21:46:05 2012 -0700

    video: msm: wfd: Switch to high-res timers

    Using the typical timer_list to keep track of frame queue timeout was
    not accurate enough.  In 60 FPS case, 16.6 ms translated into 1
    jiffy causing inaccurate FPS and performance problems. Hence switching
    to hrtimer for more accurate timeouts.

    Change-Id: I49facc6846d6795bcb61674a23b113d6b7f04f1d
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 249e675d83b0ea1ecae28cc7714c13ffeb6b1c6a
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Mon Mar 26 11:17:40 2012 +0530

    msm: camera: Fix for csi and vfe driver issues

    1.enable csi lanes based on lane count and Update
      csi irq to IRQF_TRIGGER_HIGH
    2.update vfe driver not to send any command when
      the table command is in progress

    Change-Id: If35c673e432ff54ce9ac5a20350fc0e7068d18e4
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit 2e99bff826119272ee10734756aba3631e0226e7
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Feb 13 21:12:08 2012 -0800

    video: msm: wfd: IOMMU migration

    Migrate WFD to IOMMU APIs.  Commit contains following changes:
    - Switch from allocate buffer model to use buffer model in order
      to have the flexibility to map buffers into seperate domains.
    - Use the ION caching APIs to flush buffers in case they are cached.
      Earlier on, we used uncached buffers, hence we didn't have a need
      to flush.

    Change-Id: I959027ee94a5d6074005f1de420c66cbe55db776
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 3381da7e6467ef2af6dc0a91ee5e7edf0a2a4d29
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Jan 27 08:08:32 2012 -0800

    msm: camera: IMX091 sensor kernel driver

    This driver includes voltage regulator configuration,
    clock configuration, sensor gpio settings and sensor
    register settings to enable preview and snapshot for
    Sony IMX091 sensor.

    Change-Id: Ib974e78bdb4310350c27eda20e0cc49e4c34916e
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit d56429b1a1623418f6659b1e05c323d175437af8
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Wed Mar 21 20:22:39 2012 +0530

    msm: camera: Fix for enabling vfe_clk

    call prepare before enabling vfe_clk.

    Change-Id: I1ea305ed87cc01fcb0c0d96f526793042a453020
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit fa6318641e34e48d632ea89176af5facab695828
Author: Monika Alekhya <malekh@codeaurora.org>
Date:   Wed Mar 14 16:24:39 2012 +0530

    msm_camera: Skip the frame when ping-pong register status is not proper.

    When YV12 preview format is set,due to timing reasons the viewfinder frame
    status is inconsistent.so skip such frames to avoid preview freeze.

    Change-Id: Iac65277b76b1c32eefe95b0932149b7152e4b2e7
    Signed-off-by: Monika Alekhya <malekh@codeaurora.org>

commit 980636f0a90849f22c293d395aa8ccf24b93bd9f
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Mar 16 16:06:52 2012 -0700

    video: msm: wfd: Set SPS/PPS per IDR frame as default

    Instead of relying on the client to enable this option, enable it by
    default internally.

    Change-Id: I4d2c7e241a7e5b87ccdea25f876f0eb5732aff74
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit cea3151b9f09e3d465684fb2077f8514dfae35ba
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Tue Mar 20 11:57:50 2012 +0530

    msm: camera: Fix for lcd power on issue

    After camera probe, releasing LCD_CAMERA_LDO_2V8 &
    SKU3_LCD_CAMERA_LDO_1V8 gpios for power on lcd

    Change-Id: I2c03f045b0eb5302962145d7466ac2231eea0c83
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit f3ae3699dd3140c857835901b68d293fb0629f85
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Mar 8 13:12:44 2012 -0800

    msm: camera: handle mediaserver crash elegantly.

    This change stops the VFE first, before unmapping the buffers
    registered in the kernel in the scenario of a mediaserver
    crash.

    Change-Id: I16c7c3b8dcd7a2f9c0ad98cf93cb1980c3a675fa
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 8c5f7b7fd614ee1bb1be997a3456a059e2cd2ff6
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sat Mar 3 19:48:52 2012 -0800

    video: msm: wfd: Enable logs useful for debugging

    Add a few logs that are useful for debugging.  In addition, enabling
    WFD_MSG_DBG unconditionally so that we can  take advantage of dynamic
    debug.

    Change-Id: Id1b616aef1554f04b750207ee14b818e19319b6e
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit bf410a3f516820e88ae1e4cf999b35eda290e60b
Author: Hody Hung <hhung@codeaurora.org>
Date:   Mon Jan 23 16:54:42 2012 -0800

    msm: camera: add reset csid and csiphy

    1) reset csiphy during init to make sure it is in known state
    2) reset csid during init to make sure it is in known state
    3) remove DBG_CSID flag to get the reset irq after csid_reset

    Change-Id: I66b4da08b300a2e43655544cff4db64d9fbe5b19
    Signed-off-by: Hody Hung <hhung@codeaurora.org>

commit 9ba65cfcc38915d1d50bc1cf890c2ae01105612c
Author: Hody Hung <hhung@codeaurora.org>
Date:   Tue Jan 17 17:34:51 2012 -0800

    msm: camera: Add csi_lane_mask and csi_lane_assign

    1) Move csi lane params from kernel driver to board
    file to support same kernel drivers for different
    sensors with different csi parameters (in case of
    3D, same kernel driver can support both sensors
    with different csi configuration)
    2) In msm sensor driver, extract lane assign and
    lane mask from plaform info and store in sensor
    control structure before passing to csi phy
    3) Change csi phy config logic to configure mipi
    lanes in any order using lane mask

    Change-Id: Iba26640f28d957b17631c98286dba37b7774b42b
    Signed-off-by: Hody Hung <hhung@codeaurora.org>

commit ad5584d31bc02aa8cfa869531b26344ee1c04423
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Mar 17 00:48:26 2012 +0530

    msm: camera: Fix the stretch issue in Camera Preview

    In non zsl camera preview mode, two vfe outputs are configured as
    preview and video outputs. Greater of the two is output from main
    scaler and the lower one from the secondary scaler. In Camera preview mode,
    application matches preview dimensions aspect ratio to snapshot
    dimensions and in camcordermode it is matched to video.

    In Current design, We have below scenarios for Non ZSL Camera Preview

    Case1: Main Scaler is preview and secondary scalar is video
      In this scenario no error is observed
    Case2: Main scalar is video and secondary scalar is preview
      In this scenario since preview output in derived from video but the
    aspect ratio may not match in camera mode, so we see stretch in camera
    preview.

      This issue is fixed by configuring only single VFE output as per
    display dimensions in Camera Preview  since the second video output
    is never used

    CRs-Fixed: 343884
    Change-Id: I25a82b417a3ed1b28ea243c6ce988c23d5fed4a7
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit c84975cbfbace08fbd98e23b010e6843ca7e86c2
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sat Mar 10 21:16:27 2012 -0800

    video: msm: wfd: Add support for in-band sps/pps

    This adds support for sps/pps to be prepended to all I-frames provided
    by the core. This support needs to be provided by the core as in HDCP
    use case, userspace can no longer prepend the sps/pps to I-frames, as
    required by WFD spec.

    Change-Id: If13437c6eae4088f913a9a7016a477a4342e8c35
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 210061ffd99eed2235baa6904b1fbf1d7f26f9b5
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Feb 14 20:56:16 2012 -0800

    msm: camera: Add media device node

    Add media device node for each camera sensor
    Sensor and video node info will be used
    for device discovery from userspace

    Change-Id: Id8c2f3e952c83259bb6b273cb6b3f04ed93d0ef3
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 2b34501b3bcc45584bad9aa2054c1f2de4d23ae7
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Thu Mar 15 10:18:30 2012 +0530

    msm: camera: Fix to choose proper CSI device for 8625 target

    Update board file to choose proper CSI (Camera Serial Interface)
    device for 8625 target to fix CSI IRQ failure

    Change-Id: I6c273739ad3114b69cf48ee32fa41cefcc408e2c
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit cc40097e045cf33853e16878e3a446861660d68f
Author: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Date:   Tue Mar 13 10:09:59 2012 +0530

    msm: camera: Add support to OV5645,OV7692 sensors,AD5046 actuator

    Ported OV5647, OV7692 sensors and AD5046 actuator to
    V4L2 camera architecture

    Change-Id: I70813f236e7cbc9c8c566dd2ee42ad181cb9eccc
    Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

commit c85b8ade5cb46b576eec2e5d667460d8d40cb207
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Thu Mar 8 17:47:17 2012 -0800

    msm-camera: enhance the camsenser query structure

    More information needs to pass to userspace.

    Change-Id: Ia7c5a5cf9a7f48e1c6167fd3ca2ddd56fbdbf8c9
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit c6f7867e7ffc7e0cdfde39ec0cb05a3e4278bdf5
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Wed Mar 7 10:44:04 2012 +0530

    msm-camera: Add 8MP and 1MP sensor support

    Add support to mt9e013 and ov9726 sensors for v4l2 camera
    architecture

    Change-Id: Ie0e12bb0b8f1d80c0aa40800f5578208ca86efcb
    Signed-off-by: Sandeep Kodimela <skodimela@codeaurora.org>

commit a6e4923eda34fba259f8fcecdb88616bf5332238
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Thu Mar 1 18:06:48 2012 -0800

    video: msm: wfd: Allocate bigger buffers for non-16 byte aligned heights

    WFD driver now rejects non-16 byte aligned widths as MDP cannot add the
    necessary padding.  For height, as the hardware will access up to the
    next 16 aligned address, we need to allocate a bigger buffer to prevent
    page faults.

    Change-Id: Ib8aa6ecc827c31eb20c9cd3428d82a62f3668e5b
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit e127bd40c4e353f40ddba6d10924aed91176aef4
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Feb 8 23:40:31 2012 -0800

    msm-camera: pass video driver id to daemon.

    The video driver index is not passed to daemon in some code

    Change-Id: Ie3074fe3590228d8fdd7bd8b7de608820a36627a
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 57701f7109efafa8d38b69808e307fbda2e90224
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Mar 1 13:55:30 2012 -0800

    msm: camera: Fix camera devices disable sequence

    Ensure clocks are turned off after tasklet is kill
    and device is not in active state. This is to
    prevent bus lockdown if the device is accessing
    the bus and clock is turn off
    Also ensure clocks are on, when accessing hardware
    registers.

    Change-Id: I4010b96709f48b8cf2bf532e57442152f2e30de9
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 4bb6ead226a37531bf7a9c272b6a805b0d674567
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Feb 29 01:01:41 2012 -0800

    msm: camera: send error to HAL if daemon crashed

    When camera userspace daemon crashes, the server fd
    will be close, which trigger the msm_server_close
    function, we will check if there is an active camera
    session. If camera is active, we will send a v4l2
    event to HAL layer to signal an error. Application
    will exit gracefully and close other open fds and
    exit camera session.

    Change-Id: I14ebc864d6cace7ca6f4dbfb935623a76eeccaa8
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit fa78ea2f462eaf34ebff39d42c9ea1ea32b353d2
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Feb 28 18:48:26 2012 -0800

    video: msm: wfd: Encode frames asynchronously

    The sequence of unlocking, encoding, and locking again was dangerous
    since it is unpredictable when the lock can be reacquired in the input
    thread. In most cases, this was fine as the encoder took long enough to
    return buffers back to VSG that we were able to re-acquire the lock.
    However, in cases that encoder is faster than expected, VSG receives an
    EBD call back before the input thread can reacquire the lock and put the
    encoded buffer into the busy queue. This causes the output thread to
    complain about unexpected buffers and drop the frame, which eventually
    causes 100% frame drop.

    CRs-Fixed: 339432
    Change-Id: I29731cfb4a51ffc8f362426d570482ad7f6394b6
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit e9153ee743f9b0737bae1622f81883fbccd74903
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Feb 27 20:58:41 2012 -0800

    video: msm: wfd: Reset "stopped" state on vsg_start

    In the sequence of vsg_start(), vsg_stop() and vsg_start(), the second
    vsg_start() wouldn't generate buffers as the timer thread would
    immediately stop due to to VSG still being in a stopped state.

    Change-Id: I0b2d31c81d46e91b898a6210ad2c50d5c9200f1c
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 96db9983d18b315349d055bc0bcb7272054624ba
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Feb 24 13:29:18 2012 -0800

    msm: camera: Remove total steps restriction for continuous auto focus

    The autofocus function fails under certain test condition
    due to restriction on the total number of steps available
    for moving the lens. The issue is seen only with piezo
    type of actuators. This fix ensures the piezo actuator can
    move upto its mechanical limits.

    Change-Id: Ic718b4a55016a1cc4a3aecea332e98ba326226c5
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
    CRs-Fixed: 332887

commit df0a0540f6afcd7a0ae6bf50d132e5f2455091c8
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Thu Feb 16 16:28:36 2012 -0800

    video: msm: wfd: Set last encoded buffer in input thread

    Setting last_buffer to the last encoded buffer in the output callback was
    causing problems in concurrent encode/decode scenarios where the core would
    take extra time in returning buffers. As a result, the timer would fire
    and queue a stale frame to the encoder. This would result in the encoder
    eventually returning a stale frame and video stream generator choosing
    the stale frame as the last buffer.

    CRs-Fixed: 330432
    Change-Id: I50da57b1376c7811ec7255b501c4cc918133580b
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 61c877d435ecf834c7fa06d662ec94066260f021
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Feb 23 22:22:19 2012 -0800

    msm: camera: Support MT9M114 as front sensor

    Change board settings and compile order to change
    MT9M114 from back to front sensor

    Change-Id: Ib992684baf28472ca3d391b680e92e26b89d273c
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6c368df50d2a81cd102f898043477d7d033bedec
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Feb 24 12:11:17 2012 -0800

    msm: camera: Change S5K3L1YX register settings

    Change x-addr start values in S5K3L1YX register settings
    for HFR as per read-out pattern.

    CRs-fixed: 337269
    Change-Id: If15e0e9daf68288d055aa57ed43946ac7b9e2aa5
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 3f2e6028e39a4fe5dbf289b82a7395acd23beb7d
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Feb 6 15:02:51 2012 -0800

    video: msm: wfd: Add controls for setting frame QP and I-Frame period

    Add support for controls that allow for userspace to set and get
    the I-frame period and QP values for I, P, and B frames.

    Change-Id: Ia535291872b671f001fec6bf23601022f7712af0
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit bde8424c61d67d38ce83e2ba1f6ad217c2b2c158
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Thu Feb 16 13:21:22 2012 -0800

    msm: camera: Fix for inline jpeg corrupted image

    Enable IMEM clock for Inline mode. For Inline mode, VFE writes MCUs
    of frame to IMEM and GEMINI reads it from IMEM and encode the image.

    Sync VFE, IMEM and GEMINI clock to 228MHz. VFE and IMEM are running
    at 228MHz. But Gemini was running at 158Mhz that creates bootleneck and
    generat overflow irq error.

    Add VFE_OUTPUTS_JPEG_AND_THUMBANIL operation mode to fix
    FE overflow IRQ error in gemini.

    Change-Id: Iaf20892d33d30e7cb8d6ab5fd75551aff260098f
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit 330e4d532d49161e4270273f1998b659a21eb813
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sat Feb 18 23:11:24 2012 -0800

    msm: camera: Use csi_vdd only in csid driver

    csi_vdd regulator is not needed for probing camera
    sensor driver. Move csi_vdd regulator from sensor
    driver power on to csid driver init function

    Change-Id: I23d7f571fd9e00b9d35588f6ac7135a5f3caa90f
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 04592007f7fd2dcff87ed034b8767dcc9550f08b
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Wed Feb 8 10:29:50 2012 -0800

    msm-camera: vertical and horizontal view angle of lens added.

    The application layer expects the view angle of the camera lens.
    The lens vertical and horizontal view angle of the sensors
    imx074 and ov2720 are added.

    Change-Id: I513fbbdf7fdfc5df0969fe54e05c7549123f6bcb
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 6c3bb3269d8dea04a2fbdc48a5cc267589f7f4f3
Author: Su Liu <suliu@codeaurora.org>
Date:   Tue Feb 14 02:15:05 2012 +0530

    msm: camera: EVB: Add Kernel driver OV5647 & OV7692

    Add Initial sensor driver support for 5MP OV5647
    and 1MP OV7692 on EVB 1.0 platform.

    Change-Id: I8155abe1ff3c388561feed3a032c6603df892e1e
    Signed-off-by: Su Liu <suliu@codeaurora.org>
    Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>

commit ec27a6e9f253ff94d6a6b1bf0bc506d5bcd8d28a
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Sat Feb 11 20:41:19 2012 -0800

    msm: camera: Change sensor power up sequence

    1) Currently same power up sequence is followed
    for all sensors. This request has different power
    up sequence for IMX074, OV2720 and MT9M114 sensors
    as per vendor recommendation.
    2) Remove compile time macro condition in
    board file
    3) Make sensor config independent of Kconfig

    Change-Id: Icbe6da31a8cb510f1d0c73bf29eda74ad74050ac
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit fc630dceef8a6c0727f052318ea3076e360f6f0f
Author: Hody Hung <hhung@codeaurora.org>
Date:   Tue Jan 17 14:41:34 2012 -0800

    msm: camera: correct op_pixel_clk value

    1) The op_pixel_clk is higher than the actual output rate,
    when vfe get the value and set the same for vfe clk, it
    set to higher frequency which will draw more power.
    2) The timing issue is due to the vfe timing requirement
    for blanking time. Since we reduce the vfe clk, the
    blanking lines required more to meet the minimum
    requirement.

    Change-Id: I27d781d6524bfae007d00c20d6d60d2e0582543f
    Signed-off-by: Hody Hung <hhung@codeaurora.org>

commit 4f9211f34fb524e2411ced701b79b24642ce40f3
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Thu Feb 16 17:55:35 2012 -0800

    wfd: Change device to /dev/video38

    Pick an explicit v4l2 video device number instead of relying
    on framework to pick for us.

    Change-Id: I0e640c7b8a05b9c7f4bfe12a0445fb54976519ed
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    CRs-Fixed: 337522

commit d803a63cbc771e1685f976e2964a16a0468c8bb0
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Feb 16 00:17:43 2012 -0800

    msm: camera: Fix crash issue while enabling regular stats

    Update the AEC, AWB, AF, HIST and RS/CS buffers and fds
    before passing the stats message to the upper layer

    Change-Id: I98b03638ea27669263cd11798ca2af8dda6a98df
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit bb8ef8639de1914e53f8c2a84fa4bd1ee153453e
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Feb 14 13:03:04 2012 -0800

    msm: camera: Add I2C mux control driver

    add i2c mux control driver to control i2c bus
    The driver will control which camera the i2c
    control message will send to. (etc left, right, both)

    Change-Id: I592701b8445d6acc8dfc60f81d562ee52dd65971
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 7df0db653e9249799687dd0024360ff3fbba9c1e
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Feb 15 10:52:18 2012 -0800

    camera: Correct call to wait_event_interruptible_timeout.

    The function takes timeout parameter in jiffies, not ms.

    Change-Id: Iec512af5ce8178ae552df83de3ca52e71cd1f0ce
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 6878b6d4520c1fe9f4e015e02a0495e59e17657c
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Feb 11 12:00:50 2012 +0530

    msm: camera: Add registers to config RDI interfaces in vfe for 8960

    Add config registers for Raw Dump Interface in VFE which will enable
    to dump sensor data through axi bus directly to memory without passing
    through the image processing pipeline

    Change-Id: Ie86b47580d3d1b21701320d3234489409588f3fe
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit fe282e9d62d3190ba4d8b5ded4f386e451f1a0b9
Author: Hody Hung <hhung@codeaurora.org>
Date:   Tue Jan 17 14:55:53 2012 -0800

    msm: camera: optimize csiphy setting

    Remove csiphy configuration of phy data lane control
    registers and phy clock lane control registers that sets
    default value. Tune csiphy configuration of phy data lane
    control 2 for reducing LP CLK positioning

    The change is to set back to default values, which is
    recommended. Also, MIPI clk and data setting is matched in
    this patch. Although the discrepancy won't hurt the current
    POR camera sensors and most of camera sensors, this patch is
    recommended in order to avoid future issue.

    Change-Id: I09c9de674d4c6f885489060232519f4812fb8cc1
    Signed-off-by: Hody Hung <hhung@codeaurora.org>

commit 6cf8a749e2354cf09e564dfa8104f706dca9b437
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Sat Feb 4 23:40:50 2012 -0800

    camera: vfe32: Enable VFE configuration for inline JPEG encoding.

    During inline JPEG encoding, one VFE output is routed into
    internal memory (IMEM) instead of external memory. The JPEG
    encoding hardware (GEMINI) will read from IMEM and generates
    JPEG bitstream.

    Change-Id: I12d3600524538ab85021dd8882af0404bddc488f
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit a4824c409441ab418caa0fa8730a3adb5c1f3c04
Author: Ashwini Rao <ashwinik@codeaurora.org>
Date:   Tue Oct 18 12:18:34 2011 -0700

    msm: gemini: Make GEMINI a v4l2 subdev.

    This has been added to support the
    inline JPEG feature. Here the VFE V4L2
    subdev sends frames directly to the
    Gemini driver. All camera modules like
    Sensors, VFE, etc are V4L2 subdevs.

    Change-Id: I572afe130ef4f2de441faf1104e688778e0e0ecb
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>
    Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>

commit 396a6a55732ed2136efb35be095452e92161021c
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Sat Feb 11 22:31:46 2012 -0800

    msm: camera: Change S5K3L1YX register setting

    Change coarse integration time of 60, 90 and 120 fps
    according to frame length line for proper exposure

    Change-Id: I469dcfc96ebf5a3e00fcd1cfe9fa7cfb36dd2713
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 7637e757a9cff942d0125fba289e99e6e1d4ebab
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Feb 10 21:32:49 2012 -0800

    msm: camera: Change sensor probe order

    S5K3L1YX is back camera and OV2720 is front camera.
    Add S5K3L1YX sensor before OV2720 sensor in compile order
    so that S5K3L1YX probes first and back sensor is opened
    when camera is opened.

    Change-Id: Ib5700609b74d529cdfbf1f8220f0cc185e8b14e8
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 70613ecf6cde306b774578b5732f992f662e599a
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jan 26 16:24:23 2012 -0800

    msm: camera: support exposure metering and  HDR snapshots

    With this change we achieve multiple things related
    to correct HDR functionality. First, we do not
    always configure ping and pong to be the same buffer in
    case of the snapshot mode. This would help support taking
    mulitple snapshots. Second, we support for logic to skip
    frames in case of snapshot, a necessity for the exposure
    metering feature. Third, we support post processing
    divert of both snapshot and thumbnail buffers to be
    taken from either mctl queue or video queue, to be
    determined at runtime.

    Change-Id: Ibcf2bbfc171b2686ca44e6366feadf435368fa5f
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 3ba8e61b0c62d3edea4e7b42a6d2fc7b8f7f6682
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Feb 7 10:30:26 2012 -0800

    msm: camera: fix memory leak in actuator

    actuator init table is not deallocated while camera is closed
    This change hooks up power down call in mctl release

    Change-Id: Ia5516da76dc9534bbdb9555ccd65316e20ef5c14
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 95dd6e161b73701ca68adfab66767d02b1fc8617
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Fri Nov 18 17:21:16 2011 -0800

    msm: camera: Enable IMEM clock for inline jpeg

    This change enables IMEM clock so that VFE can put
    frame in to IMEM and Gemini received frame from IMEM.

    Change-Id: Ia7d12d7ec5bd433deef545d04e8a72256e19513c
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit 7476824f8b57ade39dacd7b3f2b084f19fc7e650
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Sep 2 17:38:01 2011 -0700

    camera: vfe32: Enable composite stats irq

    All stats are generated at roughly the same time
    once per frame. They can be composited together and notify
    the user space at once.

    Change-Id: I0bd828473fa705bef58ecdba8b18a365235bfca0
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit eaec89177fbab49788d2fcd05ef9b806ed6aaa85
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Feb 7 11:09:24 2012 +0530

    msm: camera: Add RDI support for ispif driver

    - Add RDI support in ispif so that raw frame from sensor may be dumped
    directly to memory
    - Update interrupt handler to handle RDI interrupts
    - Update ispif driver so that stream request may be sent to
    pixel and rdi interface simultaneously. This is to ensure
    both interface receive sensor data at same time.

    CRs-Fixed: 335421
    Change-Id: I9fbfd41aa5583eb0aabf776a3c0fce159bfcac77
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 8f11b8bc9798eb5b27e268e8b337f538875fc168
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Jan 4 17:09:05 2012 -0800

    msm: camera: S5K3L1YX kernel driver

    New msm_sensor driver for the Samsung S5K3L1YX camera
    on 8960 and 8930 platforms. This driver supports configuration of
    sensor registers, power, clock and CSI config to support preview,
    snapshot and video modes.

    Change-Id: I7c92dd5d0f3ca68830f0e59dd257ec76686e78b5
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit ccc7b53f7c9f5786a1bb5c812c1dc1d113f729bb
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Jan 23 21:31:13 2012 -0800

    msm: camera: Update camera code to use clk_prepare api

    Update camera clk functions to separate clk_enable into
    clk_prepare and clk_enable.

    Change-Id: I6d0d563933c753b10aa4070e397bf04cef98c432
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit b84fc500209d6a061fd3d39349a80dfcad4f283a
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Jan 16 11:42:58 2012 -0800

    wfd: Add video stream generator

    Adds a video stream generator that queues buffers to encoder at a
    consistent frame rate.

    Change-Id: Ib0f7fc3f6c6ab9684deb06fce72160546fe316dc
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    CRs-Fixed: 332265

commit 8f68c594b5cce0246dec454e7d911eb74a4d402c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Jan 6 15:11:47 2012 -0800

    msm: camera: Remove DIS related code from VPE driver.

    VPE driver should be abstracted from DIS related
    code since the configuration is done in the userspace
    library. So remove the code from VPE driver.

    Change-Id: Ic320ab903cff502f2a21e1ae66ecc06581e56aa3
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit c3cb9ea7ca154538e80c67f3ad9979833888733c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Jan 6 15:11:10 2012 -0800

    msm: camera: Add MCTL camera node.

    Add support for MCTL camera node. This
    is a v4l2 device node which will be used
    by the camera daemon process to configure
    buffers for VFE.

    Change-Id: I8415288fb6881376a8c1e78ca03bb12f8f655863
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit dd12847121cfdc1e1a12ec5aeccff355d5d72d16
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Dec 1 09:35:34 2011 -0800

    msm: camera: Configure VFE for two output mode.

    Configure upto two outputs of VFE desginated
    as primary and secondary. Depending on the irq,
    only send message type primary and secondary and
    allow MCTL to interpret these messages.

    Change-Id: I25568cb6bba5792658b0570383f64ddb58e21421
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit c34de06f600cb220b4050adb20d8613ce6070f85
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Wed Jan 25 14:42:58 2012 -0800

    wfd: Remove support for V4L2_CID_MPEG_VIDEO_ENCODING control

    Instead of using VIDIOC_S_CTRL to set the codec type, V4L clients
    are expected to set the codec type as the pixelformat in the
    VIDIOC_S_FMT ioctl.  This change is needed as the driver needs to
    know the codec when setting the buffer requirements that occurs as part
    of the VIDIOC_S_FMT ioctl.

    Change-Id: I02b24c2314e429649f4281d5c22133fc166e425b
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 318d7cbd8eaaced74293b90bec8533a280d41bdc
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Nov 29 14:24:26 2011 -0800

    msm: camera: Correct the reserve buffer logic in mctl_pp.

    When the daemon asks to reserve a free buffer, get the
    correct address by using the image mode to get to the
    correct camera instance and populating the buffer address.

    Change-Id: I23c6e00458562ef2b9880cbffe2d6a100de80ea1
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 966020a3e78a70ba8d7c86c5a721715fc56c6eb8
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Wed Jan 25 17:41:36 2012 +0530

    msm: Camera: Reset base csi address to NULL

    Reset base csi address to NULL after unmapping the memory region
    to make sure that the csi hardware registers are not programmed until
    base address is mapped to fix the data abort in kernel which occurred
    randomly during a stability test.

    Change-Id: I7cffb23dfd8a560f750bcb27e529cc54dd52aa65
    Signed-off-by: Manogna Reddy Alle <cmalle@codeaurora.org>

commit eb6b607464cd33ab1b6708812537fc40a43c40da
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Jan 17 11:54:54 2012 -0800

    msm: camera: Reorganize power up functions for sensors

    Moving regulators and gpio to board file
    GPIO and regulators are usually different for OEM projects.
    This will give them the flexibility to support multiple
    devices without changing the driver.

    Change-Id: I37549d2eaf3a6c31c1b7cf81270c2b22dde30011
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit f7bbe1f84cbe3043818e5201227a439fc6bbecf9
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Mon Jan 23 11:25:47 2012 -0800

    Camera: Fix for gemini crash due to clock disable

    Change footswitch sequence for gemini
    The correct sequence is,
    regulator_enable, clk_enable
    clk_disable, regulator_disable

    Change-Id: I4fcf00c531dfca51612883a2e3cad1ef0063b98b
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit 055cb8ecdd4aa111e24844f80c30607470de22b5
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Jan 18 00:50:04 2012 +0530

    msm: camera: Add support to V4L2 architecture

    New targets are following V4L2 architecture for
    camera. Update 7x27a camera drivers to support
    new V4L2 architecture to unify all camera drivers
    in the same architecture.

    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
    Change-Id: Ie23ac982375041c06b68537d5784d8cdbbc9bf04

commit 977e89e413c3a38de569ffed76d3461d2fdb0db6
Author: Alekhya,Monika <malekh@codeaurora.org>
Date:   Mon Jan 23 17:22:19 2012 +0530

    msm-camera: Configure VPE for YV12

    Configure VPE for YV12 format to make sure that all the three planes of a frame
    have valid addresses in case of VPE processing.

    Change-Id: Ic71b72942ed8e7cd61c5700ec2d4594cfb27c1f2
    Signed-off-by: Alekhya,Monika <malekh@codeaurora.org>

commit d17cc21fe5d2285b1486abbfe8a2430c55711f30
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Jan 18 23:38:07 2012 +0530

    msm: camera: Fix spinlock init issue

    xbar spinlock is used by VFE31 driver without initializing
    it. Update the driver to initialize xbar lock at
    init function to avoid kernel crash with camera.

    Change-Id: Ib8ddfa26ec53a75f989371a35746dabad96e3670
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit fc81e10421b055303c2459fd52e19a57e2aff31e
Author: Alekhya,Monika <malekh@codeaurora.org>
Date:   Thu Dec 29 15:17:33 2011 +0530

    msm-camera: Add support for YV12 preview format

    Enable camera driver to output preview frames in YV12 format.

    Change-Id: Ib4e358460eb922c6a06314682380c4de30f81319
    Signed-off-by: Alekhya,Monika <malekh@codeaurora.org>

commit 7a068da60a82745fa226c259f2cf2e1c0710dcae
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Tue Jan 17 15:34:28 2012 +0530

    msm: Camera: clear control queue

    Clear control queue everytime before entering wait in msm_control as
    there might be invalid payloads in the queue and this can lead to
    not waiting at all and exit before the valid command completes.

    Change-Id: I34991968cb6bb9c2978bcea4d8ce641894cc2453
    Signed-off-by: Manogna Reddy Alle <cmalle@codeaurora.org>

commit 257b4192a9e73f55457cd56c890ba2d8de3c8f3f
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Jan 12 14:26:45 2012 -0800

    msm: camera: Fix the VPE state machine to avoid multiple VPE disable.

    Patch to ensure VPE state machine is handled properly in case of
    monkey runs. This is a corner case where vpe disable got triggered
    twice.

    CRs-Fixed: 330166
    Change-Id: I69144204dd491eb0f2f9f9c9c0a987e527449d03
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 6f9aa86e235e8ae510b0bce0f41150cc1dc7e591
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jan 12 16:43:51 2012 -0800

    msm: v4l2: add ISP support for more formats.

    This change adds support for YUV422_NV61 and YUV422_NV16
    formats in the V4L2 driver.

    Change-Id: I99f8604d07a7b8290b4eb82d8c21f88db9c7f60f
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit d814743600bf0b5c26ec4a532d47fce828c18d6f
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jan 6 09:45:11 2012 -0800

    msm: v4l2: fix support for test app.

    This commit fixes bug in query-cap ioctl and
    adds ION support for case where buffers are
    allocated in the kernel with mmap. This change
    is required to fix the V4L2 command line test app.

    Change-Id: I50a535e8a0af60ff7d86341a3f726ed81a630fb0
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 699edcfca1baabcebcf6c671fdf569b54493f0c0
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Dec 1 17:43:47 2011 -0800

    wfd: msm: Adds encoder sub-device.

    Adds encoder subdevice to Wifi display driver.
    Captured output from MDP can be fed to this
    subdevice to get encoded.

    Change-Id: Iacdc551ef266525dea27bb99f98833093a57fb39
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 2474e8fa362ea7322374214a7d959d7d9671fcb8
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Tue Jan 3 15:59:57 2012 -0800

    mm-camera: api for providing camera clock core reset

    Change-Id: I81565194348bdb7fe918fbce10e7fa1e48b7e028
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 09f4e66df1dd0cbc46efdb8b51e6b00a30b70d08
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Dec 16 08:17:02 2011 -0800

    msm: camera: Convert camera sensors into i2c devices

    Convert camera sensors to i2c devices as well as
    v4l2 sub-devices.

    Change-Id: Iefe7050aec051bb591dfdb26696094cde65b6af0
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit 61bee094e70d0f0499d9711dfd89b8f2c337a85b
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Dec 20 20:48:01 2011 -0800

    msm: camera: Add plane's data offset in address calculation.

    When a frame is diverted for postprocessing, and returned
    back to kernel, the address of plane 0 is used to find
    the buffer in the queue. Use the data offset field of
    plane 0 in the address calculation, otherwise we will
    not be able to find the buffer.

    Change-Id: I91b1c61e4fe04a44f5d76457ab91aaba3e815ad3
    CRs-Fixed: 324846, 323332
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 4c7758f294a1d4881623a06bb2cd02c04c174a07
Author: Guruprasad Gaonkar <ggaonk@codeaurora.org>
Date:   Fri Dec 16 17:30:00 2011 -0800

    Camera : Change to retreive system time from Kernel

    This timestamp is needed in the userspace to flush old
    video frames.

    Change-Id: I432e5f5d35581b10857b41930d7751500ea131dc
    Signed-off-by: Guruprasad Gaonkar <ggaonk@codeaurora.org>

commit f331e35c97745d4d5a012a2d1106014b5149873e
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Dec 16 10:56:09 2011 -0800

    camera: Unlock wake lock when camera device is closed.

    Change-Id: Ifdcbe01625ea3277f555966d766b25b5980da83a
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 456f1d6c894b2eedbdc24c5872c4326741a00ace
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Mon Nov 14 19:02:04 2011 -0800

    mm-camera: configure the mipi csi based on lanecount

    The mipi phy control is configured based on the number of lanes
    used by the sensor.The mipi reset is placed in a seperate
    function.

    Change-Id: I23475b985da161a654ebde7de0e7b152498573dd
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit f73442c6142d80e0a6806a0a577148fae318e27a
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Dec 15 19:17:03 2011 -0800

    camera: Fix for recording.

    In back to back recording for an error case, the state is not
    handled properly and the system hangs. So for graceful exit,
    in error case ensure that the state is set properly.

    Change-Id: Ibd7334909cbd33db266dc6908b332187ed74d310
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit df6af9cd24d16006284dab7ecc8d06d53ac0ef65
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Dec 1 21:26:20 2011 -0800

    msm-camera: power enable support for autofocus actuator

    Change-Id: I17c4bf3f216c6f9406ade4c3d4deedddc8b224c3
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit 6bc004a29148396bc3974dc6e22864a63fab4448
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Mon Dec 5 20:58:19 2011 -0800

    msm: camera: Support for MT9M114 YUV sensor

    Initial support for Aptina 720p YUV sensor

    Change-Id: Idb2eb0c1d98482077cb170f3fc581b1e548dc1ee
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit 6da6a0670c0f5b33e578709b04209b52803d9190
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Mon Dec 12 12:47:40 2011 -0800

    msm: change the pr_err to CDBG to reduce the log output

    Reduce the VPE log output.

    Change-Id: I2018609307c7cc1e94eca6653327c9fce5202f10
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit a78faeb551488e73a17df7b97c503ff1c52f415d
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Dec 8 14:15:40 2011 +0530

    msm: camera: Configure the vfe bus io format correctly

    The vfe bus format is hardcoded to 10 bits per pixel. Fix
    this issue to receive configurtion input from user space

    Change-Id: I76323895a41ebc955c7cf54bef0bd6c7d9dc2ad5
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 1db291dc072378a42a1300ca1191a223d985e09c
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Tue Dec 6 13:11:06 2011 -0800

    msm: camera: kernel change for PCA test vector.

    Change-Id: Iba36a660483d168fe4ed0c3c5d29e276b5359c70
    Signed-off-by: Peter Liu <pingchie@codeaurora.org>

commit 53c776363a99da663463cfbade518df414b2b415
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Dec 8 01:09:38 2011 +0530

    msm: camera: Enable encoded payload for RDI interface

    Change-Id: I7ee2d6df2d2a2d97e31976b247df5535e1bef5f2
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 2eedd22790029ff2c356abad73ae3031c1105c83
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Wed Nov 16 12:55:21 2011 -0800

    msm: camera: Discontinue use of clk_set_min_rate()

    Support for the proprietary clk_set_min_rate() will soon be removed.
    Move away from it. Call clk_set_rate() directly with an exact rate
    where possible, and use clk_round_round() in conjunction with
    clk_set_rate() when an exact rate is not known.

    Change-Id: I030c93c976f516a3ec91844ce2e5d752f56cdb9a
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit 7e31792023479cd5cd6f0c6d1a24edb4e7ac1a92
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Nov 1 15:54:10 2011 -0700

    msm: camera: Add i2c util functions for camera sensors

    Add support for bitwise register set/unset
    Add register polling function
    Add register compare function

    Change-Id: I10d2e3af02685dc4496723319f96c42d2ce3db70
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit f8a006b0977f3c85313c8c492534c99fcff59b53
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Dec 5 03:41:32 2011 -0800

    Revert "msm: camera: Control vpe_axi_clk in camera driver"

    This reverts commit db81a721b1ff5f8c630a1bd644630c6967640b29.

    Change-Id: Icb50956f760e356d23c2439ddbebf0a9129d79a9
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 61656ae72b6505f50b2250c7d773b2b551a9c9bc
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sun Dec 4 19:10:36 2011 -0800

    msm: camera: Remove skew from csi phy data lanes

    Remove skew on csi phy data lanes which will cause
    data lanes and clock lane to be out of sync
    when camera is in high speed mode.

    Change-Id: I80d2ec21fb544cd60a871136ddde160e3b2ed246
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit cfab2f7798092226c3fe8413995521e85b35efee
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Dec 2 13:05:51 2011 -0800

    msm: camera: Add LED flash support on MTP and Fluid

    Both LED and strobe flash shares same GPIO pins on CDP.
    For CDP, we use gpio expander to support both features,
    but on MTP and Fluid, gpio expander is not present.
    This change set the default flash gpio mux config to
    be use by MTP and Fluid. GPIO mux config will be update
    if device is CDP. Also added some delay for the SC628A
    chip to enable.

    Change-Id: I459e3ec6f13f3ef374fabca850e476461627da9f
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit a401939625f3fbd1ab59c1b4d7d20a7c0ab785da
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Nov 23 11:25:51 2011 -0800

    msm: set vpe subdev hostdata during init.

    Initialize vpe subdev host data that is used by isp driver.
    This fixes crashes with camera recording which needs the
    subdev host data

    CRs-fixed: 323056
    Change-Id: I4c9a49284e17afb8c8b61ff1b522d77bc61b0c1a
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 8feaa3fe882332192daacd5027386b000667674e
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Nov 23 11:33:52 2011 -0800

    msm: separating frame divert and post process path.

    Add a new IOCTL to handle the completion of diverted
    frame.

    Change-Id: I3bbfc2bd3bfdfcd5e078713c068f3f6f97f7239a
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 05c8824b534b27f69bc0ca54504d4550f0f2ba0e
Author: Sampath Kumar Matheswaran <csmathe@codeaurora.org>
Date:   Mon Nov 28 12:55:08 2011 -0800

    msm: camera: Modified Average mode to Addition mode for IMX074

    Modified the driver code to change from Average mode to Addition mode
    settings to compensate more linecount and lessgain for IMX074 sensor.

    Change-Id: Idd7d202ec0615ee39489fed1c07d40a6471ac094
    Signed-off-by: Sampath Kumar Matheswaran <csmathe@codeaurora.org>

commit 0bf8b2faa977c6b2967cf66136377b436b423aed
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Wed Nov 16 19:00:39 2011 -0800

    msm: camera: Add command for chroma suppression

    Add a separate command for chroma suppression as
    MCE and Chroma Suppression share same hw registers

    Change-Id: I2633520ec3a8b38c03328496baab90649f9a498b
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit a56c1403038681116e964e1fc6083169736a4497
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Dec 1 10:18:15 2011 -0800

    camera: Correct vb2 buffer type.

    VB2 buffer type should be set according to buffer_type in
    plane_info structure, not num_planes.

    Change-Id: If8c5b8bc7873a71ee8dbeb317d6e117db630d43a
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit db81a721b1ff5f8c630a1bd644630c6967640b29
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Nov 30 06:32:58 2011 +0530

    msm: camera: Control vpe_axi_clk in camera driver

    Update Camera driver to control vpe_axi clock at camera
    start and stop.

    Change-Id: Idef09db1cca184194c7653fd3c870a287562cc8d
    CRs-Fixed: 313596
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 3f40f3481c0a74b016230d0a0be75912cfb389a2
Author: Justin Paupore <jpaupore@codeaurora.org>
Date:   Wed Aug 10 18:52:16 2011 -0700

    msm: Port 7x30 vreg.c consumers to regulator API

    Converts all users of vreg.c on 7x30 to use the regulator API.
    vreg.c should now be considered DEPRECATED on 7x30.

    Change-Id: Iae2a7e25810d17194bf231d9942378668a3ecb2e
    Signed-off-by: Justin Paupore <jpaupore@codeaurora.org>
    Signed-off-by: Pankaj Kumar <pakuma@codeaurora.org>

commit 49cc95bf52796fc113a7225fa09d7519cebd6c1a
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Oct 28 18:55:38 2011 -0700

    msm: camera: Remove Aptina mt9p017 3D sensor driver

    Driver not needed for any target

    Change-Id: I95dddaa50d0abdb0c33e7a9840b29bb712370df7
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 5dcbcb9f04a94aa6740718a1b6d39ce4548d869c
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Nov 17 10:21:26 2011 +0530

    msm: camera: Free buffers from frame queue at open

    Free all pending frames in frame queue before cam_frame
    thread opens frame device to avoid duplication of buffer
    free

    CRs-Fixed: 318202
    Change-Id: I25d1718a37a94fa83563c4b6e99a1b7560917a7f
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 50a3a04dd115f5e152333b552747f901076fd536
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Nov 14 02:14:26 2011 -0800

    msm: camera: Remove empty DMA request

    Remove DMA request that does not have any effect

    Change-Id: If7159aecb1bb952af5d220cd9bbf3fd092c01b00
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 377ef0257e1af5bb487580338382b97b7e21d307
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 26 02:41:17 2011 -0700

    msm: camera: Remove deprecated APIs

    Remove APIs that are no longer in use.
    Logic moved to userspace.

    Change-Id: Ic54c493e7edef78d829dc5cc598b7b4bff919cfd
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 77db52e7c6683d8212e44420e769e28a02d3ac92
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Nov 15 03:00:09 2011 -0800

    msm: camera: Remove act compile time logging levels

    Change-Id: Id3a1bd492b963161b5d5bc7620827367b86db406
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 3be1a0852894880c46ec0fc74a3a61c2bb5799a0
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Thu Nov 10 16:40:06 2011 -0800

    msm: camera: enable Nzflag for ASF special effect.

    Change-Id: I4d54baa5d934ccd7a191259c3a3df9787b28a5b2
    Signed-off-by: Peter Liu <pingchie@codeaurora.org>

commit 3e90b9f72602f9536bc31270643989a056e1bea3
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Nov 1 18:48:45 2011 -0700

    msm: camera: add ion support to native driver.

    This change adds ion support to native (non V4L2)
    camera driver. It also adds ion structures to the msm_frame
    structure.

    Change-Id: I9be720e7d9924074706c93eec52178cb6f130af6
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit a0853126a900140e3d76ca5349d92035b4ed7c34
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Nov 7 19:48:44 2011 -0800

    msm: camera: Convert VPE into platform device

    Make VPE platform devices as well as
    v4l2 sub-devices. They are created at system boot-up,
    and registered during camera open.

    The subdevices are decoupled from the v4l2 devices by
    using device model APIs to find and register them.

    Change-Id: I884b38f714df6f101d48b38219d274bf91fef4c6
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 5827c55f07904356977f6fa7f1ad95717f3aa5e9
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Oct 28 18:36:32 2011 -0700

    msm: camera: Convert VFE into platform device

    Make VFE platform devices as well as
    v4l2 sub-devices. They are created at system boot-up,
    and registered during camera open.

    The subdevices are decoupled from the v4l2 devices by
    using device model APIs to find and register them.

    Change-Id: I91a7144794505af23a6f32de58f1c7cc340f4882
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit e12c6674a3b7a51d55499252d6c713a5f1ea9b90
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Oct 26 11:55:26 2011 -0700

    msm: camera: Convert ISPIF into platform device

    Make ISPIF platform devices as well as
    v4l2 sub-devices. They are created at system boot-up,
    and registered during camera open.

    The subdevices are decoupled from the v4l2 devices by
    using device model APIs to find and register them.

    Change-Id: I0b1eed8e11cf2627775e5a1c9d848510d9cfd595
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit c8b52e84bdda4e4b48a7e8c10f8bb39a8ed40418
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Oct 25 23:20:21 2011 -0700

    msm: camera: Convert CSID into platform device

    Make CSID platform devices as well as
    v4l2 sub-devices. They are created at system boot-up,
    and registered during camera open.

    The subdevices are decoupled from the v4l2 devices by
    using device model APIs to find and register them.

    Change-Id: Icdb7d878456e749500b3e7a9e183997dba651cfd
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit f6216f232914e80cfe6d10d9776dff77bc6316f8
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Oct 25 18:40:11 2011 -0700

    msm: camera: Convert CSIPHY into platform device

    Make CSIPHY platform devices as well as
    v4l2 sub-devices. They are created at system boot-up,
    and registered during camera open.

    The subdevices are decoupled from the v4l2 devices by
    using device model APIs to find and register them.

    Change-Id: Ie7cb68fb0ef41735c07ee2001b75cb6c139a3eb4
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 9a05d96cd5b81de6cea7d0a76d46ac7a436bc2dd
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Nov 7 15:29:10 2011 -0800

    msm: camera: Fix couple of error cases.

    - Currently we initialize the vb2 queue during
      set_format and release it during msm_close.
      This might cause problems if the application
      is doing resolution changes in the same camera
      instance, where there can be multiple formats
      within the single instance. So release the vb2
      queue when the application is unregistering
      the buffers and toggle initialized flag so that
      the vb2 queue is initialized again when the new
      format is set.
    - Also, display an error and return immediately
      without queueing the buffer, if the application
      erroneously queues a buffer after unregistering
      all the buffers.

    Change-Id: I1236d933991f5650b4982c8db715fd0fd81b53cd
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    CRs-Fixed: 317429

commit 996be18a0a1cc98fbf70d05ab99eb4343dacf9b9
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Sun Oct 16 16:04:23 2011 -0700

    msm-camera: allow non-zero Y offset.

    Change-Id: I73238a6cfac0feb146279516f78f4a51c74bc9e9
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit ce3ddedba4538187207275ebf51d01d41f6e8bc0
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Oct 14 18:44:45 2011 -0700

    msm: wfd: Adds WFD v4l2 capture driver.

    Captures the mirrored output from mdp
    and passes it on to userspace. This
    is added to support wifi-display (WFD).

    Change-Id: Idcf1373ebae3b2107e4a9bb3ccc808be020d32c2
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 4076384c0de9f6b7a25c41ec28cc60c26c3010f9
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Nov 8 12:12:09 2011 -0800

    msm: camera: fix goto LABEL name typo in camera driver

    Change-Id: Id27347895908e30b54324d1a2c50d60a8e06aa3f
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 85af455afe9246095f185639e8b81abc1f124efd
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Oct 25 15:07:58 2011 -0700

    msm: camera: Add io utility file

    File for io utility functions
    Added generic function for handling clk enable/disable

    Change-Id: I1610234ab945c49adb579f237eaec9109afd4d03
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 0dc15d251663b33a779207341eda3da69cfb4e24
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Fri Nov 4 16:58:23 2011 -0700

    msm: camera: Fix stray line issue on 8960 V2 device.

    8960 V2 has double buffer rolloff tables. While updating
    these tables during preview, DMI bank selection is incorrect.
    Fix DMI bank selection when PCA ROLLOFF UPDATE is called.

    Change-Id: I3d8be13b1d3ddce96303601022305c483c51a68c

    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit b775048e7f60582e6e47f2f1bbc1adba513bd0bb
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Nov 1 16:31:25 2011 -0700

    msm: camera: Add mask while configuring the Demosaic

    Mask ABF, DBPC, DBCC and ABCC enable bits while configuring
    or updating Demosaic.

    Change-Id: Ifee57be7db0c7be8b40b989fe620fdd7a566fede
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 5156dd423584446760a64ba948336115be25d5c9
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Oct 27 19:30:13 2011 -0700

    msm: camera: Add update cmd support for Demosaic.

    Add support for update command for demosaic module.

    Change-Id: I06cc7c4e41cbc8c8486277151edc577097661cab
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 5e74ce549e23a77a3c6311499ed8555592d161d5
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Oct 18 13:42:40 2011 -0700

    msm: camera: ION migration for gemini driver.

    Change-Id: I7cef70c5ad1675ee891c76933a1158ba4bdc7ece
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 748a70ad755602593d35eb841b69d0fee35d3132
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Nov 1 08:22:04 2011 -0700

    msm: camera: use ION for stats and userptr buffers in V4L2 driver.

    Change-Id: Ibc7db3a7355d07f421e63e990354e44e372e79d0
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 5f1b70ce563e4872d01800d3ff526ee58c480d37
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Thu Oct 27 15:58:48 2011 +0530

    Camera: Return true when more than one post processing parameter is enabled

    Code change to deliver the frame to post processing framework
    when more than one postprocessing is enabled

    CRs-Fixed: 312916
    Change-Id: I64ac6626679ebd16999ef207f823ae2e0b7c9bc9
    Signed-off-by: Manogna Reddy Alle <cmalle@codeaurora.org>

commit 4cff94aea759ca85177d8e95bbc5446e6efc742d
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Oct 17 11:37:33 2011 -0700

    msm: camera: Add support for YV12 image format.

    If the application uses YV12 or similar image
    formats which have more than 2 planes, then enable
    all the 3 channels of VFE output.

    Change-Id: I31af22a4047a38a12fe09a0b07a68f435506aad1
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit a9bdb01e48798ed256c416c6eefa0964ffd6637c
Author: Taniya Das <tdas@codeaurora.org>
Date:   Thu Sep 8 11:21:33 2011 +0530

    msm: camera: Add camera driver support for ov5640 and ov7692

    Add supprt for ov5640 and ov7692 for QRD devices.

    Change-Id: I9aa5b5031f0cd05f88fa5958a8dd4dbea18f04ab
    Signed-off-by: Taniya Das <tdas@codeaurora.org>
    Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>

commit e07f3ae3403079f4be75178420f1c617577bc466
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Oct 27 18:07:25 2011 -0700

    msm: camera: Configure plane information to VPE.

    While configuring the VPE's input and output buffers,
    use all the planes information if the user is running
    in multiplanar mode.

    Change-Id: I1b3ea31663859b8cad7b226ddc17edb3f3a7f7cb
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 852a1bf419fe9964bcae114cc5208570a91bd00f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Sep 28 14:25:43 2011 -0700

    msm: camera: add couple of safety checks.

    Add couple of safety checks to prevent
    null ptr dereferences during buffer access.

    Change-Id: Ib3b377eb88e9ba64c8c73605a99b3bba1c0b1a83
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit c14da544cda1ccd0cfdd4d6d991ecbcd40d19a29
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Oct 20 14:20:05 2011 -0700

    msm: camera: Error handling for actuator registration code path

    Change-Id: Ib1fea71fbb5008a6c9290148d547a8c9353d9bf5
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6e4308d6c704330f5b607a04b7d77fc3806ffec5
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Tue Oct 25 11:24:52 2011 -0700

    msm: camera: Enable exporting vfe registers and tables to userspace.

    For the VFE Test Vectors Tool, userspace code needs vfe register
    dump as well as image processing tables written through DMI. This
    patch enables exporting this capability.

    Change-Id: I69fd110867e60d36a0b5a9fa2311413614a54514
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit cd7bc3ba9b76cdb5293653121508b56be470d65c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Oct 12 16:14:48 2011 -0700

    camera: Add multiplanar support in postprocessing.

    The current postprocessing framework uses single
    planar structures. Change the data structures
    to support multiplanar image formats.

    Change-Id: I27dc6f4c544a4a628bbf2b073d6abd899450a396
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 284e1f4ca53e980aa84a7f9509f2822506a116da
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Wed Oct 19 18:42:32 2011 -0700

    msm-camera: imx074 specific default focus and steps

    The default focus from msm_actuator is not satisfying the
    need of imx074 acuator. hence the specific default focus
    function is added. the total number of steps is
    limited to 41

    Change-Id: I74b9df2773659cd924f2a5146b4e604be16e403b
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 0ab2f2e1cac7934c78099a1c0fb85e570fb4f6f7
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Oct 21 10:09:03 2011 -0700

    msm: camera: fix warnings in camera driver.

    Fix the warnings seen with couple of kernel
    debug flags turned on.
    (CONFIG_SLUB_DEBUG_ON, CONFIG_DEBUG_MUTEXES)
    The memory type used should be GFP_ATOMIC at
    couple of places, since those functions are
    invoked in interrupt context.
    In msm_open, the mutex vid_lock was unlocked
    twice. Remove the duplicate unlock.

    Change-Id: Ief810f863e8ed7a60613a5f4b367b0aa799d4fb0
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 5b5caee6a6896d6f54349f491132b8319cea677c
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu Oct 20 11:18:40 2011 -0700

    msm-camera: replace unsecure API

    Banned APIs usage is avoided considering
    string overflow. They are replaced with alternate
    secure APIs which ensure NULL string termination.

    Change-Id: I4bbd192d7fa07cdfa93877fb5c1f596059225bc0
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 0e16bbba76b483efea880b6fcec566cb948d5d95
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Oct 14 17:19:52 2011 -0700

    msm-camera: associate sof count along with VFE stats/ack event.

    Change-Id: Id742d08267d9ac4f5336f81a1e988aab991297be
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 272f660ed75b1c91187cbcbc24f4e6db2389ab04
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Oct 18 14:20:03 2011 -0700

    msm: camera: Add binning factor to sensor output info

    Incoporate binning factor to calculate exposure time

    Change-Id: I31f6896ae7b36f606b8a407e5662d341f8f8ff1e
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit b3dcbbdf0356c923c4732ec44b134f1997d97d22
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Oct 18 14:14:06 2011 -0700

    msm: camera: Set fps when camera is running

    Set fps function call will only have effect if
    the sensor is streaming.

    Change-Id: I97eac0233ead8b6a3ff3c475b661eb946820f2d3
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 62698f86dc9d9c61f2f903f444c290efc1582aee
Author: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Date:   Tue Oct 18 16:33:03 2011 +0530

    msm: 7x27a: Release ebi_vfe_clk at camera exit

    Release ebi_vfe_clk at camera exit to avoid additional power
    consumption

    Change-Id: I39cd93312d5d37cd790d7eec96ed8d938da07652
    CRs-Fixed: 312929
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
    Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>

commit e30d3697182ecd07564b547d98abf183cd0a2d55
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Oct 14 16:11:01 2011 -0700

    msm: camera: Separate video timing and output pixel clk

    Camera video timing pixel clk and output pixel clk
    can be different. Added vt_pixel_clk and op_pixel_clk
    to address the difference.

    Change-Id: I8770c9897bc340908776d01a7583fed84398ff33
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 78f0a0fc11946725260b964cee1a3a19e5f7abfe
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu Oct 13 22:56:01 2011 -0700

    msm-camera: hardware damping parameters for af lens actuator

    Change-Id: I7bb172d39b1a816b62b75ee34b82408d9e2c63f5
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 1fe4c9c7b6282e5acf599f65d3cb5afe08acc053
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Fri Oct 7 12:19:52 2011 -0700

    msm: camera: Rename EzTune config to Module config.

    EzTune is a userspace feature which should not be known
    to kernel driver. EzTune is modifying Module config of
    VFE so moving forward correct name used is Module instead of
    EzTune.

    Change-Id: I419b7275e72ae5e49b9086a4c59d6a0d2053d0c4
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 72021ded9de1d855979e6b405d66295e02ceea41
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Sep 14 16:23:23 2011 -0700

    msm: camera: Separate function for exposure config

    Separating preview exposure config function
    and snapshot exposure config function

    Change-Id: Ieceec07b6e33c1922600b7fd126d5a4fe0c9c062
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 0b51780505f6bf734687533ab37d0f4e5b4ba000
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Oct 5 09:49:51 2011 -0700

    camera: Modify the camera event interface.

    - The current camera event interface is limited
      to 64 bytes. This restricts the interaction
      between the driver and the  userspace since
      the current structures used are already using
      the entire 64 bytes. Hence change the interface
      to overcome this limitation and accomodate more
      usecases(eg: postprocessing for multiplanar formats)
    - Renamed the event structure to a more generic
      name.

    Change-Id: Id3c635e2652491da4efd8fe34c32d63464b83755
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit af0cd4e06b4f95324de3c32fd868f5796defd279
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Thu Oct 6 14:07:16 2011 -0700

    msm: camera: Fix color corruption for 8960V2.

    New PCA rolloff for 8960V2 was causing color corruption. Fixed it by
    writing rolloff tables to the DMI with correct offset. Also DMI HI and LO
    words were swaped to get the correct MSB/LSB order.

    Change-Id: I21f1811cdf48a744e7cc424a81874c5103f1365b
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 27da72487d24c024dbf2fdae0cde9fc00f0b3b8e
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Wed Oct 12 14:02:56 2011 -0700

    mm-camera: configure the mipi csi based on lanecount

    The mipi phy control is configured based on the number of lanes
    used by the sensor.The mipi reset is placed in a seperate
    function.

    CRs-Fixed: 311858
    Change-Id: I3e8c47196a25ebb9eddc83ed8d8bb17e004cb6ff
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 4d82de2150536f05a9fdf36b52347a9d1736b7c0
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Oct 13 13:21:17 2011 -0700

    msm: camera: Validate camera instance before reserving buffer.

    When VFE requests for a buffer, we check if a particular
    instance is still streaming or not. Before checking this
    condition, validate the instance itself since the instance
    might have been closed by the application.

    CRs-Fixed: 310426
    Change-Id: Ifc8c2deaa5dcbbf4ea4e45bf03f8ade67b405b6e
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit d6e9cb9ea0b9e8ea964f11d71a0dcef3d5dc0c28
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Wed Oct 12 17:55:18 2011 -0700

    msm: camera: ISPIF changes for V2

    Change-Id: I9e5936128d46b6401ee38e9c0a842a3918f9b3f3
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit e3a29b9a2d86c0cebbaf6e24a8cdd8ed55478f6a
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Oct 4 22:56:15 2011 -0700

    msm-camera: unregister sd_vpe sub-device in close.

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 5a9b2044d52a05379b71a67cbc12402b8c936fe6
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Sep 27 18:09:45 2011 -0700

    msm: camera: Fix register offsets and add toggle bank selects

    1. Correct the address offsets for MCE and Linearization
    configurations
    2. Add Update commands for Luma adaptation and Gamma
    3. Add logic to toggle bank selects for Luma adaptation and Gamma

    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 4ddc8923cb3e956226ced613dc88fa22adde16f4
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sat Oct 1 19:45:58 2011 -0700

    msm: camera: Turn off AEC and AWB register for ov2720

    Turn off AEC and AWB register to allow full control
    from msm ISP.

    Change-Id: Ie011ad3d11c1fc17265ef7313331098a48cb26cc
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 65c3b1d5789ed6fd3b663950ffc891e2f91af18f
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Sep 20 12:53:08 2011 -0700

    camera: Optimize bus scaling table for 8960.

    Change-Id: I4db338d173a99a18ba8ab86bd8f34dc322e54ff7
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit e49436af7ed9b91d50360a666f3959579fe33c7c
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Sep 28 16:07:27 2011 -0700

    camera: 8960: Enable dynamic VFE clock scaling.

    Whenever sensor pixel clock changes, round the VFE clock
    to the minimum clock that are greater or equal to the pixel clock.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit f7c1cefb69084819dec8fe45d83b7acfe81ce002
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Sep 20 08:41:15 2011 -0700

    msm: camera: Actuator settings for IMX074 actuator

    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 74bd0871369b3a3193b7811b6762f452568508c4
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Sep 22 16:51:14 2011 -0700

    camera: vfe32: Add support for VFE_CMD_GET_HW_VERSION.

    This enables user space applications to get vfe hardware
    version information.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 5e08d77840cfcaba5bd6c43a2ee4b40d516a448f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Oct 3 10:19:15 2011 -0700

    camera: Store the data offsets for each planes.

    - When the user queues a buffer, store the data offset
      along with the address offset which is already stored.
      data offset indicates the offset of the data in the
      buffer.
    - Use this offset when the physical address of the
      buffer is configured to VFE.
    - Depending on the number of planes present in the
      buffer, store either the y, cbr offset or the
      offset of each plane.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 551bb3d82048d64cd4beec13f4bf4d9a0935cf12
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Sep 26 13:03:41 2011 -0700

    camera: ispif: Improve start/stop/reset sequence.

    Halt ispif immediately before stopping sensor streaming,
    and start ispif before start sensor streaming.
    Handle ispif reset properly using wait_for_completion*
    instead of msleep().

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit e3673dac41dcba55ed4b511dcd52e8f074a570f3
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Sep 27 12:08:54 2011 -0700

    camera: vfe32: Only config one channel for raw snapshot.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 8227b413fe5a26cc5ad4707f24b4379d103871f3
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Sat Sep 24 21:29:35 2011 -0400

    camera: update MT9D113 front camera on QT8660

    In order to make MT9D113 front camera work properly on QT8660,
    1) GPIO105 needs to be requested and set properly since it's
       used to control front camera power on QT8660.
    2) CSI related clock needs to be configured using clk_add_alias
       correctly. The maximum alias_dev_name length that clk_add_alias
       can handle is 20 characters, so change the sensor device name
       is necessary.
    3) Correct I2C function used to read chip id.
    4) Correct sensor register setting to make it work in both preview
       and snapshot mode.

    Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>

    Conflicts:

    	arch/arm/mach-msm/board-qt8660.c

commit 22f62091164148bcfe5d7af8e0fedca03b72f85d
Author: Yupeng Yan <yyan@codeaurora.org>
Date:   Mon Sep 26 21:32:28 2011 -0700

    Revert "msm📷 Fix offset calculation for vfe registers"

    This reverts commit 369d2795f627d9c10dcafcd946b6c73b72b9768d.

    Signed-off-by: Yupeng Yan <yyan@codeaurora.org>

commit dcd2ffb320c41521ba5469b747fb7f673eb3e479
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Thu Sep 22 11:33:10 2011 -0700

    msm📷 Fix offset calculation for vfe registers

    Correct the address offsets for MCE and Linearization
    configurations

    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit dd0bde3ae7bddcc315069ce59ddbfbe5455b1bfd
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Sep 22 09:57:57 2011 -0700

    camera: add more cases to buffer unregistration function.

    This commit supports more cases in the buffer unregister
    function and removes the obsolete AEC_AWB cases.

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 607ad7c9a6c4443967b7e8bad59bc85159965220
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 12 14:59:47 2011 -0700

    msm: camera: Changing IMX074 sensor to use unify sensor model

    Changing IMX074 sensor code to use new camera sensor architecture.
    Using common code in msm_sensor.c and only keeping driver specific
    information in driver file

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 8e9f99e6223480a453501c07afe6aadaeec2085e
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Aug 26 16:33:32 2011 -0700

    msm: add video processing engine (VPE) as a V4L2 subdev in 8960.

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit b54fd243b1ba308d3f84d606dcb6ebcefd91b88b
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 12 17:11:19 2011 -0700

    msm: camera: IMX074 actuator using unified actuator

    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 7591c4b77b37769ed94c907b191818cfe06ab686
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Sep 9 16:22:08 2011 -0700

    camera: vfe32: Handle SOF before REG_UPDATE_ACK.

    VFE hardware will always generate REG_UPDATE_ACK within
    couple of lines after frame SOF. Hence it makes sense that
    in the case of they fall in the same tasklet, handle SOF first.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 5f4b344ef8050c77eadaff2e6471a0f49f81efa7
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Sep 8 14:56:35 2011 -0700

    msm: camera: Get info changes for unified actuator

    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit a4b5f30e624a97c17df789f442c8dece775f2ad1
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 12 16:23:22 2011 -0700

    msm: camera: Actuator changes for 8960

    1) Added actuator framework with common functions abstracted out
    2) Added actuator as a sub device in media controller
    3) coupled sensor with its specific actuator in board file
    4) Added new actuator control structure and new enum for communication
    between user space and kernel space
    5) Added common logging module with different logging levels

    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

    Conflicts:

    	arch/arm/configs/msm8960_defconfig

commit 8b0d2322548e32b724095b7de69666600a11fee2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sat Sep 10 21:06:31 2011 -0700

    msm: camera: Add support for privacy light on 8960 Liquid

    MPP 12 is used for privacy light on Liquid device.
    Setting sink to low to turn the light on.
    Privacy light is only turn on for front camera.

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit bb8404804e9e9d8e067e91f8146f87350f0958aa
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Sep 9 16:07:58 2011 -0700

    msm: camera: Update csi interrupt trigger conditon

    Csi interrupt is a active high trigger,
    updated to match hardware spec.
    Update csi interrupt mask to show error only.
    Mask csi interrupt when camera exit

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 7d7c85f982ca776c725b85cb83b9ede575a1d0b7
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 12 15:09:30 2011 -0700

    msm: camera: Adjust sensor reset wait time

    Add delay after the sensor reset pull up to ensure
    the sensor is out of reset mode. This would cover
    most of the hardware variance.

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 75512f647138e41724e11bb156e032c1d25573c4
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Jul 7 19:59:13 2011 -0700

    msm: camera: 8660: 3D Auto Focus correction

    The 2 sensors are not identical with respect to
    AF parameters. Hence separate AF table is used.

    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit f660101e50d9ec21e92ce902b61ebb33e5422358
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Aug 30 16:33:59 2011 -0700

    msm: camera: cleanup v4l device and media controller struct

    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 6b0f33239d02190cd6c8c0461bd588d39283f35d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Aug 26 12:14:43 2011 -0700

    camera: v4l2: Add msm_isp_cmd structure in msm_isp.h.

    This structure replaces msm_vfe32_cmd, and is exported
    to user space.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 24153d8ef30888e461e62ed32df1e66acc413017
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Aug 27 16:05:13 2011 +0530

    msm: camera: Add i2c mux support for native 3D camera

    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 07f710c887b0be083da21e36f60a62d2c31e5c9e
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 26 19:35:18 2011 -0700

    msm: camera: Add camera epprom utility functions

    New utility file for handling camera eeprom.
    Added standard functions for reading from eeprom.

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit edcbdcced5e8cea0412e9ce251fb0129733d456f
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Aug 24 09:14:14 2011 -0700

    msm: camera: Lens rolloff changes for MSM8960.

    MSM8960v1 has mesh based lens rolloff while MSM8960v2 has
    PCA based lens rolloff. Also starting from MSM8960v2 and
    newer chipsets have double buffered lens rolloff. So adding
    the run-time lens rolloff update, new config for PCA lens
    rolloff and run-time selection of Mesh or PCA lens rolloff.

    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 64d003eac3c0531c4d3b4fb9be100a736deee1ea
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 30 11:38:22 2011 -0700

    msm: camera: Remove additional check in msm_queue_drain

    Removed additional check in msm_queue_drain to make
    sure that the list is getting emptied in all cases.

    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 613ab7a16ca58ecda9c5bd4b7ad67ff7a4fd34fd
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Sep 2 03:36:01 2011 +0530

    msm: camera: Change mount angle of sensor

    Change mount angle of camera to 90 for Novatek 3D mipi panel

    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit ceea762f4b33c244059f674798527902b0e2168e
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Aug 23 14:01:03 2011 -0700

    msm: camera: Support for Multi planar image formats.

    Add support for multi-planar image formats. This
    allows the luma and chroma planes of the image to
    reside in different memory locations.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 20a9bf2d18b3170d7daca4e35be53726a00e13bd
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 23 16:02:01 2011 -0700

    msm: camera: Fix recording state machine bug

    Video frames are sent to the userspace even after stop_recording
    is issued. Fixed the recording state machine to correct this.

    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 9c0bc33d23ab05d7a2e68c0a304012effee70294
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Aug 30 14:18:50 2011 -0700

    msm: camera: Handle more sensor op mode from userspace

    Remove error check to handle more sensor op mode apart
    from preview and snapshot. Error check is not needed for
    the switch case because the resolution update should not
    be done for other op mode.

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit fe7abc088b52d20b47b84737bad0517acfd8a551
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 13:27:39 2011 -0700

    mm camera: Add pmem vaddr mapping in HAL

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 9559ee42d03855217bd884d814a643f85faa1c6d
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 11:54:22 2011 -0700

    msm camera: separate daemon pmem mapping away from video node

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 5dcf31ca65ed265082278245d956b28bb31e8a8a
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Wed Aug 24 10:08:35 2011 -0400

    msm: camera: enable VX6953 Sensor on msm7x30 platform

    VX6953 sensor is disabled because of a typo in KConfig file.
    Correct the typo to enable it.

    Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>

commit 2d31d27a3a1810d6d55991f4daea3af5812e3d90
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 19 13:32:47 2011 -0700

    msm: camera: Add new function to msm_camera_i2c

    Add new function to handle device settings with varying data length.
    Sensor vendors usually give us settings with consistent data length,
    etc. group of byte or groups or word.
    This new structure and function will handle cases when the data length
    changes often.

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit f94bcc6852eae1a1623388b16833569c985e2998
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Aug 22 15:23:53 2011 -0700

    msm: camera: add config identifier to control command structure.

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit ce65086d12f309762659c1684d94f0869727f725
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Aug 17 15:27:01 2011 -0700

    camera: Export msm_isp.h to user space.

    The header would hold command IDs and ISP message IDs,
    which can be used by user space code.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit a3c1a12a6ae1cd16b9105417954b0128df1ead97
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Aug 4 15:33:27 2011 -0700

    camera: v4l2: Make ISPIF a v4l2 subdev.

    This makes it easier to control stream on/off using ISPIF
    instead of CAMIF. RDI streaming/snapshot also becomes a
    possibility.

    Note that this change still turns on PIX0 streaming right
    after ISPIF configuration. This is because ISPIF streamon
    needs to happen before sensor streamon, and right now sensor
    stream is turned on before configuring VFE pipeline.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 270813aace6f99b5d6b3515b581a0c40ffee771f
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Aug 10 17:23:18 2011 -0700

    msm: code clean up of the existing improper event implementation

    Current implementation has a bug in v4l2 event subscription.

    Also it is good to make the kernel to be transparent
    to those notification events from daemon to HAL.

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit feee40a7d6e6f8ce0c3e84d0b50ef562206ccfa1
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Aug 17 00:57:42 2011 -0700

    msm: camera: Camera i2c utility file

    Moved i2c utility functions to msm_camera_i2c files from
    msm_sensor file, so that it can be used by other camera sub device
    e.g. flash and actuators

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 4ab97a9943c6eede62a4c62aedeac3ebbcc093d3
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 26 15:30:14 2011 -0700

    msm: camera: Include Minimum Luma in Stats buffer

    Include Minimum Luma Pixel value in Stats buffer
    for AWB stats process.

    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit a980f399e0a4f7e0521449cdaef4766257677867
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Aug 1 20:55:00 2011 -0700

    msm: camera: Improve unify sensor apis

    Added more error checking code
    Separate dimension specific register settings into separate structure
    Code flow improvements

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 71416cefbe57d478457c32adaf6c3d63918abc65
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 4 15:51:28 2011 -0700

    msm: camera: pass config node name up to server on open/close.

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 2422e38c4669bb52cd6cf6719b30c78e4d3c0b1a
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Mon Aug 15 17:31:53 2011 -0700

    camera: 8960: Don't control vfe_axi_clk explicitly

    It is controlled implicitly with the VFE core clock.

    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit e4813371b1af96117b1b5ad1ec6c1f6bc71227d3
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Aug 11 21:34:39 2011 -0700

    msm: camera: Update Kconfig for msm camera sensor

    Update to only compile for 8960 target

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 28446526c16521ed7b64b3a1b0afae3749b82691
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Jul 26 16:39:53 2011 -0700

    msm: camera: Remove gpio call back function from board file

    Moved camera gpio on and off functions to msm_io_8960 file
    Exposure camera gpio numbers from board file to msm_io_8960 file.

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 07c23dc9676a579be57898f472b7e81eaacabe21
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 11 16:02:37 2011 -0700

    msm: camera: reorganize gemini files into new folder.

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 5f4e31111d9cb3d24b181d297b165a0e35891fc0
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Tue Aug 9 16:10:15 2011 -0700

    msm: camera: Add separate ASF config and update use case.

    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 971f97f34edad1490cf896f3596eda37ebb92632
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Wed Jul 13 14:25:25 2011 -0400

    msm: camera: Add VX6953 camera support on 8660 dragon board

    Add VX6953 related data structure into msm8x60 board file
    since 8660 dragon board is using this camera module. And
    since this camera module is used in some msm7x30 platform,
    and the mount angle on such platform is 0 degree which is
    different from that on 8660 dragon board (270 degree),
    the mount angle  needs to be specified in both board file
    and passed into vx6953 camera driver.

    Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>

commit 3382c5159846e6e6f963261a094329267a61e1b6
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Jul 19 21:00:45 2011 -0700

    msm: camera: Fix sensor OV9726 gpio issue

    Sensor gpio reset pin flag is added for 7x27a.
    Adding flag option for 8x60.
    Adding check for the flag in gpio release

    CRs-fixed: 296109
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 3b13881e1741a8de34ea1b6ad09bd1a215ecfff6
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 9 14:12:58 2011 -0700

    msm: camera: Chroma/Luma filter mode for vfe 3.2

    Chroma/Luma filter mode for vfe 3.2

    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 0920f45b70d1ff6194bcf058957c0816bca3a24f
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Aug 4 17:03:41 2011 -0700

    msm: camera: Reorganize msm camera folder

    Moving v4l2 sensors files to sensors folder

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit e355164ba86d56b5574ef6b98405d9e6e377a35f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Aug 4 09:35:21 2011 -0700

    msm: camera: Add recording state machine in vfe 3.2.

    -The recording state machine which was present for
    earlier targets is missing in vfe 3.2. Add this to
    avoid any issues that might be seen during
    starting/stopping of video recording.
    -Also remove the msleep during streamoff. This is
    no longer needed, since the state machine handles
    this case properly.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit fa64f2332f034f202fa1f495c6dce7012bc2bb16
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 4 09:32:34 2011 -0700

    msm: camera: fix memory leaks in camera driver

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit faf6ecd5eb150b8892ffabadaa970d294dd55a08
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Tue Aug 2 18:37:56 2011 +0530

    msm: camera: Added stabilization delay for VCM GPIO

    Stabilization delay msleep(20) is required in-order
    to transit the gpio into the output low state, otherwise it
    remains the input high state

    CRs-fixed: 299262
    Signed-off-by: Sandeep Kodimela <skodimela@codeaurora.org>

commit aa524760aaddcf6526d7cfbf70ff52078a15b9d0
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 2 21:08:42 2011 -0700

    msm: camera: Handle event queue overflow error

    When the config thread crashes or is in bad state, the camera
    driver wont get notification which prevents the driver from
    shutting down. Added code to handle this usecase.

    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 474f225b5559e57c8df99d0512c1b02861017d44
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Jul 23 23:17:56 2011 +0530

    msm: camera: Initial version of LED Driver on 8960

    Initial version of LED driver for Cdp & Mdp comprise

    - Enable SC628A LED Driver chip for 8960.
    - Configure SX150X Gpio Expander chip.
    - Restructure  Camera Gpio Mux settings table
    which will later be used to toggle function select for LED Flash
    between Mdp & Cdp.

    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 073b496f4e94e3c3a8344cac5a32b028b1407d6d
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 28 19:08:39 2011 -0700

    msm: camera: Change log severity of vfe messages.

    Currently the log message which indicates the
    non-availability of free buffer when we receive
    a frame notification from VFE is enabled
    by default. Since this does not necessarily
    indicate error, it might be misleading. Hence
    change this to debug message.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 2fe35efa5b3075bc32d00356ad0004162d3df19d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:20:08 2011 -0700

    camera: v4l2: Add zoom support in driver.

    Add implementation of G_CROP and event for
    zoom completion.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit eb8c895a5f1fc4885d1016f2806f0aa00b9b4fad
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Aug 1 15:21:23 2011 -0700

    msm: camera: Remove obsolete code from AXI configuration
    function.

    - msm_pmem_region_lookup_3 is not needed anymore since
      the VFE gets the buffer information from the free
      queue of the media controller directly.
    - msm_frame_axi_cfg is not needed anymore since we dont
      need to invoke the above lookup function.
    - CMD_FRAME_BUF_RELEASE is not needed anymore since
      the buffer is directly added into the media controller's
      free queue when the user queues a buffer for processing.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 0d9277c6c15665222a9cdb5d16e45cbb6055d147
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:19:10 2011 -0700

    camera: v4l2: Use v4l2_event for event from config to app.

    This simplies the way event is propagated. Driver only needs
    to pass on the v4l2_event structure directly.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit b7eebabca836963277ad221db4a438c8a774dff0
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jun 2 20:07:50 2011 -0700

    msm: camera: Enhance i2c api to unify sensor driver

    Updated the common camera sensor i2c functions to be
    more generic.

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit a2c689a175dfcaefaa2b93568f4d5058bb7d1158
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jul 26 14:35:31 2011 -0700

    msm: camera: Support Demosaic ABF2 for vfe3.2

    Added support for demosaic adaptive bayer filter for vfe3.2.
    This module is used for noise suppression and edge enhancement.

    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 5b04d356f55188a7e196a47c570e1cdf6f714c59
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 21:18:42 2011 -0700

    msm camera: snapshot wavelet denoise support

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 4d28c093e70f2cde3369f7fc021e1b14d1875346
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 14 15:40:33 2011 -0700

    camera: 8960: Enable GDHS support.

    Enable GDHS support for VFE, VPE, and IJPEG.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit d25a8ff131a9bfa3b408cfbba124e443735b7cdb
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 28 18:36:27 2011 -0700

    msm: camera: correct the buffer offset calculation.

    Correct the cbcr offset calculation of the YUV buffer
    by padding the buffer height to multiple of 16.

    CRs-Fixed: 298346
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit e6e4eb25abca5a09735b5a2346e2ace65c7d6d56
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Thu Jul 28 18:34:19 2011 +0530

    msm: camera: Fix camera switch from primary to secondary

    avoid false sensor detection to ensure smooth switch between
    primary to secondary camera sensor

    Signed-off-by: Sandeep Kodimela <skodimela@codeaurora.org>

commit 5d41837ac192f0545416b7c0510f4769fc5c04ed
Author: Mansoor Aftab <maftab@codeaurora.org>
Date:   Tue Jul 26 17:01:26 2011 -0700

    msm: camera: Changes to enable events and Auto Focus

    Added event notify message support added entries for
    autofocus event types

    Signed-off-by: Mansoor Aftab <maftab@codeaurora.org>

commit f7f58232ab8e05180e40e68c9e6ef0cec7a0ce9d
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jul 26 14:18:30 2011 -0700

    msm: camera: Configure and update linearization look up tables

    Support for configure and update commands for
    linearization for vfe3.2

    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 5b7afbc1066df49777ae80aad05de46ad1266d45
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Jul 27 15:19:45 2011 -0700

    msm: camera: Change max number of application buffers
    allowed.

    During AXI configuration, the buffer addresses are
    stored in a msm_pmem_region array of size 16. This
    limits the maximum number of buffers that can be
    used by the application to 16. But in ZSL mode,
    the application can allocate more than 16 buffers.
    Increase the maximum number of buffers and
    dynamically allocate memory for this structure.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 9cbf523afd1bafb4a274ffe8445d112c676dce8c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jul 25 15:52:51 2011 -0700

    msm: camera: Fix raw snapshot functionality.

    - Thumbnail image is not generated in case of
      raw snapshot. Hence dont configure thumbnail
      buffers in case of raw snapshot.
    - Remove couple of duplicate log messages.

    CRs-Fixed: 297230
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 89d8c1dff8e1816b41d705c6d76266daf4b4d77e
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jul 27 12:08:34 2011 -0700

    msm: camera: Improve camera IRQ stability

    CSI irq is trigger too often causing the platform to be unstable.
    Modified csid and csiphy irq to only trigger for errors.

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 851bdc41e10628bbe6a4986d0f17e9d943f73f6f
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Jul 21 19:54:20 2011 +0530

    msm: camera: Fix GPIO issues in sensor drivers

    Keep GPIO 153 and 151 to low power state when
    camera is not in active state.

    CRs-Fixed: 294992
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 5cbaf3e1a8623325997247578800c49c82aa622a
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jul 21 11:14:56 2011 -0700

    msm-camera: fix subsystem ID address in JPEG

    The address of the subsystem id stored in the jpeg
    buffer structure was becoming invalid. This happened
    because the buffer used for mapping was copied over to
    a duplicate place and the second buffer was used for
    unmapping, while the first one was freed.

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit c001dc31f98aad02259b31951c6c48067454273a
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jul 15 13:51:52 2011 -0700

    camera: vfe32: Enable Zero Shutter Lag mode support.

    - Add bus scaling table for ZSL mode.
    - Add AXI configuration and interrupts handling for ZSL.
    - Add missing VFE commands of XBAR configuratin.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 53a9083107fbb4df41b22b15f56501b920a0f61d
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Jul 20 21:19:28 2011 -0700

    msm-camera: fix the stop recording crash

    do not swap ping/pong buffer when no free buffer

    CRs-fixed: 296858

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit ca681569d396c54bb3a192bdc5434c5a889e0ce5
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Mon Jul 25 20:44:23 2011 -0700

    msm-camera: initial vpe and divert frame implementation

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit c6864b8db38bd6ee700d862df15380eb95234c25
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jul 15 11:43:41 2011 -0700

    msm-camera: add SMMU code for use with videobuf2 framework

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit d71946b2ad838e897f450bb8d1ad6eb86bff7298
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jul 19 15:10:58 2011 -0700

    msm-camera: v4l2: Use ktime_get_ts to get timestamp.

    Using ktime_get_ts and converting to timeval matches
    with system time in user space. This eliminates the
    AV sync issue between video and audio.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 0fb9dcfbc652ed617ceb244bd8a9201d00a124fe
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sun Jul 17 12:31:53 2011 -0700

    msm-camera: configure preview and recording buffers
    seperately.

    decouple preview and recording path configuration
    by configuring the buffers during preview start
    and recording start respectively.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 9812bd34ec034b4a78ed1c1c5f6fbd1ca3d1b43e
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 22:57:11 2011 -0700

    msm camera: migrate to videobuf2 framework

    add necessary changes in camera driver to
    migrate to videobuf2 framework.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

    Conflicts:

    	drivers/media/video/Makefile

commit 5a19c68d63da33710ed52a974a996f03a706b84f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Jul 23 11:34:34 2011 -0700

    Revert "msm: camera: YV12 video support"

    This reverts commit 66882a5046143601429632a0b589d9ffeeb3c668.
    This change will be submitted later.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 7ff0cf49995d22fddaa90cea95dac8850abcac89
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Fri Jul 15 15:56:40 2011 -0700

    msm: camera: YV12 video support

    Support for color format YV12.

    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 6d6ff5e495a12895b5b4a37eb3049fda560c693a
Author: Mansoor Aftab <maftab@codeaurora.org>
Date:   Wed Jul 20 17:25:36 2011 -0700

    msm: camera: Correct mount angle, sensor type values

    Correct the sensor type value for the IMX074 sensor.
    Set the mount angle value for this sensor on 8960,
    also made sure that the values obtained for angle,type
    from probing are recorded in the structure which used
    to retrieve this information during device query.

    CRs-fixed: 296576
    Signed-off-by: Mansoor Aftab <maftab@codeaurora.org>

commit 0e468741095d4669b8716aa22c46d71fa64a6574
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jul 14 21:27:20 2011 -0700

    msm: camera: Update OV2720 sensor settings

    Increase output dimension to 1932X1092
    Added in sensor roll off correction settings

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 85c05cd8d9e8e5d54c4cb23efebb3bdc6a9ff6c9
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sun Jul 10 11:33:14 2011 +0530

    msm: camera: Configure the qs_s5k4e1 in 1 lane for 2d mode

    Configure the qs_s5k4e1 sensor in 1 lane for 2D mode. This
    change is made as a work around for hardware issue. As we
    switch from 4 lane configuration in 3D mode to 2D configuration
    in 2 lane, the fifo in CSI Phy overflows. When 2D mode uses 1 lane
    configuration the FIFO is bypassed.

    CRs-fixed: 292608
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit bdc7bbba1cc1202166a45b479b1cb7b0e54eec8f
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Fri Jul 15 12:26:19 2011 -0700

    msm: Remove last references to NPA-related code for AXI rate management

    The NPA driver was removed some time ago, but wrapper code
    and some of its driver hooks persisted in the tree, despite
    not being compiled (or even compilable). Remove these now.

    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit e1893e9f2e3eaa90a853d3ac1dc558801eddee74
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Jul 14 16:29:22 2011 -0700

    msm: camera: Stop streaming video when stop rec is issued

    This patch makes sure that we don't stream any video frames
    when recording is stopped.

    CRs-Fixed: 295043
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 5b47c3a870059f466110db5093d784048a8f1895
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 14 10:18:31 2011 -0700

    camera: vfe32: Flush out duplicate buffers in free queue.

    The same set of buffers were programmed during AXI config,
    and then enqueued before start recording. Flush the extra
    copy out before recording.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit dfecce26ab5746f9f4ed6ae2427e44483aeb8543
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jul 13 10:52:41 2011 -0700

    msm: camera: Initial commit for qs_mt9p017

    Initial support for qs_mt9p017 on 8960

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit d74f9d936f955240bedc50e2df5a8235dc17a1be
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jul 8 16:33:33 2011 -0700

    msm: v4l2: add SMMU mapping code into gemini driver

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 7b057dbfc163b5c937315c6a0011a24b2b6b2251
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Jul 13 16:39:15 2011 -0700

    msm: camera: fix the leak in free buffer queue.

    Free up the buffer memory after dequeueing
    it from free queue.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 3f2bc4d6eb5a4fada842462ba22bb6bbb41d00c7
Author: Bryan Huntsman <bryanh@codeaurora.org>
Date:   Tue Aug 16 17:27:22 2011 -0700

    Initial Contribution

    msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

    Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
commit 504ffcbcd46bb27fdcd35d6200c32a4f28256dc3
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Sep 27 18:09:45 2011 -0700

    msm: camera: Fix register offsets and add toggle bank selects

    1. Correct the address offsets for MCE and Linearization
    configurations
    2. Add Update commands for Luma adaptation and Gamma
    3. Add logic to toggle bank selects for Luma adaptation and Gamma

    Change-Id: I9217158a953c6f50c7ecd4790602dddf173c5b44
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit b0ccfe5149012a1973854f7715ec0ed3a674305e
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Sep 20 12:53:08 2011 -0700

    camera: Optimize bus scaling table for 8960.

    Change-Id: I4db338d173a99a18ba8ab86bd8f34dc322e54ff7
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 30476c9c7837262f7fa05cba3f4e229d0df4bf68
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Oct 4 22:56:15 2011 -0700

    msm-camera: unregister sd_vpe sub-device in close.

    Change-Id: I5c0366b42a798d78da755da859698864f4741152
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 0d99a03993f199158b82a6d65ba50c00f3f38b02
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Sep 28 16:07:27 2011 -0700

    camera: 8960: Enable dynamic VFE clock scaling.

    Whenever sensor pixel clock changes, round the VFE clock
    to the minimum clock that are greater or equal to the pixel clock.

    Change-Id: I4ca553e70aac4f0ff69d2d9cf31f9cc0beb58338
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 65a4f00b2af8c00973aa00030bd86ca3bf0b0cdf
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Sep 22 16:51:14 2011 -0700

    camera: vfe32: Add support for VFE_CMD_GET_HW_VERSION.

    This enables user space applications to get vfe hardware
    version information.

    Change-Id: I5b4df8389e2d96fdecce591d16bb47fdddb70171
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 02d550d38360d875cbca8b230591b5e449c0ea2a
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Oct 3 10:19:15 2011 -0700

    camera: Store the data offsets for each planes.

    - When the user queues a buffer, store the data offset
      along with the address offset which is already stored.
      data offset indicates the offset of the data in the
      buffer.
    - Use this offset when the physical address of the
      buffer is configured to VFE.
    - Depending on the number of planes present in the
      buffer, store either the y, cbr offset or the
      offset of each plane.

    Change-Id: I51166ce71b1d8cbe7fc26254e2b460288072342c
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 9684586b17ec1e411511a775cb16d6a4deb8653a
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Sep 26 13:03:41 2011 -0700

    camera: ispif: Improve start/stop/reset sequence.

    Halt ispif immediately before stopping sensor streaming,
    and start ispif before start sensor streaming.
    Handle ispif reset properly using wait_for_completion*
    instead of msleep().

    Change-Id: I6e8f84b2d7e113dc2dd8eb7376d9db64618c7c6d
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 8e70a5c3c590c420b50553e6a3af390459ed86d2
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Sep 27 12:08:54 2011 -0700

    camera: vfe32: Only config one channel for raw snapshot.

    Change-Id: I0b416ad44ebaea42e7dcf5a3df80d4af07c55a91
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 20cfec3e37fa98a058d3052e87dda3a8699ac3a0
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Sat Sep 24 21:29:35 2011 -0400

    camera: update MT9D113 front camera on QT8660

    In order to make MT9D113 front camera work properly on QT8660,
    1) GPIO105 needs to be requested and set properly since it's
       used to control front camera power on QT8660.
    2) CSI related clock needs to be configured using clk_add_alias
       correctly. The maximum alias_dev_name length that clk_add_alias
       can handle is 20 characters, so change the sensor device name
       is necessary.
    3) Correct I2C function used to read chip id.
    4) Correct sensor register setting to make it work in both preview
       and snapshot mode.

    Change-Id: If73e50935ea456c4630ad8da1ebf6eba4564ec21
    Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>

commit dc3aa38eec857b77edc3a8288a7b41b905b2bf08
Author: Yupeng Yan <yyan@codeaurora.org>
Date:   Mon Sep 26 21:32:28 2011 -0700

    Revert "msm📷 Fix offset calculation for vfe registers"

    This reverts commit 369d2795f627d9c10dcafcd946b6c73b72b9768d.

    Change-Id: Ibc4475c6240e3ff4e6f0cc71e1ab0043b112a787
    Signed-off-by: Yupeng Yan <yyan@codeaurora.org>

commit 369d2795f627d9c10dcafcd946b6c73b72b9768d
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Thu Sep 22 11:33:10 2011 -0700

    msm📷 Fix offset calculation for vfe registers

    Correct the address offsets for MCE and Linearization
    configurations

    Change-Id: I67244ecf45347ef5aabd4d5ed2ee60688b82206c
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit c984329b80b7a0beb6bac8e1b97a4748a0f0432c
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Sep 22 09:57:57 2011 -0700

    camera: add more cases to buffer unregistration function.

    This commit supports more cases in the buffer unregister
    function and removes the obsolete AEC_AWB cases.

    Change-Id: I42914bfdea954fdaba7d0a005e676cb20531020e
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 8763c92c756a1dcd82f3309de42f1961c2e1853b
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Aug 26 16:33:32 2011 -0700

    msm: add video processing engine (VPE) as a V4L2 subdev in 8960.

    Change-Id: I635bfc6f484ca727df2144a0ae59f0af1a180091
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 414571a118eb3f227f230268f3022e1869812de2
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Sep 20 08:41:15 2011 -0700

    msm: camera: Actuator settings for IMX074 actuator

    Change-Id: I51ebf0d472f295964c477f31144eaa54e6517a25
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit ad88ea2656ae478f0da3b738ec50ca14f470e9ea
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 12 14:59:47 2011 -0700

    msm: camera: Changing IMX074 sensor to use unify sensor model

    Changing IMX074 sensor code to use new camera sensor architecture.
    Using common code in msm_sensor.c and only keeping driver specific
    information in driver file

    Change-Id: Ibd88266a9b8e8f6d77d6fd2598fc39df15cc1a8d
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 7314da09224a5815a0b48d4389afd11e604623f6
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 12 17:11:19 2011 -0700

    msm: camera: IMX074 actuator using unified actuator

    Change-Id: Ief1c0837845943df86775db98909716ec7fc5ec1
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit ba5cc67740ee3c5a62a000f097cf08147a234193
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Sep 8 14:56:35 2011 -0700

    msm: camera: Get info changes for unified actuator

    Change-Id: I3dcce410edf9ce8daaecc94ef231e26832f105dc
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 900d17d8855fd42f0245178824a85012d8af6aaf
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 12 16:23:22 2011 -0700

    msm: camera: Actuator changes for 8960

    1) Added actuator framework with common functions abstracted out
    2) Added actuator as a sub device in media controller
    3) coupled sensor with its specific actuator in board file
    4) Added new actuator control structure and new enum for communication
    between user space and kernel space
    5) Added common logging module with different logging levels

    Change-Id: Ic32e19dc35092e31e972b77e2f48362a956ae175
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 336d04345486c83a4cd8c5a348097d23bfbb9dee
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Sep 9 16:22:08 2011 -0700

    camera: vfe32: Handle SOF before REG_UPDATE_ACK.

    VFE hardware will always generate REG_UPDATE_ACK within
    couple of lines after frame SOF. Hence it makes sense that
    in the case of they fall in the same tasklet, handle SOF first.

    Change-Id: Ie09719db874091d498d26d95cd2904db3f38b8a9
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit b7d655009ad39f57be90517aea66cdf0356b1ce3
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sat Sep 10 21:06:31 2011 -0700

    msm: camera: Add support for privacy light on 8960 Liquid

    MPP 12 is used for privacy light on Liquid device.
    Setting sink to low to turn the light on.
    Privacy light is only turn on for front camera.

    Change-Id: Ib4cdbc4a57e212b6f91e3cec3fc6aed6ec4ca59f
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 696950b12be98b435b75f05d548b3c3cc71f7444
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Sep 9 16:07:58 2011 -0700

    msm: camera: Update csi interrupt trigger conditon

    Csi interrupt is a active high trigger,
    updated to match hardware spec.
    Update csi interrupt mask to show error only.
    Mask csi interrupt when camera exit

    Change-Id: I8f3bdcc3bc65981ccd7e1fa19a5ae0b5f9a56820
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit df2290e9454db81e803773eb933749f95cf32e2d
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Aug 30 16:33:59 2011 -0700

    msm: camera: cleanup v4l device and media controller struct

    Change-Id: I31809c2c11c7a78cdd4b431d0d0ce0e68790f700
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit d0014145e767d505368c7ea149f67e4311a952a2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 12 15:09:30 2011 -0700

    msm: camera: Adjust sensor reset wait time

    Add delay after the sensor reset pull up to ensure
    the sensor is out of reset mode. This would cover
    most of the hardware variance.

    Change-Id: Ic962bb1b117e78e6bb5c09ac8ebf7aaf12b52c32
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 8c4a44d688fc8a383dfc21a745dd5d73c17ed8f7
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Aug 27 16:05:13 2011 +0530

    msm: camera: Add i2c mux support for native 3D camera

    Change-Id: Ice5d91576d095d6e5cd364f289aab7c89e2b0c9c
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 1f23597d3f4ebfdff562c431079beb69f2bed4df
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Jul 7 19:59:13 2011 -0700

    msm: camera: 8660: 3D Auto Focus correction

    The 2 sensors are not identical with respect to
    AF parameters. Hence separate AF table is used.

    Change-Id: I20fb9204af9d9f680a779b6302b219efc3f02b38
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit 184e6cc62fdb2a15da3ea267799a3c1a04ae4808
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 26 19:35:18 2011 -0700

    msm: camera: Add camera epprom utility functions

    New utility file for handling camera eeprom.
    Added standard functions for reading from eeprom.

    Change-Id: Ia08c2bfe2e6c37ed2c679822d1a2b1ae94f5e6eb
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 00702bc3bc70331208373bb9fe3442c0250a8d66
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Aug 26 12:14:43 2011 -0700

    camera: v4l2: Add msm_isp_cmd structure in msm_isp.h.

    This structure replaces msm_vfe32_cmd, and is exported
    to user space.

    Change-Id: I9a8916e1797345f9ca71c32150b56ce07a945d1b
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 2e471e844a8888c84cf4d37f3e575d8e1f43200d
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Aug 24 09:14:14 2011 -0700

    msm: camera: Lens rolloff changes for MSM8960.

    MSM8960v1 has mesh based lens rolloff while MSM8960v2 has
    PCA based lens rolloff. Also starting from MSM8960v2 and
    newer chipsets have double buffered lens rolloff. So adding
    the run-time lens rolloff update, new config for PCA lens
    rolloff and run-time selection of Mesh or PCA lens rolloff.

    Change-Id: I47b60e6812ca377e8ea71cea60e9ba1826777e7d
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 2931504512693c7a928b8961a061f2af654dcb53
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Sep 2 03:36:01 2011 +0530

    msm: camera: Change mount angle of sensor

    Change mount angle of camera to 90 for Novatek 3D mipi panel

    Change-Id: I4cd26f960392c29672c00c9abe8f3794cb1865a6
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 93d42d4357772a178c7729d20f1a4353a5d9b08d
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Aug 23 14:01:03 2011 -0700

    msm: camera: Support for Multi planar image formats.

    Add support for multi-planar image formats. This
    allows the luma and chroma planes of the image to
    reside in different memory locations.

    Change-Id: Ibd85b89d752d17d6f840e6959d9b3692e0f2aa98
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 496a2906ed74bdb2067a11b6f719f8fa8cf0b004
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Aug 30 14:18:50 2011 -0700

    msm: camera: Handle more sensor op mode from userspace

    Remove error check to handle more sensor op mode apart
    from preview and snapshot. Error check is not needed for
    the switch case because the resolution update should not
    be done for other op mode.

    Change-Id: Ie1d4d28266b097d71970036bbad97d81bef23c14
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 33e638a1c229765d06a76bc84351de9407026782
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 30 11:38:22 2011 -0700

    msm: camera: Remove additional check in msm_queue_drain

    Removed additional check in msm_queue_drain to make
    sure that the list is getting emptied in all cases.

    Change-Id: I56f35ba18bc8ce49a8f8cebcb642c88a0966718f
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 93f518e6dfac090e4caaf5b6bb7d2cddd057e377
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 13:27:39 2011 -0700

    mm camera: Add pmem vaddr mapping in HAL

    Change-Id: I2f5768eeeee42f5df527a85980f3eab24d773451
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 8ca74aecd2072d2aec9a7d0167198180a6c2386c
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 11:54:22 2011 -0700

    msm camera: separate daemon pmem mapping away from video node

    Change-Id: Ie4731ea5cea5c51142093fcc2671942a1297644a
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit e6229e64037a1e74c926d89f934809a7ad22ee04
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Wed Aug 24 10:08:35 2011 -0400

    msm: camera: enable VX6953 Sensor on msm7x30 platform

    VX6953 sensor is disabled because of a typo in KConfig file.
    Correct the typo to enable it.

    Change-Id: I710634b2ee3805d6558cee04c137b2209fd2987e
    Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>

commit d9f44c302ee2e14a5e022c8e44943e2b3d9ff400
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 23 16:02:01 2011 -0700

    msm: camera: Fix recording state machine bug

    Video frames are sent to the userspace even after stop_recording
    is issued. Fixed the recording state machine to correct this.

    Change-Id: I4c3f8c5e561c1cec258f63ae0b596deb5f83f694
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 3ecc42f788773ec568ed7421d8113e5b93a1843e
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 19 13:32:47 2011 -0700

    msm: camera: Add new function to msm_camera_i2c

    Add new function to handle device settings with varying data length.
    Sensor vendors usually give us settings with consistent data length,
    etc. group of byte or groups or word.
    This new structure and function will handle cases when the data length
    changes often.

    Change-Id: I767ad7ffa020c919fe248a470ba6961f9e218633
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 4f65a96f9c198458cb8c237bddf68551f1c5a6ec
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Aug 22 15:23:53 2011 -0700

    msm: camera: add config identifier to control command structure.

    Change-Id: I5db0e3efe3aea783e969c612463f93b5c31824b9
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 414a8fcfe25591c68cf7eaccd2ac2591bb2f819d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Aug 17 15:27:01 2011 -0700

    camera: Export msm_isp.h to user space.

    The header would hold command IDs and ISP message IDs,
    which can be used by user space code.

    Change-Id: I47a2e05da5aa288573c05f5c3de38ca827fe08a1
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 34b56514765d560057d5f69867f4d0e69f36e73d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Aug 4 15:33:27 2011 -0700

    camera: v4l2: Make ISPIF a v4l2 subdev.

    This makes it easier to control stream on/off using ISPIF
    instead of CAMIF. RDI streaming/snapshot also becomes a
    possibility.

    Note that this change still turns on PIX0 streaming right
    after ISPIF configuration. This is because ISPIF streamon
    needs to happen before sensor streamon, and right now sensor
    stream is turned on before configuring VFE pipeline.

    Change-Id: I515652971aec2a1beeabd771393865f2e5af44c1
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit d7c755ef190523324dace3b46431ae5d89e3bb1c
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Aug 10 17:23:18 2011 -0700

    msm: code clean up of the existing improper event implementation

    Current implementation has a bug in v4l2 event subscription.

    Also it is good to make the kernel to be transparent
    to those notification events from daemon to HAL.

    Change-Id: If09a7721c43bde513611c67bd2c13470620bcef9
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 206a0aeee40612aad0f45eba96369fc2260ea32a
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Aug 17 00:57:42 2011 -0700

    msm: camera: Camera i2c utility file

    Moved i2c utility functions to msm_camera_i2c files from
    msm_sensor file, so that it can be used by other camera sub device
    e.g. flash and actuators

    Change-Id: Iddd49a36146d3907ef094411df086bd68b3afa0d
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit b1a3ca7e81ef3336818945e834ac6b19101e1490
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 26 15:30:14 2011 -0700

    msm: camera: Include Minimum Luma in Stats buffer

    Include Minimum Luma Pixel value in Stats buffer
    for AWB stats process.

    Change-Id: I7ca6121dd8b250588a21634af956685c0f0f4525
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 1afa3df4f6ec987a4adee2ab912926932d2f6590
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Aug 1 20:55:00 2011 -0700

    msm: camera: Improve unify sensor apis

    Added more error checking code
    Separate dimension specific register settings into separate structure
    Code flow improvements

    Change-Id: Ib54f2ac5fd69da9b9b9cd48a96a7f521715c637c
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit a29e0583d690d14e30ceaf8df2399d115183906e
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 4 15:51:28 2011 -0700

    msm: camera: pass config node name up to server on open/close.

    Change-Id: I1685356803d8240a3d3cae3bc9a8e8c4233262df
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 6a76b0fb788123a39c20d023c6c22f0b87b6db1e
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Mon Aug 15 17:31:53 2011 -0700

    camera: 8960: Don't control vfe_axi_clk explicitly

    It is controlled implicitly with the VFE core clock.

    Change-Id: I6e4c9ee1a5e0fa7e981a13a546b5a4fb0bb069aa
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit 717c168f5e4ba5dd290d3bffb5442de59207ecb5
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Aug 11 21:34:39 2011 -0700

    msm: camera: Update Kconfig for msm camera sensor

    Update to only compile for 8960 target

    Change-Id: I557230a7ebb0fc934a90476cd5c8d5b0c3692202
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 689861a06f697161a58980bb9bd71fa4bbeba4c2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Jul 26 16:39:53 2011 -0700

    msm: camera: Remove gpio call back function from board file

    Moved camera gpio on and off functions to msm_io_8960 file
    Exposure camera gpio numbers from board file to msm_io_8960 file.

    Change-Id: I78f33013e4625ed72a30b6156486638775fcb0c0
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 37aec907c03b1cc7f8ec0017afbcc29f36c199c6
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 11 16:02:37 2011 -0700

    msm: camera: reorganize gemini files into new folder.

    Change-Id: I57d506204d6727e384c9e8fc9a93a56dd323af04
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 1f9c00452d5ed03a231afa85a9110e196a2e4989
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Tue Aug 9 16:10:15 2011 -0700

    msm: camera: Add separate ASF config and update use case.

    Change-Id: I9f75fad8f00726062ca0f3afd17a4ae08bfcb36d
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit ea04476f212759c83ad4e1d6f85bb2cceb68efc7
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Wed Jul 13 14:25:25 2011 -0400

    msm: camera: Add VX6953 camera support on 8660 dragon board

    Add VX6953 related data structure into msm8x60 board file
    since 8660 dragon board is using this camera module. And
    since this camera module is used in some msm7x30 platform,
    and the mount angle on such platform is 0 degree which is
    different from that on 8660 dragon board (270 degree),
    the mount angle  needs to be specified in both board file
    and passed into vx6953 camera driver.

    Change-Id: Ic95618dc92a53c3dbd3e5d76ec4160ad8b4b6c54
    Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>

commit a22f20533b1639ac4e6ac34ef3afbe6fe826ba23
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Jul 19 21:00:45 2011 -0700

    msm: camera: Fix sensor OV9726 gpio issue

    Sensor gpio reset pin flag is added for 7x27a.
    Adding flag option for 8x60.
    Adding check for the flag in gpio release

    CRs-fixed: 296109
    Change-Id: Idaba6535f763957772bfed3a8b13ff7518a9914c
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 80849586ec6d24bc645e8d7b3d67399ecd9f636b
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 9 14:12:58 2011 -0700

    msm: camera: Chroma/Luma filter mode for vfe 3.2

    Chroma/Luma filter mode for vfe 3.2

    Change-Id: I41bd5c53a1f066cdfbfea9e7937131774ea73c2f
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 465ea61fe9cf560b7618f278ee8436fd50fa1077
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Aug 4 17:03:41 2011 -0700

    msm: camera: Reorganize msm camera folder

    Moving v4l2 sensors files to sensors folder

    Change-Id: I8e92d192fa0eb2397aae8db31ae601d0136e2c01
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 49a5bda778124d5313ff47673099459eb3924f4e
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Aug 4 09:35:21 2011 -0700

    msm: camera: Add recording state machine in vfe 3.2.

    -The recording state machine which was present for
    earlier targets is missing in vfe 3.2. Add this to
    avoid any issues that might be seen during
    starting/stopping of video recording.
    -Also remove the msleep during streamoff. This is
    no longer needed, since the state machine handles
    this case properly.

    Change-Id: Ic70d1ce9561b2103e2daed5d65fe2f791f61431a
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 8d5bde73b78c408212112d438676a228947e38a0
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Aug 4 09:32:34 2011 -0700

    msm: camera: fix memory leaks in camera driver

    Change-Id: I3a9e89a971ef4b22faa178c4b0ebe9113e1ceda3
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 94c88008c3f291c17ad3abd992df88681f1e6aa0
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Jul 23 23:17:56 2011 +0530

    msm: camera: Initial version of LED Driver on 8960

    Initial version of LED driver for Cdp & Mdp comprise

    - Enable SC628A LED Driver chip for 8960.
    - Configure SX150X Gpio Expander chip.
    - Restructure  Camera Gpio Mux settings table
    which will later be used to toggle function select for LED Flash
    between Mdp & Cdp.

    Change-Id: Ieed8b066128d29958d83351152b0611a1cd3c1f0
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 99aca45235226074dca943b5099eb26f9eca9c1c
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:20:08 2011 -0700

    camera: v4l2: Add zoom support in driver.

    Add implementation of G_CROP and event for
    zoom completion.

    Change-Id: I258af6801d235ea47b0b643eb415d995596625b7
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit ad5ee51047ae63a6e73b008c9adf50d83e2d25a0
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 28 19:08:39 2011 -0700

    msm: camera: Change log severity of vfe messages.

    Currently the log message which indicates the
    non-availability of free buffer when we receive
    a frame notification from VFE is enabled
    by default. Since this does not necessarily
    indicate error, it might be misleading. Hence
    change this to debug message.

    Change-Id: Id0d947236717df51f26e23fcedfbe144bb7e4e6d
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit ff627cd5eee79c84f49649d31ab787312e1c2406
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Tue Aug 2 18:37:56 2011 +0530

    msm: camera: Added stabilization delay for VCM GPIO

    Stabilization delay msleep(20) is required in-order
    to transit the gpio into the output low state, otherwise it
    remains the input high state

    CRs-fixed: 299262
    Change-Id: I9df331899c1db9cb50c13358d321d58a8676d3ad
    Signed-off-by: Sandeep Kodimela <skodimela@codeaurora.org>

commit 79c16501e90ab791b781ace9504613aa050a3352
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Aug 1 15:21:23 2011 -0700

    msm: camera: Remove obsolete code from AXI configuration
    function.

    - msm_pmem_region_lookup_3 is not needed anymore since
      the VFE gets the buffer information from the free
      queue of the media controller directly.
    - msm_frame_axi_cfg is not needed anymore since we dont
      need to invoke the above lookup function.
    - CMD_FRAME_BUF_RELEASE is not needed anymore since
      the buffer is directly added into the media controller's
      free queue when the user queues a buffer for processing.

    Change-Id: I622222a1fd12135472ee6d083e93debcf72ec3a3
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 3b1e09c3011b504da77f5670221b6d169a325b2a
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:19:10 2011 -0700

    camera: v4l2: Use v4l2_event for event from config to app.

    This simplies the way event is propagated. Driver only needs
    to pass on the v4l2_event structure directly.

    Change-Id: Ic6bc06e0c26989fbf22a8c3b294f5d677ac79d90
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit bfbb497c9a66938b82d86c0398bb2928749af764
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 14 15:40:33 2011 -0700

    camera: 8960: Enable GDHS support.

    Enable GDHS support for VFE, VPE, and IJPEG.

    Change-Id: Ie7a71ac39754f5a873df595cc04cf0a86a242e82
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 8d7d54d20862d6cbd3137b89bdcf23dbaa0a9f58
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jun 2 20:07:50 2011 -0700

    msm: camera: Enhance i2c api to unify sensor driver

    Updated the common camera sensor i2c functions to be
    more generic.

    Change-Id: I58bec223cb5b5ec54b873a4ba17b79fb877b2c01
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 4882c1fdffba47564665ef483bf5fbcd73c23484
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 2 21:08:42 2011 -0700

    msm: camera: Handle event queue overflow error

    When the config thread crashes or is in bad state, the camera
    driver wont get notification which prevents the driver from
    shutting down. Added code to handle this usecase.

    Change-Id: I4cefaaca2d45615cc44d27ff8466a83c762578a0
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit e2bc8ebfbb47c71d0cd862eacc4767b9bee04745
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 21:18:42 2011 -0700

    msm camera: snapshot wavelet denoise support

    Change-Id: I9d29083f0c4e386e25da05fb8fcdb3c61f424e78
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 0b55a75338d5848cd95c7c71e31068da6342b7f5
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jul 26 14:35:31 2011 -0700

    msm: camera: Support Demosaic ABF2 for vfe3.2

    Added support for demosaic adaptive bayer filter for vfe3.2.
    This module is used for noise suppression and edge enhancement.

    Change-Id: I549efca4d7d6ae1f823833b3a4b76973a997f707
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 32d5f6b0c5c73043eee1dba69de4abced1ce9c97
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 28 18:36:27 2011 -0700

    msm: camera: correct the buffer offset calculation.

    Correct the cbcr offset calculation of the YUV buffer
    by padding the buffer height to multiple of 16.

    CRs-Fixed: 298346
    Change-Id: Ib4bd6907eb52f9861af2cc7d85a557d029294eed
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 567443c4d3e92532d8a5de01cc07af1066a94121
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jul 26 14:18:30 2011 -0700

    msm: camera: Configure and update linearization look up tables

    Support for configure and update commands for
    linearization for vfe3.2

    Change-Id: Ibe6b6e58c2e73bb3afa4626f97143e095beb68e4
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit bcfc24b9152d0e4a8624074b8d787cf8e2cef6a9
Author: Mansoor Aftab <maftab@codeaurora.org>
Date:   Tue Jul 26 17:01:26 2011 -0700

    msm: camera: Changes to enable events and Auto Focus

    Added event notify message support added entries for
    autofocus event types

    Change-Id: Ieb4cc38df89b04b15c673d12e8cf9e09dbe56aa1
    Signed-off-by: Mansoor Aftab <maftab@codeaurora.org>

commit 6e9e46112e5da29633cd4328e65540b54cfb1982
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Thu Jul 28 18:34:19 2011 +0530

    msm: camera: Fix camera switch from primary to secondary

    avoid false sensor detection to ensure smooth switch between
    primary to secondary camera sensor

    Change-Id: I93a5d20c3f530d9c870eb294a216aeff1877b30c
    Signed-off-by: Sandeep Kodimela <skodimela@codeaurora.org>

commit 62f111043287afe39ad38f46acd86af35b4b0c47
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Jul 27 15:19:45 2011 -0700

    msm: camera: Change max number of application buffers
    allowed.

    During AXI configuration, the buffer addresses are
    stored in a msm_pmem_region array of size 16. This
    limits the maximum number of buffers that can be
    used by the application to 16. But in ZSL mode,
    the application can allocate more than 16 buffers.
    Increase the maximum number of buffers and
    dynamically allocate memory for this structure.

    Change-Id: Ida227b0949dd7344c8230c58ef7d345463c69ca7
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit c2079d4f01a021bb8cb11f763f9ff1c02509fbab
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jul 27 12:08:34 2011 -0700

    msm: camera: Improve camera IRQ stability

    CSI irq is trigger too often causing the platform to be unstable.
    Modified csid and csiphy irq to only trigger for errors.

    Change-Id: I01e121aad1e18b479d4c172a5af7bc351374daf3
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit acc38ce8f20a1ba89d7de64d5014e9eb18a18256
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jul 25 15:52:51 2011 -0700

    msm: camera: Fix raw snapshot functionality.

    - Thumbnail image is not generated in case of
      raw snapshot. Hence dont configure thumbnail
      buffers in case of raw snapshot.
    - Remove couple of duplicate log messages.

    CRs-Fixed: 297230
    Change-Id: I14fe24321e527be8282e038ed0fd91bd6a8ca31e
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 96b7ff796983cd2504937c41596ce40579de86ae
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jul 21 11:14:56 2011 -0700

    msm-camera: fix subsystem ID address in JPEG

    The address of the subsystem id stored in the jpeg
    buffer structure was becoming invalid. This happened
    because the buffer used for mapping was copied over to
    a duplicate place and the second buffer was used for
    unmapping, while the first one was freed.

    Change-Id: I39f51b0a3f737efdd3189c715336afff5cc068dd
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit d83068148ff55da30aa668f8a957008e36ee0dbd
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jul 15 13:51:52 2011 -0700

    camera: vfe32: Enable Zero Shutter Lag mode support.

    - Add bus scaling table for ZSL mode.
    - Add AXI configuration and interrupts handling for ZSL.
    - Add missing VFE commands of XBAR configuratin.

    Change-Id: I2183f29b17c13f8291149deed48c9d45ab0a3d0d
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 8d39599c04b5c89e8ee14e463282a5301739239b
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Jul 20 21:19:28 2011 -0700

    msm-camera: fix the stop recording crash

    do not swap ping/pong buffer when no free buffer

    CRs-fixed: 296858

    Change-Id: I291bef48be861d7cc74bc1544d0553a576bd5c7b
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 1be701b4b1616929e46aeafe6096ab5d1943448e
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Mon Jul 25 20:44:23 2011 -0700

    msm-camera: initial vpe and divert frame implementation

    Change-Id: I3822fe879af5a45b7b904e543e415addfb7401ee
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit f63f37d83adb904bfc4eb011da278e58f160e3b9
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jul 15 11:43:41 2011 -0700

    msm-camera: add SMMU code for use with videobuf2 framework

    Change-Id: I24c1e94173ecca588f4b3d17305014b069aef010
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 732db77d62df26dee40c3a4d52f0de7ee866a129
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jul 19 15:10:58 2011 -0700

    msm-camera: v4l2: Use ktime_get_ts to get timestamp.

    Using ktime_get_ts and converting to timeval matches
    with system time in user space. This eliminates the
    AV sync issue between video and audio.

    Change-Id: I51bca59143fcfcfa0a14b409f07161c49b740a64
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 6e2b2c568fbbd95762b777e7e6e0107e6bdb0c84
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sun Jul 17 12:31:53 2011 -0700

    msm-camera: configure preview and recording buffers
    seperately.

    decouple preview and recording path configuration
    by configuring the buffers during preview start
    and recording start respectively.

    Change-Id: I4ea157db4e84add285191dc5702dc1276b2bb2c2
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit bc843c09bde81e1859d557f1d36625bf02499f37
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 22:57:11 2011 -0700

    msm camera: migrate to videobuf2 framework

    add necessary changes in camera driver to
    migrate to videobuf2 framework.

    Change-Id: I703c29b464fa33d4fec271d4970da44281cbb2d6
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 01a5bde2b58c6968994480d9738c0defd8149b1a
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Jul 23 11:34:34 2011 -0700

    Revert "msm: camera: YV12 video support"

    This reverts commit 66882a5046143601429632a0b589d9ffeeb3c668.
    This change will be submitted later.

    Change-Id: I9ac60ad2dadbc330a0b010a706bbefe344d706e7
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 66882a5046143601429632a0b589d9ffeeb3c668
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Fri Jul 15 15:56:40 2011 -0700

    msm: camera: YV12 video support

    Support for color format YV12.

    Change-Id: I89c139c6c7a4d3ec6555cadcb8afe9eef0023de2
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit b1c0547223fe3567b720af3dde6351b39c88583d
Author: Mansoor Aftab <maftab@codeaurora.org>
Date:   Wed Jul 20 17:25:36 2011 -0700

    msm: camera: Correct mount angle, sensor type values

    Correct the sensor type value for the IMX074 sensor.
    Set the mount angle value for this sensor on 8960,
    also made sure that the values obtained for angle,type
    from probing are recorded in the structure which used
    to retrieve this information during device query.

    CRs-fixed: 296576
    Change-Id: I66c24a74377233d653a318573795f92309235f4d
    Signed-off-by: Mansoor Aftab <maftab@codeaurora.org>

commit b7c9d553586f50b6d05d7f83d6c35e05e73bb701
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Jul 21 19:54:20 2011 +0530

    msm: camera: Fix GPIO issues in sensor drivers

    Keep GPIO 153 and 151 to low power state when
    camera is not in active state.

    Change-Id: Ic7890d6a2758901c5e88530b61caca79cef6ebe8
    CRs-Fixed: 294992
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 04dfe491a43adf08c9c4f826f64065624054d527
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sun Jul 10 11:33:14 2011 +0530

    msm: camera: Configure the qs_s5k4e1 in 1 lane for 2d mode

    Configure the qs_s5k4e1 sensor in 1 lane for 2D mode. This
    change is made as a work around for hardware issue. As we
    switch from 4 lane configuration in 3D mode to 2D configuration
    in 2 lane, the fifo in CSI Phy overflows. When 2D mode uses 1 lane
    configuration the FIFO is bypassed.

    Change-Id: Ia37c0dc33322143873afd00c109491184506c9ad
    CRs-fixed: 292608
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 3eaa215567715925b93e5d5d60f679de6028d0c1
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Fri Jul 15 12:26:19 2011 -0700

    msm: Remove last references to NPA-related code for AXI rate management

    The NPA driver was removed some time ago, but wrapper code
    and some of its driver hooks persisted in the tree, despite
    not being compiled (or even compilable). Remove these now.

    Change-Id: I34148433f8fd946a9aa664df6ca7782cb02bba2b
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit f7d8135370cd016c2f094780b97ef01353118c1d
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Jul 14 16:29:22 2011 -0700

    msm: camera: Stop streaming video when stop rec is issued

    This patch makes sure that we don't stream any video frames
    when recording is stopped.

    CRs-Fixed: 295043
    Change-Id: I771100c7f01e7e725db0e83c878794a66d84f86b
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit bd2c337cc18e408a625f06c4f497365892d2708c
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jul 14 21:27:20 2011 -0700

    msm: camera: Update OV2720 sensor settings

    Increase output dimension to 1932X1092
    Added in sensor roll off correction settings

    Change-Id: I2a2d615475a85b93864c000c11db550f9b40ce53
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit f4816a81d8706350b67a52e16fcf70e14db5be11
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jul 13 10:52:41 2011 -0700

    msm: camera: Initial commit for qs_mt9p017

    Initial support for qs_mt9p017 on 8960

    Change-Id: I8a240724b235621a82457e5d4a2a1eec70585282
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 0302d3550f57b331ce7d73905fa9135fee1a2721
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 14 10:18:31 2011 -0700

    camera: vfe32: Flush out duplicate buffers in free queue.

    The same set of buffers were programmed during AXI config,
    and then enqueued before start recording. Flush the extra
    copy out before recording.

    Change-Id: I76d280bde15195f793ecd98990fcf4e6ae8207c0
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 314f0098010df7b604546812448624fa7fdc8e6e
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Jul 13 16:39:15 2011 -0700

    msm: camera: fix the leak in free buffer queue.

    Free up the buffer memory after dequeueing
    it from free queue.

    Change-Id: If844cee93ed564269bbf29229215aec8feaffc78
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 9c8d75f4bd3e54b56a86f759f51f25b5ffe3bf34
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Jul 1 15:10:52 2011 -0700

    msm: camera: Initial support for strobe flash on 8960

    Handle flash control ioctl from userspace
    Added strobe flash gpio configs

    Change-Id: Ifa8f6a43720dd361feb4f90cafd82a5a0e5e00fe
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 6f08e46310a995977d8f83e4d499f97f56c4a565
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Jul 12 13:42:17 2011 -0700

    msm: camera: Fix pointer arithmetic for Linearization config cmd.

    cmdp is of type "uint32 *". In order to offset by 16, we need
    to add 4 to the pointer and not 16.

    Change-Id: I1df77978456be86eb324c8f782f2f41e38d5d689
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 467f738cba5b532b4b5c088e97e73a36721d9963
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Jul 8 16:33:33 2011 -0700

    msm: v4l2: add SMMU mapping code into gemini driver

    Change-Id: I6895a60c43a9ffad5dc1def77f3191b051a72019
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 6be53f521e27adaf72af0d08fdfbe6ea1c322db1
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Wed Jul 6 18:16:04 2011 +0530

    msm: camera: Remove unnecessary delay in sensor config

    Remove 100 msec delay from sensor config in mt9e013 sensor driver

    CRs-fixed: 293522
    Change-Id: I1b949019c3a3de31f3f58a3da4d62f735fcd5fd2
    Signed-off-by: Sandeep Kodimela <skodimela@codeaurora.org>

commit 3617c16ee60db8b261c2a0b5f0733d647f9af587
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jul 12 10:33:58 2011 -0700

    camera: vfe32: Fix memory leak for Demosaic V3 config.

    Make a local copy of cmdp pointer, and increment it.
    Leave cmdp intact for later deletion.

    Change-Id: I1559e117a5f59e3d00d63f748d48453e56cebc44
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit b1e1d4e780d6dcb498d07da9d019d5fc24729d9c
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jul 8 10:33:33 2011 -0700

    camera: vfe32: Fix pointer arithmetic for Demosaic V3 config cmd.

    cmdp is of type "uint32 *". When we want to offset by 1 word, we
    should use +1 instead of +4.

    Change-Id: I393a4e51a70c7a3fd12e39eddc3f4c0715320fc8
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit a4e5747af1c9d1fd51b9c16108b846ae382321d1
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu Jul 7 14:03:44 2011 -0700

    camera: seperate vfe command handling support for eztune

    Change-Id: I4988c1fbdbc1e23937053ff97c74ee85732bc447
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 0c3e5fed60f97fbadbc522381cbff79e2d17afce
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Jul 7 18:37:23 2011 -0700

    msm: camera: Configure registers for BPCv3.

    This patch adds support to configure corresponding bpc
    registers.

    Change-Id: I773e82687f5b8891d74c0d64df8721d53f94a85c
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 6a800389ada03e3c6f8bd380facb915d20591322
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jul 5 17:52:32 2011 -0700

    camera: v4l2: Add free buffer queue for vfe32.

    Instead of having one single free buffer, create
    a queue to hold all free buffers.

    Change-Id: I9a1ded172a192fa3749434a5e0d8d3dc345ce8a3
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 796bba35c174f143903a23d763d765702d356965
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Fri Jul 8 16:40:04 2011 +0530

    msm: camera: Update step values in mt9e013 sensor driver

    Update step values of mt9e013 sensor driver to calculate
    step positions for AF

    CRs-fixed: 293522
    Change-Id: Ifd32f5804c0168a57dc7cd467a83306b7865a348
    Signed-off-by: Sandeep Kodimela <skodimela@codeaurora.org>

commit 51f4c5d247a3a7bd598138d39469cd22ad44019f
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Jul 1 12:25:31 2011 -0700

    msm: camera: Reorganize camera platform device structures

    Correcting wrong practice of non SOC dependent items in device file.
    Moved platform data to board file.
    Added csid, csiphy and ispif info to device resources.
    Updated corresponding files to get info from device resources

    Change-Id: Ib2d18993f84a812e1419bb8f5f50419f7ed59396
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 7a8918a92981ff347be268af9acff71f4dab307d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jul 6 17:53:27 2011 -0700

    camera: v4l2: Change printk to pr_debug for log messages.

    Use pr_err for error messages, and pr_debug for everything else.

    Change-Id: I39198ef9b27d29d2be29fa15f6aabc6990eed835
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit fec71648a7c36a311a37d3b10f14dcb323057792
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 7 09:48:49 2011 -0700

    camera: v4l2: Remove bus scaling request for SMI on 8960.

    There is no SMI on 8960, so remove the bus scaling request.

    Change-Id: Id8e6f3c94327b70ffff1ee2e2c2b38db169c77e7
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit b191c0f83532e1f1238dca2f6965389f87e88a39
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Thu Jun 30 19:59:10 2011 -0700

    Camera V4L2: Adding native camera control command support

    Change-Id: Idc7f8831eea0b2c2ad0988aafd5cbc3f48ce27d0
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit b8ad1b3ed945b883310374505b3601c2837ab4c4
Author: Vamshidhar Kondra <vkondra@codeaurora.org>
Date:   Tue Jul 5 14:19:51 2011 +0530

    msm: camera: msm: camera: Update VFE driver for new snapshot changes

    VFE sends OP1 and OP2 messages for snapshot and thumbnail images
    in new arch. Update vfe driver insync with with VFE fw changes.

    Change-Id: I3aaa91935c82d23d28f0c9c5bb1827d039493074
    Signed-off-by: Vamshidhar Kondra <vkondra@codeaurora.org>

commit 32c73219bc4fe6f1d5598e59c1c1cf582ecc9335
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jun 28 17:38:55 2011 -0700

    msm: camera: Remove dynamic rolloff update for ZSL

    Remove dynamic rolloff update for ZSL

    Change-Id: Idbf87b488a021626bdccce38557860817bf37ea6
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 2b263abe7cde5c39cea15a169270d85a2bc2bf57
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jul 1 17:48:56 2011 -0700

    camera: v4l2: Remove creation of proc fs entry.

    Remove proc fs entry because it is not used for debugging purposes.

    Change-Id: Ib8dedd48b13541f17d8b8f702296859439f9e229
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 33f61fd372a75e114fd39f3754290880bffb45eb
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jun 24 22:25:27 2011 -0700

    camera: Add support for Back Pixel Correction V3.

    Change-Id: I6b9ad62e3b5827248a824bbb1b6d4ac151dcfd1c
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 84ee8fc83862fe571c9181b2a63a0540e34bdd50
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jun 30 21:44:29 2011 -0700

    camera: v4l2: Increase the maximum of axi buffers to 16.

    This gives the user space application more freedom to
    have longer buffer queue, thus improving performance
    for use cases such as video recording.

    Change-Id: I33218671e3cebc971532edd0ca1b687bfe77d5ae
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit cb974805e41c643ab3ea13dfce23f65c3dcdc56f
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Thu Jun 30 15:43:36 2011 -0700

    Camera V4L2: Add NV12 format into mctl format table

    Change-Id: I66c3f3bbcb3fe10dcaecd642f12b230d25adfb91
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 7da8696d21036c9aea6cab14166c88cc5fe34262
Author: Vamshidhar Kondra <vkondra@codeaurora.org>
Date:   Wed Jun 29 19:26:05 2011 +0530

    msm: camera: Fix spinlock initialization issue.

    Initialize pp_preview,pp_stereocam,st_frame spinlocks
    in camera open function and use it when PP is enabled.

    Change-Id: Ia0b8b54036e8818b0a7fe790db1a4a96accbdccf
    Signed-off-by: Vamshidhar Kondra <vkondra@codeaurora.org>

commit 70afc65e29b1d09e564e414bf2406638a1481b4f
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Mon Jun 27 20:35:14 2011 -0700

    msm: camera: Move bus vectors to board file

    Moved the camera bus vectors from camera driver to board
    file

    Change-Id: I9d7a293bf732afb8a975ca05d2e40a7442d66199
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 000721e27b1e5f0b6e7e215a4ee9e61bb0578611
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jun 22 11:39:30 2011 -0700

    camera: v4l2: Fix media bus format for ov2720 sensor.

    ov2720 outputs BGGR 10 bit bayer, not YUYV8 format.

    Change-Id: Iaf8cda683cb9851855e984fd9b731edcb20f65d7
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit f5e353e234967948d5dd361ccbae9b6d2f3f8dbc
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jun 22 17:26:43 2011 -0700

    camera: v4l2: Avoid init ctrl_q multiple times.

    Server device node could be opened multiple times.
    We only want to initialize ctrl_q the first time
    the device is opened.

    Change-Id: I4c208dab5f0691646d2f65f51eac60d730353b91
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit da7283c54090a0597d0ae4127f9214ab4f338c83
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Sat Jun 18 22:59:45 2011 -0700

    camera: v4l2: Implement raw snapshot.

    Enhance videobuf-msm-mem, msm_mctl, and msm_vfe32 to
    support CAMIF raw snapshot.

    Change-Id: Id93b9e76c461f12fedddd9ac8b7e8c3c571759a4
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 7a07e90a20854e6e9565a03309a2bb993f8bda0e
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jun 28 12:17:46 2011 -0700

    msm: camera: Avoid flooding of AXI HALT irq's

    This patch will avoid flooding of AXI HALT irq's.

    Change-Id: Ibd85c940bbf5b4b7fb42a90a5a8a10d9d9e2df91
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit eb82bdac59e2c589ec5eea472f1ab1dc0d35aaac
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu Jun 23 19:23:22 2011 -0700

    msm: camera: Move from internal_power_rail APIs to regulator APIs for 7x30

    Remove use of the msm-specific internal_power_rail driver in
    favor of the new footswitch-pcom driver, which uses the regulator
    framework's APIs.

    Change-Id: Id739573771672e41112fb4dee5c80c1465c7ebc5
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit 791278e730c6ebce77aea7c16e256eb4ae161aca
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Mon Jun 6 14:18:36 2011 -0700

    msm: camera: Support for manual convergence in stereo camera.

    Adding support for manual convergence in stereo camera and
    changing the delivery method of stereo quality indicator.

    Change-Id: Ic614b198c59458797a3f7830621c9556790ece35
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 60c493a282cc83690ccc0f11d4b0b59af7c89b96
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Sat Jun 25 11:32:56 2011 -0700

    Revert "msm: camera: Send OUTPUT_P msg to config only when PP is enabled"

    This reverts commit 38a0383eca0cc7311a7bfd8ffe970da5e4d59106.

    Change-Id: I9285c6f0b689c5e37fbb37ed9ad64feb4aedb075
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 96ee7eb0bf9b5ccb2f607a244259e0a698d2ee90
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jun 21 19:31:39 2011 -0700

    msm: camera: Clear the DMI for HIST stats during reset

    Clear the DMI for HIST stats during reset

    Change-Id: Icf7595f7266b8505e205604a1e4bcb0ba7a16cc7
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 9806fe4d6a2ce3a25c1be0e6657fedbd8181e003
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Jun 22 18:15:13 2011 -0700

    msm: gemini: Support for setting physical address offset for input buffers

    If the input buffers are present in a contiguous chunk of memory,
    thier physical addr remains the same even if thier virtual address
    is different. To prevent this, added support for physical offset
    in msm_gemini_buf.

    CRs-Fixed: 293251
    Change-Id: I42fef7184b9aeb8ea599ff18bbc75b8f6659bd46
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 028d626df10bc63bbfedb2b72a67597e2b4ba1ba
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Jun 16 23:46:44 2011 +0530

    msm: camera: Fix snapshot and other minor issues in qs_s5k4e1

    -Issue stop stream command to sensor while exitting camera.
    -Turn off MIPI Clk Phy and MIPI Data Phy while exitting as
    they were never turned off.
    -Calculate the FPS by modifying the line length pclk
    instead of frame length line.
    -Add some delay in bridge after camera clock turned
    on to avoid glitches

    CRs-Fixed: 292069
    Change-Id: I88bd75a42f5c741d2d6b3efdfc0e0ff00824a50e
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 38a0383eca0cc7311a7bfd8ffe970da5e4d59106
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Mon Jun 20 14:13:11 2011 -0700

    msm: camera: Send OUTPUT_P indication to config only when PP is enabled

    OUTPUT_P indications should be send only when post processing
    is enabled. Hence added the code to send the respective qcmds
    to event_queue on when pp flag is set.

    Change-Id: I184b60e1d8b4b9b5c438fc98dda4c74465453368
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 2fd8abf5d7a7ea407c1f2da39587cec62008eab4
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Mon Jun 13 18:54:12 2011 -0700

    mm-camera: command support for vfemodule config from eztune

    Change-Id: Ic0767e22d4f6b7ffaf919a6e0cb818c15a1d9919
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 9d01e68b25519d9e5df79ccfcd5a4121e6de85e9
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jun 15 16:09:38 2011 -0700

    camera: Increase V4L2_DIMENSION_SIZE.

    Because we use deep-copy for control command. We can use
    the same dimension structure for v4l2 as with native interface.

    CRs-fixed: 289632
    Change-Id: Ic1248fb616b6b74cb68e0811480368ca28f56e0f
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 105376e3dcec5b7de2fde8f2a4337c865aa49987
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jun 17 13:31:18 2011 -0700

    camera: Add QOS power management code.

    Change-Id: I80d6c364be97d41c526455366ac0a9dadcdb835f
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 71f0d252b218e811c938cfb88c969f30fdcab434
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Fri Jun 17 15:08:04 2011 +0530

    msm: camera: Disable MIPI_PWR_CTRL reg

    Disable AHB/VFE/CSI clock bits in MIPI_PWR_CTRL register
    if camera is not in use

    Change-Id: Id9a85f80802d1a87b8da79be6bbb0cdaba872652
    CRs-Fixed: 291702
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit f1d93538da07e745e3b8ae0388135201446668f0
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Jun 16 10:14:10 2011 -0700

    msm📷 Fix buffer mismatch issue in HFR mode

    Patch to skip frame when the ping pong status is invalid.

    CRs-Fixed: 289328
    Change-Id: I578cf11d519de7ee3ad0101d31ba2458cf083ae6
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit da3e5bdcb8bbe375ddcf0030e5d8170c85f83abd
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue May 31 22:18:39 2011 -0700

    camera: Implement demosaic module v3.

    Change-Id: I6014f5925965e61c10d3f2dbe9745cfb68d6f926
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 2e6cadbab0e0dc44f2a5f5a5a199d7cbba1547d4
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jun 13 22:25:20 2011 -0700

    camera: v4l2: Fix video streaming for vfe 3.2.

    - Check vpe_ctrl pointer before dereferencing it.
    - Add STOP_REC_ACK to notify user space.

    Change-Id: Iec41a1d75c917d70a1084cda9ab5dad1ec78f6ef
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit e1962d0fd06d86dc26e41e065c7da301a2d3288d
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Wed Jun 15 19:02:03 2011 +0530

    msm camera: configure ov9726 only at initialization

    The sensor was getting configured for every mode change,
    It has to be configured only during the initialization.
    update the sensor driver to configure only during initialization

    Change-Id: Ia8161da55b4dd04683f402596b9d63c73fb1c244
    CRs-Fixed: 291502
    Signed-off-by: Manogna Reddy Alle <cmalle@codeaurora.org>

commit f521ef6c4402895abcfc46520db9dd6be81c28b5
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Jun 15 16:23:54 2011 -0700

    msm: camera: Clean up during open failure

    Updated the reference count when open fails and did
    proper cleanup.

    CRs-Fixed: 287648
    Change-Id: I8d7b9b883b610fc566af055dae89f3ae87653798
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 6ace0599e73d2657a5d8f5604e1321a4115b4d7c
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Thu Jun 9 17:51:01 2011 -0700

    msm: camera: Get rid of unused skin stats

    Remove usage of skin stats and update the offsets
    for other stats masters

    Change-Id: I966afacaf9a5c48c8ae13fb24b11910e42c38571
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 3df728760b1b0c0804d7e2af8f61e6fe2d74e4ab
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jun 13 22:15:01 2011 -0700

    camera: v4l2: Keep imx074_ctrl at release.

    imx074_ctrl is allocated during probe, not s_init. This means
    s_release function shouldn't deallocate imx074_ctrl struct,
    because s_release is called everytime camera exits.

    Change-Id: I2ba98e8046e4bb5845016edbf971cdd13d03e7aa
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit ba040beed975789caeb34129c605b787d4eeb7a0
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Wed Apr 13 11:19:28 2011 -0700

    camera: MT9D113 camera driver support.

    QT 8660 Front camera MT9D113 (2MP YUV)
    sensor driver support.

    Change-Id: Id486fd6fcff50a6a90e8145151a9ca016c34383e
    Signed-off-by: Kalyani Oruganti <kalyanio@codeaurora.org>

commit 366ebb3a6482f7f42997cb17caf876ee638eb504
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sun May 22 21:56:01 2011 -0700

    msm: camera: Update exposure settings for imx072

    Reduced pclk to run at 30fps
    Use snapshot frame length line for snapshot exposure gain calculations

    Change-Id: Id7037c6b02473270e63060dbb6c3bcf02540d22b
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 55e656e68cac78eaa367341df2e693a483a53f84
Author: Stepan Moskovchenko <stepanm@codeaurora.org>
Date:   Mon Jun 6 14:34:38 2011 -0700

    drivers: barriers: Replace dsb() with mb()

    Replace explicit dsb() calls with mb(). Now that the
    generic ARM implementation defines mb() to mean (at least)
    dsb(), it is appropriate to switch back to the generic
    kernel version of the barriers. This is also needed for
    correctness on certain targets (such as 7x27) where dsb()
    is insufficient and other operations (such as outer cache
    sync or writing to strongly-ordered memory) are required to
    ensure proper I/O operations ordering. In some cases,
    remove explicit calls to outer_sync following a barrier
    since the barrier will now have an explicit outer_sync
    call.

    Change-Id: I2c53b8534af9c3cbac4d4d77b322f897a39e7758
    Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>

commit b193e63544f9bb9123c5f774ad48546df2473655
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Jun 11 02:27:29 2011 +0530

    msm: Fix snapshot issue and reduce 3d sensor power

    Reduce the data rate for 3d mode and vary the blanking to
    achieve 30FPS for preview and 15FPS for snapshot. This also
    fix snapshot stability issue as we increase blanking for snapshot

    CRs-Fixed: 289516
    Change-Id: I40f88cb0673569a34929512282ef905e6b93b867
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit ba4288e19eef7c81d64bc08a6ab866b4ffc21682
Author: Sandeep Kodimela <skodimela@codeaurora.org>
Date:   Wed Jun 8 18:42:46 2011 +0530

    msm: camera: Fix preview flickering issues

    Use vertical strech instead of horizontal stretch
    to implement linear AFR.

    CRs-Fixed: 289424
    Change-Id: I719c43ec25d892754fb95a7242d83c9dd05ac0a0
    Signed-off-by: Sandeep Kodimela <skodimela@codeaurora.org>

commit 6cff1bdd1847c3565b2e2f0f44cb01359dcd6946
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jun 9 10:54:47 2011 -0700

    msm: v4l2: clear pcam_inst pointer array in pcam during close

    Change-Id: Ic286889bb3d63e7c458d1ca759f078946fa8145a
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 54b62d49752c89c26c34b8b78c9680725aa8cc96
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue May 31 18:43:02 2011 -0700

    msm: camera: Add ldo16 regulator to power up sensor actuator

    Ldo16 is need for i2c to  camera sensor actuator.

    Change-Id: I1dabc2ad7dbf2f1f02a9afb0a24ef17651934cf7
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit e9ae0f93eafec0f16207c777daabde7f29189580
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jun 1 17:30:44 2011 -0700

    camera: Use msm_cam_evt_msg to pass VFE events/messages.

    v4l2_event structure isn't big enough to hold all possible
    VFE events/messages. The solution is to store the events/
    messages in a separate buffer, and maintain a pointer in
    msm_cam_evt_msg.

    Change-Id: I620bf4f4cad34654336928ee06514bfe4ede15ff
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit e62a695b34d358ba28bfc9bbb89d572567b5f094
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jun 2 16:41:54 2011 -0700

    msm: ispif: Reset during initialization.

    Ispif needs to be reset during initialization.
    Otherwise, after switching sensor, it will be in
    unknown state.

    Change-Id: I833bfc43aefb7f7fef5324d1683836961e8b2ecf
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 8f4e37a1bbcba2be1d589758d99087eebb151715
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue May 31 12:18:45 2011 -0700

    msm: v4l2: sensor subdev notifies for ISPIF config

    Instead of doing the ispif configuration during csid
    config, the sensor notifies the driver to do the same.
    Also, in the imx074 sensor file, the global ctrl
    structure was being allocated twice which was causing
    an overwrite. This problem is now fixed with this change.

    Change-Id: I76c3ea38573cc7474a9dcca556bc7df282aaf85e
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 5aee9b6d17dce88c83329123e530b9fb1ec7bf36
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed Jun 1 11:11:17 2011 -0700

    msm: v4l2: register vfe subdev only on first open

    Change-Id: I82b2074ab58742217bc64c488020d3713477597a
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit e5e88e885d7050a5ac2624329fef956073e2b37d
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue May 31 09:22:18 2011 +0530

    msm: camera: Optimise the qs_s5k4e1 sensor for power

    Turn off the GPIO Controller, Reset Controller and Sensor Clock
    when in 2D Mode to save power.

    Change-Id: I99e7370a90a12a832e70703925a976134c00fc69
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 27025d8fc05c486252c023ec5c52383992796957
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu May 26 15:21:50 2011 -0700

    camera: Avoid releasing isp and sensor subdevs multiple times.

    Only after all msm instances are freed, the isp and sensor
    subdevs should be released.

    Change-Id: I18e7e98f9b46b2c4319241a9977463401553410e
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 206bf3f69c033e413aaaf24933decb51a8fec66d
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue May 24 15:20:02 2011 +0530

    msm: camera: Add mount angle support to sensors

    Mount angle is defined in the board file for each
    sensor and it is used by sensor driver at sensor
    initialization.

    CRs-Fixed: 289035
    Change-Id: I432b5579a6af4ea1c48aae3c0d7b5dd7c7d3ccb5
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit ab6acbbc39df627fe36fa7aa006b68a171be4fe1
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue May 24 12:13:34 2011 -0700

    msm: camera: Added Bus bandwidth numbers for stereo cam

    Added bus bandwidth numbers the stereocam and corrected
    the ab/ib values for all the use cases. Previous bandwidth
    calculations were based on the VFE output and now all calculation
    are based on VFE input. Also adjustment factor
    (mis-alignment, priority, burst length) is taken into account.

    Change-Id: Idddc132031882826cd9235c594cd1e5dc1433a1f
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 400fb5193e6f5b3cec0959c85f99ccbf6d0c1145
Author: vkondra <vkondra@codeaurora.org>
Date:   Fri May 13 10:34:48 2011 +0530

    msm: Add snapshot postprocessing support for 7x27a

    Update the Snapshot and Thumbnail payload constants
    to support Wavelet Denoising feature.

    Change-Id: I119912c701e3388699c5b557358529f485886143
    Signed-off-by: Vamshidhar Kondra <vkondra@codeaurora.org>

commit 4f3eed7b231db08296a5663d5c22e4d39be3ec10
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu May 19 16:03:36 2011 -0700

    msm: camera: Release sensor and clock in error case.

    Release sensor and clock in error case.
    Clean up of the event queue while msm_release to handle special
    case where config thread was never opened.

    Change-Id: Ie581691fc7d8b60da10ecaf8a60e386bca6dfa5e
    CRs-Fixed: 287648
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit c6a4d42d0afc7418e801f5d16c4765d9413e6743
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon May 16 16:22:22 2011 -0700

    msm: v4l2: turn sensor clock off upon exit

    We need to turn clocks off upon camera exit.
    Clock management was ignored in the initial
    version of the V4L2 driver code.

    Change-Id: I72ac64b5d6b532642bd1cee16208c3978cc416bc
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 3c11dee0fdd6cc31f28e052a93d1b5d27e47792e
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Mar 31 15:32:00 2011 -0700

    msm: v4l2: V4L2 multi buffer for video and snapshot.

    Enable multi buffer queues and pcam instances for
    snapshot and video integration.

    Change-Id: Ifa16c17df414bbd204243bf80e95f32c002fcbd0
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 4745eb4ce9da2c32117c96dce27f4f1b43d24597
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri May 20 17:43:25 2011 -0700

    camera: 8960: Initial support for ov2720

    Initial support for ov2720 using msm_sensor

    Change-Id: I61f60af08873b5f572d3b24591120081439fd3e5
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 0094cfbbc5789a6919f16a9c6201cb79382f31c2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri May 20 12:38:18 2011 -0700

    msm: camera: Update camera regulator APIs for new framework

    Change-Id: Idff3030965e3f518e48552560e771d3d7042ea9a
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 1b6a50fb2c7f120ec34494f9d8a0abbbf32e0fca
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue May 17 18:01:30 2011 -0700

    msm: camera: Initial Support for camera sensor IMX074 on 8960

    Added 8960 csid/csiphy support to sensor driver file

    Change-Id: I0a0537ff98c86776c16fcaeaabd281dd78b667e2
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 6d7f475e8e4d40c0a787c7e1f2fe7e57a4d84929
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed May 18 16:19:40 2011 -0700

    msm: camera: Consolidate VFE messages for performance improvement

    Change-Id: I7c8afa619824bbbb188e60b2b78d5ccd13f9b12f
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit b0b6cafdf770b17adebb5afa611254bec7dee980
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Fri May 20 11:31:40 2011 -0700

    camera: Fix the set_fps API to support full size preview.

    The set_fps API is fixed so that for the fps calculation,
    the full size lines per frame is used instead of qtr size
    lines per frame.

    Change-Id: I5a066da2f413cad6dad09a5b099c56c7b4f959bc
    CRs-fixed: 288609
    Signed-off-by: Kalyani Oruganti <kalyanio@codeaurora.org>

commit dc253e7630458fd99562228f7f19383617f3bc80
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon May 16 19:34:15 2011 -0700

    msm: camera: msm io file updates

    Disabled csid, csiphy, ispif interrupts, only enable for debug purpose
    Fixed bug with calculating the 4 lane register settings

    Change-Id: I495335c820ebf9083a472d31757ddfa1ba0dfcd0
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 599bbfbdcf6fe4633cf5332c5634af80b89a4e5c
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Mar 28 22:10:48 2011 -0700

    camera: Update strobe flash irq trigger condition

    Change irq trigger from falling edge to rising edge
    for newer strobe flash hardware.

    Change-Id: I1492c4aba85695a3f22505663b01c885c5990d71
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 27bb554c82ee866779da570ec1825b097e6a26c1
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue May 10 14:06:27 2011 -0700

    camera: Correct clock enable/disable sequence for 8960.

    Change-Id: Icfa4942c0ab3556c85ca6f5b5132b979b21a7818
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit fa99e19538e4fc70f8db23f41ac875f7f1de7617
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu May 19 14:43:17 2011 -0700

    msm: camera: Request bus bandwidth based on the use case.

    Change-Id: I8367ed370e40bab656766b0e28f2e974aca06bf8
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit d31c57f17f60d6ec64710d20904dc80746c22b79
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 25 21:10:56 2011 -0700

    msm: camera: Initial commit for msm sensor

    Standardize camera sensor structures and functions.
    Moved common sensor functions to msm_sensor.c

    Change-Id: I33be1ced9f696d5d8f20ea434fc7a3230f40686b
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit e073b62b6b538a6f04f0c21049f2cf3963a052a7
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue May 10 18:32:47 2011 -0700

    msm: camera: Programmable VFE output channels from user space.

    Change-Id: Id32b891822c558c686b9dd43596d1eaa138c02b6
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 8628c05467524ea5d63016bb9b2d101bd526694f
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed May 18 18:02:27 2011 +0530

    msm: camera: Pulldown sensor reset pin for s5k4e1 sensor

    pulldown sensor reset pin in the release function of
    s5k4e1 sensor.

    Change-Id: I14165318b38b5b45e39329b9129ec6750c74a2c2
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 4d23e46d20f78bbcb3890c7d4f0d15ab7cb9c6c0
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu May 5 20:59:18 2011 -0700

    msm: gemini: Fix gemini freeze issue if output size estimation is improper

    Update the pong address to fix gemini freeze issue when output size
    estimation is improper.

    Change-Id: Ief02e8b326e350d21af5c777cf411a6ceb033bd8
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 19a2337c2e36dbf698409cff9ad30d76d456786b
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon May 16 15:40:04 2011 -0700

    camera: Programmable VFE 3.2 output channels from users space.

    Change-Id: I218e9be606bd8f81583113cccef5469b42d478b8
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit ffe5bfa80736b36796d4e9d5c1ece8149c66cd9f
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu May 12 16:09:51 2011 -0700

    camera: Autofocus driver and tuning parameters for imx072 sensor

    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
    Change-Id: I34b43c16d268b8270f5a8104d5ff87cae7808469

commit 41276a4eae90850802b07ceeab3c37465819583d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed May 4 13:57:58 2011 -0700

    camera: Initial implementation of vfe subdev.

    Refactor VFE 3.2 code to v4l2 sub device. All function
    calls into VFE go through core::ioctl subdev call,
    and VFE messages/events are passed out by notify function.

    Change-Id: I2848bb01b0142ab21dfc3813db87a8b6ad75200d
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit af515ae190f6812c7caf05e3db7d1dfcbf0095e0
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed May 11 17:10:00 2011 -0700

    msm: camera: Enable Out of order AXI write for VFE and VPE

    Change-Id: I3ff788ba35772b2e6cb95f82949e4b21148d338c
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 8fad2faa8a987fc31ec7d8afd81a7d9786b42047
Author: D.V.N. Sravan Kumar <sravank1@codeaurora.org>
Date:   Thu May 5 18:13:17 2011 +0530

    msm: camera: Correct maximum allowed gain for OV9726 sensor

    Maximum allowed exposure gain for OV9726 sensor
    is 255. Limiting it to 223 (<0xE0) causes dark
    images in cases where maximum gain is required.

    CRs-Fixed: 284172
    Change-Id: Ifcbd0efa36deb5ba6eab5518460f3c56f9ca2275
    Signed-off-by: D.V.N. Sravan Kumar <sravank1@codeaurora.org>

commit 9ac4c498a6046cb4ba68c5382e7a123e79398665
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Fri May 13 14:25:32 2011 +0530

    msm: camera: Fix for exposure gain

    Update line_length_pck for exposure gain to work in
    samsung 5mp sensor driver.

    Change-Id: I0db68e85c8994005bff158066ab08e7a27e70355
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 71367c79ef237eabdaefddd818a0a31241e09aa3
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed May 11 12:19:40 2011 -0700

    msm: camera: Support for dynamic preview format switch

    Changes for updating the XBar config on demand to
    support dynamic preview format switch.

    Change-Id: I95236ac81129d02e2fe00e5aacc6138e8c26c286
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit f02545235282df44dd808c523d0ec9c04be6d4fe
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu May 12 12:47:39 2011 -0700

    msm: gemini: Remove PMEM reference for input buffer

    Remove PMEM reference for input buffer to prevent PMEM
    leak during error case.

    Change-Id: Ice589aa242cd7dc093cee5ad7b60a2cf5b138ab0
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit ffa9e95e943eb8d7204485ef65ebcbf88713ca85
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu May 5 12:40:59 2011 +0530

    msm: camera: Add support to IMX072 sensor

    Add support to Sony 5MP IMX072 2 lane MIPI sensor

    Change-Id: I63e36749124f5c3f4ccd116d528ae5accc21f435
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit f0bbcfab0b78152664ea44833ac18779ea58b79c
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu May 5 12:17:34 2011 +0530

    msm: camera: Add features to msm_camera for 7x27a

    Support is added for the following features
    1. Flash support
    2. Auto Focus
    3. 30fps support to s5k4e1
    4. MT9E013 support

    Change-Id: I4dab3ddac883efa760b19718a52d4f7a2fc2d6a0
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit e3251b0d52c93a10995ad28bac936046c311c7ac
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed May 4 14:27:27 2011 -0700

    msm: camera: VPE on demand support

    Added support for
    1) enabling/disabling the VPE during recording.
    2) state machine for VFE and VPE during recording.
    3) transition logic during stop recording.
    4) VPE turbo mode for 1080p+DIS.

    Change-Id: Id562c3c9da6269e267eb776656faa498433522ee
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit d5f1ff1a846af43161820d73f1dde26260b5dddc
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Apr 25 09:01:37 2011 -0700

    msm: v4l2: implement sensor subdev notify

    Implemented code for subdev notify through media controller.
    Also, introduced ispif function pointer structure to be
    used by the notification function in media controller.

    Change-Id: I2241798239febe03a94cbcb1c2de616961ac6ab1
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 133fea74525f8d00ce4b6d40a440cdb641cc7cea
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Apr 21 12:13:34 2011 -0700

    msm: camera: Postprocessing framework changes

    Updated the post processing framework for HDR feature.

    Change-Id: I9388f8f6d4ad60e0aba878c059fab26edca145c9
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 211a405aa80db1c3a9a0574a76099d9881a34205
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 20 06:55:18 2011 +0530

    msm: camera: Fix the max fps issue for 3D mode in bright light

    In 3D Mode, maximum FPS observed in bright light was 25.5 with
    10 Bit format. This issue is fixed by switching to 8 Bit format.
    Also added the default lens shade table and updated the lens shade
    parameters.

    CRs-fixed: 285454
    Change-Id: Ie14f120f7728cb5044b5e499d4beee19bb5b018c
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit bdcd816b6b3d15fa3887121ba53cb086cc300493
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Apr 28 17:23:55 2011 -0700

    msm: 8660: Auto focus parameters tuned for S5K4E1 camera sensor.

    Change-Id: I3ed6a48d945a58e12b10df09202afbcde8deb77d
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit ccc917d272380c341c7462d081087b6ad18bed26
Author: Srinivasan Kannan <srinkann@codeaurora.org>
Date:   Wed Apr 27 16:35:29 2011 -0700

    msm: jpeg: Reset buffer status when output buffer queue is empty

    Reset buffer status for output buffer obtained from encoder
    when output buffer is empty

    Change-Id: Ifdc7356f9ad65af47335ec9d8bf5ab2d25369fb6
    Signed-off-by: Srinivasan Kannan <srinkann@codeaurora.org>

commit a3fcdba4e202a81f32a068ca6e8017419075916a
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Apr 28 12:07:41 2011 -0700

    msm: gemini: Set IJpeg clock to 228MHz

    Set IJpeg clock to 228MHz from 144MHz.

    Change-Id: Ibb1dbc7890b50113c4b0318aa4669d7f04bc0cad
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit b11e983a51535b702e25cfdaec4e26c63a6f7300
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Apr 21 18:46:43 2011 -0700

    msm: camera: Reduce vfe clock for mt9e013 sensor

    Reduce vfe clock required for regular mode
    Only increase vfe clock in hfr 120fps mode

    Change-Id: I9d2553cdd91d23ce4bcac792361ecae1881af0cc
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit cc2879aec041fc313ee3e40300fc1688db3c6154
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Apr 27 17:07:15 2011 -0700

    msm: camera: Update memory barriers

    Removed the memory bariers while enabling write masters.
    Enabled memory barrier for DMI operations. Removed
    unnecessary reads

    Change-Id: Ib9bc9c3454cf8e369162e9ce632d4593ea3b2c46
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit 7a35826ae448f47d871d6a38cf8cc99f196fc990
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Apr 20 19:21:10 2011 -0700

    msm: camera: Support for more 3D camera features.

    support for following new 3D camera features have been
    added.
    1. 3D Digital Zoom for snapshot and video recording.
    2. 3D Quality Indicator for preview and video recording.
    3. Framework changes to support 3D 1080p video recording.

    Change-Id: I17996756ad5f27a3b12cb356ba01f1e493fa3056
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 4fcad1c781dd427195c79a4519908f997c5583cf
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 27 03:17:41 2011 +0530

    msm: Disable Vfe Rolloff for 3D Sensor

    Update camera sensor info structure with support_3d variable
    which is passed to user space to determine whether to enable
    or disable VFE RollOff.

    Change-Id: Ic74aec61bca64b5380ed4cefdb4401b563e9948a
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit e72785e98dedf3619c43bf4f3fac74fca7b88d1b
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Mar 9 16:22:00 2011 +0530

    camera: 7x27a: Initial support for ov9726 and MT9E013

    Add support to ov9726 and MT9E013 sensors for 7x27a
    target.

    Change-Id: Ie957832e06e4c847190bbf4f70c476c9af9b1c8d
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 6b80ece46eb37db466495a55aa92ba89d33a77a9
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Mar 2 17:55:33 2011 +0530

    msm: camera: Add support to S5K4E1 sensor.

    Add support to samsung 5MP sensor. It supports
    2 MIPI lanes and auto focus.

    Change-Id: Ic92b152dfdac057d37ad39475bfb8189959275d7
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 591b18883bd6c38b3bbe055551a2c9ec53cc3538
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Feb 15 17:06:01 2011 +0530

    msm: camera: Camera IO driver changes for 7x27a.

    IO driver handles MIPI CSI interface and Camera
    clocks.

    Change-Id: Iac5d4f8efa00fb3a01dbe98491d781e51544a94c
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 7c8dda2c4b248c9d2f549a46fa76934c1874cf38
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Feb 10 11:01:28 2011 +0530

    msm: camera: Add support to VFE driver for 7x27a.

    VFE driver interacts with the VFETASK in ADSP. It handles
    the communication with this task. It sends the commands
    to VFETASK and processes the messages received from
    VFETASK and dispatches them to msm_camera. It also
    handles the voting of required ebi1_vfe_clk rate based
    on preview and snapshot requirements.

    Change-Id: I592a8d1560a77498e0ed09fd6fd2ddbade73eea3
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 095cd839617ecc9d3413a65208eb275a8144f04b
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Apr 19 12:09:44 2011 -0700

    gemini: Enable jpeg encoder for 8960.

    Change-Id: I8a34c6189ab8d4bef9dde87d9523b064080dcad6
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit c0f5837409230b179c31bee539305800b783331f
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 18 23:38:44 2011 -0700

    msm: camera: Fix sensor mt9e013 snapshot noise issue

    Disable summing mode in preview settings, so the sensitivity
    for preview and snapshot settings are the same and
    coarse intergration time can be reduced for snapshot mode.

    Change-Id: Ia540e7b17f2bbe067200cc533a0aa0517856728b
    CRs-fixed: 281227
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 1e7bdcec4bf565f65b42c83fab96acd2ac6d5dde
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Apr 20 22:45:53 2011 -0700

    msm: camera: 8960: Initial support for sensor ov2720

    Driver for secondary POR sensor on 8960

    Change-Id: Ie0ec86ab90dfad1348f1809ccd0eec7b2b259a41
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 5f5ed82c042615334938743169872d6d42fa1c10
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed Apr 6 14:36:33 2011 -0700

    msm: Compile V4L2 camera in 8960

    Change-Id: I9dc25a49d3ddc41df22f1598e998ac57704775d0
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 075cdb154e92a5fc6017c47b6aced4eb65071414
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Apr 15 16:18:09 2011 -0700

    msm: Remove pmem code dependency in V4L2 camera driver

    This change is being made because PMEM won't
    be included in 8960 kernel.

    Change-Id: I2ab92c4973ee367f528758874776f607f0d85a26
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 39a431b383ee8eb54fe358b4fed1881295942096
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Apr 15 16:15:00 2011 -0700

    msm: v4l2: 8960 V4L2 kernel re-architecture

    Change-Id: I144053e1a9a30c360a21b5dd1da4e3ca4b7241b3
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 034ea050bdfbc1785f33ae770db16a2ff5eb94e5
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Apr 15 14:13:23 2011 -0700

    msm: camera: Support for High frame rate recording

    Change-Id: I323b6dce90cf2d29d6baf91d9d6a5e8decc0d344
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit ccc3dd2ac763b2c61676ae38cd6571b206170e88
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 4 12:33:46 2011 -0700

    camera: 8960: Initial implementation of vfe32.

    Implement basic preview functionality of vfe32 on 8960.

    Change-Id: I2a3dccbba803c599d8f3107eaf3692ce01240298
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 85bb76f4640b27bb34fea996fd55e66459227c31
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Apr 6 17:57:36 2011 -0700

    camera: 8960: Initial commit for msm_io_8960

    Add clocks, csiphy, csid functions

    Change-Id: I52c56498246d59685645936e5aea0668b48cd4e4
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 5a71d4a0c81683c078506130d3bf4ea61ee05a15
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 4 12:14:37 2011 -0700

    camera: 8960: Initial support for ispif

    Initial support for ispif

    Change-Id: Ia7ca8f8797e0d77dbd037736bf1fac34ac7c3f55
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit c23977d023044c77e6c8c92fa3a28c2eb5b41eef
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Mar 24 03:35:38 2011 -0700

    camera: Support for 60 & 120 fps in MT9E013 Sensor

    Added HFR support in MT9E013 Sensor
    Added HFR structure in msm_camera.h

    Change-Id: I7782992f95511598f7ea01790b4751f7d5a376bc
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 3883f584e3a2f383d12abb185fc092a86fb23008
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Mon Apr 18 13:02:30 2011 -0700

    msm: camera: Fix for pmem lookup error due to buffer mismatch

    Read the ping pong status of the hardware in ISR rather
    then while executing the tasklet.

    CRs-Fixed: 282473
    CRs-Fixed: 277971

    Change-Id: I2e9a7e39a99983e0c854f0502b30f4ba96e890df
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit e5733c123812fccf6ef0b95103c490a5b4217c3d
Author: Srilakshmi Punuru <spunur@codeaurora.org>
Date:   Wed Apr 13 14:48:58 2011 +0530

    Revert "msm: camera: Enable/Disable VPE on demand for Power optimization"

    This reverts commit 0167f57b17eaeb1602bbedca822dcec2e7940441.

    Change-Id: I540674caeda1b341a73dfda20cb825db1c6e26cf
    Signed-off-by: Srilakshmi Punuru <spunur@codeaurora.org>

commit 6966ea7e83a2fc515f23c51991bc2f5b111ecbcf
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Mon Apr 11 12:05:39 2011 +0530

    msm: Camera: Fix for raw snapshot issue

    Initializing y_offset and cbcr_offset for both OUTPUT_2
    and OUTPUT_1_AND_2.

    CRs-Fixed: 282554
    Change-Id: I96b70da61ed8622a95411016efe70e54af768e2b
    Signed-off-by: Manogna Reddy Alle <cmalle@codeaurora.org>

commit 29335f571f3769ceba47a4f556961490ef4ac9b5
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Apr 7 18:22:55 2011 -0700

    msm: camera: Add support for platform specific mount angle

    The camera preview Fluid is rotated due to mount angle
    variation between fluid and FFA.

    Change-Id: I7bb8d5f11285ab5009793fa268a097ddd06a75e5
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit 76e1e5e7b1f39096e10c19faedfbf7d9010f17f5
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Apr 4 12:46:53 2011 -0700

    msm: camera: Enable/Disable VPE on demand for Power optimization

    Added support for
    1) enabling/disabling the VPE during recording.
    2) state machine for VFE and VPE during recording.
    3) transition logic during stop recording.
    4) VPE turbo mode for 1080p+DIS.

    Change-Id: I098412871f6b8e1a4f6dc2ef6efe966db1ccf5e8
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 61eee1f0fe410ce4d876dfd670dbe4f239245405
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Fri Apr 15 15:57:21 2011 -0700

    msm: camera: Enable 3D raw snapshot.

    Enable raw snapshot feature for 3D Camera.

    Change-Id: Id59e3b7b6a39ca1eeabcac51f6fffee421f666b3
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 77c13428ea3b78dd674771332a2dd95c80452441
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Apr 5 18:26:41 2011 +0530

    msm: Fixes in the 3D Camera Sensor

    Enable the 3D Calibration and Lens shading. Fix the i2c configuration
    for eeprom. Add new settings for the 3D View Finder

    Change-Id: Ia4e3b68bfe0549f6f9aa77ba95698d438e3c84a8
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 962a33ecfc0ac978a68172185e59814c7e7cbdb0
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Apr 6 19:01:34 2011 -0700

    msm: camera: Enable 3D raw snapshot.

    Enable raw snapshot feature for 3D Camera.

    Change-Id: Ia2959111461c97d83b7a9cab5ee34de9c31ed1ed
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 8e393f6c4d77b37e5a7a8fb9e7e495cd55e2fb47
Author: Michael Bohan <mbohan@codeaurora.org>
Date:   Thu Feb 24 12:10:11 2011 -0800

    Initial contribution

    This commit takes the MSM and driver changes from
    git://codeaurora.org/quic/la/kernel/msm.git:android-msm-2.6.35 and applies
    them on top of
    git://android.git.kernel.org/kernel/common.git:android-2.6.38.

    Change-Id: I3e80240311c76c05d4177a4958a660fba80d5d14
    Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
commit 504cb98b3ff613efff254521b32a6611d33a9c84
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Nov 17 10:21:26 2011 +0530

    msm: camera: Free buffers from frame queue at open

    Free all pending frames in frame queue before cam_frame
    thread opens frame device to avoid duplication of buffer
    free

    CRs-Fixed: 318202
    Change-Id: I25d1718a37a94fa83563c4b6e99a1b7560917a7f
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
    (cherry picked from commit 5dcbcb9f04a94aa6740718a1b6d39ce4548d869c)

commit 355bb2ede6e1c91eb1f31227d159e91621fc3df2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Sep 9 16:07:58 2011 -0700

    msm: camera: Update csi interrupt trigger conditon

    Csi interrupt is a active high trigger,
    updated to match hardware spec.
    Update csi interrupt mask to show error only.
    Mask csi interrupt when camera exit

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    (cherry picked from commit 696950b12be98b435b75f05d548b3c3cc71f7444)

    Change-Id: I8e1531fe6aa3f1b5355e6ea4efeab842c910d9fb
    Signed-off-by: Swetha Basineni <sbasin@codeaurora.org>

commit 14d4c90baf91ee68453b1e1b4a46a0048a6da755
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Mon Nov 14 19:02:04 2011 -0800

    mm-camera: configure the mipi csi based on lanecount

    The mipi phy control is configured based on the number of lanes
    used by the sensor.The mipi reset is placed in a seperate
    function.

    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
    (cherry picked from commit 456f1d6c894b2eedbdc24c5872c4326741a00ace)

    Change-Id: Ib527b4cdd24a9572b43123cf14bca77c2dfd892d
    Signed-off-by: Swetha Basineni <sbasin@codeaurora.org>

commit 4435d190d17b2cbd7ce099cebbff4430eeb86a5f
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Wed Oct 12 14:02:56 2011 -0700

    mm-camera: configure the mipi csi based on lanecount

    The mipi phy control is configured based on the number of lanes
    used by the sensor.The mipi reset is placed in a seperate
    function.

    CRs-Fixed: 311858
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
    (cherry picked from commit 27da72487d24c024dbf2fdae0cde9fc00f0b3b8e)

    Change-Id: I713dc6bc14a7623583c45f2ba94e6265b9848b88
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 9ee88a53aa0b154f68e38a2048177255730abeba
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Apr 21 12:13:34 2011 -0700

    msm: camera: Postprocessing framework changes

    Updated the post processing framework for HDR feature.

    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit 133fea74525f8d00ce4b6d40a440cdb641cc7cea)

    Change-Id: I1c147730c74b2b9a8fcb638d7eb0b0ebd651c6d6
    Signed-off-by: Swetha Basineni <sbasin@codeaurora.org>

commit a6738ec3f28f042d705a13c318d8d46380deaf3c
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Wed Apr 13 11:19:28 2011 -0700

    camera: MT9D113 camera driver support.

    QT 8660 Front camera MT9D113 (2MP YUV)
    sensor driver support.

    Signed-off-by: Kalyani Oruganti <kalyanio@codeaurora.org>
    (cherry picked from commit ba040beed975789caeb34129c605b787d4eeb7a0)

    Change-Id: I6aded01190abe813aa103044d97b23d456b1a4d0
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit bd8c955f67ff2d14b9a65d8572e99f250663575c
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Sep 2 03:36:01 2011 +0530

    msm: camera: Change mount angle of sensor

    Change mount angle of camera to 90 for Novatek 3D mipi panel

    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 2931504512693c7a928b8961a061f2af654dcb53)

    CRs-fixed: 293287
    Change-Id: Idd2318cf23e0c63c59081309358da1aa6fe232aa
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit ca02642b1d1c57c70eb799deaaef8ce4bb3740fe
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 23 16:02:01 2011 -0700

    msm: camera: Fix recording state machine bug

    Video frames are sent to the userspace even after stop_recording
    is issued. Fixed the recording state machine to correct this.

    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit d9f44c302ee2e14a5e022c8e44943e2b3d9ff400)

    Change-Id: Ia63667e635a6234a4ce3a1ca93560952de9750b5
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit d920c01734818be2daecf5b5bff91a2404d534a1
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 30 11:38:22 2011 -0700

    msm: camera: Remove additional check in msm_queue_drain

    Removed additional check in msm_queue_drain to make
    sure that the list is getting emptied in all cases.

    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit 33e638a1c229765d06a76bc84351de9407026782)

    Change-Id: I6b498241490c4264f93ea37b1fa97ebda4cde910
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit de3810c1a44de0908c62b2af1b202481728e17d9
Author: Raj Kushwaha <rajk@codeaurora.org>
Date:   Wed Aug 17 13:52:48 2011 -0700

    msm: camera: Avoid flooding of AXI HALT irq's

    This patch will avoid flooding of AXI HALT irq's.

    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
    (cherry picked from commit 7a07e90a20854e6e9565a03309a2bb993f8bda0e)
    CRs-fixed: 299311

    Change-Id: I09b33f01924c1cff3b93e910bcb7340e1e75b960
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit bdf7b93f77e67974f5c6a2b6d91b9818e40cbb36
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Aug 2 21:08:42 2011 -0700

    msm: camera: Handle event queue overflow error

    When the config thread crashes or is in bad state, the camera
    driver wont get notification which prevents the driver from
    shutting down. Added code to handle this usecase.

    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit 4882c1fdffba47564665ef483bf5fbcd73c23484)

    Change-Id: I643f5ac740627e140ba65b662558258f6c1f2c2b
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 9a18b490a1c892ae86479217b20333314fb46ba1
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sun Jul 10 11:33:14 2011 +0530

    msm: camera: Configure the qs_s5k4e1 in 1 lane for 2d mode

    Configure the qs_s5k4e1 sensor in 1 lane for 2D mode. This
    change is made as a work around for hardware issue. As we
    switch from 4 lane configuration in 3D mode to 2D configuration
    in 2 lane, the fifo in CSI Phy overflows. When 2D mode uses 1 lane
    configuration the FIFO is bypassed.

    CRs-fixed: 292608
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 04dfe491a43adf08c9c4f826f64065624054d527)

    Change-Id: I6bd082777a49dcb1d256b6f0a8e16d860375821e
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit cc2e5bcbbb875ab8b912924d7467d9804fd137c4
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu Jul 14 16:29:22 2011 -0700

    msm: camera: Stop streaming video when stop rec is issued

    This patch makes sure that we don't stream any video frames
    when recording is stopped.

    CRs-Fixed: 295043
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
    (cherry picked from commit f7d8135370cd016c2f094780b97ef01353118c1d)

    Change-Id: Ibc8f80dcac6b555bf4964ffb1dda221c9896938a
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 2da8403ae187aec260e5b017c31d4a1f573f5617
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Jun 22 18:15:13 2011 -0700

    msm: gemini: Support for setting physical address offset for input buffers

    If the input buffers are present in a contiguous chunk of memory,
    thier physical addr remains the same even if thier virtual address
    is different. To prevent this, added support for physical offset
    in msm_gemini_buf.

    CRs-Fixed: 293251
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit 9806fe4d6a2ce3a25c1be0e6657fedbd8181e003)

    Change-Id: I0b74e8d6084d9c6a1f3f5a1d644918bd020dc3c5
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 4b2964b085f5e9818d5ac5b8d60594359fc6a762
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Mon Jun 27 21:11:38 2011 -0700

    msm: camera: Move bus vectors to board file

    Moved the camera bus vectors from camera driver to board
    file. Also updated the bus bandwidth requests for QT device.

    Change-Id: I9020c309acc595d19470df87ff4229e91d0722c5
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit a6677cef8954109c3e99047e2c21482dbe46008e
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Mon Jun 6 14:18:36 2011 -0700

    msm: camera: Support for manual convergence in stereo camera.

    Adding support for manual convergence in stereo camera and
    changing the delivery method of stereo quality indicator.

    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
    (cherry picked from commit 791278e730c6ebce77aea7c16e256eb4ae161aca)

    Change-Id: I4f9073309c11e326150623edc19dfb7453428631
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 393ba47c81b359d2e95360edf1250883e615e2ca
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Tue Jun 21 19:31:39 2011 -0700

    msm: camera: Clear the DMI for HIST stats during reset

    Clear the DMI for HIST stats during reset

    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit 96ee7eb0bf9b5ccb2f607a244259e0a698d2ee90)

    Change-Id: Ide3271687f42775d00f507436c096b0b65b00445
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 4c92fee7a486dc85626418d91f99cede7911af64
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Jun 16 23:46:44 2011 +0530

    msm: camera: Fix snapshot and other minor issues in qs_s5k4e1

    -Issue stop stream command to sensor while exitting camera.
    -Turn off MIPI Clk Phy and MIPI Data Phy while exitting as
    they were never turned off.
    -Calculate the FPS by modifying the line length pclk
    instead of frame length line.
    -Add some delay in bridge after camera clock turned
    on to avoid glitches

    CRs-Fixed: 292069
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 028d626df10bc63bbfedb2b72a67597e2b4ba1ba)

    Change-Id: I464d8e367b1c116326e3e1a0213708eeb6076404
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 9970df82452c38889851ce6b2b7cdfee67ae45a9
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Jun 15 16:23:54 2011 -0700

    msm: camera: Clean up during open failure

    Updated the reference count when open fails and did
    proper cleanup.

    CRs-Fixed: 287648
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit f521ef6c4402895abcfc46520db9dd6be81c28b5)

    Change-Id: I6bf5d4b85022cfd2682fcec4f4c90ef8ce2fb2d2
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 32cb0e1cbfe9349e816f46552ca0c61f8b7be6bc
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu Jun 16 10:14:10 2011 -0700

    msm📷 Fix buffer mismatch issue in HFR mode

    Patch to skip frame when the ping pong status is invalid.

    CRs-Fixed: 289328
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit f1d93538da07e745e3b8ae0388135201446668f0)

    Change-Id: Ibeb489b8a55450b4b899aafebc1d9e33614be034
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 7c3fe65658aa9d19ecf7bff841a66603581d9629
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Thu May 12 12:47:39 2011 -0700

    msm: gemini: Remove PMEM reference for input buffer

    Remove PMEM reference for input buffer to prevent PMEM
    leak during error case.

    CRs-Fixed: 287889
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit f02545235282df44dd808c523d0ec9c04be6d4fe)

    Change-Id: I1b7a29873b13b8f161b7fa5d6351edf6ad8eab23
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 9543770efbc4f2e8007a407b0dc9bd9f698c15e5
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Jun 11 02:27:29 2011 +0530

    msm: Fix snapshot issue and reduce 3d sensor power

    Reduce the data rate for 3d mode and vary the blanking to
    achieve 30FPS for preview and 15FPS for snapshot. This also
    fix snapshot stability issue as we increase blanking for snapshot

    CRs-Fixed: 289516
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit b193e63544f9bb9123c5f774ad48546df2473655)

    Change-Id: Id76074ccf53f38d751da773a155949f0b737aeeb
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 9c586ff16d46dd935c8b8a3730533c54380a7e96
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue May 24 12:13:34 2011 -0700

    msm: camera: Added Bus bandwidth numbers for stereo cam

    Added bus bandwidth numbers the stereocam and corrected
    the ab/ib values for all the use cases. Previous bandwidth
    calculations were based on the VFE output and now all calculation
    are based on VFE input. Also adjustment factor
    (mis-alignment, priority, burst length) is taken into account.

    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
    (cherry picked from commit ab6acbbc39df627fe36fa7aa006b68a171be4fe1)

    Change-Id: Icf5e8aee5dddd089a5e65c17f9eb521fc9b1f863
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 045e6af11a22119719e7021ab61938a7658abec5
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu May 19 14:43:17 2011 -0700

    msm: camera: Request bus bandwidth based on the use case.

    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
    (cherry picked from commit fa99e19538e4fc70f8db23f41ac875f7f1de7617)

    Change-Id: I53599493c2cbb669d3b75b473fc7794b0ed308a3
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit efe458de5146143a03d73310d66fadd50e64bdb6
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Jun 8 11:59:59 2011 -0700

    msm: camera: Consolidate VFE messages for performance improvement

    (cherry picked from commit 6d7f475e8e4d40c0a787c7e1f2fe7e57a4d84929)

    Change-Id: Id378388f3d1219cb8e69f48acac79dbf4ebbbc32
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 393a6457c7e6ba274aea9f9413a377e600fa64ce
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue May 31 09:22:18 2011 +0530

    msm: camera: Optimise the qs_s5k4e1 sensor for power

    Turn off the GPIO Controller, Reset Controller and Sensor Clock
    when in 2D Mode to save power.

    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit e5e88e885d7050a5ac2624329fef956073e2b37d)

    Change-Id: I527b19fefbc74d9afdd8d529a875d88c1d79b0d2
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit bc295f56692591ddf30a564dcdb9aaa19c3373ac
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Fri May 20 11:31:40 2011 -0700

    camera: Fix the set_fps API to support full size preview.

    The set_fps API is fixed so that for the fps calculation,
    the full size lines per frame is used instead of qtr size
    lines per frame.

    CRs-fixed: 288609
    Signed-off-by: Kalyani Oruganti <kalyanio@codeaurora.org>
    (cherry picked from commit b0b6cafdf770b17adebb5afa611254bec7dee980)

    Change-Id: I78d56632a5187c4e7c75126acdde7d5ed64de716

    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 7bef17b0d2fbd2c8ad79c91c0ee77d5ca2315c03
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Fri Jun 3 16:16:08 2011 -0700

    msm: camera: VPE on demand support

    Added support for
    1) enabling/disabling the VPE during recording.
    2) state machine for VFE and VPE during recording.
    3) transition logic during stop recording.
    4) VPE turbo mode for 1080p+DIS.

    Change-Id: Ia8ee5ee30de76b2661da4592c3c22306474664c9
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 0b7881e59bb0f3e5cf23c2c46208b831824a8877
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Mar 28 22:10:48 2011 -0700

    camera: Update strobe flash irq trigger condition

    Change irq trigger from falling edge to rising edge
    for newer strobe flash hardware.

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    (cherry picked from commit 599bbfbdcf6fe4633cf5332c5634af80b89a4e5c)

    Change-Id: Iff04017b2ec329a42b6572a2582e8907e6f438f2
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit fd66e844777bee85b037fe16bfb3aca27e478ee2
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu May 19 16:03:36 2011 -0700

    msm: camera: Release sensor and clock in error case.

    Release sensor and clock in error case.
    Clean up of the event queue while msm_release to handle special
    case where config thread was never opened.

    CRs-Fixed: 287648
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
    (cherry picked from commit 4f3eed7b231db08296a5663d5c22e4d39be3ec10)

    Change-Id: Iacfa528b81af21656eb808bf28ea37f080a9bf2e
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 84668c1d676530128eea51f713838cb2da23c0e9
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Apr 28 17:23:55 2011 -0700

    msm: 8660: Auto focus parameters tuned for S5K4E1 camera sensor.

    (cherry picked from commit bdcd816b6b3d15fa3887121ba53cb086cc300493)

    Change-Id: I97e338d601e76576623725158f8abef74978d483
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 22048c5857bdc4d207ffa51ab89452b33f8e8096
Author: D.V.N. Sravan Kumar <sravank1@codeaurora.org>
Date:   Thu May 5 18:13:17 2011 +0530

    msm: camera: Correct maximum allowed gain for OV9726 sensor

    Maximum allowed exposure gain for OV9726 sensor
    is 255. Limiting it to 223 (<0xE0) causes dark
    images in cases where maximum gain is required.

    CRs-Fixed: 284172
    Signed-off-by: D.V.N. Sravan Kumar <sravank1@codeaurora.org>
    (cherry picked from commit 8fad2faa8a987fc31ec7d8afd81a7d9786b42047)

    Change-Id: I3915ee212553085174a581d90d7a37a12e8ab66a
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit cad97a5b2a19c15c981b5cf534d687db550a969b
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Apr 20 19:21:10 2011 -0700

    msm: camera: Support for more 3D camera features.

    support for following new 3D camera features have been
    added.
    1. 3D Digital Zoom for snapshot and video recording.
    2. 3D Quality Indicator for preview and video recording.
    3. Framework changes to support 3D 1080p video recording.

    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
    (cherry picked from commit 7a35826ae448f47d871d6a38cf8cc99f196fc990)

    Change-Id: I99f6cb2498328ae09b06dc7a7e5c5567f42f2f46
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit efaf41295aa5f1270da8a3d8ae052d875cf24f28
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Wed Apr 27 17:07:15 2011 -0700

    msm: camera: Update memory barriers

    Removed the memory bariers while enabling write masters.
    Enabled memory barrier for DMI operations. Removed
    unnecessary reads

    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
    (cherry picked from commit cc2879aec041fc313ee3e40300fc1688db3c6154)

    Change-Id: I6d28aebc61283f3837905b5d47d54c00a02c90ae
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit de6c370237bfeb0a5ff78b55593724a894142644
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 27 03:17:41 2011 +0530

    msm: Disable Vfe Rolloff for 3D Sensor

    Update camera sensor info structure with support_3d variable
    which is passed to user space to determine whether to enable
    or disable VFE RollOff.

    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 4fcad1c781dd427195c79a4519908f997c5583cf)

    Change-Id: I81abb1e35d3c093083fcc18dc13dad843be54aaa
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit ea7a9ad205a77c5c6f12ab1869f751026237a703
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 20 06:55:18 2011 +0530

    msm: camera: Fix the max fps issue for 3D mode in bright light

    In 3D Mode, maximum FPS observed in bright light was 25.5 with
    10 Bit format. This issue is fixed by switching to 8 Bit format.
    Also added the default lens shade table and updated the lens shade
    parameters.

    CRs-fixed: 285454
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 211a405aa80db1c3a9a0574a76099d9881a34205)

    Change-Id: Ia75c5ef4034deb166846783ef6049ee99d198cdb
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit dbefc48003b550dc2fcd1be24c217292e95574a8
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Apr 15 14:13:23 2011 -0700

    msm: camera: Support for High frame rate recording

    (cherry picked from commit 034ea050bdfbc1785f33ae770db16a2ff5eb94e5)

    Change-Id: Ia7beba8e0032bc8c7edc152305e8133e84a0fa27
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit cd4dc4e336d9379ff06e6a59fa473b11e9d27bd2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Apr 21 18:46:43 2011 -0700

    msm: camera: Reduce vfe clock for mt9e013 sensor

    Reduce vfe clock required for regular mode
    Only increase vfe clock in hfr 120fps mode

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    (cherry picked from commit b11e983a51535b702e25cfdaec4e26c63a6f7300)

    Change-Id: Ib5d21ed253a9d7261530027fcf403b56d8b862a0
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 71b3a7c5c8ff11bded3f98d2842c184e9eeccaab
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Mar 24 03:35:38 2011 -0700

    camera: Support for 60 & 120 fps in MT9E013 Sensor

    Added HFR support in MT9E013 Sensor
    Added HFR structure in msm_camera.h

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    (cherry picked from commit c23977d023044c77e6c8c92fa3a28c2eb5b41eef)

    Change-Id: I4b2307a4b9e289df96338ea06e17cb590bd85a2f
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 555568e58439212f732f6be2edfd41142c6d5896
Author: Srinivasan Kannan <srinkann@codeaurora.org>
Date:   Wed Apr 27 16:35:29 2011 -0700

    msm: jpeg: Reset buffer status when output buffer queue is empty

    Reset buffer status for output buffer obtained from encoder
    when output buffer is empty

    Signed-off-by: Srinivasan Kannan <srinkann@codeaurora.org>
    (cherry picked from commit ccc917d272380c341c7462d081087b6ad18bed26)

    Change-Id: Icc7ca9cf75d93e132d205234e3e88e8ea0e82cc6
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit f12bdd79739f8fef49b3d5eebe16b325c3d93ef8
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Apr 18 23:38:44 2011 -0700

    msm: camera: Fix sensor mt9e013 snapshot noise issue

    Disable summing mode in preview settings, so the sensitivity
    for preview and snapshot settings are the same and
    coarse intergration time can be reduced for snapshot mode.

    CRs-fixed: 281227
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    (cherry picked from commit c0f5837409230b179c31bee539305800b783331f)

    Change-Id: I3d2be52190520da2221cca59f3cd140a056f043d
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 2d68c50a8d02505ed2ae7128f10b7c67d04e5ed0
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Mon Apr 18 13:02:30 2011 -0700

    msm: camera: Fix for pmem lookup error due to buffer mismatch

    Read the ping pong status of the hardware in ISR rather
    then while executing the tasklet.

    CRs-Fixed: 282473
    CRs-Fixed: 277971

    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
    (cherry picked from commit 3883f584e3a2f383d12abb185fc092a86fb23008)

    Change-Id: Iee3b252613da67d14e58a391736c625592666c07
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 0baf9b524bf6863fa0f263d3c813e4ca5e56407f
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Apr 5 18:26:41 2011 +0530

    msm: Fixes in the 3D Camera Sensor

    Enable the 3D Calibration and Lens shading. Fix the i2c configuration
    for eeprom. Add new settings for the 3D View Finder

    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 77c13428ea3b78dd674771332a2dd95c80452441)

    Change-Id: I476e4e268c2a23e5aeb29f7e4409d3c45b58b955
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 593b32e2778d22a01b60c34c6c64caee989422ad
Author: Srilakshmi Punuru <spunur@codeaurora.org>
Date:   Wed Apr 13 14:48:58 2011 +0530

    Revert "msm: camera: Enable/Disable VPE on demand for Power optimization"

    This reverts commit 0167f57b17eaeb1602bbedca822dcec2e7940441.

    Change-Id: I540674caeda1b341a73dfda20cb825db1c6e26cf
    Signed-off-by: Srilakshmi Punuru <spunur@codeaurora.org>

commit 30c9cfbb397889e1781f2223b0f8aacf68fab2ee
Author: Manogna Reddy Alle <cmalle@codeaurora.org>
Date:   Mon Apr 11 12:05:39 2011 +0530

    msm: Camera: Fix for raw snapshot issue

    Initializing y_offset and cbcr_offset for both OUTPUT_2
    and OUTPUT_1_AND_2.

    CRs-Fixed: 282554
    Change-Id: I96b70da61ed8622a95411016efe70e54af768e2b
    Signed-off-by: Manogna Reddy Alle <cmalle@codeaurora.org>

commit 6e15e236e2ffde8c0cb2c5974f3941f4387f8689
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Thu Apr 7 18:22:55 2011 -0700

    msm: camera: Add support for platform specific mount angle

    The camera preview Fluid is rotated due to mount angle
    variation between fluid and FFA.

    Change-Id: I7bb8d5f11285ab5009793fa268a097ddd06a75e5
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit 0167f57b17eaeb1602bbedca822dcec2e7940441
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Apr 4 12:46:53 2011 -0700

    msm: camera: Enable/Disable VPE on demand for Power optimization

    Added support for
    1) enabling/disabling the VPE during recording.
    2) state machine for VFE and VPE during recording.
    3) transition logic during stop recording.
    4) VPE turbo mode for 1080p+DIS.

    Change-Id: I098412871f6b8e1a4f6dc2ef6efe966db1ccf5e8
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 428e441e0a5e8a2ace19d6ec6e76e3ac94f21325
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Apr 6 19:01:34 2011 -0700

    msm: camera: Enable 3D raw snapshot.

    Enable raw snapshot feature for 3D Camera.

    Change-Id: Ia2959111461c97d83b7a9cab5ee34de9c31ed1ed
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 72a2f427f1fc75bbe2e4b810f30293d3ac0591a0
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Fri Apr 8 19:03:02 2011 +0530

    msm: camera: Fix for splitting preview window for zoom

    Issue:
    For zoom in and zoom out case receiving corrupted frames
    from vfe due to insufficient ebi1_vfe_clk.

    Solution:
    Increase clock to 192Mhz.

    CRs-Fixed: 282598
    Change-Id: Id862e5bc2a2d6df040909ae8abe79d743d06fd07
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit e2bc8faa75af752139527020e9a45922f09cc57b
Author: Sravank <sravank1@codeaurora.org>
Date:   Wed Apr 6 16:08:56 2011 +0530

    msm: camera: Initialize mt9e013 sensor mount angle to 0

    Issue : Preview is stretched as the mount angle for
    8MP sensor is set as 90 deg.

    Solution : Setting the mount angle to '0' solves the
    preview stretch issue

    CRs-Fixed: 282375
    Change-Id: I3b21c10f374ea62f4027e845eb7288e33e31a242
    Signed-off-by: Sravank <sravank1@codeaurora.org>

commit 16242d97c2768cdda6aa4b14537b0492520f1ee0
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Mon Apr 4 19:42:15 2011 -0700

    camera: 8k: removed gpio reset request of front camera sensor.

    The front camera sensor ov7692 does not have the reset pin connected,
    the standby/power pin will do the reset. proper release of reset
    for the back sensor is added. The standby pin and the reset pin for
    the back sensor is pulled down rather than in the floating condition.

    Change-Id: I771e2f57d5a5f518aca52873f304cdf61d750be9
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit f7c2282bc632b516b4cb9f12b35b822d3e44082b
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Mar 24 15:57:55 2011 -0700

    msm: camera: VFE free buffer queue implementation for multishot

    Implemented free buffer queue for each output. This will
    allow to store multiple buffers in kernel.

    Change-Id: I2650821dccde4fadd32c26f9ac468febee073032
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 5bd434d82f4e9649fdf689af2ed0eb6330a65138
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Fri Mar 25 10:35:32 2011 -0700

    msm: camera: 7x30: Add support for mount angle for ov9726

    The ov9726 is 2D front camera with mount angle 90. Uninitialization
    sets these parameters to default settings which are inaccurate.

    Change-Id: I0b8eef7df877aad04210df22239dae6683a4fd2b
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit f157bbd3af991b05f9b4551f44a125a5f8af5826
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Mar 29 14:52:06 2011 -0700

    msm: camera: Fix snapshot failure issue for multi-frame capture

    Update the code to send reg update for all snapshot
    frames. This updates the capture count properly and sends
    the SNAPSHOT_DONE msg to camera driver.

    Change-Id: I16ad0c829709042ec4a0b5da57c27d3146b241a3
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 61a3e6823d9b6a09c99787e9a6fc0e888a28e4af
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Mon Feb 7 16:17:14 2011 -0500

    msm: camera: switch power supply for FLUID 12M camera and D02.

    LVSW1 doesn't have enough driving strength for the Sony 12M sensor,
    its voltage drops below the 1.7V required by the sensor. The solution
    is to modify the camera daughter board so that GP16 turns on as
    digital voltage for main camera and D02, and GP6 turns on secondary
    camera.

    Change-Id: I09578b48939b6fde0972b41f28b4018c432aea4e
    CRs-Fixed: 253514
    Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>

commit 662103497be0df0430122bfaffcd742b6e41feed
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon Mar 28 16:49:56 2011 +0530

    msm: camera: Initialize mt9e013 sensor mount angle

    Issue:
    mt9e013 sensor doesn't initialize camera mount angle, so
    garbage value is sent to userspace and it leads to camera
    failure.

    Solution:
    Initialize the mount angle to 90

    CRs-Fixed: 280946
    Change-Id: Ice60a2dff6afaea77ae0c884f0c1f510347a2cae
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit f09a67fa9d158783da17e0bb7d480f0970ab3ed0
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Fri Mar 25 15:58:19 2011 -0700

    msm: camera: Add IMX074 Calibration data usage support

    The IMX074 camera sensor has calibration data available
    in eeprom to adjust the variation of color and focus parameters.
    This data is used to adjust the tuned parameters.

    Change-Id: I5b998b26ef748e341bce1c0f892d73897538f52b
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit dcc1607eb439a1e4227799178e33bcf7c1f5aa58
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Thu Mar 24 17:15:21 2011 -0700

    msm: camera: Fix the broken MCE functionality

    Corrected the offset values for MCE registers

    Change-Id: I41c5baaf90b294506234c1e69b919c5283abef59
    CRs-Fixed: 278920
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit a1a0579ffd3efb68d066e45b34866bcacd023ba1
Author: Jilai Wang <jilaiw@codeaurora.org>
Date:   Mon Mar 21 14:55:45 2011 -0400

    msm: camera: Invert PCLK from Deserializer to get better signal

    In order to get signal quality from Deserializer, the PCLK
    polarity needs to be inverted.

    Change-Id: I7020cffc80664c3863cc79a27d012be0ca5c4106
    Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>

commit 6f14a0528099be906d6fc3fca513813a62f88367
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Mar 22 15:45:55 2011 -0700

    msm: camera: Update IO memory access ordering

    Changed the regular readl, writel to xxx__relaxed. Updated the
    code for using memory barriers at relevant places.

    Change-Id: I4f7b1b1f416c002459c34c006a13fa519d17e7a7
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 1559eab74c563cb60a22048997337db5af423d0d
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Feb 25 09:26:54 2011 +0530

    msm: camera: 8x60: Initial support for qs_s5k4e1 camera sensor

    Change-Id: I10b4c7eee463da8f5ea21676ad2706cbad4dc614
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit a11e48d585d38e929e5542561428ce1e75c0a522
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Mar 23 16:21:58 2011 -0700

    msm: camera: 3D Camera transition logic change.

    Change 3D Camera transition logic where current frame
    progress is tracked through L/R frame done messages.

    Change-Id: I35c309df40bb4ad6b716efaf96f14513e8a36ff2
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 04cf990c07072370f2b932e28d5eca302eb217c6
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Tue Mar 22 14:22:44 2011 -0700

    camera: Fix the set fps API for IMX074 sensor.

    The fps divider value from the userspace in now used
    in the fps calculation.

    CRs-fixed: 277744
    Change-Id: I359fd1800f52150ff49669448cc25328447928a9
    Signed-off-by: Kalyani Oruganti <kalyanio@codeaurora.org>

commit aeece2e622f10a75c7c5890a20c0038810de8691
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Mar 22 10:11:40 2011 +0530

    msm: camera: Release ebi1_vfe clock in camera release function

    Issue:
    vfe release function updates ebi1_vfe clock to default rate
    instead of clock disable. It leads to more power consumption
    even camera application exits.

    Solution:
    Release the clock in vfe release function

    Change-Id: I69b38cf7355e194ec4307d544e780617fca46e1d
    CRs-Fixed: 280060
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 7e4217db2504593e2c8c962dd32c896cb7fe2129
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Sat Mar 19 13:32:35 2011 -0700

    msm: camera: Stereoscopic 3D Camera feature.

    This is the base change for S3D camera feature.

    Change-Id: I4dd5a4fac4fde73defc34b2f08aade8ca373cf6f
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit e58580bc939f4b53ac7e7bbcff29c4588aa7a2c2
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Sat Mar 19 00:47:18 2011 -0700

    msm: camera: 8660: proper reset pin for front camera

    The front camera sensor ov7692 uses the pin IO06 instead of
    gpio 106. proper release of sensor reset is also added
    for ov7692.

    Change-Id: Id172e8c9b22d34d434041d57e0b570c62bb537b8
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit a66066e978ab8ba0934c95a3a73c7f9be1ae70fb
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Tue Mar 15 15:21:48 2011 -0700

    camera: Fix the preview snapshot brightness for imx074 sensor.

    Stretch the frame vertically instead of horizontally to achieve
    the linear AFR as per the sensor specification.

    CRs-fixed: 277673
    Change-Id: Idc0f181dc9a5dfc824f3eeaa52dc69b50d0830f5
    Signed-off-by: Kalyani Oruganti <kalyanio@codeaurora.org>

commit 42a18dedcf35dcaf1640e650406780b42ce40b98
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Mar 17 17:37:23 2011 -0700

    media: camera: Fix for stray lines in preview for ZSL

    Updated the Gamma and Luma LUT Bank selection only once
    per reg update.

    Change-Id: I0eb7ed700ccf32b35b3ee8642b7d73cbb44b577b
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 7182d2da00315126b9443f6b5427970cf421ce31
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Mar 16 21:47:57 2011 -0700

    media: camera: Fix for kernel lock up issue on VFE 3.1

    Need to ensure AXI bus is halted before resetting the VFE.
    Instead of polling AXI_STATUS bit, poll AXI_HALT_IRQ and
    then issue a reset.

    Change-Id: I433ad8ccf2eee19e874e4d7f61091680ea7ddb9c
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit eb1043e6dd5733de187e4272d945bc28eb25b926
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Mar 15 18:05:59 2011 +0530

    msm: camera: Fix VFETASK command write errors

    Issue:
    VFE driver doesn't check the state of VFETASK before
    sending the commands. ADSP driver returns an error
    if vfe driver sends the command without enabling
    VFETASK.

    Solution:
    VFE driver checks the state of VFETASK before sending
    any command to VFETASK.

    Change-Id: I7835affd5ed24cfe23dfdd60a8e5da8726ff7d0a
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit f9b864655751c7544ef3c3f1a750ee97592e7b38
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Mar 15 16:50:54 2011 +0530

    msm: camera: Remove GPIO warnings

    Update mt9p012 sensor driver to do vcm_pwd GPIO operations
    only when vcm_enable is set.

    Change-Id: I22f05d00329a24888c9424e62b044dd4eb2088f6
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 5218ec8df5793b2db84309a6cf5741c8769beeaf
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Tue Mar 8 01:53:17 2011 -0800

    msm: camera: 7x30: ov9726 camera sensor enable

    Change-Id: Ief9c795cba4eb14d562fee5e157810807bddc13e
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit 92bf7470bb9633ccd6abddcd359050d5bc9e50bf
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Mar 1 04:48:16 2011 +0530

    msm: Optimise power drain when camera closed on 7x30 and 8x60

    Clear the calibration PAD bit on CSI controller when camera is
    closed, to reduce power consumed on 7x30 and 8x60.

    Change-Id: I764157c1730b6f8338e17bacd2d077dc31100494
    CRs-Fixed: 277047,275742
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 513fbf860a4d639882ee0a32dac85aeca956f0c8
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Wed Mar 9 23:06:00 2011 -0800

    Camera: 8k: AF tuning for sensor imx074

    The autofocus tuning is done for the imx074 and updated the
    necessary parameters.

    Change-Id: I38dec0309d9ab4d9eec095e1963a270dd33254e0
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 00300579a29362b8a0b44053fb715b89aef3e388
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Mon Mar 7 12:51:43 2011 +0530

    msm: camera: Fix for I2c failures

    Issue:
    mt9p012 sensor driver is not handling the return value
    of i2c transfers correct. It leads to camera open failure

    Solution:
    Check the return value of i2c transfer properly

    CRs-Fixed: 278218
    Change-Id: Idc7db8b605a4090fc80792d7670c6768e34d1894
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 1997f8e79cf2abe68ad4ca1b303fa0982609b065
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Fri Mar 4 17:08:42 2011 -0800

    msm: camera: Update VPE clock to 200MHz

    VPE clock is boosted to 200MHz for fixing the fps
    issue for H264 + 1080p recording

    Change-Id: I933fdc5db68f942040ff6203eee68b9fa2cb1540
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit eec6cfccf4059d41715e88863e7fd532413a8267
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Mar 2 20:00:16 2011 -0800

    msm: camera: Fix qcmd corruption issue

    qcmd is accessed and updated by the control thread
    context even when the ownership is being transfered
    to the event queue. Updated the code to prevent this.

    Change-Id: Icd102e20d7e310ae8d08369550abd1a6bf24b75f
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit abce3854d80ced2be5414f70e2f5f1dee86c27a5
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Mar 1 18:19:09 2011 +0530

    msm: camera: Add retry mechanism for i2c failures

    Issue:
    Due to i2c transfer failures msm_open function is failed and
    returned error to conf thread. conf thread returns error to
    upper layers. Upper layers are not handling the error and
    it leads to ANR in camera.

    Solution:
    Retry 3 times in case of i2c transfer failure.

    Change-Id: I0f6a7711c914ecbb3e3f616b6cdb4c2050607e1b
    CRs-Fixed: 276412
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 410d84a28f6019f9ee6d8e065ea86c0c2ef4147a
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Feb 24 12:30:33 2011 -0800

    msm: camera: Zero Shutter Lag feature support

    Changes include
    - VFE 3 output configuration
    - ZSL streaming mode support
    - Handling of raw snapshot, regular snapshot and
    zsl streaming in IRQ1.

    Change-Id: If94135d4d6a6ed0a8344413725ded2e45f5f7a5a
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit b322c687a4dd335e8562abf350ea260ba5fb8180
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Tue Jan 18 18:00:01 2011 -0800

    v4l2: msm: Add support for V4L2_QUERY_CONTROL.

    Change-Id: Ibc5ceaa8578ce0cc6a725f3939a064afbb3a7208
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit c500a60e670c44f217369d98145013bce46002b1
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jan 21 16:27:48 2011 -0800

    v4l2: msm: Add back chained copy for msm_ctrl_cmd.

    v4l2_event structure is not enough to hold all control commands.
    Instead, we use pre-allocated buffers in the driver and daemon
    so that no run-time allocation is required.

    Change-Id: I37f0512b5de33bb4cd43ed5f535c1ac76de397e6
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit c8d3dd6c210f5177a21e362c7a5cb807b58ccfb4
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jan 28 16:13:04 2011 -0800

    v4l2: msm: Fix msm_isp_control function return value.

    Return value of msm_isp_control need to be set based
    on mm_ctrl_cmd::status.

    Change-Id: If011861adf032d8ffd318c7b05e39b6f08bb5e53
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 001a8a2fdc9cf15191c7ab3febf5d508bcf5aa9f
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Feb 7 15:37:40 2011 -0800

    msm: v4l2: Remove old V4L2 code

    Removed obsolete file msm_v4l2.c and other related
    old V4L2 code from camera.h and msm_camera.c.

    Change-Id: Ib3a54d3d61f181aad6ec7719327eff3051d0ab3c
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 3b3ece7c08a8e00c7ec9b0d5abfd41cdb914640d
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Sun Feb 27 20:28:05 2011 -0800

    media: camera: Remove hard code values for xbar config on vfe 3.1

    Change-Id: Ia9010db630dd4ca28eaf99185485e7103f2918a7
    CRs-Fixed: 274919
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 83e016298c071576a6d4de903dbb55c879a1ee10
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Feb 11 18:33:46 2011 -0800

    media: camera: Fix for the camera crash in msm_get_stats

    Allocate memory for the udata, since in error case the stackdata
    in msm_control could be lost.

    Change-Id: I2105e1a4e05e786ffc9c5629a9ac076b6951dcd5
    CRs-Fixed: 272413
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit a4fdaa7c3ee881986464c679bf4423dddd82e3e8
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Feb 22 18:42:47 2011 -0800

    msm: camera: multiframe HJR fix for snapshot redesign

    Updated the post processing code to handle multiframe HJR
    which is aligned with new snapshot design

    Change-Id: I939b5339f731beefa7f42dcd2c6509d689087b9c
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 11afab5737bf8b5e0edf24fef14d93423df837b1
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu Feb 10 11:55:23 2011 -0800

    Camera: 8k: kernel configuration for sensor mt9e013

    The mt9e013 sensor is added as main camera sensor for
    QT device.the support for setting vfe clock rate is added.

    Change-Id: Ia28304db059942eaaf2e20e49bab29d9c052d389
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 4350f8eb95a1e2f9d652630859b40dece7c0d17a
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Feb 23 14:26:19 2011 +0530

    msm: camera: Update vfe driver for new snapshot interface

    Issue:
    In new snapshot interface design, camera driver expects
    physical address of snapshot and thumbnail buffers.
    VFE2 doesn't provide this info as part of snapshot done
    message. It is causing the failure of snapshot.

    Solution:
    Cache the addresses of snapshot and thubnail buffers at
    axi snapshot configuration and use these values when
    vfe driver delivers the messages to camera driver.

    Change-Id: Iae0a98ef89dd01607f552eb24f8f943a141d9576
    CRs-Fixed: 276066
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 664ab4e2e7c97a3ea3e56cadf00df36e6dcb051e
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Mon Feb 14 23:15:20 2011 -0800

    media: camera: Remove unused scaler configurations from vfe 3.1

    Remove unused scaler configurations from vfe31_reset_internal_variables
    function

    Change-Id: I9ba09671bc35273653f2ded21e590b7aaefcfb7d
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit bac3c0d10476b3d2023a1569e3520f3e90fe0a33
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Feb 8 17:48:20 2011 -0800

    msm: camera: snapshot interface redesign

    Created pic node and associated snapshot functionality
    to the new node.
    Fixed pmem lookup error for raw snapshot.

    Change-Id: I3fe532d9818f9dfb2ad8157b6e1ff98dfce8dfff
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit c4d88f3357cc89e53a5ec421896d76c852b0b8f9
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Thu Feb 10 11:01:28 2011 +0530

    msm: camera: Update timeout value in camera control function

    Issue:
    Camera control function waits for MAX_SCHEDULE_TIMEOUT seconds for
    the response. If there is any issue with sensor, clocks, VFE,
    response doesn't come. So the control thread waits for longer
    duration. Graceful exit is required instead of continuous wait

    Solution:
    Control function waits for 10secs for the response

    Change-Id: Ibe0dc1bb10d450e0774d9dfe259bded3a3c9b930
    CRs-Fixed: 274505
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit ad4cd777460aa4587f1c8f7f108b98bfc5efb16b
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Wed Feb 9 16:06:09 2011 -0800

    msm: camera: Removal of hard coded AXI configuration for VFE31

    The VFE31 driver has hard-coded value for crossbar configuration.
    Removed the hard coded value as this is controlled by the user space.

    Change-Id: If159fe483d9d246a45e1e2d6515aded3d6f4af0f
    CRs-Fixed: 274769
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit b44d13fe9eac1d82711f87c9a3c129658dbdfbf3
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Feb 3 08:21:10 2011 +0530

    msm: Optimise Imx074 sensor for warm and cold startup time

    Replace msleep with usleep_range for better precision. Reduce
    delay in sensor probe routine in gpio configuration and remove
    unnecessary delays.

    Change-Id: Ia485401f45c16d84d237008e6b11709833e3d1a0
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 2317798c4916ae790bdaa5c7877ae4356f1dc12e
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Jan 27 03:35:56 2011 +0530

    msm: Fix the driver probe sequence for the front and back sensor on 7x30

    Change-Id: I820f8b21b326fbdb818616ed73e62340f5c4ac5d
    CRs-Fixed: 271121
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit fe52795ac069393c0632953f61186b812b11b061
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Tue Feb 8 17:48:52 2011 -0800

    msm: camera: ov9726 proper probe return

    During probe the camera sensor ov9726 is not returning
    exact error code on failure.

    Change-Id: I297909f8cc4ee36cbaaefb1e48523ef4bacb0266
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit 2a7ded175161072efb8e6dca7de8fd353f5a50d2
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Mon Feb 7 18:00:15 2011 -0800

    media: camera: Fix Null pointer dereference on 8660

    Observe kernel crash in __msm_get_frame due to failure of
    error check because of garbage values in qcmd->command.
    Nullify the command fixes the null pointer dereference.

    CRs-fixed: 273653
    Change-Id: I2bd09fc42affbecde878f171b9477caef3b20de3
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit d11f8d8587326d107e5d4e919cfe0c44223eba29
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Feb 8 11:22:16 2011 -0800

    camera: OV7692 slow AEC convergence

    Removed sensor settings update after snapshot to prevent exposure value
    to be reset.

    Change-Id: I34ff05756a5ac18d0676cfc16545c83d2509e22d
    CRs-fixed: 274544
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 62f6148fd162d51f900d10b16bdd421528fc2b38
Author: Gagan Mac <gmac@codeaurora.org>
Date:   Mon Jan 10 23:11:23 2011 -0700

    msm: msm_bus: Decouple nodes from fabrics for scalability

    Node ids need to be independent of the fabrics.
    For this external ids and internal ids need to be maintained
    separately. This is required to avoid misleading enums in case
    a node is switched from one fabric to other.

    Change-Id: I3ef56eba3a8cb504d7dedeeab4b47468c87fe729
    Signed-off-by: Gagan Mac <gmac@codeaurora.org>

commit 2c73edb27f0bb140637310d32de6ba813dc8fbfe
Author: David Brown <davidb@codeaurora.org>
Date:   Wed Feb 2 13:57:37 2011 -0800

    camera: Work around compiler warning

    The variable 'rt' is used without being initialized.  Initialize to
    RES_PREVIEW to avoid a compiler warning (and undefined behavior).

    Change-Id: Ib33c7a9652cda62f10d6146dd6fed5a837d42bd0
    Signed-off-by: David Brown <davidb@codeaurora.org>

commit 8d5bb9e06d2c10a787ff3a8cfda4927d1139babf
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Feb 1 11:52:09 2011 -0800

    camera: 7x30: Fix Snapshot FPS on sensor mt9e013

    Increase the snapshot line length pclk and frame length lines
    to meet the minimum blanking requirement.

    CRs-fixed: 273294
    Change-Id: I3b759ce9bb4811f0333abe39549a88badb8d4b3b
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 87d5fc59197eeb86559630ca07dc267824c96ac9
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Feb 1 03:59:40 2011 +0530

    msm: Optimise the Mt9e013 sensor launch time for cold and warm startup

    Change-Id: Iab7b096070731999329ad6ecddea637855b94bb6
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 713ff5945290c6645538acc31000dd9dd8bf8a6b
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Tue Feb 1 10:33:39 2011 +0530

    msm: camera: Change AXI clock freq for camera preview

    Camera driver is using 192MHz frequency for AXI clock. For
    preview we don't require 192MHz. Change AXI clock frequency
    to 122MHz for preview case.

    Change-Id: I9919fab9c9c68e446ccd5fa1aeeec2053d56dbad
    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>

commit 376958dc243944a0846f0f8354802ea98c87efc4
Author: Vikram Mulukutla <markivx@codeaurora.org>
Date:   Mon Jan 31 12:10:02 2011 -0800

    msm_gemini_core: Initialize spin lock before use

    Call spin_lock_init to init the reset_lock spinlock before
    using it.

    Change-Id: I3617637ccddec45b77461a3206b9c5bbbd653d49
    Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>

commit d209c14af102659dc03db2c6788ecfe48d5a2e58
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Jan 31 16:42:28 2011 -0800

    camera: Free sensor mt9d112 gpio when probe fail

    GPIO was not free when sensor probe fail, causing gpio request
    for other sensors to fail.

    Change-Id: I493618f89933ceb02c7dccad997b140555314f11
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 7764d0078dde5729008ea3eeb2461f7649896924
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Mon Jan 31 15:23:17 2011 -0800

    msm: camera: unnecessary kernel log cleanup.

    Cleanup the incorrect usage of pr_info, pr_err and printk.

    Change-Id: Iee3008d53243ce2152fb7f202ab062a4bf04f88e
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 9d50eaf49f11820686ad65360d290033d1fc3480
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Tue Jan 18 13:16:47 2011 -0800

    camera: 8x60: Initial support for ov9726 camera sensor.

    Fluid 8x60 uses ov9726 as front camera sensor.
    Adding the kernel space driver for ov9726 1MP bayer sensor.

    Change-Id: I40b5ea67b11003f4810457e946bde755703dcb9d
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit 7356266dfbbc8a300484e5846ebb5071541e2754
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Jan 28 11:37:22 2011 -0800

    msm: camera: Fix for Camera App force close after taking snapshot

    VFE stop command was getting issued when the VFE was
    performing snapshot Capture. This was causing the
    get picture fail. Fixed this issue by issue VFE stop
    command only when the control node is closed & not
    during the frame node is being closed.

    Change-Id: I6e7b3fccfca6f91a9dae076ba27d91eba3e88a87
    CRs-Fixed: 273239
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 82f002419fd06344e29d96700c4bddb6a0879f44
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Sun Jan 23 00:13:08 2011 -0800

    camera: Fix I2C issue with mt9d112 sensor

    I2C issues are seen on mt9d112 sensor when switching between
    mipi and parallel sensor. Moved gpio free to sensor release
    function and pull pin to low before free.

    CRs-fixed: 272263
    Change-Id: I47064768a0a5204658d359464eaea2ff40d23088
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 9af4a5af23cd70700059a6d061602812198a1f08
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Nov 18 15:59:21 2010 -0800

    v4l2: msm: Add support for get_control.

    Change-Id: I5135658625cb94354e77f5c3224ba45673cb8c9a
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 40bae66b04e6e223d84648bd79b85c6288bd4197
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Nov 10 11:29:00 2010 -0800

    v4l2: msm: Add support for set_ctrl

    Change-Id: Ifaa951901968a2de9ae927a579711200b24e4390
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 74626e6d2e22ce20065f3dd18e04eef5748dae5b
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Nov 12 09:29:35 2010 -0800

    v4l2: Enable passing msm_isp_ctrl_cmd in v4l2_event structure.

    Create a new control command structure so that it can be
    packed in v4l2_event. This avoids the deep copy required
    for msm_ctrl_cmd.

    Change-Id: I48210062fb6c53c480174186994f26b4aa7e70d8
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit e19c02de0a3b062d21fe82eee4913e631683e105
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Dec 22 11:43:27 2010 -0800

    v4l2: msm: Implement preview support for vx6953 sensor.

    Add v4l2 implementation of msm camera driver. The application
    interacts with the driver via v4l2 APIs.The configue daemon
    polls on events from /dev/config0 and sends appropriate control
    commands to hardware.

    Change-Id: Ifb07cd2452599106915035daddd862c074088d28
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit dea7b70a47675f0c0dccaf5262890b7062bb1bfd
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Mon Jan 24 13:27:09 2011 -0800

    msm: camera: Fix for snapshot crash in post processing on 8x60

    The Post Processing framework for snapshot was handled incorrectly
    which was causing NULL pointer access thereby causing a crash.
    Added fix to avoid the NULL pointer access by handling the VFE
    commands correctly.

    Change-Id: I1fb1a0624b895421bf2a524b6087e76179402a0c
    CRs-Fixed: 271792
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit c864947456f70e5e946d4cb147fd20d45c81b767
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jan 24 09:16:51 2011 -0800

    v4l2: msm: Added V4L2 config flag to the Kconfig file in msm

    Change-Id: I690309b0d1b608a4f3584e182cfd4b76510bc64f
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 0d47fe7b97713cb34c74e8c701679bfb63256bd8
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Fri Jan 21 14:52:36 2011 +0530

    msm: camera: Fix AXI clock issue

    Issue:
    In VFE driver AXI enable function is not called. So clk
    get and enable functions for AXI clk is not called. Any
    furthure calls for this clock without enabling the AXI
    don't have any effect. It leads to insufficient AXI clk
    for SNAPSHOT.

    Solution:
    Call AXI enable function add_axi_qos after enabling VFETASK

    CRs-Fixed: 271512
    CRs-Fixed: 270603
    CRs-Fixed: 272010
    Change-Id: I9907e3763b6ab23e192f11f72c080a7f6aeeeaeb
    Signed-off-by: Vankadara, Suresh <svankada@codeaurora.org>

commit 4ca57ce38f74d610fe36b1cce81f43b331522de9
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Jan 20 16:07:37 2011 -0800

    msm: gemini: msm_gemini_hw_read crash fix

    The crash occurs due to the race condition in which the gemini
    base address is not assigned when the IRQ occurs during reset

    CRs-Fixed: 271661
    Change-Id: I7739133d7721c4f2172b6757be6ed0e7ae13c77c
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 13f25d0d24e0ff41d8eb42f5bc833512cdc73345
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Fri Dec 17 14:38:10 2010 -0800

    camera: 8K: VCM power for fluid device Auto Focus.

    The fluid device VCM power is controlled by a seperate gpio pin.
    Need to enable for auto focus functionality.

    Change-Id: I27b4f2cbce254276b1320d8d068cf4a62294621a
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 3ac74659bc63554d3797b15db9a214daddc43f81
Author: Kalyani Oruganti <kalyanio@codeaurora.org>
Date:   Wed Jan 19 14:43:23 2011 -0800

    camera: Remove names in code.

    Change-Id: I581e0424659abb843f6c9f9836831ec3da5fbd19
    Signed-off-by: Kalyani Oruganti <kalyanio@codeaurora.org>

commit a44c15e1793dae701a6c50fb483c4544caccd6ba
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Jan 17 15:14:31 2011 -0800

    msm: camera: Fix camera freeze during gallery switch

    The issue was due to vfe_stop called even if the vfe is
    not powered on. Add condition check to call vfe_stop
    only if vfe_init is called.

    Change-Id: Ia76eeb8c8fbf8f53a40cb0d67df9bf905ff4e618
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 3d9a3727d0c261ac027220f5a57b6035ee25a0bc
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Fri Jan 14 14:56:38 2011 -0800

    msm: camera: Moving the AXI clock initialization to vfe init

    ebi1_vfe_clk initialization was done during probe. Changes are made
    to move the ebi1_vfe_clk initialization to vfe_init

    Change-Id: I02273470827d66ee5509273df72180defb56c99c
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit dee2ef0c911f8fbc1ecaf3b9a873bcc1f974fb87
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Jan 12 18:53:53 2011 -0800

    msm: camera: Fix for bus overflow error

    The bus overflow error was due to the race condition while
    stop recording. The bus frequency update is not required
    during stop recording since we are having same frequencies
    for preview and video mode. Hence the fix

    CRs-Fixed: 270692
    CRs-Fixed: 270293
    Change-Id: I33a2c8d27eeaccd896a47c4f6c379bd04ce68bc9
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 557600ea0a26247ab2ea27dd3bd7de2100e93fd4
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Jan 13 16:21:54 2011 -0800

    msm: camera: Fix high power issue while camera exit

    The high power was due to ebi1_vfe_clk not released
    during camera exit because of which AXI frequency stays
    at 192MHz.

    Change-Id: I03393bd95393286d10f45c29a0555bb97ad15d5c
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 9da56401c67499e0c57ba719dc26d27882e8aa06
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Jan 12 18:44:16 2011 -0800

    msm: camera: Power on the core during config open

    Changes for starting VFE, VPE core and the clocks only while
    config node is opened.

    Change-Id: I8658beef2d513d64b603f475f7b7945d05331d37
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit e2052c2422b604b97da956792a2aa966b9a04fc5
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Wed Jan 12 12:26:29 2011 -0800

    msm: camera: Fix for ANR for Stop Recording on 8x60

    No video frames were generated by the camera driver when
    recording was started. This was happening due to inconsistent
    state of the update_ack_pending flag as it was getting
    changed in two different threads. Fixed this issue by making the
    flag updates in the correct order.

    Change-Id: I3707b96f559c22b60786fccc3da12f68a2b6b4e4
    CRs-Fixed: 269177
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit c91829d9f284f013010a6299a883eee7e382514c
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Jan 12 15:37:39 2011 -0800

    media: camera: Fix to stop VFE while in error case

    Change-Id: Idbb23558567f6c4d03997e96bcfed899ed6cd079
    CRs-Fixed: 270691
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit e56b3d0fa05a9da1a67a74668b4ff73d28e746eb
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Jan 10 18:08:54 2011 -0800

    msm: camera: Fix gemini reset issue

    Fixed the race condition in which kernel thread updates
    the gemini registers before the h/w is reset.

    CRs-Fixed: 270331
    Change-Id: I79e9ddab052069b27829c41874215f3dce914aad
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 43a2d07f75e855e3199b4914432656901b6bbac9
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Jan 10 18:26:59 2011 -0800

    camera: 7x30: Increase MT9E013 fps to 30

    30fps is needed for customer support.
    Changed pll multiplier and vfe clock to
    increase fps from 25.5 to 30fps

    Change-Id: Ibd061ba3c2f3cc68f3df5d873d10699e9a613fc8
    CRs-Fixed: 270490
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 4908e57928a2c2a7570a4d991561f7c35f6cbb05
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Jan 7 12:22:28 2011 -0800

    msm: camera: Support for providing sensor mount angle to the APP

    Added support to provide the sensor mount angle. This will
    enable the camera application to display the camera preview
    with the correct orientation.

    Change-Id: I9f3096807f6f99c711a12044f5259dab30555986
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 04c9d5a80da1985e95871b44665f1abd99e962bb
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Dec 16 21:24:06 2010 -0800

    camera: 7x30: Initial support for mt9e013 camera sensor

    Initial support for mt9e013 camera sensor on 7x30.

    Change-Id: I99022a044626f6d81dbcd884173c1de4f0832b83
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit d1ed639bff52462ef2fb9895ceb91393b70e542a
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jan 4 16:12:04 2011 +0530

    msm: camera: Memory leak fix for VFE 3.1 configurations

    Fixed the memory leaks caused by vfe31_config function

    Change-Id: Ibc975d5b5a8672aac879e2c3355e8a11bea9a83e
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit baef42aedb8d6784711910cc977ed70c4b0b4dd0
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Nov 24 17:00:17 2010 -0800

    media: camera: Remove redundant code

    Change-Id: Icd77cd5a558c3d88280af242447be719aa065e0c
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 1ae8151b96eaa4e728a0c55e2244f4b904c734d5
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Mon Dec 20 17:17:36 2010 -0800

    media: camera: Migrate to clock rate voting

    Use the clock api, instead of pm_qos, to vote on the EBI1 rate.

    The transformation is as follows:

     pm_qos_add_request() -> clk_get()

     pm_qos_update_request(*, 0) -> clk_disable()

     pm_qos_update_request(*, <nonzero>) -> clk_enable()

     pm_qos_remove_request() -> clk_put()

    The rate a driver requests is almost always the same and can be
    set with clk_set_rate() after the clk_get() call.

    Change-Id: I3085e30804caadcf2d886704c32e975bdd32034e
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

commit cae58801afa1df0eaa23d5b108c61ad0814fc33c
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Dec 28 19:27:46 2010 -0800

    media: camera: Fix for the crash in ISR

    Request the IRQ only after enable the clocks, and free the IRQ
    before disable of clock. Also exhaust the VPE tasklet before
    release of the VPE IRQ.

    Change-Id: I85930837bf0edac0b0cf4fbeaeb2d5b74c78a135
    CRs-Fixed: 268896
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit bb5b35802eee605705d5d2ed9bc8b953b15e5dd3
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Dec 6 23:37:37 2010 -0800

    camera: vx6953 len shading settings and optimization

    Added len shading settings for cut3 sensors
    Reduced latency in the driver
    Added group parameter hold to all register
    that can be changed during streaming.
    Updated gpio apis

    Change-Id: Ic0045feb4fa9a56aa3eab7e6a2a25d8c777f8ea8
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit e9e33ac5c79ccf08bc91f6d7ba1c991696da8aff
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Dec 16 12:35:17 2010 -0800

    msm: camera: Fix for snapshot IOCTL fail on 8x60

    Insufficient bus bandwidth request for snapshot was
    introducing latency thereby causing snapshot to fail.
    Increased the bus bandwidth request to fix this issue.
    Also corrected the bus bandwidth request sequence.

    Change-Id: I05e1d8e6a3a33ecc0c3ba2696334a3a69d61c821
    CR-Fixed: 267866
    CR-Fixed: 268406
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit c5548427efbe18ba19395be55039b0b941c88076
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Dec 1 17:25:18 2010 -0800

    Camera: VX6953 Exposure stretch changes

    Use horizontal stretch instead of vertical stretch for exposure changes.
    Update exposure stretch using frame length lines

    Change-Id: I40883294afa0eaf4959a6025804bcdf314e3b196
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit b0ebf9d3ef7184bf6219a1c409bc5488d961bd49
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Dec 15 22:19:57 2010 -0800

    media: camera: Fix for the memory leak in VPE

    Added code to free memory in error case while vfe config.

    Change-Id: Iee8bd39f0e99cc8b5c30706b1f26b72429bffecc
    Crs-Fixed: 268358
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit aff11bd8000c639821a9f0f5bcbfe5d586d4a1d4
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Dec 15 22:01:44 2010 -0800

    media: camera: Fix for the incorrect error propagation for camif

    The vfe error irq's are valid only when the vfe is in active state.
    Hence process error irq only when vfe is active.

    Change-Id: I9a894e16ec94bb82c5b9aa81ada626079a46a31d
    CRs-Fixed: 267919
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 1a3eee3e9e172ba3af78951e456a6c363fc069e1
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Dec 14 12:32:10 2010 -0800

    media: camera: Fix for the crash while face detection enabled

    Removed the check for the PP mask for every release frame

    Change-Id: Id5307424e7c46b5a120105a8bde4f001cfe6ebe1
    CRs-Fixed: 264760
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit bda36c754dcdbfc67053b66dd03f3047ea9ee5c5
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Dec 1 17:00:14 2010 -0800

    camera: VX6953 Update register settings and remove sensor reset

    With updated settings from ST, the sensor doesnt need to do a sensor reset
    during context switch in cut 3 sensors.

    Change-Id: I2637c551e7e92d12a4e2ced484efe86866d0c3b9
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 36eab0c5c46292b6ba56ef26ae33d1412b105a5c
Author: Zhang Chang Ken <kenz@codeaurora.org>
Date:   Wed Dec 15 12:37:21 2010 -0500

    msm: 8x60: Enable Digital Power Supply for Fluid Main Sensor

    PM8058 LDO25 (VREG_L25A) needs be enabled for Fluid main sensor.
    It was enabled by default in previous build. Should be controlled
    in camera block. The line is not connected in Surf and FFA.

    Change-Id: I666fa9f6e146b7a867bd7095d22dfa5c476b9f93
    Signed-off-by: Zhang Chang Ken <kenz@codeaurora.org>

commit 9232895c67d0eefbf7af3fa356b27ba200430ec8
Author: Gagan Mac <gmac@codeaurora.org>
Date:   Mon Dec 13 14:58:55 2010 -0700

    msm: 8x60: Add name for video and camera clients

    This patch adds the name to camera and video
    platform data to view requests using debugfs

    Change-Id: I53d25548cb59b4a19675f0a556f571c63e4b32ae
    Signed-off-by: Gagan Mac <gmac@codeaurora.org>

commit 69273c489e8efee996e8aba3b53fe884e6001b1f
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Dec 1 16:25:46 2010 -0800

    camera: VX6953 Calibration Data Update

    Update Vx6953 Calibration Data

    Change-Id: If899759b5afbba5bd1d04533647dcdab77a8c079
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 0522ed277ba1fdfa3c9bccc3e5b3fa4a1df540db
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Dec 1 15:13:19 2010 -0800

    camera: VX6953 power off after camera exit

    Remove the optimization fix which involves keep the camera power on.

    Change-Id: I50a255d73180960a00657920a19bd8579b4c32bc
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 4e0a477e68ed2678f0904e8ba2dda43d88cf9700
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Dec 6 10:23:37 2010 -0800

    camera: Fix for camera strobe flash failure

    Added gpio request in camera flash
    Reordered init function, so that gpio requests are done before init irq

    Change-Id: I1b117c2e1cc9044d24c1695db65017523b51e1e3
    CRs-fixed: 266336
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 45b3143c404461dee238e64406ef008ccdb15f60
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Dec 2 16:23:52 2010 -0800

    media: camera: Fix for the camera crash while exit.

    Call free_irq, before release of the state variables.
    Also wait for the tasklet to complete pending tasks.

    Change-Id: I1bfbedf0bd887e150efbfb2eff003b9a3738ecf2
    CRs-Fixed: 266531
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit ea5282cf42fae68d37e22f58c17236f98de45140
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Dec 6 13:44:19 2010 -0800

    msm: gemini: Memory leak fix while issuing hw commands

    Fixed the memory leak caused by msm_gemini_ioctl_hw_cmds function

    Change-Id: Ifc7ce9d653cdb0ce4b1020e2be4b05b89cbaf66c
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 3ac59c5be790c9ce6d38d03dfa24c71b7ca93d1f
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Nov 15 15:30:15 2010 -0800

    msm: camera: Support for querying the camera info

    Added ioctl for querying the camera info such as
    1) num of camera nodes created
    2) check the position of camera (front/back)
    3) check whether 3D mode is supported

    Change-Id: I4492c3cc8b32b8d6a607775f6987d1520b26274c
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 1428d49561afccbbd7ffdb63a10518a9d5d9a615
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Dec 3 15:15:22 2010 -0800

    media: camera: Fix for the memory leak issue in VPE.

    Memory allocated in vpe_parse_irq was not freed in vpe_do_tasklet.

    Change-Id: Ib30bed9092a38a35ca2f6debfb704d71a8f3285d
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 49097453aa9c6d0485bec5588f071cc194d251fb
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Dec 2 15:33:54 2010 -0800

    msm: camera Fix for camcorder crash due to preview roll on 8x60

    Insufficient bus bandwidth request for preview was
    introducing latency in camera preview thereby causing
    preview to roll. Increased the bus bandwidth request
    to fix this issue.

    Change-Id: I9205a9c52306461a5c2f98ca7459121799ea5103
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit c846c09a15a29bef88ffb8bc70359f59158d0391
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Dec 2 16:39:05 2010 -0800

    media: camera: Added error case handling

    Added code for error case.
    After the error case null pointer access was possible,
    since the crop length was still non zero.

    Change-Id: Iec3ca28e5456b460df651dcdae7815367cb0b863
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 4559cf7c6b66b23ee52995ed5e3ac8b1d9a0d993
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Dec 1 17:53:29 2010 -0800

    media: camera: Fix for high events enqueued in msm_enqueue

    Added error case handling when the config thread fails to de-queue
    the commands. Removed the BUG_ON code, since there is a possibility

    Change-Id: I9bd538766dcdee58467c0affc56bd90abe51a8da
    CRs-Fixed: 263194
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 96415514ea19f02ea46e4991f52994fc86f06055
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Dec 1 11:22:10 2010 -0800

    msm: gemini: Update power collapse sequence

    Corrected the power collapse sequence for gemini core. Also
    added proper error checking while calling the regulator APIs.

    Change-Id: I68d797827065875f7c9d9c97c8eda9956e92ff1a
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit ed36b5ab299f9527ecdb77a298ff953fd69d5f1f
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Nov 30 10:29:59 2010 -0800

    media: camera: Fix for the crashes while taking snapshot in VFE 3.1

    ISR request was done before the initialization of the state variables
    and setting of VFE clocks. When the ISR was triggered, it lead to
    the crash. Changed the sequence for request ISR.

    Change-Id: Ie74226e5fdde22ab6c58485d028dd919f1308b52
    CRs-Fixed: 265938
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit e822d50c0e3165c945780f45b50cb86420ce745e
Author: Parker Zhang <parker@codeaurora.org>
Date:   Tue Nov 23 14:08:09 2010 -0500

    camera: Rotate IMX074 sensor output with 180 degree

    This change fixes the issue that the IMX074 sensor output
    was upside down. The orientation register of IMX074 is
    changed so that the sensor output is flipped in both
    vertical and horizontal direction.

    Change-Id: Iedd96f1e4fcfc664bf22d453d2abc5476ec77b1f
    Signed-off-by: Parker Zhang <parker@codeaurora.org>

commit b43f0058771c8a48b080fb308c9e479b65c530b8
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Nov 17 18:42:17 2010 -0800

    media: camera: Fix for stop recording for YUV sensor

    The first video recording was stopped only after the start of the
    second recording session. Since reg update was not called while stop
    recording for YUV sensor.

    Change-Id: I6fe2442075dceee17f35358de2ff3e406e3064bc
    CRs-Fixed: 264490
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit f9d07f975bc124c3b80821da18e7949d438f105c
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Nov 10 14:42:14 2010 -0800

    media: camera: corrected the fragment count per frame

    Corrected the max frame fragment count from 8 to 4.

    Change-Id: Ic1770aaca5a7ae0b0f9bacd72e648ff30fb29034
    CRs-Fixed: 262784
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 1a6c9e497dce795e7d173bb8ff06084de7eec157
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Nov 15 17:08:49 2010 -0800

    camera: Fix camera GPIO errors during bootup

    Replaced gpio_set_value to gpio_set_value_cansleep on 8x60.
    Changed drivers to avoid calling gpio_set_direction_output twice.

    Change-Id: Idda71b3fd58128977620e88988bffb9a46072e38
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit b560e553d4b4d757be088fbce8a4326540af12fe
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Nov 15 16:52:52 2010 -0800

    camera: Initialize camio_clk structure

    Camio_clk is not initialize properly thus setting mclock_rate to 0.
    Added initialization to probe_on and sensor_clk_on.

    Change-Id: Ifdd25c68d00b9a130c84ba49e0e1ff0374d6461c
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit c66ef9612fb49e34cc766c9d2ba94f0ee8587648
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Nov 12 15:41:27 2010 -0800

    media: camera: Fix for 720p video recording issue

    Fixed the 720p video recording issue.
    corrected the reference source x and y points calculation.

    Change-Id: I978e18ebaf6eb7e488f8b295ed0880a80bdc87ad
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
    CRs-Fixed: 263252

commit 3d3baf81f9e77ab72c8dbc2428370a39ec4a9737
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Nov 11 16:49:42 2010 -0800

    media: camera: Error check for tainted variable

    Added a check to validate the crop length.

    Change-Id: If5b009b5b85fb5c5691a7a65ca66eea51ec4aa3f
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
    CRs-Fixed: 262740

commit 9e167efdada10cd5b18cfdd008b0d1dd6e187378
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Nov 11 10:14:52 2010 -0800

    msm: gemini: Fix for using multiple output buffers

    Update the code to update the ping/pong buffer on WE irq.
    Fixed the PMEM failure issue while using multiple buffers.
    Also drained the queues while release.

    CRs-Fixed: 263227
    Change-Id: I8aeb25d1f1ffe1aaf7e55bbf1f8fceaba798b304
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 586e533cb265f7a3f0547fbf664c9d02011b2fba
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Nov 9 12:10:54 2010 -0800

    media: camera: Error check for tainted variable

    Added boundary condition check for the tainted variable.

    Change-Id: I87a43e28e127e486bb9116964cd22365f64984a4
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
    CRs-Fixed: 262784

commit b77db2c4a482e5d71101506065503467de17e672
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Oct 21 17:55:16 2010 -0700

    msm: camera: Support for requesting Bus bandwidth on 8x60

    Added support to request the corresponding bus bandwidth for
    different camera use cases.

    Change-Id: I531a6a6884178716cf73707e33b0b325a958949d
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit c1246a062aa72415b02704a1adf10731d267e80b
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Mon Nov 8 16:45:40 2010 -0800

    msm: camera: Fix for camera crash when webcam is launched on 8x60

    Webcam doesn't support Strobe flash. Added check to not
    init & release Strobe flash if Strobe flash is not present
    on the sensor.

    Change-Id: I4666e98e5236d4b50e8417d7dc69258c9f6ae7e6
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 162abf7b3afae6c250fe36456cd90454fe4cafd0
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Nov 2 02:11:56 2010 -0700

    camera: Disable all camera clock after camera release

    Disabled all camera related clocks after camera release.

    Change-Id: I30a99be09a60947739e4ab771bfb5edd0f8ed923
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 5d9ae3cef234a89a6c2c2b03790e4b2dff073662
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Oct 27 11:31:29 2010 -0700

    camera: IMX074 sensor configuration time optimization

    Reduced the amount of delay after sensor register
    configuration for preview and snapshot modes.

    Change-Id: Ie9e1d99cb43b53b0889282915ed6ffeabe5947f5
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit be2ca92457ca00d30e01ce9687c5971871bd8450
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Wed Oct 20 12:13:04 2010 -0700

    camera: Add the support of facial framework feature

    attach face-detection region-of-interested information to frame

    Change-Id: I6a127163dad740f452d67a439cddae0306ea49e2
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit 324d255ee45b6bd6f412aa9efc5c3e95d829a799
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Oct 14 16:53:15 2010 -0700

    msm: camera: Support for common IOCTL call for LED & Strobe Flash

    Added a single IOCT interface for LED & Strobe Flash control
    operations.

    Change-Id: I206076dd82ad99588c74e2776cf8a2875ddc35e5
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 470338deec01498a189f19f4e58a38f36cca2096
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Oct 19 11:25:41 2010 +0530

    msm: camera: Support for readable debug messages

    Display the actual command name processed instead of numerical values
    in camera,vfe and vpe drivers

    Change-Id: Ie0f6e54c98e97e2ed4abcba6c78eee374f244eb7
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit e7cc19c8991a41767322f25cc2129c5e52f62e5d
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Oct 19 00:34:46 2010 -0700

    media: camera: Fix for freeze in msm_get_pic while aborting capture

    Changes are made to woke up the userspace thread executing msm_get_pic
    when abort is called during capture. Also made the abort flag thread
    safe and reset the flag during msm_get_pic to avoid race condition which
    can cause capture failure

    CRs-fixed: 260328
    Change-Id: I5be1153494a5680079788e994b417ad2136260bb
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 9e89d32f461e8def6b4be76f7b3f775e6beff438
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Oct 13 11:28:31 2010 -0700

    media: camera: Fix for the kernel panic in get_stats

    Remove the entry from the event queue when system signals to
    come out of the wait. The memory was freed and the entry still
    remained in the queue which caused the issue.

    CRs-Fixed: 258041

    Change-Id: I3841617dc85a069bce7f3b9b32e3eb5ca836af4f
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 93d4ce2ce6dd8ebddff3deda5737ff3cd0489100
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Oct 8 18:21:34 2010 -0700

    Revert "msm: camera: Power optimization for camera on 8x60"

    This reverts commit fca80bafdddce241097a4d0588b82ba551a42e33.
    Reverting this commit as the power optimizations in camera are
    causing instability in the camera functionality

    Change-Id: I646759c98a4dd27d1ad7507ed5778ee82e0f07a0
    CRs-fixed: 259344
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 98564e9e5057353903ae17b968205f0d7bb275e3
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Fri Oct 8 15:56:29 2010 -0700

    camera: Check pending_timer before add_timer.

    To allow multiple recharge, the fix to check the pending
    timer before adding timer is added.

    CRs-fixed: 258872
    Change-Id: I45eebd3decb0d50e08044db49b5728842e8a3fb9
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit a3f38d00ff72278bfbc4267abec6e95503226e4c
Author: David Brown <davidb@codeaurora.org>
Date:   Thu Oct 7 16:31:04 2010 -0700

    msm: video: Warning fix

    Eliminate unused variable.

    Change-Id: I447715556b5e24c21740346080f8c11ac241136b
    Signed-off-by: David Brown <davidb@codeaurora.org>

commit 2bd474076644ff1da7de1031b2a952cf449fe44f
Author: David Brown <davidb@codeaurora.org>
Date:   Thu Oct 7 15:05:51 2010 -0700

    camera: Warning fix

    Add missing 'const'.

    Change-Id: I44d50ff9751450d2eee465d368cd830f005f4715
    Signed-off-by: David Brown <davidb@codeaurora.org>

commit 3d112baae3f89c73a626db3580ba76aa71b0a5d9
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Fri Oct 8 14:06:25 2010 -0700

    camera: Fix the target freeze for MT9D112 raw snapshot.

    Added delay as the sensor mode transition is not done
    within time frame which results in camif errors.

    CRs-fixed: 258767
    Change-Id: I75e8093c74ca43ca6ba4144bca3bb1caa708785a
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit 9e33d97c2666efd1cde1399141113f7f885775c2
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Sep 29 18:46:09 2010 -0700

    camera: Apply new settings to vx6953 cut3 sensor.

    Changed the patch and edof settings for VX6953 cut3
    (5MP Bayer sensor) with new settings from sensor
    vendor.

    CRs-fixed: 252737
    Change-Id: Ic3146494472e3e0b7d7d9ba06ba9f2dd3ac91afb
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit 942fe17e991be80b556919ef89eb6e2838d96cb3
Author: Yan, Yupeng <yyan@codeaurora.org>
Date:   Wed Oct 6 10:13:18 2010 -0700

    msm: camera: Fix for camera crash on 8660 V2 SURF

    Fixed incorrect error-handling logic when GPIO request failed.

    Change-Id: I0c979605d1c558ec1b32529c295890e0963bc29c
    Signed-off-by: Yupeng Yan <yyan@codeaurora.org>

commit ddedf8014c5b8b9dfd862d7f825ff3c4db5d5e74
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Oct 7 18:31:56 2010 -0700

    media: camera: Fix for jerkiness in recorded clips

    Corrected the region of interest calculation and the reference
    dimensions to the VPE.This was wrong before which led to the
    displacement of the image after certain zoom level and in turn
    jerkiness.

    CRs-Fixed: 258491

    Change-Id: Ia21c60147c8e2fddee3d22801a74914b7d8737f2
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 5b591f439d010c4cb4c5748e452f86393d2212e9
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Jul 28 13:54:34 2010 -0700

    board: 7x30: Not enabling the lvs1 by default.

    The lvs1 voltage supply should not be enabled by
    default. This is taken care by camera.

    CRs-fixed: 245986
    Change-Id: Ia5d74d4c451587d600fb79fecef3559e878d06cb
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit a3a922519268541b3c2cb430c157ad6ff7ad384e
Author: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Date:   Wed Oct 6 16:07:05 2010 -0700

    msm: camera: Fix for wake_lock_stats crash

    Corruption was observed with msm_camera wakelock. The issue
    was the data in the wakelock was zeroed out leading to a null pointer
    access. The root cause was that the msm_sync_init could return error
    without destroying the wake lock. An error from msm_sync_init causes
    the the code to free the sync structure.

    Call wake_lock_destroy in the failure path.

    Change-Id: I946e3d9d4bb73ee3d82da8a4c232c1b3f2bc9f9c
    Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>

commit b7d3a4af036bde618355cbe40d467175c4b017f7
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Oct 6 11:48:35 2010 -0700

    camera: Fix the snapshot over exposure for VX6953 sensor.

    Removed the condition checking for change in exposure,
    as the exposure registers in case of snapshot should always
    be written.

    CRs-fixed: 258085
    Change-Id: I0ff6f34d1e54cb86c4e9d8ad1c127d403e7ff6c9
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit b5571ba4e09992b099fe33fbd70ff22c2d67105c
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Mon Oct 4 16:26:55 2010 -0700

    camera: Increase the fps for all sensors.

    Change the fps for MT9P012 foxconn (5MP Bayer)
    and IMX074 (12MP bayer) sensor
    from 29.5 to 30.5.

    CRs-fixed: 256371
    Change-Id: I42d926ff7551b295f58d029dad7d06586d992893
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit d334c2e27585c1ce69b7af56f16a5d570036ff0f
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Sep 30 16:39:35 2010 -0700

    msm: camera: Protect the pmem regions using spinlock

    Changes for protecting the pmem frame region and pmem
    stats regions using spinlock.

    Change-Id: Ie63c67b32ab853812b01b21e423fa694aec68835
    CRs-Fixed: 257679
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit fca80bafdddce241097a4d0588b82ba551a42e33
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Mon Oct 4 12:34:28 2010 -0700

    msm: camera: Power optimization for camera on 8x60

    Added support for turning OFF VFE clock when camera exits.
    Support for changing the VFE clock frequency to optimum
    value depending on VFE operation mode.

    Change-Id: I7ab309f9abe9a2e3b94688836dcb1047430c3136
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 8a168498691b74fda07731e3b194c9efe57fa99b
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Sep 29 00:50:33 2010 -0700

    camera: Return fail when gpio request fail

    Work around fix for issue with some hardware gpio issue

    CRs-fixed: 258459
    Change-Id: I81b9519f73890f0a073f904e4e45659e2c995e3a
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit f3789741c01c0c9dba7cea9f376048d407567991
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Tue Sep 28 23:00:24 2010 -0700

    camera:  Fix for anti flicker detection kernel crash

    For post-processing, on_heap count was not incremented
    so that when event come back from config thread,
    it free as the count was not incremented cause a crash
    when try to enqueue to other queue (for preview post-processing,
    frame queue and for snapshot post-processing, it is pictutre queue)

    CRs-Fixed: 257277
    Change-Id: Ia96caf2021165275afacdb31d7fcb86fc32c7516
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit e3d3549117cf4f6940aa7da3f2f6a0af31b82540
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Tue Sep 28 10:31:26 2010 -0700

    msm: camera: Fix for Camcorder crash in Camera on 8x60

    Prevented NULL pointer memory access in camera by
    correcting enqueue & dequeue sequence.

    CRs-Fixed: 255073
    Change-Id: Ie001cb19ab1f31c810f9fb3e3c15cd9684713eef
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit eadcc8f09fb3b2873b357bc67464c983624a36d5
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Sep 27 16:31:39 2010 -0700

    camera: Decrement queue length in msm_queue_drain

    Decrement queue length in msm_queue_drain loop.
    msm_queue_drain never reset the queue count thus
    queue length is carried over after release.

    Change-Id: I7f612cb578549b6e0d4efd490395fe4188c02442
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit ed9d41ff440649c6ad9ee15c572427d0d38b68d2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Sep 16 11:38:40 2010 -0700

    camera: Support for enhanced ESD interface

    Once CAMIF error is detected, reset the VFE and make
    Camera state to ERROR. This state will prevent VFE to
    start again when reset ack is received. Now send a fake
    frame with error code to camframe which will send an
    instant error callback to HAL which inturn will shutdown
    camera preventing 6 seconds timeout.

    CRs-fixed: 256140
    Change-Id: I925bde6d625fd60a7a25aef768baffacdf1784c6
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 0e50e25aa3adebd4c154d83df25e22c3dde7ba8b
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Fri Oct 1 14:12:10 2010 -0700

    camera: Fix for 60Hz manual anti-banding for IMX074 MIPI sensor

    For 60hz light source, bands appear at the same place for 30 fps.
    Change fps to 29.5 to fix anti-banding for 60Hz

    CRs-Fixed: 258357
    Change-Id: Ic8090a870c189b9243e6559055291348b20c9639
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit 404a3cd2fecc7c5ef621930ebd813ae2429996b7
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Sep 28 21:35:38 2010 -0700

    camera: 7x30: Fix for broken preview on 7x30

    Fix for blank preview when starting camera app on 7x30

    Change-Id: I11b15c9a7378b7def014e55eabfc44a457fee83c
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 6e640a9d0770182074debc2f7a23758d4fd6c219
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Sep 22 17:14:34 2010 -0700

    camera: VX6953 Start up time optimization

    Vx6953 sensor is taking longer than required time to start up.
    Removed delays that are introduced during testing and
    moved  register initialization to boot up time.

    CRs-fixed: 256414
    Change-Id: I919d336b883af1473aa954a56555a492389fdfa3
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit ef634679ddf31ad1552a45e616d908b141db473c
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Wed Sep 22 16:56:03 2010 -0700

    camera: Fix for camera preview not working because of strobe changes.

    Do add_timer in case of charge enable and del_timer in case
    of charge disable.

    CRs-Fixed: 257040
    Change-Id: Ia26e96213131cf468534f7931d49734e5c35b78f
    Signed-off-by: Abhiruchi Birajdar <abiraj@codeaurora.org>

commit 4f09aaad7413f92966e2e0cbfc6924f476a604ce
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Sep 28 15:40:04 2010 -0700

    msm: camera: YUV sensor: Setting effect for RAW snapshot mode

    Changes for setting effects for YUV sensor in RAW snapshot
    mode.

    CRs-Fixed: 256887
    Change-Id: Iecd9e6f9ff7d2ce4a7fe13e99b66d4d01c131ac5
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 9f1b7c84b3a8b03707a1787eacedcc2e389e9a00
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Fri Sep 17 15:31:51 2010 -0700

    camera: Send preview frame to event queue if diverted by msm_vfe_sync

    Change-Id: Ia6688e179c84f3cb795899335c1106e9161d434a
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit a1e24ad82f70bf2edbd5686fe37d4f890af71325
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Fri Sep 24 18:26:23 2010 -0700

    camera: Set v6953 MIPI sensor fps to 29.5

    Change-Id: I619bd52cb4ccdbd847bd7e283f456c64f3e1ac06
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit a38b6d32cd420cd6b6d91cd639e111ba5b8b7ae6
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Thu Sep 23 16:48:55 2010 -0700

    camera: Fix for parallel camera broken on 7x30.

    The clock was not initialised which results
    in the failure to set the VFE clock. This change
    is needed only for 7x30

    Change-Id: I004101f0cbbdc8f2084ab60bc5c6601e61b426e1
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit 6f1cfa7c96b06d95999565b1e0daefa5810b47e6
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Sep 22 13:42:34 2010 -0700

    msm: camera: Improve the fps during continuous zoom in recording

    Reduce the unnecessary event message traffic during camcorder
    zoom to improve fps.

    Change-Id: Ie8851d9e208f0c053bbdc2e4b3d773bef3ea7a45
    CRs-Fixed: 256427
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 65f422f8db214a92e6f4b95ff71c14a97eb0ff15
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Sep 16 12:41:30 2010 -0700

    media: camera: Request minimum VPE clock value instead of exact value

    Request same VPE clock value on 7630 and 8660 using clk_set_min_rate.

    Change-Id: I649585c6117a4a4c0ec99b7f3ff4504242c04be8
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 416f59dc70739b7e829f44453715e47d4396c290
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Thu Sep 9 15:44:24 2010 -0700

    camera: Replace printk with CDBG for logging

    Change-Id: Iebeb8e7a6d38c1db098fce129d1fcc17e2927e24
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit eac8afc790b6332ce342613c3c58090bf01d8ac7
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Thu Sep 9 15:27:55 2010 -0700

    camera: Replace mutex with spinlock in interrupt context

    Change-Id: I67d7e4fcc041019b8afecbe8a2059f3aefd8f2d6
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit 0cefe06d965c9d35d51b52d0a4326d341ce8f036
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Mon Sep 13 19:12:28 2010 -0700

    camera: Fix for camera start stop sequence.

    The sequence of startup of camera has been changed,
    so that sensor init is done before vfe init.
    This change is made for all the targets.

    Change-Id: Ic29d85bbe56da4eb4dc0d9292ba052acc575a961
    CRs-fixed: 252856
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit 81d5200b4e98769287da2851e205f635c3613366
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Thu Sep 9 15:08:05 2010 -0700

    camera: Fix the OV7692 Snapshot issue.

    No need to reconfigure the sensor settings for snapshot.
    The setting remains the same as preview.

    CRs-Fixed: 254365
    Change-Id: I5e8285052df8ccd354d52fa2e1f431040dc1d0c5
    Signed-off-by: Abhiruchi Birajdar <abiraj@codeaurora.org>

commit b611dc123449c8b0444f00d27030203ea49d06a4
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Sep 17 12:29:51 2010 -0400

    msm: 7x30: Implement camera flash using PMIC8058 current driver.

    Unlike SURF, FLUID uses PMIC8058 current driver for camera flash.
    The current channel information is implemented as platform driver
    data structure, and passed into camera flash driver.

    Change-Id: I9113626dcebdc9b6b65f359531c92bc4c96d9b42
    CRs-Fixed: 240357
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit ccd056a7b02f97cf0fd20ebe930458ad4251ca76
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Fri Sep 17 14:46:37 2010 -0700

    camera: Fix for setting fps in VX6953 sensor.

    fps_divider is in incorrect format which caused the
    fps to be zero.
    fps_divider is now changed to Q8 format.

    Change-Id: I6bb963330660b61ec3749024c1405ddf053b1d37
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit 6b025449b1acbe23e09da253b254eb2d98273820
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Fri Sep 3 16:31:35 2010 -0700

    camera: Fix the LED Flash issue in Snapshot.

    LED was not turning off after the snapshot. Need to turn
    off both the sources of LED after the snapshot.

    Change-Id: I5ad68ed864d808b73382128e42d6ff400c54a3dd
    Signed-off-by: Abhiruchi Birajdar <abiraj@codeaurora.org>

commit 343d81eff89f6cfd7282095e3232d78be539a025
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Sep 14 10:06:18 2010 -0700

    media: camera: Fix for low fps when VPE is used while video recording

    VPE clock was set as closest match of the request which led the clock
    to run at TCXO. Fix this incorrect setting by requesting exact value
    instead of closest.

    Change-Id: I8cf46d73a4cf6f0728301b5a8f067026702ffd14
    CRs-fixed: 255082
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 160d42d529f7a5563bbd7cd117c83b7f434f0c22
Author: Bryan Huntsman <bryanh@codeaurora.org>
Date:   Wed Sep 8 18:01:18 2010 -0700

    Initial contribution.

    This commit takes the MSM and driver changes from
    git://codeaurora.org/quic/la/kernel/msm.git:android-msm-2.6.32 and
    applies them on top of
    git://android.git.kernel.org/kernel/common.git:android-2.6.35.

    Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
commit 0d9e3f01aad30398888a0fe1cd524494e774ce6a
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Fri Jul 2 16:06:39 2010 -0700

    camera: Change camera flash NSEC to USEC.

    Need to change flash from NSEC to USEC for pwm API.

    CRs-fixed: 251286
    Change-Id: Ie2c8ca1d407fe82810cdab4eae8d0afb83770f81
    Signed-off-by: Abhiruchi Birajdar <abiraj@codeaurora.org>

commit fd286673db9687c9c174ace9c64787dcda0a57d1
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Sep 2 12:17:40 2010 -0700

    media: camera: Fix for the null pointer crash on VFE 3.1

    Added a null pointer check before calling free of a cmd member.

    Change-Id: If7339a6a28f6a7be60b9340b7d8c32b4c722f059
    CRs-fixed: 252727
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 3d14c0d9784244303b08f64c083fe194a91f9338
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Sep 1 17:43:30 2010 -0700

    media: camera: Fix for kernel lock up issue on VFE 3.1

    Need to ensure AXI bus is halted before resetting the VFE.
    Instead of polling AXI_STATUS bit, poll AXI_HALT_IRQ and
    then issue a reset.

    Change-Id: If43618e98689302f7c4c895452979b3e251afddf
    CRs-fixed: 250757
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 9bc33bf502a934f75c8a39360def16d0609c1501
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Sep 1 14:46:55 2010 -0700

    camera:  Fix the conflicting camera GPIO with audio.

    Alternate codec Tx path is mistakenly connected to camera reset_n.
    This is a workaround fix that when camera is not used, gpio will
    be config to input so that it wont drive the GPIO line.

    change-Id: I92fbe735428fcd7d628c5f30e39fe541fbc662a0
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit 9aa17462f1d3d201c32a7b942919d974c1ebb943
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Aug 25 20:28:52 2010 -0700

    camera: To add support for strobe and LED flash.

    This change adds the functionality for LED and
    Xenon strobe flash.

    Change-Id: I9cd1d4e696cd1971e8c3c3c7e4c6cdd0a3d7d5bc
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit 9b02cffad149cdd1a1507eda09ed1fa0bd4550e9
Author: Jay Wang <jaywang@codeaurora.org>
Date:   Thu Aug 26 17:38:27 2010 -0700

    msm7x30: camera: Resolve the incorrect error handling of GPIO request

    Do not re-configure and free the vcm_pwd pin if GPIO request
    for this GPIO fails since the module doesn't own the GPIO.

    Change-Id: I575d4b5f4f31a46bce82a067bf590ddf06fde30a
    Signed-off-by: Jay Wang <jaywang@codeaurora.org>

commit 38d78b0b459f5895c581ecff53122d4154ebb155
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Mon Aug 30 20:58:01 2010 -0700

    camera: Fix the AF I2C address for IMX074

    AF I2C address doesnt require a right shift.
    Removed the right shift.
    Change-Id: I1bb789fd1d8e2583e42d8ffb858ab64d935226be

    Signed-off-by: Abhiruchi Birajdar <abiraj@codeaurora.org>

commit ff004dc0c4b712da073134e0ab06794a97b7fee2
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Wed Aug 25 17:14:11 2010 -0700

    msm: camera: Add 2K alignment support for VPE output buffer

    8660 has requirement for 2K aligned buffer size. Added support
    to align VPE output buffer with this requirement.

    Change-Id: I81de906d0fc231926ba8fc879792211a26873f0e
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit ea655cebe80d5bdcdfebf4f5ca4283400b636ace
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Aug 25 16:26:16 2010 -0700

    camera: Fix AF for IMX074 sensor.

    Changed the AF initialisation sequence for IMX074 sensor.

    Change-Id: I45decf22ee4cd46245c959676407e1d8a7fb2aca
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit afd2f70d8ed57b9e56a074c3572987fe8505ea6d
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Thu Aug 26 11:52:18 2010 -0700

    camera: Add support for Omni Vision VGA YUV "ov7692" sensor.

    This is a VGA YUV sensor. This requires enabling CSI1 interface
    between both sensor CSI1 and CSI1 VFE.

    Change-Id: Ic211b7c1e861b1ebcde430542ffc9c8eef05997b
    Signed-off-by: Abhiruchi Birajdar <abiraj@codeaurora.org>

commit 6247d2d72af40daab107246c69b98f963471e741
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Aug 27 16:40:45 2010 -0700

    Revert "media: camera: Reset VFE only after AXI halt"

    This reverts commit 7e15c2581ca9439a772635a7b551893c6fdd3175.

    Change-Id: I446b79e32aa5c2baad4587ed1c60e158c722c14d

    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 99fde4c29337fb4272fd2c56c07681751ae5aa91
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Aug 20 11:41:01 2010 -0700

    msm: camera: Update to 8x60 VREG for Camera

    Removed unnecessary VREG from Camera for 8x60.
    Added support for VFE, VPE & JPEG foot switches for 8x60

    Change-Id: If834b221b5896f10d918aa154401be731beb3e21
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit e71a9d8bb32fa9db66891e8a227dbf1ece7b1529
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Aug 25 12:33:44 2010 -0400

    msm: camera: Remove long delay in sn12m0pz_i2c_write_byte_bridge.

    The msleep is causing camera startup time to be very long (6-8 secs).

    Change-Id: Ib32291bad66971626456fa1b1cc24e786e9c0209
    CRs-Fixed: 252841
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit fad333aef21994670cbb240e1f877678eecd86e9
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Mon Aug 23 15:38:15 2010 -0700

    camera: Fix for snapshot fps.

    The preview and snapshot uses different
    pll settings so the ratio is taken into
    consideration while calculating the
    snapshot fps.

    Change-Id: I83454e7381ab431ab6068e07d7fba264247d1e76
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit 7e15c2581ca9439a772635a7b551893c6fdd3175
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Tue Aug 24 10:44:11 2010 -0700

    media: camera: Reset VFE only after AXI halt

    Issue a VFE reset only after we get axi_halt_ack_irq.

    Change-Id: I4bba89a920ba71875709c1f2deaabe39189e9760
    CRs-fixed: 250757
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 5893e2088d9e7d5931648b8424672452c54b14bc
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Fri Aug 20 01:43:59 2010 -0700

    msm: camera: Live snapshot feature support

    Added output type for live snapshot frame to distinguish it from
    video frame and code for propagating the frame to userspace.

    Change-Id: Ic7530fa2b143293ae663f91e618953b5c04d384f
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit cfd7d380d920156c262bac48bdff48f7d1a058f2
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Aug 19 13:11:05 2010 -0700

    msm: camera: Fix in VPE for Camcorder crash on 8x50

    VPE is not supported on 8x50. Added check to handle
    VPE functionality based on the Target.

    Change-Id: I1f04483ccd7c8f7a0dc82e254f12f865482eff38
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 174dd3409ba7fea3a2644e9df46ed8d7a16cfb9f
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Fri Aug 20 16:06:21 2010 -0700

    camera: AF support for IMX074 sensor.

    Added code to support AF for IMX074 sensor.

    Change-Id: I583fae6e8847d0a08b4b0b2e5fac9a677b0e46af
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit a9e29c226c62029c61c07680545e055673b0ec49
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Aug 13 13:45:31 2010 -0700

    msm: camera: Support for Dynamic Camera Logging

    Change-Id: I9e798986ee6bf6e5685045e8d35910cfda69cbcf
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit e0962360d8828ebb3551fb95b36e7762d9af8a0c
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Aug 19 15:42:38 2010 -0700

    msm: camera: Updates to 7x30 Camera VREG

    Added support to disable the VREG if INIT fails.
    Made the VREG variables static so that it is not required
    to do get on the VREG while disabling.

    Change-Id: I949344acf026a8d7d9679042576d3962cb706451
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit b81b1f6e59b1cabad6d533e5a127c1244cc11845
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Thu Aug 19 10:10:06 2010 -0700

    media: camera: Add support for NV21 Adreno format.

    Remove the hardcoded values for preview as this will be
    passed from userspace.

    Change-Id: I761131ae39d88f82643f8a65b2996a1e0472d313

    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 9a04b5201fe5af031ef0f91f40ff620fab39aaa7
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Tue Aug 10 22:23:35 2010 -0700

    camera: Add support for video preprocessing engine for VFE 3.1

    Include support for video preprocessing engine for VFE 3.1.

    Change-Id: I82101ccf2fa26aab21c7a95a342d247b0c334a06
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit 75928f231ae249cdf8f0d17416f945f12c32c4d0
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Aug 5 16:20:30 2010 -0700

    msm: camera: Support for Sync Timers for 7x30 & 8x60

    Change-Id: Ia565a8f7028144c6d5f9483cf16c333e98e996bc
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 430b4b0cecf80f7857bacaf2769dafd9c86bacef
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Aug 10 11:03:25 2010 -0700

    msm: gemini: Clear the required irqs in ISR routine

    Fix for freeze issue while frame_done irq occurs while processing
    FE_done irq. Added the code for clearing only the necessary irqs
    in ISR.

    CRs-Fixed: 247681
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>
    Change-Id: Ic07f18c3bc3c1715eb8d11b2b1a98c4b5cb813d0

commit 5eafe5588a02e7f50d22beebf0632402f5d2b023
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Aug 6 11:26:21 2010 -0700

    media: camera: Skin color Enhancement feature

    Added support for Skin Color Enhancement on VFE 3.1

    Change-Id: I451485c6e6ba9c30c97fb261bc6852752fd050cb
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 593149c1d4dc34eed087a2b9c8ebe97605044c1b
Author: Patrick Pannuto <ppannuto@codeaurora.org>
Date:   Tue Jun 29 16:40:24 2010 -0700

    camera: Rename namespace conflict msm_device --> msm_cam_device

    msm_device is too generic of a name to be taken by the
    camera drivers / devices, particularly with upcoming bus
    work that seeks to define an msm_bus, msm_device, and msm_driver,
    the SUBSYS_device name should belong to the LDM code

    Change-Id: Iefe52284bc7de921e53ff2eea2154bb65e551b60
    Signed-off-by: Patrick Pannuto <ppannuto@codeaurora.org>

commit d88bd44fd6a6c8e3696eacf51a0000fc04f75c26
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Jul 29 14:56:54 2010 -0700

    msm: camera: Gemini JPEG Encoding support for 8X60

    The JPEG IRQ names are different between 7X30 & 8X60.
    Since the Gemini driver is shared between 7X30 & 8X60
    added code to have the same IRQ name for JPEG. Also moved
    the JPEG clock enable & disable to the hardware
    specific IO files for 7X30 & 8X60 respectively.

    Change-Id: I638c6d1e64b7047eb7e25a346eac06e5ed241c28
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 14626a7816bc97331ae2b5b45dcd976ccbe565e7
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Fri Jul 2 11:01:49 2010 -0700

    camera: Correct the naming convention for VX6953 Cut3 sensor.

    Added a new check for the revision number VX6953 Cut3.0 sensor.
    Also Added a new enum for the sensor type.

    CR-fixed: 243633
    Change-Id: If9a3640e1b9a880bb39f1a47fdb836407cf110d1
    Signed-off-by: Abhiruchi Birajdar <abiraj@codeaurora.org>

commit ee056082ea474fda7710b075510edc1209132c3d
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Tue Jul 27 14:47:58 2010 -0700

    camera: Reduce the snapshot fps for IMX074 sensor.

    Change the snapshot fps to 26 for IMX074 sensor
    where as the preview is at 30 fps.

    Change-Id: Ie6371a97fb516fd8e0502d126bb6e4eccee0bf58
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit 778078f0f1b3d74fe7d65bde0572d330d24cabbd
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Thu Jul 15 14:30:06 2010 -0700

    camera: Add camif error reporting support for vfe3 and vfe3.1.

    Add camif error detection and reporting support for vfe3 and vfe3.1.
    CRs-fixed: 244134
    Change-Id: I1fce61217c47449807f7177d8e91c13abef12d6a
    Signed-off-by: Abhiruchi Birajdar <abiraj@codeaurora.org>

commit ac7e48c36305b4df6ea0d6368e5db950422dfecc
Author: Nagesh Reddy <nageshsreddy@codeaurora.org>
Date:   Wed Jul 21 12:32:16 2010 -0700

    media: camera: Revert back the changes for NV21 Adreno format

    Reverted the changes made for NV21 Adreno format,
    since no user space support yet.

    Change-Id: Ied061a24823c4de4bb9000b82da2d2ef90b27dd0
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 38559bedede018cd12302b9d4afcc73c7ee5f442
Author: Azam Kapatrala Syed <azams@codeaurora.org>
Date:   Mon Jul 19 14:42:08 2010 -0700

    camera: Add support for NV21 Adreno format.

    Remove the hardcoded values for preview as this will be
    passed from userspace.

    Change-Id: I5ada793208b1b249c4885f9085c601d36101f381

    Signed-off-by: Azam Kapatrala Syed <azams@codeaurora.org>

commit afca0b48329ef4d35de4fc8dc9b87aaf4ec14f55
Author: Yen-Pin Hsiao <yphsiao@codeaurora.org>
Date:   Fri Apr 9 15:46:15 2010 -0700

    msm7x30: camera: Sony 12MP Bayer sensor support.

    Addition of new files for supporting
    Sony 12 MP Bayer sensor.

    Change-Id: I45133ff8140b040cc1974ba7e636fb2470c0cf62
    Signed-off-by: Yen-Pin Hsiao <yphsiao@codeaurora.org>

commit da0f2bd63d28ce6ddf50c981a512d03d3afbd01f
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Jul 16 13:58:22 2010 -0700

    camera: Support multi-frame snapshot for Post Processing on 7X30 & 8x60.

    Added support to handle multi-frame snapshot post processing. The camera
    driver keeps a count of number of snapshot to take & deiverts the frames
    for post processing. Once post processing is done snapshot done message
    is sent to the  once all the snapshots & completed.

    Change-Id: If844cc37c4797801423c0f1a83627fd8f642d5c3
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit e2cacbd4c5a9ee566f0d3c1077bc257a3168fa37
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Mon Jul 12 18:04:47 2010 -0700

    camera: Increase buffer size to accomodate zoom ratio array.

    Need these to pass the zoom ratio array to the user space.

    Change-Id: I75e562aee9a035c3985cea14d5c1c3c1f7d6f955
    Signed-off-by: Abhiruchi Birajdar <abiraj@codeaurora.org>

commit 78a7133f74681bb8183a020c5bc75b4dfd5c9041
Author: Larry Bassel <lbassel@codeaurora.org>
Date:   Tue Jul 13 15:03:57 2010 -0700

    Revert "[ARM] msm: camera: request EBI1 to run at 128MHz when camera is in use"

    This reverts commit a90a65576ada7ddbea7c593afdc3ec5f7d793f7e.

    The original patch was one taken from the Google .32 tree.
    The patch set the EBI1 clock rate to 128Mhz when the
    camera is in use. However this breaks the camera for us, so it
    is being reverted.

    Change-Id: Ie859ea8ad70020b1a43b33da1b78fe6a2384bfb5
    Signed-off-by: Larry Bassel <lbassel@codeaurora.org>

commit 8d4d4493cc1e7135f37406be0dc3b03edafaeae0
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Jul 7 16:03:27 2010 -0700

    camera: Increase fps to 30 for IMX074 sensor.

    Change of pll settings so as to change the
    preview fps for IMX074 (Sony 13MP Bayer sensor).

    Change-Id: Ia09181c843a87bc3e87bfe98a2fb95220b987b8c
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit c41d01951acde55f76c857c9b589ba2e75ea9005
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Tue Jun 29 15:54:27 2010 -0700

    camera: Support for IMX074 sensor.

    Addition of new driver files to
    support Sony 13MP Bayer sensor.

    Change-Id: Idaee470b4ae68ec4c0d23c453245af95208e1bba

    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit 4b904b6b38743b42d1ef49af9d7e523e094b6c0c
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Wed Jun 30 11:48:26 2010 -0700

    camera: Fix for camera hang when camcorder recording stop is issued.

    As the tasklet scheduling is not synchronous to that of the IRQ trigger
    all the ISR commands gets queued up untill the tasklets get scheduled. This
    fix makes sure to increment the irq counter and queue the command when ever
    irq happens. Eventually when tasklet gets scheduled all the queued commands
    are serviced in a whie loop decrementing the counter.

    Change-Id: I00f860cfd7317375753dbc272652ce5df6d293d3
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 72edd00152c6de9bae8208345f0506796ab2e494
Author: Azam Kapatrala Syed <azams@codeaurora.org>
Date:   Fri Jun 25 16:58:25 2010 -0700

    camera: Add fix to support SOF ack.

    Make change to support SOF ack to userspace.

    Change-Id: Icb9a361cbadd41335acf3b7696c4d862beebde42
    Signed-off-by: Azam Kapatrala Syed <azams@codeaurora.org>

commit 2aa2879257ad4b6998310869bc223d9b97d80006
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Tue Jun 22 12:48:50 2010 -0700

    camera: Support for 8x60 camera driver

    Added camera driver IO support for 8x60 & updated the
    Makefile.

    Change-Id: Ifb98d0f46b37efee927bbc4670432d3073ee1961
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 211c7a1304ef45a5dc50ea911c363fe5ff5741fd
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Tue Jun 22 12:33:52 2010 -0700

    camera: Disable camera flash on 8x60

    As there is no support for led flash is pmic disabling camera
    flash on 8x60.

    Change-Id: I086549a3257b8909b2f966f8c0e40c63103aafa6
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit 738e7c98550bd282b2db5772dc3ea606e6758701
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Wed Jun 9 11:37:09 2010 -0700

    video: gemini: Remove PM_QOS request when offlining

    Remove the PM_QOS request. The PM_QOS request is crashing during
    gemini offline testing. A bus freq set by the camera driver is
    sufficient to run gemini. The PMQOS request will be added once the
    crash issue is rectified.

    Change-Id: I3df00b8c87111e6d6880feadbb98548ff468fb83
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 972be04177fe2371f7b1a33e49d9de5dea4dff6b
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Tue Jun 15 16:37:30 2010 -0700

    camera: Disable parallel sensors for 8x60.

    8x60 only supports MIPI sensors, therefore disabled parallel
    sensors enablement by default for 8x60 target.

    Change-Id: I80e728f8109e89cba7d7335b460f635870d1cd8b
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit c9d176aeafb7cfbb2da69386488f001843b6def3
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Mon Jun 14 14:59:22 2010 -0700

    camera: Support for dual camera sensor clock enmumerations for 8x60.

    Added clock enumeration support for dual camera sensors for 8x60.
    Updated 7x30 to compile with the new clock enumerations.

    Change-Id: I49508166c2b53ebdec74afe0af61139b05481b71
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit e1a71a936cdd89c12d323ca53f7a404199ad9e67
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Mon Jun 14 14:56:27 2010 -0700

    camera: SOF acknowledgement to VFE.

    This change acknowledges the start of frame(SOF) interrupt
    to the user space.

    Change-Id: I65d2bb52d705305d88cf85a7b039d04a6c02285b
    Signed-off-by: Abhiruchi Birajdar <abiraj@codeaurora.org>

commit 7fa48e7c4a6720c45ba4674fdfa265bc00d81e6c
Author: Abhiruchi Birajdar <abiraj@codeaurora.org>
Date:   Tue Jun 8 15:30:58 2010 -0700

    camera: New Register settings for CUT3 VX6953 sensor.

    CUT3 sensor has new register and patch table settings.
    Also put a check for CUT2.0 and CUT3.0 before register update.

    Change-Id: I334d85bbd927c4120e621883b1651c3c28da41c5
    Signed-off-by: Abhiruchi Birajdar <abiraj@codeaurora.org>

commit fd27fc8f1edd31ed64d5f8aa08aa2f1ec2420534
Author: Nagesh Reddy <nageshsreddy@codeaurora.org>
Date:   Fri Jun 4 11:35:11 2010 -0700

    media: camera: Fix for the concurrency issue

    Added a mutex lock to fix concurrency issue of processing
    more than one blocking call at a time.

    Change-Id: Ia8dedb5b4066c9378d4f63d7762cd46236c6f369
    CRs-fixed:238520
    Signed-off-by: Nagesh Reddy <nageshsreddy@codeaurora.org>

commit 1998ae383071786cadc05b8841f8fc4fa8be1fae
Author: Willie Ruan <wruan@codeaurora.org>
Date:   Wed May 26 17:22:57 2010 -0700

    msm: 7x30 pm8058 pwm: add 7x30 pwm 'enable' callback

    Using pm8058_pwm_set_dtest for channel 7 is 7x30 board specific
    and pm8058 chip specific. Thus it is better to be called in the
    pm8058_pwm_enable callback. Remove the mutex in the function to
    avoid deadlock.

    Change-Id: If05b84d3cf0a7aee73469c37b646a10ef46a5e00
    Signed-off-by: Willie Ruan <wruan@codeaurora.org>

commit 4872cf3ae85c9920ac102beedc7ccf4624aff645
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri May 14 11:00:22 2010 -0700

    camera: Fix for regular snapshot post processing.

    Added support to send the thumbnail image buffer information
    to the config thread in the user space. Also added a branch
    after main image information is collected there by avoiding
    raw snapshot buffer iformation from overwriting the main image
    buffer information.

    Change-Id: I8c52d3e0ef148ba12b1fd39265469820f3f17233
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

Signed-off-by: David Brown <davidb@codeaurora.org>
2013-02-25 11:29:46 -08:00
David Brown
cc61930243 msm: vidc: Video driver support for MSM SOCs
Including the following commits:

commit 827990a603b5cc329396d4050259b4df13c8a936
Author: Deepak Verma <dverma@codeaurora.org>
Date:   Wed Dec 5 12:55:01 2012 +0530

    msm: vidc: Separate meta buffers support in secure mode

    Extradata is appended at the end of each output buffer
    in non secure video use case but in secure video playback,
    the client/CPU don't have access to the output buffer
    to parse the extradata. This change allows the client/CPU
    to parse the extradata by allocating separate buffers for
    video hardware to store extradata.

    Change-Id: Iace175ae8ee81ab02a2bac2810d1bb13b51e5a0b
    Signed-off-by: Deepak Verma <dverma@codeaurora.org>

commit 1af9051387bad64a5b6469464de5182d3f0d1265
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Sat Oct 20 16:51:22 2012 +0530

    msm: vidc: Add LTR feature for H264 encoder

    This change adds Long Term Reference picture
    selection feature for H264 video encoder.

    Change-Id: I7b9ba82d25a249e5663f25d6f7c81e5f1aefc071
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit c165675bf03feb182bfd46d2ac5ceebcf4987f74
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Tue Dec 11 19:26:49 2012 +0530

    msm: vidc: Amend the check to reset data corrupt flag

    We should reset the data corrupt flag only for codecs
    other than H264 and MPEG-2 in line with the video firmware
    support. Hence, modify the conditional check.

    Change-Id: I7c4d5557a3f9b1d1762fe7cfcd5693a6760188f0
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 784a03e0694d6409a30fdf3a3c32ea3412126fe1
Author: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Date:   Wed Dec 5 17:53:12 2012 -0500

    vidc: Disable error logs in video driver.

    Change disables error logs in the video driver
    which was enabled by default.

    CRs-fixed: 429938
    Change-Id: I9288b4e49f87c01fd4e8e9aef74471dac696adce
    Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>

commit 8084f4f40b8b6d66d2b5c6a572b4f22c6817d75b
Author: Shobhit Pandey <cshopan@codeaurora.org>
Date:   Tue Nov 27 11:12:54 2012 +0530

    msm: vidc: Add support for H263 PlusPType flag

    Some video players does not support pluptype
    flag in H263 video format. This change adds
    support in video driver to enable or disable
    plusptype flag for H263 format.

    CRs-fixed: 420970
    Change-Id: Ie0a78cba289227d51be1c83b83f633c75b446de9
    Signed-off-by: Shobhit Pandey <cshopan@codeaurora.org>

commit ce5f973881c11491c3fa35ceb8c945a6c8ee2b8f
Author: Shobhit Pandey <cshopan@codeaurora.org>
Date:   Mon Nov 5 10:44:37 2012 +0530

    msm: vidc: Modify the MPEG-2 aspect ratio calculation

    MPEG-2 display aspect ratio calculation was done similar
    to MPEG-4 standard. Correct it as per the MPEG-2 standard
    and video core interface specification.

    Change-Id: I1aa98ca238c7b38e35c78905b29457cfa59edd45
    Signed-off-by: Shobhit Pandey <cshopan@codeaurora.org>

commit d29699f68f348bf0a20be90b4c167e57c901a913
Author: Hariram Purushothaman <hpurus@codeaurora.org>
Date:   Mon Oct 29 16:46:26 2012 -0700

    msm: Add camera special effects

    Add new camera special effects
    vintage warm, vintage cool, faded, accent green, accent blue
    and accent orange.

    Change-Id: Ie8a06ca64812834db05b2b81e3bc041a960463c1
    Signed-off-by: Hariram Purushothaman <hpurus@codeaurora.org>

commit 4f8bc3a092e88ffcefbbd1079e933dbd7680c1cb
Author: Srinu Gorle <sgorle@codeaurora.org>
Date:   Thu Nov 15 09:36:38 2012 +0530

    msm: vidc: Adds VUI timing info support for AVC encoding.

    Poor video quality is observed as VUI fps information is not present in
    the encoded bit stream. Add support for VUI timing info in video driver
    and an additional V4L2 control to set from user space.

    Change-Id: I3594903cb897920ea2ef93208644ac8c6ca5d5d9
    CRs-Fixed: 399017
    Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>

commit c84a451e5e540120ece63d9156d592fa523e410d
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Mon Nov 26 11:37:24 2012 +0530

    vidc: Fix EOS handling if video h/w has a frame in transaction

    In case of video hardware is encoding a frame and EOS buffer with
    with zero data length arrived, set the EOS flag to the transaction
    available in the transaction table which will be passed to the
    client in frame done callback from the video hardware.

    CRs-fixed: 406950
    Change-Id: I094c0cb46906873092044ee64fc1f1299df7a426
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 8105df366cf6b9f1ddbc15d561fb6a5f12540416
Author: Srinu Gorle <sgorle@codeaurora.org>
Date:   Wed Nov 7 01:19:06 2012 +0530

    msm: vidc: Avoid memset of list elements in the buffer entry.

    - Due to race condition between free buffer and flush output buffers,
      invalid buffer is getting accessed sometimes.
    - Reset all the members in buffer entry except list elements.

    Change-Id: Ia2a3bc4343fc557a6e6d7d9ad93a29a7ab3dfb81
    CRs-Fixed: 411197
    Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>

commit d68ca84da4a5c68eb2caf1f9e4dbb665bba5a05c
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Mon Nov 19 19:15:50 2012 +0530

    msm: vidc: Add support for Mpeg-2 open-gop handling

    ISDB-T client requires flags indicating the correctness
    of output YUV data from MPEG-2 decoder. With this commit,
    DATA_CORRUPT flag is sent from the driver if the output
    YUV is either INCORRECT or APPROX_CORRECT.

    Change-Id: I72e8ba81f45200715a195497d4eae140cbe86616
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit ad602ee37a66d0dd2e23991fbc6a65f3cb296c12
Author: Riaz Rahaman <riazr@codeaurora.org>
Date:   Wed Nov 14 10:15:57 2012 +0530

    vidc: skip meta buffer header initialization in secure session

    Accessing meta buffer allocated from secure heap causes EBI errors due to
    permissions. Meta buffer header initialization not required in secure
    session, skip to initialize.

    Change-Id: I191dcc73ad84be98d832b69ebde60c0e13c89350
    CRs-Fixed: 418217
    Signed-off-by: Riaz Ur Rahaman <riazr@codeaurora.org>

commit 7f723dc68499812c492de39ca0577c1986dbd790
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Fri Oct 12 22:58:13 2012 -0700

    msm: camera: Create v4l2 subdevice for flash modules

    All hardware module drivers except flash are created as v4l2
    subdevices in msm camera architecture. This creates
    inconsistencies in treating hardware drivers at msm media
    controller layer. To have transparent framework and call flow,
    Create v4l2 sudevice for flash modules and register with
    msm mctl. Create drivers for individual flash modules and
    trigger flash functionalities based on wrapper functions
    initialized in function table. Create i2c driver for flash
    modules driven by i2c and platform driver otherwise.

    Change-Id: I15cf00f3f443edb2aeb8cf21ba41ce977c3d4c86
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit c4a5719e6e1b68319daef8ee218b379bd415566f
Author: Srinu Gorle <sgorle@codeaurora.org>
Date:   Sat Nov 3 21:08:56 2012 +0530

    msm: vidc: port heap mask change to ion for secure session

    Changes to pass ION_SECURE in the correct argument field
    while calling ion_alloc. Without this change secure session
    fails.

    Change-Id: Ifa4878b1c312beafc735cb649570913159799d7c
    Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>

commit df2e15c49775f68d0af4db030e59e070663e02ff
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Thu Nov 1 06:29:56 2012 +0530

    Vidc: Treat Non-IDR frame type error as bit stream error

    Hardware error is being generated from driver when video
    core returns NON IDR frame type error during thumbnail
    decoding. This change handles this error by treating
    it as BIT_STREAM_ERR.

    Change-Id: I16a19eea679d42a22b336d6ebbd0bd1f57c0a8a4
    CRs-fixed: 414858
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 77db8bb9741de2d09f52947a7f6dff89110f3f99
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Wed Jun 27 15:15:16 2012 -0700

    treewide: Replace pil_get()/put() with subsystem_get()/put()

    Do a tree wide sed to replace pil_get and pil_put() with their
    subsystem counterpart. With all the pil drivers migrated over to
    the new subsystem start/stop API this is essentially a no-op.

    We rename "q6" to "adsp" to be more in line with how future
    chipsets name the low power audio subsystem. This requires minor
    changes to userspace; hopefully no more changes will be
    necessary.

    Change-Id: I22dbbdcf7f5aaaa80394a6d70b5cfc24cdb32044
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

commit b17e0929632bbd5c9d228ae4d12c51b31afca057
Author: Deepak Verma <dverma@codeaurora.org>
Date:   Tue Oct 23 14:30:30 2012 +0530

    msm:vidc:Reset average decode time after setting DPB buffers

    In case of VGA/720p clips with higher frame rates, when
    average decode time taken by the core is found to be
    greater than 33ms, the clocks are bumped to the next level.
    But the calculation of average decode time was erroneous,
    due to which clocks started bumping up for other clips also.
    This change resets the average decode time after setting
    the DPB buffers and thus it corrects the calculation for
    average decode time.

    Change-Id: I3d7ab5a63e202a70a8e05f42dd4f989ce92b4bac
    CRs-fixed: 409475
    Signed-off-by: Deepak Verma <dverma@codeaurora.org>

commit 31bb7dc8e3a4d01262727349b30bb3007fd474bd
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Wed Oct 31 10:04:28 2012 +0530

    msm:vidc: Amend error checks on ION API failures

    This change will validate the ION API failures
    to fix target freeze issues.

    Change-Id: I00fee94955ba9f0e72734daccd22aa7d0bf86dda
    CRs-fixed: 412958
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 5a60819aeb698b9d27937329bb5559a7a787a06e
Author: Shobhit Pandey <cshopan@codeaurora.org>
Date:   Tue Oct 9 17:51:53 2012 +0530

    msm: vidc: Correct the decoder profile info assignment

    Update the profile info in the sequence header with the
    info which the core returns in the shared memory register.

    CRs-fixed: 408349
    Change-Id: Id8a284d048f8ca68f080fd59403c995b7a9e4637
    Signed-off-by: Shobhit Pandey <cshopan@codeaurora.org>

commit efc1225298ab93d5bb5c9894324804d6c6a6a0a3
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Thu Sep 13 12:19:13 2012 -0700

    msm: camera: add BE stats support for vfe40

    1.Configure VFE Bayer Exposure(BE) stats registers to collect BE
      stats for 3A to decide total gain to apply on camera.
    2.Add buffer support to collect Bayer Exposure stats for 3A to use.
    3.Allocate and release buffer properly for BE stats.

    Change-Id: Ib857173aa195b9ff1d8b44cf7ba5f9a4a0d30621
    Signed-off-by: Peter Liu <pingchie@codeaurora.org>

commit a6e56522c41fe69a82a34ed99e03ba40b333e77c
Author: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Date:   Wed Oct 3 16:39:50 2012 -0400

    vidc: Turbo mode for multiple instances.

    If macroblock count per second goes beyond 1080p 30fps
    bump clock to turbo mode on supported platforms

    Change-Id: I48c34c9b6987706ea3e6b412b57791e2ae07ba52
    Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit 8c7e367a5ccd1c78c728657a14f08d6956b72e50
Author: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Date:   Wed Oct 3 20:23:47 2012 -0700

    msm:vidc: Fix buffer pool index

    While searching for the available buffer entry
    in the buffer pool the search should begin from
    index 1 as zeroth entry is reserved.

    CRs-fixed: 366361
    Change-Id: I051b0232bb782f073ba9ad0b757a799703814df3
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit 06079c8bfe77e8f2952396de1bfcd4711494a1de
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Wed Aug 22 14:10:27 2012 -0700

    msm: camera: remove 512 bytes limitation from ctrlcmd payload.

    This change removes the 512 bytes length limitation from the
    payload data passed to the server thread, as part of the control
    commands

    Change-Id: I871b6a6d467f86431bb5d701784231d7142d60d2
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 2cd6f1a77d845c162966b974b0e9dd4db0878020
Author: Arun Menon <menon@codeaurora.org>
Date:   Mon Oct 1 16:44:56 2012 -0700

    msm: vidc: enable video core clock to 266Mhz

    This change will ensure that video core clock is
    set to 266Mhz on supported devices, else fallback
    to 228Mhz.

    Change-Id: Ia37271f5c762e6f5528f386077c90ec4a5034ca4
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit ed1430f0336a587a63729d2b698f9e23de46c95d
Author: Aravind Venkateswaran <aravindh@codeaurora.org>
Date:   Wed Sep 12 17:00:27 2012 -0700

    msm_fb: HDMI: Remove HDCP Kernelconfig

    Remove the kernel config parameter for HDCP since enabling or
    disabling HDCP will now be controlled using a corresponding
    module parameter.

    Change-Id: Iae23b8fa66ca75d99423547e77f850f3c86615ee
    Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>

commit 7ea965018a5c758048f3e96d2ec50366def69997
Author: Aditya Jonnalagadda <ajonnala@codeaurora.org>
Date:   Wed Sep 12 12:45:18 2012 +0530

    msm : camera : Fix Livesnapshot issue

    Create a seperate image mode for vfe2x liveshot to select
    buffer from the proper queue based on proper image mode

    Change-Id: If98ba5ff200f8527bb2cb327f4693e54cd865dd3
    Signed-off-by: Aditya Jonnalagadda <ajonnala@codeaurora.org>

commit efe5bf34b4a98849ab2dcd34945815e218308eaa
Author: Srinu Gorle <sgorle@codeaurora.org>
Date:   Wed Sep 5 13:02:13 2012 +0530

    msm: vidc: Adds AU delimiter support for AVC.

    Add new V4L2 control to set AU delimiter for AVC.

    Change-Id: I099c016de941b16c7e646474e371315224abe6bf
    CRs-Fixed: 389030
    Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>

commit 76b9b4d881b32c13356c736a07b2ee363d5ddd9b
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Mon Sep 17 14:33:22 2012 -0700

    ion: remove obsolete ion flags

    The symbols CACHED and UNCACHED have been replaced by ION_FLAG_CACHED
    upstream. This removes them from the kernel.

    Change-Id: I565dcc4595298ce6a0e81dd8cb98b86a1b38fdb2
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 911b4b702a63fbd241863966cad45909e40e4665
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Wed Sep 12 14:42:50 2012 -0700

    ion: change ion kernel map function to not take flags argument

    Buffer flags are going to be specified at allocation time rather than
    map time. This removes the flags argument from the ion kernel map
    function.

    Change-Id: I91589ca7b1ab142bb5ac8e6b0f4c06fa1305f23a
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 7d72bad55a0e03392d81eee77a9a8c9df6b73a9a
Author: Hanumant Singh <hanumant@codeaurora.org>
Date:   Wed Aug 29 18:39:44 2012 -0700

    ion: Port heap mask change to ion

    Heap mask field passes as argument at allocation time to specify ion
    heap.

    Change-Id: I8881dfc491dc0f8f70581ad97b35756a6a33dd6d
    Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit fde67e239d8ac3a1e983b7d82d0c37af47464138
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Sep 14 16:18:34 2012 +0530

    msm: vidc: Reset data corrupt flag for non-H264 decoder

    Core does not set display correctness flag on decoder
    output buffers for non H264 video codec. With this change,
    we reset the data corrupt flag for non-H264 codec.

    CRs-Fixed: 397599
    Change-Id: Ibc7f701cf39e41ba6059ab1c1e09f83e77528a69
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit e85abe76d75890d9a7c34d8e3b085d3787e37d7f
Author: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Date:   Tue Sep 11 19:44:53 2012 -0400

    vidc: Memset context buffers for non-secure playback.

    Driver will memset context buffers for non-secure playback.

    Change-Id: I6669481da3076a392061868475fc9844f2c41064
    Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>

commit 43b203869814fe5f0ddcb265a8f859aebdaa652f
Author: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Date:   Wed Sep 12 12:03:21 2012 -0400

    vidc: Handle EOS with Codec config buffer.

    Change will handle codec config buffer with EOS.
    Video driver will make sure that the codec config buffer with
    EOS will be requeued in case of reconfig and non-reconfig paths.

    CRs-fixed: 399347
    Change-Id: I94ed460b04b76663895c6690c2f866590ac51c7d
    Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>

commit f3658e53b1cf551dfbfe1544369beed80626b1c5
Author: Deepak Verma <dverma@codeaurora.org>
Date:   Fri Sep 14 16:44:00 2012 +0530

    msm: vidc: Correct the display size of small resolution clips

    We change the frame height in the decoder to MDP_MIN_TILE_HEIGHT
    for the videos with frame height less than 96. Due to which these
    videos were not being displayed properly. This change fixes the
    display change.

    Change-Id: I7acc74742a8cfbdfc79b02bd20bb9109f4389fa2
    Signed-off-by: Deepak Verma <dverma@codeaurora.org>

commit 252fa6a4149870642b66a6b858754e280b01612d
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Thu Sep 6 10:28:47 2012 -0700

    msm: camera: include msm-specific ion header

    All msm_ion clients need to use <linux/msm_ion.h> instead of
    <linux/ion.h>

    Change-Id: I38fb66bb9d0cf4d279fc4536c4d165d798076968
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 1356b5826e2f9c75ac3feef61ff31fa272a97232
Author: Srinu Gorle <sgorle@codeaurora.org>
Date:   Wed Sep 5 18:14:24 2012 +0530

    msm: vidc: Enable turbo mode based on client request.

    - video core is bumped up to turbo mode, if more performance
      level required from multiple clients.

    - Enable turbo mode atleast one of client set turbo mode.

    Change-Id: Ied777463fdfe54ea6ff3b2a29cbaf0d27a9586cb
    CRs-Fixed: 385454
    Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>

commit 221a948caac6f9e4132e0fd35c439b78aaa123f1
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Mon Sep 3 05:36:04 2012 +0530

    msm: camera: Enable RDI snapshot.

    Add support for snapshot through raw dump interface which bypasses
    image processing pipeline. This will be used in case of concurrent
    camera when PIX interface is used by one camera. Do a bus reload
    for ping pong buffers individually for each write master for every
    mode that it is started with, as a global reset command may not have
    been issued. Add separate bus scale parameter and keep the crystal
    clock unmodified in case of RDI camera snapshot operation in
    parallel with PIX camera.

    Change-Id: I8b1eb70e623ecd9cc8fe02b5a58e496aa2c016c4
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit b2295e885966a000cceedcfd4a6462113fe3be4a
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Tue Sep 11 21:18:12 2012 +0530

    vidc: 1080p: IDR picture type support for H264 format

    Read IDR picture type from 1080p core register set
    and propagate it to user space using IDR frame type
    enumeration in api header file. The IDR frame type
    info is used in SYNCFRAME logic for H264 format in
    userspace.

    Change-Id: Ic677eb4d28469f6712832b7e09050467420eb70b
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 83a79a554d0039b94666f90d86409059700d6ec0
Author: Mitchel Humpherys <mitchelh@codeaurora.org>
Date:   Thu Sep 6 10:49:02 2012 -0700

    msm: vidc: include msm-specific ion header

    All msm_ion clients need to use <linux/msm_ion.h> instead of
    <linux/ion.h>

    Change-Id: Iaea1b2949cbb1e58a33609f50bc2f96e8583245a
    Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>

commit 86ec84fd00c8d6d51ddf0acc2e03cb0f29d15e91
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Sat Sep 8 21:20:51 2012 -0700

    msm: camera: enhance global media controller lookup table

    The existing global lookup table cannot handle the use case that
    two camera devices uses the same image mode. Actually,
    for the SoC camera its pixel image mode are only used for post
    processing. Protection is added to enable this use case.

    Change-Id: I2b560bdc32417a22f0198c948e9734381c2e8f70
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 4f9d27fa52364737a97f16f9379da3c515b49fd2
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Tue Aug 28 23:51:38 2012 -0700

    msm: camera: Enable front camera or cam1 for 8974

    Add support for CSID cores to enable CSID0 clocks by default since
    CSID1, CSID2 and CSID3 cores requires CSID0 clocks. Add support to
    extract phy-sel value from device tree node and pass it to CSID core.
    With phy-sel value in device tree node, sensor can choose CSIPHY core
    and CSID core to use for streaming. Reading buffer if probe fails causes
    CCI to enter into bad state and future I2C call fails. Avoid CCI from
    reading buffer if probe fails.

    Change-Id: I18334db0526c1b86f3f2713b63cd7e7c0d1ddb84
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit f250c0e7b35bc1348d37721a1870bd4c9b27ba3a
Author: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Date:   Fri Aug 17 17:15:02 2012 -0400

    vidc: Handle descriptor buffer error as warning

    Driver will consider descriptor buffer empty error
    as warning and will continue to decode next frame.

    Change-Id: Ia89ea520131f9b3e1bbe68727c34fb72685d5af9
    Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>

commit f01274b904a4899b13c64f35f2479a1080bfb2c4
Author: Deepak Verma <dverma@codeaurora.org>
Date:   Fri Aug 24 18:15:58 2012 +0530

    msm:vdec: Correct filled length of the output buffer

    Filled length of the output buffer at FBD for videos
    with frame height less than 96 was incorrect. With
    this change, we get the proper filled length.

    CRs-fixed: 395179
    Change-Id: I12d60ef653225b0bf2f0088e515cac19a19ed80a
    Signed-off-by: Deepak Verma <dverma@codeaurora.org>

commit 9683019e54e8a8c38b6019b781a9cbdf41b84b29
Author: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Date:   Tue Sep 4 13:13:28 2012 -0400

    vidc: Free client context in error cases.

    Video driver should free client context when an error
    is encoutered.

    Change-Id: I80255334ddbcb55a655795c0a7a10eb0cbf66cde
    Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>

commit d07478ceb1d9cb92dad90d64c507941bac3886e7
Author: Shobhit Pandey <cshopan@codeaurora.org>
Date:   Mon Aug 27 12:30:28 2012 +0530

    msm:vidc: Add temporary buffer for MPEG-2 extension and user data.

    Support is added to enable temporary buffer for processing
    the MPEG-2 extension and user data for the first sequence
    done.

    Change-Id: I2274f87b43f4d193da7edb464918ec214ec12563
    Signed-off-by: Shobhit Pandey <cshopan@codeaurora.org>

commit 24631e349a3f306cc3b06fb411d5fb1f7ac8f0ae
Author: Arun Menon <menon@codeaurora.org>
Date:   Thu Aug 16 13:53:19 2012 -0700

    msm: vidc: suppress non-fatal error messages.

    These messages are non-fatal and appear frequently
    during video session. Hence suppressing them.

    CRs-Fixed: 389408
    Change-Id: Ic77c9b57fdda58dd4eaf0fff2762df58335c7beb
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit 4dd8c627764b9bd362f78085ed469969c2ddbe7f
Author: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Date:   Tue Aug 28 14:21:32 2012 -0400

    vidc: Error handling for memory heap mapping.

    Memory heap should be unsecured if secure call is successful.
    This change will make sure that an unsecure will be called
    only if securing of the memory heap went through fine.

    CRs-Fixed: 393041
    Change-Id: I49dd81d1846fc6936518c750a32921c8498ddb95
    Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
    Signed-off-by: Riaz Ur Rahaman <riazr@codeaurora.org>

commit 7f5ad416d565fb84766e4b0944bab5ee3dd2b42a
Author: Deepak Verma <dverma@codeaurora.org>
Date:   Thu Aug 30 18:03:26 2012 +0530

    Revert "msm: vidc: Correct calculation of yuv buffer size"

    This change is giving side effect if frame height is non
    multiple of 16 for video encoder.

    This reverts commit 3a2945ef2385ae934ab4df98f26651d132b7b4fc.

    Change-Id: I522b8777b233faf8da736d6c62456fbc96262b0a
    Signed-off-by: Deepak Verma <dverma@codeaurora.org>

commit 909aebf7bd4d89fb5acccd64b27349cf93a736e0
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Tue Jul 17 17:17:12 2012 +0530

    vidc: fix wrong number of slices in slice delivery mode

    The slices completed is not matching with the expected number
    of slices in frame done. The fix is available in July firmware
    release and this commit will have the corresponding video driver
    changes.

    CRs-fixed: 380629
    Change-Id: Ia5c2cce2e95e31deac023a6c855fd385494ee56b
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 51dbdc50dfb565d9ec15a1b3299fda3d928f83a5
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Sun Aug 19 22:01:09 2012 -0700

    msm-camera: adding new image mode for VFE streaming

    Added two more VFE stand along streaming modes.

    Change-Id: Ifd4c9647c66bcba41438ea11636f030519ed6511
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit d0003770b8cc828ab54adf115e0daf09ec47639c
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Wed Aug 8 19:36:21 2012 -0700

    msm: vidc: Use MM heap for prediction buffer during secure encode

    We are incorrectly using the firmware heap to allocate prediction
    buffers. This violates an agreement between TZ and HLOS that only
    the firmware will reside in the FW heap. As such, move the buffer
    to MM heap.

    Change-Id: I2c91499c38043abfa21ae3443d3a8f22d6474eaa
    CRs-fixed: 380161
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit da817ebe8a4dea682b2cc9beaa582e0f0f0f0112
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Thu Aug 23 18:53:49 2012 +0530

    msm:vidc: add support for pause in eos state

    This commit will add support for pause command in
    eos state along with run state of the video driver.

    CRs-fixed: 387562
    Change-Id: I2640badb59411757105d59fba276c466d4717e72
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit bdcf7ef9f4c83f138fe4f4d4e147a28bbe4463a0
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 24 08:33:33 2012 -0700

    msm: camera: Sensors changes for 8974

    Enable camera sensors for 8974 by changing clocks, regulator
    and gpio configuration in msm sensor modules.

    Change-Id: Ieed5e44e072fd4fb33c1b15b8d0ab0337c6fa865
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 7baf72acea6d6409eac18713ab9c66f418ce5aa4
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Tue Jul 17 16:42:07 2012 +0530

    vidc: 1080p: Copy input frame tag to the output frame tag

    In slice delivery mode, sometimes video hardware is giving
    zero frame tag on output slices instead of input frame tag
    value. This commit will fix the issue by copying the input
    frame tag value to the output slice frame tag when video
    hardware gives zero frame tag values.

    Change-Id: Id766a4801422d0d1f769f15a35dfd948d5c51535
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
    Signed-off-by: Ramakrishna Prasad N <crpn@codeaurora.org>

commit 8688368ce3afbd1f3a80c7fa688c6a2f467247d3
Author: Arun Menon <menon@codeaurora.org>
Date:   Thu Aug 23 15:55:38 2012 -0700

    msm: vidc: error handling for ion_map_iommu calls

    Added a check for non-zero virtual address.
    Without this change, when ion_map_iommu returns a
    zero virtual address, video core continuous ahead
    without error check and later target reset happens
    when trying to do a ion_unmap_iommu on the above fd,
    which was never mapped.

    Change-Id: Ifb400c5dd2cb859c43a0fe712298acaa6a663fec
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit 2e68e3394a7f2f7ca9124d56c67252a9035d7cd7
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Aug 7 21:07:30 2012 -0700

    msm: camera: Map/Unmap the VPE I/O buffers.

    Currently the input buffers and the output buffers configured to VPE
    are directly picked up from the v4l2 buffer queue, when a particular
    frame is sent to VPE for processing. This adds a condition that the
    input/output buffer should be present in the v4l2 buffer queue at all
    times. If the user wants to do some processing (for eg: Image
    stabilization) on the frame and then send it for VPE processing, this
    can not be achieved, since the frame would be dequeued by the user for
    processing. Add support to map these buffers when they are sent for
    processing and unmap them, when the user is receiving the processed
    buffer. Add two generic APIs msm_mctl_map_user_frame and
    msm_mctl_unmap_user_frame to perform the necessary map/unmap
    functionality.

    Change-Id: I5f1489b38844b5d2bcacb67a17f6d63e1aced342
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit b88c8c2de9479a9448325fc3887e47231577eefe
Author: Jack Wang <jackwang@codeaurora.org>
Date:   Thu Jul 26 11:33:36 2012 -0700

    msm: camera: Sensor kernel restructure

    Add new sensor utility functions for I2C write,
    I2C read, EEPROM read and gpio operation. This is
    to provide better control and flexibility for user
    space sensor module.

    Change-Id: I534c9c51768fcd8d00713bdcf87b63083a606ced
    Signed-off-by: Jack Wang <jackwang@codeaurora.org>

commit 254f7e728d4ed366d1d783f23b75cf29b92c3f34
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Sat Mar 17 17:27:34 2012 -0700

    msm: camera: Restructure CSI components

    Instead of sensor controlling CSI modules, move it user space
    and configure it through media controller. This is to make
    all v4l2 sub devs to function independently without the knowledge
    of other sub devs.

    Change-Id: Ie37dad8cb393f0b8deb65f330469e38eb374ba40
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 47e5657507e793ea00c3938c14edfb662af9ef93
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Fri Aug 10 20:05:55 2012 -0700

    msm: camera: Add vb2 buffer support for parsed stats

    Add video buffer support for parsed vfe stats

    Change-Id: I14f1814a57187a0d80f0aa1b781762058bb62ad5
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 8c9bf5dcd7c1fdaa32a0855f3aa76ef45a8cc7c6
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Aug 7 15:45:31 2012 -0700

    msm: camera: add support for private general ioctl and event

    This change adds support for private commands going to the plugin
    and private events with payload going to HAL.

    Change-Id: Iceb3c3ad1fdc5f45f3bd552b727456ccf54bc006
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 5d00d6665dfe96e5b9c0da7a37ab6f8414a5cd0b
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jul 30 09:42:26 2012 -0700

    msm: camera: update rdi frame count from ISPIF SOF.

    The RDI frame id count needs to be updated based on SOF
    interrupts from ISPIF. This is unlike the PIX count
    which can(possibly) depend on SOF interrupts from CAMIF.

    Change-Id: I5a69f1d4dcc8aadc6defe896835c59415b84a445
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit d778571b17baf792ef63f31cf9539722361818fc
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Jul 31 19:09:11 2012 +0530

    msm: camera: Enhance start stop logic in axi

    - Handle RDI start stop separately from PIX
    - Add separate call for axi halt
    - START_ACK is now redundant because PIX0_REG_UPDATE_ACK
      implies START_ACK.

    Change-Id: I84fa25310c4eb27feda65a224bea5bb3f7e32945
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 4a60799ce946a4ab2a340a3f4557118eeb1603bc
Author: Shobhit Pandey <cshopan@codeaurora.org>
Date:   Wed Aug 1 14:02:20 2012 +0530

    msm:vidc: Add the support for MPEG-2 extension and user data

    Support is added for MPEG-2 extension and user data. With this
    changes Core returns extension and user data as an extradata.

    Change-Id: Icdb9da359d90799391b5b9751df2e735ff93475e
    Signed-off-by: Shobhit Pandey <cshopan@codeaurora.org>

commit ca0b72b8a3b4b65250f517175fa4e3e0256c83df
Author: Riaz Rahaman <riazr@codeaurora.org>
Date:   Mon Jul 23 14:28:50 2012 +0530

    msm: 8660: Add config setting for enabling content protection

    Enable content protection by setting CONFIG_MSM_VIDC_CONTENT_PROTECTION in
    target config file

    Change-Id: I8e9b43b6eb09a11c0b5d987903b8bbffde1572e3
    Signed-off-by: Riaz Ur Rahaman <riazr@codeaurora.org>

commit 3a2945ef2385ae934ab4df98f26651d132b7b4fc
Author: Deepak Verma <dverma@codeaurora.org>
Date:   Fri Aug 10 15:22:07 2012 +0530

    msm: vidc: Correct calculation of yuv buffer size

    Improper yuv buffer size is being calculated using frame
    height directly, which is resulting into failures during
    encoding if the frame height is not aligned to 16.
    With this change, yuv buffer size calculation is done
    properly by using scanlines in place of frame height.

    Change-Id: I22602d6a0eddfa4016f4bdc3479e5b7d9b89a4e7
    CRs-Fixed: 378988
    Signed-off-by: Deepak Verma <dverma@codeaurora.org>

commit 077943c80dc82358d1d8a143f8f88613c9e925d5
Author: Deepak Verma <dverma@codeaurora.org>
Date:   Thu Aug 9 20:44:04 2012 +0530

    msm: vidc: Reduce the priority of incorrect PAR value message

    We get the error message for the incorrect aspect ratio
    with each frame of the video. By reducing the priority,
    error message will appear only when we enable it.

    Change-Id: Iacb8002383ea6c0b7ee86e9cfe14478c0e5ca5c3
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 16145bcbd6af8db0eebc0eedec1f01ee1b0b3635
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Aug 10 11:43:53 2012 +0530

    vidc: 1080p: Reset meta data offset to zero

    For multi-resolution clips, the meta data offset used while
    doing cache clean of meta data buffer is from the previous
    resolution & resulting in kernel panic. Resetting the offset
    to zero during meta data buffer initialization for new
    resolution fixes the issue.

    Change-Id: I06b20e10efc837fcfe44f532e90293734b4d2df8
    CRs-fixed: 386245
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 96458e214d9d8c98a1aeb13f52ef146672f8d82b
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 7 21:45:43 2012 -0700

    msm: add new image modes to support stats buffer

    Extend the image mode defines to include the stats buffers.

    Change-Id: I4c7a687cb08695d43befa15f6e18e7070d4e2976
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit f19f4d27088015842f9bd0945f62b34e90fd784d
Author: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Date:   Mon Jul 30 12:10:37 2012 -0400

    vidc: 1080p: Handle flush for interlaced clips.

    Video core expects one field per buffer for interlaced
    clip playback.If a flush is issued we should reset the
    need next field flag, so that new bitstream is processed
    after flush is completed.
    Reconfig flag shouldn't be reset in case of EOS.

    Change-Id: Idf50a24c29e904a958b0b1e850813e2d9fc4346d
    CRs-fixed: 382368
    Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>

commit 22d1abd7eec3bdba91f31fe3d8a1ea86d35e8568
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Fri Jul 27 19:15:01 2012 +0530

    msm: vidc: Add support for ION memory on 8x55 target

    This commit will add support for ION memory on
    8x55 target for video encoder and decoder.

    Change-Id: I23be61d698cf3c6ee81846bad61be15b9e3f824f
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 3e8a1d1c69b56198e946e2fc45d054912965178f
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 31 15:00:09 2012 -0700

    msm: camera: Move ping pong buffer and bus scale logic from vfe to axi

    Move the ping pong buffer configuration and bus scaling
    logic from vfe to axi as for concurrent camera case,
    vfe component will be turned off

    Change-Id: I39b465dcc121b83f960370b25349dc941ac8c34b
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 109c211daa5771cededece028ee2026fb3d22934
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Mon Jul 23 17:28:11 2012 -0700

    vfe32: Separate AXI reset with VFE reset.

    Refactor reset to axi_reset and vfe_reset. axi_reset
    initializes stream off/on, irq related registers.
    vfe_reset only handles stuff related to VFE components.

    VFE_RESET_2 is removed. Both axi_reset and vfe_reset
    are synchronous calls.

    Change-Id: I274c17defbfbc56056b020c48239696b0f579b0e
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit d34791bd9bf218e636d4cb7f5b8b2956d38b27b1
Author: Peter Liu <pingchie@codeaurora.org>
Date:   Mon Jun 11 18:47:36 2012 -0700

    msm: camera: calculate sof_count in ISPIF instead of VFE

    Instead of counting the frame id inside VFE camif,
    obtain the sof count in ispif and then pass the count into VFE
    also add the capability to enable the sof count in VFE

    Change-Id: I90c0178d933cb4c80627eb9a5f22b4bb13b10b27
    Signed-off-by: Peter Liu <pingchie@codeaurora.org>

commit 003ba6e4ac9a461ff935a0532cc826c614c2cd6e
Author: Deepak Verma <dverma@codeaurora.org>
Date:   Thu Aug 2 16:25:39 2012 +0530

    msm: vidc: Add PAR value extradata support for H264 and Mpeg2

    Core gives aspect ratio information for H264/Mpeg2 in a
    shared memory register. This change will fetch the value
    of the aspect ratio from the designated register and append
    this information to the frame_info extradata which can be
    used by the client.

    Change-Id: Iacacaf1b1181546ba2d09362a51bbe5178a63999
    Signed-off-by: Deepak Verma <dverma@codeaurora.org>

commit cd3d81ef876be616e94c423a2a6b0395ff687b96
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 31 13:04:03 2012 -0700

    msm: Decouple VFE component from AXI

     1. Move the logic to enable write masters from vfe
    to axi as vfe component may not be enabled for concurrent camera
     2. Pass the vfe operation mode and port info from user space
    instead of storing in the global shared variable

    Change-Id: Ibe01bbe6a449afc3e4116c0a1c5f0d68662c5ee6
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit c842b613e6e090c06574b7b3c0d0166c4dfe6fb1
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon May 21 17:23:24 2012 -0700

    msm: camera: CCI driver for 8974

    Add Camera Control Interface (CCI) driver based on V4L2
    architecture. Add probe sequence, subdevice creation,
    hardware registers and configuration through V4L2
    subdev call mechanism. This driver is responsible for
    communicating with sensors, actuators and EEPROM
    connected on I2C bus.

    Change-Id: I2f135798e26348740f58da223caafdd8dfbbd098
    Signed-off-by: Hody Hung <hhung@codeaurora.org>
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit d812321dcb7fe15d0c62af549f18946320380129
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Sat Jun 30 13:15:27 2012 -0700

    msm: camera: ISPIF changes for 8974.

    ISPIF changes on 8974 to include VFE interface. Pass VFE interface
    from user space ISPIF module and configure accordingly. Add support
    to configure extra PIX and RDI interfaces.

    Change-Id: Idb840fa3d1ef2d1a7242fc2175b8fa64f75aa14b
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 586fd1628cdd10468e0d6496a77a236f18eaf9c7
Author: Kuogee Hsieh <khsieh@codeaurora.org>
Date:   Tue Feb 14 15:24:16 2012 -0800

    msm_fb: display: vsync driven screen update

    This patch will queue multiple surfaces and commit those
    surfaces into mdp at same instance so that surfaces will
    be blended and displayed at same time. Hardware vsync event
    is delivered to the user space frame work via uevent. Both
    queue and commit are controlled by frame work and synchonized
    with vsync event. Therefore frame rate will match with vsync rate.

    Change-Id: If630a6d94fd38483ee313f575b1a71ed8bd65a52
    Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>

commit 3118cb077358e472adb0db8e207a63bd84fd267f
Author: Carl Vanderlip <carlv@codeaurora.org>
Date:   Fri Jun 22 18:15:18 2012 -0700

    video: msm: Remove old post processing overlay integration

    Remove old implementation of HSIC and QSEED smoothing/sharpening overlay
    integration. Need to replace with new implementation that better integrates
    the existing functions of the two APIs.

    CRs-Fixed: 380750
    Change-Id: Id3469fad16764ed88e74a8da75bb873f726ba366
    Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
    Signed-off-by: Pravin Tamkhane <pravint@codeaurora.org>

commit b2453048bca23772afae74c06972adcada68f257
Author: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Date:   Fri Jul 27 10:55:04 2012 -0400

    msm: vidc: Increase video driver clients count.

    Video driver currently supports registration of 4 clients.
    Increasing number of clients count to 6 to support new usecases.
    Video driver will limit number of instances to 4.

    Change-Id: If00911ef1027b1e44917465791ef3612e6c59ed1
    Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>

commit bc315ea3c81c545f273492d5532d62d109a3c4c7
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 24 09:55:48 2012 -0700

    msm: camera: Add support for Bayer stats

    Add support for Bayer stats

    Change-Id: I69b408af91565581c925540bccb04708278bda05
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 58243db25ebb92f6ae812886a9b5c15106bd432b
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 24 00:06:27 2012 -0700

    msm: camera: Fix memory leak with stats buffers

    Buffer unprepare is not done while releasing stats buffers,
    hence add support for buf unprepare ioctl

    Change-Id: If4fa95c270363d1948b5924c2365785d1427e2f4
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 907859007ebd854b7afcfa3c14edda8efadd2e55
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Jul 5 13:59:38 2012 -0700

    msm: camera: Add support for instance handle based buffer lookup.

    Currently when VFE requests for a free buffer, we search based
    on the image mode sent from VFE. In some cases, there can be
    multiple instances with the same image mode. This means the
    buffer lookup logic has to take into consideration other
    parameters like current usecase, vfe operation mode etc.
    To ease this, add support for buffer lookup based on
    the instance handle. The instance handle contains information
    about where to get the buffer from. So the buffer lookup
    logic does not have to know about other details. The instance
    handle is decided when the user sets the format for a particular
    instance. It is passed on to the VFE during AXI configuration.
    VFE stores this and sends it whenever it requests for a free
    buffer for a particular output.
    Keep the current image_mode based buffer lookup logic for
    legacy targets.

    Change-Id: I78c3db77ac4014365c9866ff780ec71ac4c7ff87
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 4b3443f0882826f3f0de468c799e77c6477380d0
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jun 11 14:06:31 2012 -0700

    msm: camera: resource manager related changes.

    Make changes to support dynamic selection
    of subdevs through the resource manager. Instead of
    choosing the subdevs to be used by the current mctl
    session statically during open, the VFE, AXI and VPE
    subdevs are now selected and initialized later as per
    session requirements.

    Change-Id: I8df951b81f0ccc77e5b4f64bf5cf620822cf0175
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 2ed59cf2dac9f34d07e3e6870bf3d30076386aa7
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Thu Jul 19 13:00:50 2012 +0530

    msm:vidc: force constrained baseline profile for H264 BP encoding

    Core is returning improper header information for H264 128kbps,
    level-1b and baseline profile settings. Forcing the setting to
    constrained baseline profile for normal baseline profile as
    per the updated interface specification resolves the issue.

    Change-Id: Ib106b17be9453cfd80264cc2167dda919893b1e2
    CRs-Fixed: 371606
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 6084636fbf190de0add7a0fb192a26f695fbe402
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Jun 29 20:00:40 2012 +0530

    vidc: Adjust core timeout based on input frame size

    Video core is dropping certain IDR frames due to timeout.
    This is resulting in video corruption. Computing the core
    timeout based on input frame size and programming it for
    each input frame fixes the issue.

    Change-Id: I75d5039bc09f9be6a3028461ee4a2f13064bf53a
    CRs-fixed: 370570
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 2db3384fa38336391ea177d7475eb7bc00627f7f
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jun 26 22:41:32 2012 -0700

    msm: camera: Add free status buffer queue

    Add support for free buffer queues for vfe
    statistics

    Change-Id: I9a791d5869aa090f661904b41b210cea51f67aa4
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit b14ed96f74b1258b1f102831a2b0ccd56f991132
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Mon Jan 30 14:18:08 2012 -0800

    gpu: ion: Pull in patches for 3.4

    Pull in Ion patches for 3.4 upgrade. Inclues the following
    patches from google:

     commit 7191e9ba25
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Jan 30 14:18:08 2012 -0800

         ion: Switch map/unmap dma api to sg_tables

         Switch these api's from scatterlists to sg_tables

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 6f9e56945d
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Tue Jan 31 09:40:30 2012 -0800

         ion: Add reserve function to ion

         Rather than requiring each platform call memblock_remove or reserve
         from the board file, add this to ion

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 9ae7e01de1
     Author: KyongHo Cho <pullip.cho@samsung.com>
     Date:   Wed Sep 7 11:27:07 2011 +0900

         gpu: ion: several bugfixes and enhancements of ION

         1. Verifying if the size of memory allocation in ion_alloc() is aligned
         by PAGE_SIZE at least. If it is not, this change makes the size to be
         aligned by PAGE_SIZE.

         2. Unmaps all mappings to the kernel and DMA address spaces when
         destroying ion_buffer in ion_buffer_destroy(). This prevents leaks in
         those virtual address spaces.

         3. Makes the return value of ion_alloc() to be explicit Linux error code
         when it fails to allocate a buffer.

         4. Makes ion_alloc() implementation simpler. Removes 'goto' statement and
         relavant call to ion_buffer_put().

         5. Checks if the task is valid before calling put_task_struct() due
         to failure on creating a ion client in ion_client_create().

         6. Returns error when buffer allocation requested by userspace is failed.

         Signed-off-by: KyongHo Cho <pullip.cho@samsung.com>

     commit 043a61468f
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed Feb 1 11:09:46 2012 -0800

         ion: Switch ion to use dma-buf

         Ion now uses dma-buf file descriptors to share
         buffers with userspace.  Ion becomes a dma-buf
         exporter and any driver that can import dma-bufs
         can now import ion file descriptors.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 0d1259b5f8
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon Apr 30 16:45:38 2012 -0700

         gpu: ion: Use alloc_pages instead of vmalloc from the system heap

         With this change the ion_system_heap will only use kernel address
         space when the memory is mapped into the kernel (rare case).

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit be4a1ee79a
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Thu Apr 26 20:44:10 2012 -0700

         gpu: ion: support begin/end and kmap/kunmap dma_buf ops

         These ops were added in the 3.4 kernel.  This patch adds support
         for them to ion.  Previous ion_map/unmap_kernel api is also
         retained in addition to this new api.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 46d71337f9
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Mon May 7 16:06:32 2012 -0700

         gpu: ion: Allocate the sg_table at creation time rather than dynamically

         Rather than calling map_dma on the allocations dynamically, this patch
         switches to creating the sg_table at the time the buffer is created.
         This is necessary because in future updates the sg_table will be used
         for cache maintenance.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

     commit 903f6c716d
     Author: Rebecca Schultz Zavin <rebecca@android.com>
     Date:   Wed May 23 12:55:55 2012 -0700

         gpu: ion: Get an sg_table from an ion handle

         This patch adds an interface to return and sg_table given a
         valid ion handle.

         Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>

    The commit also includes fixups needed for MSM specific code.

    Change-Id: Idbcfa9d6af0febf06f56daaa6beaa59cc08e4351
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

commit 84f8c68bcd73f8bcd1af23b126ed052eb1598856
Author: Riaz Rahaman <riazr@codeaurora.org>
Date:   Wed May 30 13:32:10 2012 +0530

    vidc: Add required variables in platform data for content protection

    Add, initialize variables for firmware addr & secure write back
    buffers in vidc platform data.

    Change-Id: Ibb1e464af2e0e9038c8d43d6756d5a8481c7f618
    Signed-off-by: Riaz Ur Rahaman <riazr@codeaurora.org>

commit 5dd5442cd6e726430ab5294149f1cff0a33ce6a2
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Jun 26 22:52:44 2012 +0530

    msm: camera: Add support for concurrent Ispif interface streaming

    Add support for multiple ispif interfaces streaming concurrently.
    PIX abd RDI interface can stream at same time or two RDI interfaces
    may stream at one time depending on usecase

    Change-Id: Ib3cef418cd2816bc19891c1855e1dcae5a2a55a1
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 5fd16f4c3d7c0a8a0a2147405e91bbfb9be6720e
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Sun Jun 10 20:52:22 2012 +0530

    Revert "msm: vidc: Avoid reconfig if EoS is received after SPS/PPS"

    This reverts commit fcd8763cbf25679c999e363ac63e65a234e4192d.
    The above commit will break the trick mode playback functionality.

    CRs-fixed: 370048
    Change-Id: I6b3d116e8339520ef347eb387973db6f78b560b5
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 079007e45e1e9674f51ace59fa4443e5fdb020ea
Author: Praveen Chavan <pchava@codeaurora.org>
Date:   Wed Jun 20 12:38:25 2012 -0700

    mm-video:vidc: Set max performance level for high framerate content

    Performance issue is observed with 60fps content as the vcodec clock
    set based on number of macroblocks and framerate is not sufficient.
    This fix checks for the framerate and sets max performance level if
    fps is more than 60 (59 to be more precise)

    Change-Id: I5d41643a32ec895565406fadec04dc95e04655a4
    Signed-off-by: Praveen Chavan <pchava@codeaurora.org>

commit 73ec728288b1d30c3b967a378d0f2893d254bd67
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jun 7 01:32:00 2012 -0700

    msm: camera: CPP driver Framework

    Initial commit for Camera Post Processor Driver.
    The driver contains frame queuing and process logic
    using v4l2 framework.

    Change-Id: I283c11c3de3bd121b9c3ea5af1446c13e188d329
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit ed4b2afe41aa4dec5bf06823da35e33645d558a1
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Thu Jun 14 12:24:18 2012 +0530

    vidc:720p: Fix first buffer with EOS flag in video decoder

    The video driver is throwing error for erronious header
    input buffer with EOS flag enabled. This commit will
    fix the error case by amending the EOS handling for the
    first buffer.

    CRs-fixed: 370048
    Change-Id: I8917aa288d6547319e8b1df54e27afd69ab36162
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit ddd20e2ff4e5d2d4f11d9ad54d40175d35f724e7
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Fri Jun 22 12:27:04 2012 +0530

    vidc:vdec: Clean extradata portion and invalidate whole buffer

    This commit will ensure to clean the extradata portion in
    output buffer changed by the CPU before sending the buffer
    to Video hardware and invalidate the output buffer changed
    by Video hardware before CPU access the buffer.

    Change-Id: I05ea24fb381a164f6cfd520bd9071a94349ed2df
    CRs-fixed: 366446
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 28feb3d6001aede64d44f7aa13f364571bb25c5c
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Thu Apr 26 23:56:22 2012 +0530

    msm: camera: Add support for RDI in VFE

    Enable RDI registers and irq handler in VFE. RDI may
    be used to dump sensor data directly to memory
    without passing through VFE.

    Change-Id: I1ca131c31913f62228364440bbe2cd98a6079003
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit b4a278e5206d63224c6c8dc4d46f971cc1124c4b
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Jun 18 19:25:47 2012 -0700

    msm: camera: Add IRQ Router subdev implementation.

    Add initial driver code for IRQ Router hardware.
    It shall be implemented as a v4l2 subdevice of the
    msm cam server node.
    Add logic in msm cam server to request for irqs configured
    to the IRQ Router, which can be individual or composite.
    When the individual camera hardware cores interrupt,
    the cam server receives them through the common interrupt
    handler and dispatches them to to the respective hardware
    core's v4l2 subdevice.
    If the usecase demands that the interrupts from two
    different hw cores be composited into a single interrupt,
    (for eg: VFE and ISPIF), then the cam server stores this
    configuration in its interrupt lookup table. When the
    interrupt is triggered on the composited interrupt,
    it is dispatched to the individual hardware cores
    which have been composited into that interrupt.

    Change-Id: Iaadd60cc24de9b5ba8d09a151474658902244d7b
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 5d2945dfd41de0e13a8429c921e3516540060c6e
Author: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Date:   Fri Jun 22 21:22:16 2012 -0700

    msm:vidc: provide support to raise video clks to turbo mode.

    This change provides support to raise video clks to turbo mode for mpeg4
    clips with high number of slices. The firmware performance degrades if
    the number of slices is more than 10. Without this fix, we see lot of
    frame drops happening, causing a freeze effect.

    Change-Id: I79d0b9a438f73d87384b9e03761a65b9de3c9fc7
    CRs-Fixed: 358615
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit 1c72b395348a0d4944e4f05e2979c80e7f8d8c52
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Jun 20 10:50:00 2012 -0700

    msm: video: Fix compiler warnings

    changed array definitions, #defines and variable repetition to resolve
    warnings in compilation.

    Change-Id: Ic26f1924da389f4a8638728963c6a4c8b2f859d0
    Signed-off-by: Jessica Gonzalez <jgaona@codeaurora.org>

commit b2157c9abb7b436776f786760607126d1c9a8433
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 25 01:09:28 2012 +0530

    msm: camera: Decouple the ISPIF component from sensor

    Ispif is a separate hardware block. Decouple
    it from sensors so that it can be controlled for various
    camera usecases.

    Change-Id: I539fcb4166edc7a14d15a94c2f7f56b2f196a971
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 152c3c7ba9bc0d47857534f3c7c16f6817297ae1
Author: Arun Menon <menon@codeaurora.org>
Date:   Wed Jun 20 11:50:08 2012 -0700

    msm:vidc: provide support to raise afab and ebi1 clks to turbo mode.

    This change provides support to raise the clks to turbo mode for mpeg4
    clips with high number of slices. The firmware performance degrades if
    the number of slices is more than 10. Without this fix, we see lot of
    frame drops happening, causing a freeze effect.

    Change-Id: Ia897854ef6d30bb97cd37810b22eb1ab5ad818fb
    CRs-Fixed: 358615
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit d6d2863519c2351ef790758ed134e012d4563c4e
Author: Adrian Salido-Moreno <adrianm@codeaurora.org>
Date:   Tue May 29 16:52:09 2012 -0700

    mdss: display: implement writeback interface for mdss

    Add writeback interface support, using one page of framebuffer memory
    for writeback output.

    Change-Id: I0a44c6907cbc10d97c78642f45dc018dfb2d1750
    Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>

commit e55fa120321f49385973b37f8b258bf78163743b
Author: Adrian Salido-Moreno <adrianm@codeaurora.org>
Date:   Tue May 29 15:36:08 2012 -0700

    mdss: display: Add Mobile Display SubSystem driver

    - Implements Linux frame buffer interface to interact with userspace
      libraries and applications, based on msm_fb frame buffer.
    - Implement MDP driver which handles MDP core data path setup and
      hardware blocks programming.
    - Support for UI through Linux frame buffer FBIOPAN_DISPLAY ioctl.

    Change-Id: Ib98677b8d81d74283b27dea08a9f1a705c101bce
    Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>

commit e2c9c0bf3f925e9f671b5c18795ae415fed58510
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jun 7 17:18:25 2012 -0700

    msm: camera: add ion dev fd field to frame structure.

    The ion dev fd field is required to represent the client
    that allocated the buffer represented by the frame.

    Change-Id: I8de791158251069275becc9f6413382fc6738492
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit af4a0ef0c6162e89c063b04da0a037246fcc76b9
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Sun Apr 15 17:33:03 2012 -0700

    msm: vidc: Fixes bug in handling duplicate frames.

    Fixes bug while closing encoder which supports
    duplicate input frames. This fix decrements
    the reference count of original frames
    appropriately.

    Change-Id: Ib542cf5fd790b8ba7f77e9a748a25c3cb132f40a
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 41a3870e67baceb635884c7fcc76bc7b12273418
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Jun 6 22:25:41 2012 -0700

    msm: camera: Add v4l2 private ioctls

    Add private ioctls s_ctrl, query_ctrl where
    we need to get ctrl data from userspace.

    Change-Id: I404236d072bafb3ef6ef3c0723a707f5805fe92b
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit bf5fc96913ab970df5c060ec2c1937fe06c99295
Author: Arun Menon <menon@codeaurora.org>
Date:   Fri Jun 8 19:19:03 2012 -0700

    vidc: Move prediction scratch buffer to FW Heap.

    The encoded output was corrupted for wvga and lower resolutions
    during HFR. Moving the prediction scratch buffer from MM Heap to
    FW Heap avoids this corruption.

    CRs-Fixed: 353979
    Change-Id: Ife3be7ccd9f19bb285c6c348721a1d54bbbd4734
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit 64bd23cb9d7ed79a1f18a938116112c4196772e3
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri May 25 12:06:21 2012 -0700

    msm: Allow VPE driver to be configured directly.

    Currently VPE hardware is being controlled through
    the config node. Since it is converted into a V4L2
    subdevice, we could control it directly from
    userspace by issuing open, close and ioctl system
    calls.
    The ACK from VPE hardware shall be routed directly
    to userspace by putting the ACK event on the v4l2
    event queue.

    Change-Id: I7f82a750a28732382627349da362dbee8e27b149
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 9acbfb0eb688bac6a35f12b58e2e9c3de4d2d3b8
Author: Zhang Chang Ken <kenz@codeaurora.org>
Date:   Wed Jun 6 10:00:43 2012 -0400

    msm_fb: display: add support for frc

    Frame rate converter(frc) is treated as LVDS 1080p panel
    Its configuration is based on HDMI 1080p60 mode
    LVDS dual channel mode will be used

    Change-Id: Id3a17f107c8398ddb47105d064be2743a150a3b3
    Signed-off-by: Ken Zhang <kenz@codeaurora.org>

commit 52d1c472d72b64942e5a5c99d4d2c38b968dc0db
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Fri Jun 8 22:55:44 2012 +0530

    vidc:1080p: fix for wrong frame tags in slice delivery mode

    The core sends the wrong frame tag from the second slice onwards
    for certain resolutions.The video encode session fails if the frame
    tags dont match the values present in the transaction table. This
    workaround will use the frame tag of the first slice for the
    remaining slices. We need this workaround till video core fixes
    the issue.

    Change-Id: I36f2401a3b6d1ec2f9d482968f7d0946a7733572
    CRs-fixed: 368678
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 212d97204704a2f2503a2ff7f288fb08bf2b2153
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed May 30 15:51:20 2012 +0530

    msm: camera: Add effects for front camera.

    Added Support for  Effects like saturtaion,contrast for YUV sensor
    CRs-Fixed: 352316
    Change-Id: If278755849a866e84069ce517b2f1f6c67294980
    Signed-off-by: Katta Santhisindhu <kattas@codeaurora.org>

commit 999a4d94539cbf3e7deb68c61b1539fcba15964d
Author: Srinu Gorle <sgorle@codeaurora.org>
Date:   Wed Jun 6 03:34:14 2012 +0530

    msm: vidc: Invalidate the cache before processing metadata.

    - Encoder output bit stream is getting corrupted if cache
      is not invalidated before meta data processing.
    - ION_IOC_INV_CACHES is called before meta data processing
      to make sure physical data & cached data are the same.

    CRs-Fixed: 358392
    Change-Id: Ia4b827619e64b0bc60f74692993001e44b0bbcbe
    Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>

commit 837ae365bf6a2e8ee116f2e9efeadf1faa4588d2
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Sat May 12 23:26:53 2012 -0700

    video: msm: wfd: Add turbo mode support

    Add support for userspace to push the video core clock to maximum
    supported by hardware.

    Change-Id: Ida6618fd77bc24fe043885306083249546797054
    CRs-Fixed: 361108
    Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>

commit 302441aef1b949312ff05573c83645ef86f29594
Author: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Date:   Thu May 31 16:00:46 2012 -0700

    vidc:1080p: Add check for supported video resolution

    1080p core can support max resolution upto 1920x1280.
    Some of the video clips have a resolution more than
    the supported resolution. Changes were made to check
    for the supported resolution and stop the playback if
    they exceed

    Change-Id: Ia3fa9c38eef60d23644e54873849d528377ff722
    CRs-Fixed: 362228
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit 7c81518dcab881ec50ea811b6968a3031974e8fa
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Thu May 31 19:28:09 2012 -0700

    msm: Seperate VFE/AXI register programming from start and stop func.

    Decouple AXI and VFE. This will help to control/program VFE and AXI
    independently.

    Change-Id: Ic892f1ebe1ce0ac29bd95f0852a74de6cfbabcc5
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit 3db6f225d9fed96d0e7f9dd7f4bd9cb200551bcf
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Mon Jun 4 19:14:10 2012 +0530

    vidc: Modify shift value for extended PAR width.

    Currently extended pixel aspect ratio register shift
    value for width is 15. Due to this the actual width
    value returned by core is getting doubled while
    sending to user space. Now correct values are returned
    by modifying the shift value to 16.

    CRs-fixed: 362985
    Change-Id: I996bfc79b327492a791017fd5b33638f82240d76
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 740d5ad28484b42ae675721a66a1bd93081712c8
Author: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Date:   Mon Jun 4 18:10:56 2012 -0700

    vidc:1080p: Set video core timeout value for Thumbnail mode

    Video core timeout value is set only for thumbnail mode.
    For normal playback senario default value is set.

    Change-Id: I10d43adf093a5495d9bacb84532ba3ae91920540
    CRs-fixed: 367222
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit c34f8ad31862033eff35dd0576d4f5a016763ab1
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Fri May 25 17:13:38 2012 +0530

    vidc: 1080p : Add support for skip frame in slice delivery mode

    Slice delivery mode for H264 encoder will deliver constant number of
    output slice buffers for each frame. In case of CBR rate control method,
    core will skip frames to maintain the output quality, in which case
    driver need to send out the output buffers with data length as zero
    for skipped frame output type from the core.

    CRs-fixed: 362356
    Change-Id: I647092d802b95558422cf1537f3e8bf69cd68b1b
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit db02c4ebd5d7dd7c240dc96208c74eb62974eda0
Author: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Date:   Mon May 14 16:36:51 2012 -0700

    vidc: Adjust core timeout based on current core frequency.

    Core timeout value is calculated based on the current core
    clock rate during video play back.

    Change-Id: I52f38560eda71dd0eaf208da68b4c3f74955661b
    CRs-fixed: 354069
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit 35e58e3396509c881fbbedd39e4a75eca4e662f7
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Thu May 17 18:29:01 2012 -0700

    vidc: Pass the correct parameter for cache flush

    Buffer handle was passed as 3rd argument, instead
    of buffer virtual address and this was causing
    a crash

    CRs-Fixed: 363157
    Change-Id: Ic5d59d8745100bdb18454a72410ffa7e438a2c46
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 64cf649c8e9c477bc8b62f822c68ddcdb8988730
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Mar 13 19:19:37 2012 -0700

    msm: vidc: Do not duplicate sequence header for secure sessions

    In secure sessions, we aren't allowed write into secure buffers.  In
    these cases, do not copy the sequence header from the internal buffer
    into the output buffer. The firmware will prepend the sequence header to
    the first I-frame in these cases.

    Change-Id: I2e853210b6a566468ec152c6f80b411bc3e45848
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 4584b5fe6f4ed1f4b0e5131c83a767a97497b9de
Author: Sunid Wilson <sunidw@codeaurora.org>
Date:   Fri Apr 13 12:48:25 2012 -0700

    msm: camera: Add support for gesture driver

    Added gesture driver code. Gesture node is a subdevice to
    server node.

    Change-Id: I488da3dbdb502a2f78b0cd5269dd113c472ee377
    Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>

commit a12c839a75255cdf62a8014bdb8adf2d01af9bf1
Author: Anil Gahlot <anilg@codeaurora.org>
Date:   Wed May 9 14:31:32 2012 -0700

    msm: vidc: Driver changes for output buffer

    Minimum tile height size required by MDP for
    rendering is 96 else rendering fails. This
    change would compute output buffer size big
    enough to have proper rendering for clips
    having frame height less than 96.

    CRs-Fixed: 351645
    Change-Id: Ibc17b1ad112ad937cb4b93a307fa4432074990cd
    Signed-off-by: Anil Gahlot <anilg@codeaurora.org>
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit af296715bd5db6c38997d1171d079331c8650287
Author: Anil Gahlot <anilg@codeaurora.org>
Date:   Mon Apr 23 14:34:33 2012 -0700

    msm: vidc: Metadata memory release issue.

    Metadata memory is not freed when there is
    memory allocation failure in ddl open. Fixed
    this issue by freeing the metadata memory.

    CRs-Fixed: 353109
    Change-Id: I3f6fd93498aea0ce78092bd3a28cf08625b0ca77
    Signed-off-by: Anil Gahlot <anilg@codeaurora.org>
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit 4947d8cd8cc0889058801820d56edd9bbcb23d70
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Apr 3 12:41:06 2012 -0700

    msm: vidc: Use pre-computed frame delta values in WFD use case

    In WFD use-case with frame skipping enabled, we wish to fool the core
    into thinking that that the frames are coming at a consistent rate so
    that we don't run into any issues with the core's rate control
    mechanism.

    Introduce a client-settable property that dictates what the timestamp
    delta between any two frames might be.

    Change-Id: Iea3f97879227b7932543d3449d311758dc4a2f59
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit fcd8763cbf25679c999e363ac63e65a234e4192d
Author: Saikumar Kondaparthi <saikumar@codeaurora.org>
Date:   Fri May 11 18:44:40 2012 +0530

    msm: vidc: Avoid reconfig if EoS is received after SPS/PPS

    After core init, there is a hang if the data buffers
    are not sent to the core as the core is not responding
    to the STOP command. With this commit, reconfig is
    avoided and EoS done message is sent to the client.

    CRs-Fixed: 360438
    Change-Id: I3c3d22aa2ffe37fc3b9b0cf94df9cc066a4299f2
    Signed-off-by: Saikumar Kondaparthi <saikumar@codeaurora.org>

commit 734476bedc61c6faaed7038131ac63f72ef2aac4
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Thu May 3 20:08:15 2012 -0700

    msm: camera: eeprom subdevice support for camera sensor

    The OTP data for calibration is stored in the eeprom. The eeprom
    is registered as a subdevice and necessary functionality is added
    for reading and fetching data to user space.

    Change-Id: I119a31fa7eccc597c92b7c418c8d04c291e294f5
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 71826a16795b9235d08ec22d7fd55d809407df51
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Fri Apr 13 15:42:36 2012 -0700

    vidc: Update the secure firmware fixed address.

    The secure firmware memory address is updated,
    to the new physical address.

    Change-Id: If41ea48eea9988bf130a8bd213711cdbc99bfdf2
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 5e46aaca126d031473fdfebc07640b62f993d10d
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu May 3 20:20:18 2012 -0700

    msm: vidc: Pass device pointers to regulator_get()

    Passing a device pointer instead of NULL as the first argument
    to regulator_get() allows the device to be taken into account
    when finding a matching regulator.

    Change-Id: I34917d18e1216be01c0cf8ccfd0b6038e5474ffd
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit 17c876f259ce77ad1e47d40ed28149109a8327cb
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Fri May 4 16:12:45 2012 -0700

    vidc: Flush the cached buffer only if the buffer is valid.

    Before flushing the cached buffer check for the following
    - When buffer allocation fails, do not flush the buffer
      report error and return.
    - Check if the buffer handle is valid, before flushing the
      buffer.

    CRs-Fixed: 358873
    Change-Id: I58b869d2d2eb72f991649d62a5186c7b0f5adcf4
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit cbca051abe96cca82037a37dd70054132b2e8171
Author: Deepak kotur <dkotur@codeaurora.org>
Date:   Wed Apr 11 16:06:39 2012 -0700

    vidc: For CP2.0 do not program the iommu.

    For CP2.0 do not call the ion_map_iommu api
    use the ion_phys api to get the physical address

    Change-Id: I8e39fb3bfb7f68df167b9432fbc008980e28742e
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit fe1e62c15bd815af7f97d324b8fcbcced67c15a1
Author: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Date:   Wed Apr 18 19:41:21 2012 -0700

    vidc: upgrade video core clock rate based on time taken to decode a frame

    Currently video clock rate is set based on the resolution
    and fps of the given clip. But some clips have a high bit
    rate for a given resolution which causes high decode time.
    Changes were made to consider frame decode time and upgrade
    the clock rate accordingly

    CRs-fixed: 346580
    Change-Id: Ie89a736eb9f93286486ae7688633a828c7415fd2
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit cf26486f50d223cd763909b08cea04bd525e25c6
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Apr 19 19:10:38 2012 -0700

    msm: camera: Separate AXI from vfe

    This change will separate axi functionality from vfe core,
    in order for camera RDI (Raw dump interface) to work.
    When RDI is used, only axi subdev is configured.
    When PIX interface is used, both vfe and axi are configured.

    Change-Id: Id986ea1c12bbeb0664d08429acffe24d20a51028
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 17ca3688442f000d925287251456ef4a3eb63db3
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Wed May 2 12:29:38 2012 -0700

    vidc: Free shared memory when video core is in error.

    When the video core is in error, the core times out.
    At this instant, all the client buffers are freed,
    but the shared memory is not freed. Free the shared
    memory in this case.

    CRs-Fixed: 357990
    Change-Id: I8769356cab1b57fd39d7f1c2d4458cd7e263557f
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit ed9dc9161be2b0f32eeb90ffbc5d8186e6674422
Author: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Date:   Thu Mar 1 19:11:14 2012 -0800

    msm: vidc: Set dpb count based on target for smooth streaming

    The min_dpb required for smooth streaming is set for the
    max requirement of 1080p playback session. For 8960 num
    of dpb required is 18 and for 8660 it is 8. This is set
    in vidc platform data in the resepective device file.

    Change-Id: I1e6bc3e8dcd64a00a7eb159f4600d40f5c229e45
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit 5f10b27e863715443e24e54bff1eec946e5d6bd8
Author: Deepak kotur <dkotur@codeaurora.org>
Date:   Thu Mar 15 22:01:39 2012 -0700

    msm: vidc: Downloads firmware using pil_get.

    Downloads video codec firmware using pil_get
    for secure sessions only. Firmware is not
    downloaded using pil_get for non-secure
    sessions

    Change-Id: I1f870a0611b85ddfe0f34972f81e5e667387468d
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit cd681bf9f50cf17b70e24852361bc67c91b116ec
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Sat Feb 18 23:05:56 2012 -0800

    vidc: 1080p : Add support for slice delivery mode to encoder

    Slice delivery mode enables confguring the encoder to deliver
    one slice per output buffer. This mode is valid only for h264
    codec when multi slice config is set to slice by mb.

    Change-Id: I1bb88a67fecf4a76ad828f4c4981ff3cad648f24
    Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>

commit c9a9332a743459e44744e630f3e734e7788c477d
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Thu Apr 26 19:04:49 2012 +0530

    vidc: Add extra cases for error handling in vidc init

    Currently error conditions are not handled properly
    if failures occur during irq request or while creating
    work queue. With this commit these error conditions
    are properly handled.

    Change-Id: I618ca5c2a4f6bd09a3edd164a7867a90a9ed9f9a
    CRs-Fixed: 355753
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 94b4c83b8c27dfadc3d9756d41bcadbf4e9f090c
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Mar 2 21:27:16 2012 -0800

    msm: camera: Change camera server into a video node

    Convert ioctl and server node to be compliant with
    v4l2 architecture.
    Add multiple control and event queue to
    support multiple camera instance

    Change-Id: Idcb8533e15599f7fb0ad621c3da6b19235fa64f4
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 974a96c1634659213f7d226fa5092398ddd46398
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Thu Apr 12 16:59:35 2012 -0700

    vidc: Check for proper buffer handle before free.

    Check for proper buffer handle and client handle
    before unmapping and freeing the buffer.

    CRs-Fixed: 351100
    Change-Id: I88f5e142839f12cc19360dbe26a8d4e6a7ec99de
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 4dd43083ccd149e9b0cfd5b2f635389597105920
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Mar 28 22:11:58 2012 -0700

    msm: vidc: Fixes memory protection in secure enc/dec concurrency

    Memory should be protected for the first secure session and
    unprotected for the closing of last secure session.

    Change-Id: I61f72bf13282bed1547fbdad0a3e3aa515e9951c
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 13d82f8216593b296ef799b5d9663d3dd869959a
Author: Deepak kotur <dkotur@codeaurora.org>
Date:   Mon Mar 12 11:12:32 2012 -0700

    msm: vidc: Handles secure/non-secure concurrency.

    Handles concurrency scenarios by preventing
    nonsecure sessions when secure sessions are
    ongoing. This is required since secure and
    non-secure sessions cannot run concurrently.

    Change-Id: I197a4c437312d916c0f75e7eb026c0570fee12ff
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 602d62927c6db96f8d636f7795203b19e8c412c3
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Tue Apr 24 15:55:59 2012 +0530

    vidc: send flush done if flush is issued in EoS while encoding

    There is a race condition in encoder, when an input buffer
    is received with an EoS flag but doesn't have an output
    buffer to process that and if simultaneously flush is issued.
    This is fixed by sending flush done if flush is issued in EoS.

    CRs-Fixed: 353081
    Change-Id: I925f49779ed5cb91bfab805ba4b7102c1e3f728b
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit ee55c1984badacc44f716bf9dd900f815650e650
Author: Ninad Mahimkar <ninadm@codeaurora.org>
Date:   Wed Apr 25 14:36:17 2012 -0700

    msm: camera: Add SOF timestamps

    Add a message for passing real time clock timestamp
    to userspace when SOF is generated

    Change-Id: I99cb05bb3d619c4bf6da520366bd42e7e6ac8ee2
    Signed-off-by: Ninad Mahimkar <ninadm@codeaurora.org>

commit c264eed1e7debb50c97159784307de23bdfc3a3b
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Tue Apr 24 16:09:53 2012 +0530

    vidc: Send port reconfiguration for interlaced clips

    Component is not getting port reconfiguration request
    from driver for an interlaced clip. Fix it by
    modifying the condition for triggering the
    reconfiguration request.

    CRs-Fixed: 352456
    Change-Id: I65ce5987f31915f45a13767965918b61e32db7a7
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 14648740d17ca1f154222aba29a1f2946609f460
Author: Manoj Rao <manojraj@codeaurora.org>
Date:   Fri Mar 30 19:42:12 2012 -0700

    msm_fb: MHL Driver for SI-8334 Transmitter

    The device driver for SI8334 Silicon Image's
    Mobile High-definition Link (MHL) Transmitter implements
    wake-up, discovery and communication with MHL sink.
    The MHL-8334 Tx is attached to MSM as an I2C-client.

    Change-Id: I845bc1b30dc799183357224a296215ecc1d44893
    Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
    Signed-off-by: Abhishek Kharbanda <akharban@codeaurora.org>

commit 6627b36ee06ab56a800e2b570a038423c6572b02
Author: Rajakumar Govindaram <rajakuma@codeaurora.org>
Date:   Sun Jan 29 19:00:30 2012 -0800

    msm: camera: 8960: Unify Autofocus actuator

    The actuator functionality is the same for different camera
    modules. So a single actuator driver module is supported.
    The variation is because of actuator control parameters,
    which are made available in user space actuator driver
    for better integration with tools used for autofocus
    tuning.

    Change-Id: Ibbae2ef426b570c59ec3796ac56abcf05af28259
    Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>

commit 44d8b26f0abf78bdfe891667d990ffea4f6a3804
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Thu Mar 1 12:51:41 2012 +0530

    vidc: Add support for sequence header generation

    This change supports sequence header generation prior
    to the video encoder input & output buffer allocation.
    After setting all the required parameters to the core,
    client needs to allocate sequence header buffer of
    appropriate size and pass it in GET_SEQUENCE_HDR ioctl
    to get the sequence header.

    Change-Id: Ia6cc6bdcea595fd63b0aa2f4c2f5c5252db9c620
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 8c23e070b04aa6160681203bf431db60eb7e2e9a
Author: Jeevan Shriram <jshriram@codeaurora.org>
Date:   Wed Mar 14 11:35:49 2012 +0530

    msm_fb: display: Enable 32bpp framebuffer format.

    Enable 32bpp framebuffer format for 7x27a and 8x25.

    Change-Id: I38deabca45ea849710bd2edb2b6847c5309a0c9e
    Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>

commit 4a3b94251460fbfc66244475a5f1a54c72a9fe97
Author: Philippe Gravel <pgravel@codeaurora.org>
Date:   Fri Mar 23 14:21:04 2012 -0700

    msm: camera: v4l2 updates

    - Adds some protection against unexpected calls
    - Update ifdef guards in msm_camera.h

    Change-Id: I388822001159188a6c487f8c0deefa8fb5238249
    Signed-off-by: Philippe Gravel <pgravel@codeaurora.org>
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 700f5c27d0687f96e9c4a38742b1c0b247051238
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Mar 28 17:35:28 2012 -0700

    msm: vidc: Adds API to request performance level.

    Adds API to request for a particular performance
    level from video core. This is needed for Wi-fi
    display (WFD) to reduce end to end latency.

    Change-Id: Ib4133b8cd62ccad286be1984f944911754b887c5
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit a2688820ce17aa8ba1c67077c3ca9e9d5246637b
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Apr 5 20:22:50 2012 -0700

    msm: camera: Acutuator and flash control

    Pass actuator and flash support to user space
    so that modules can be enabled and used based
    on availability at run time

    Change-Id: Ia801f17181b492d65feb7bd707d9cc344de9cfe6
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit c55856c548e0cec8b29e415a08a353a0ab1ac4c8
Author: Alhad Purnapatre <alhadp@codeaurora.org>
Date:   Tue Feb 28 13:24:57 2012 -0800

    msm_fb: display: MSM V4l2 video overlay driver

    Provides a V4L2 device that uses the MDP overlay pipes (on MDP4),
    or the PPP interface (MDP3) to overlay frames on top of display
    framebuffer.

    Signed-off-by: Alhad Purnapatre <alhadp@codeaurora.org>
    Change-Id: Iab69d0a5acfe993d13cb7a585e292b9a87eb90ee

commit f0bd4cd4ca4114298fba41f18db9babe0533e075
Author: Zhang Chang Ken <kenz@codeaurora.org>
Date:   Sat Mar 31 14:35:50 2012 -0400

    msm_fb: display: Epson ebi2 panel support

    Support fb with ebi2 only(without mdp)
    Add Epson ebi2 qvga panel support

    Change-Id: If61b2c522a102133f98f27b21dcc18d057b7ef25
    Signed-off-by: Zhang Chang Ken <kenz@codeaurora.org>

commit 198a06c95a9246a531ca65c1a98437bc6a90511e
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Mar 13 15:50:58 2012 -0700

    msm: vidc: Remove vcd restriction of duplicate input buffer queue

    VCD previously had a limitation of not allowing two consecutive
    encode_frame calls with the same buffer. This was primarily due to the
    handling of buffer_entry elements in the buffer pool.  This commit
    removes this restriction by maintaining an internal buffer_entry element
    that VCD keep track of.

    Change-Id: If1788246444d055f9fc369ebd61f57a080d8d333
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit fd0df3ccda02dd1fad680735333bea7ac025abc5
Author: Zhang Chang Ken <kenz@codeaurora.org>
Date:   Fri Mar 30 17:03:51 2012 -0400

    msm_fb:display: add display support for mdm platform

    add setting for no mdp hw case
    add ebi2 epson qvga panel setting

    Change-Id: I91b9ef1890a66eb95c14f8a393b89baa757904a5
    Signed-off-by: Zhang Chang Ken <kenz@codeaurora.org>

commit 50f02e2345b8a7503c85696b35c2490b3fc53fb0
Author: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Date:   Thu Mar 22 12:42:45 2012 -0700

    msm:vidc: update default output buffer requirement

    Updated the default output buffer requirement to
    match worst case requirements. With this change
    reconfig will trigger only if the actual buffer
    requirement is less than the estimated requirement.

    Change-Id: I754a31b9a346f87e5946cad252ba1ea86530dd9e
    CRs-fixed: 343812
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit 6a72f522d445852ccbbf87294ed466f0260087c9
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Mon Mar 12 17:41:57 2012 -0700

    vidc: memset only for non secure sesion

    The buffers are memset only if its a non secure
    session.

    Change-Id: Idf74a6b54f39012bbe69fb5b5d27f2764d0017af
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit c6802266a867fbd1e8fd03ca87b28ea8c0561f3e
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Tue Mar 27 16:33:15 2012 -0700

    vidc: Move metadata shared input mem to firmware heap.

    Metadata shared input is used to communicate between
    the video code and video driver, hence make this buffer
    as uncached and allocate it from firmware heap.

    Change-Id: Ib1f4005bae1778f68d228bd3c798457c7c15d83d
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit d5a0297a2ce7b4a491dd264dbef855e53d95abfa
Author: Arun Menon <menon@codeaurora.org>
Date:   Thu Mar 1 10:51:06 2012 -0800

    msm: vidc: Extract PAR info for MPEG4/DIVX.

    Display needs the pixel aspect ratio information
    from the video decoder to display the picture
    with the right aspect ratio. Video decoder extracts
    the pixel aspect ratio information from the
    video core and passes it to the client/display
    as extradata.

    Change-Id: I4db2b8ba827af67bc01888d13c36c1b501934ccd
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit a1f9df15e005241ecf23069f7d345f9a943c06ef
Author: Jeevan Shriram <jshriram@codeaurora.org>
Date:   Fri Mar 9 19:48:18 2012 +0530

    msm_fb: display: Add panel driver for Truly IPS3P2335 client

    Add panel driver for TRULY IPS3P2335 client

    Change-Id: Ibf37f7c292593898e237329f3021f1eed8f8728d
    Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>

commit 2e99bff826119272ee10734756aba3631e0226e7
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Mon Feb 13 21:12:08 2012 -0800

    video: msm: wfd: IOMMU migration

    Migrate WFD to IOMMU APIs.  Commit contains following changes:
    - Switch from allocate buffer model to use buffer model in order
      to have the flexibility to map buffers into seperate domains.
    - Use the ION caching APIs to flush buffers in case they are cached.
      Earlier on, we used uncached buffers, hence we didn't have a need
      to flush.

    Change-Id: I959027ee94a5d6074005f1de420c66cbe55db776
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit ef091c924308a03ba2f5ce614faaf7b4dabd3901
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Tue Feb 28 11:25:35 2012 -0800

    vidc: Migrate to new ION cache ops API.

    New cache ops API are provided thru ION interface
    migrating the in kernel cache ops to use the
    new cache ops API.

    Change-Id: Idf152429316cec2eec8417d72160b7bd53488fc4
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 8cd67fa36db83b5757c61de4b3bed567bc800b14
Author: Luis GarciaCalderon <luisgc@codeaurora.org>
Date:   Fri Mar 16 16:05:40 2012 -0700

    vidc: Increase size of h264 encoder's mv buffer

    Corruption is seen in the output bitstream in hfr recording
    mode.

    The output corruption is avoided by increasing the size
    of the mv buffer.

    Change-Id: I6fed4329a9be772cb680e268cf0c618d8a350f14
    CRs-Fixed: 340590
    Signed-off-by: Luis GarciaCalderon <luisgc@codeaurora.org>

commit 073e0cab00d6cf60279de167d8063c5e5f4b5715
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Mar 6 12:26:08 2012 -0800

    msm: camera: add fields to msm_stats_buf for cache operations.

    Add a couple of fields to the msm_stats_buf structure
    for cache coherence support on stats buffers from
    user-space.

    Change-Id: I3553fcf6359e4e748eb309d4a0a5979999d96f09
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 210061ffd99eed2235baa6904b1fbf1d7f26f9b5
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Feb 14 20:56:16 2012 -0800

    msm: camera: Add media device node

    Add media device node for each camera sensor
    Sensor and video node info will be used
    for device discovery from userspace

    Change-Id: Id8c2f3e952c83259bb6b273cb6b3f04ed93d0ef3
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 9313714a4d2e8675192c3294a1236fef2e0164fe
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Wed Mar 7 20:22:17 2012 -0800

    vidc: Move shared memory to firmware heap

    if smmu is enabled then the memory needs to be
    mapped as cached for IOMMU heap, moving the
    shared mmeory to firmware heap which does not
    require cached mapping.

    Change-Id: Ic3152e63686b51ba8768dbf38a9d9f7fdec1a963
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit f4ab51cc686fb0fb792c8de98cc1682acd2eab13
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Thu Feb 9 15:23:45 2012 -0800

    vidc: Migrate to ion_map_iommu() API.

    Migrate video driver to use the ion_map_iommu() api,
    this api provides the physical address if IOMMU is
    not enabled.
    If IOMMU is enabled in the system it provides the
    virtual contigious address.

    Change-Id: I8b2871538c05986811fb565f9ebf1344e848cc10
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit c85b8ade5cb46b576eec2e5d667460d8d40cb207
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Thu Mar 8 17:47:17 2012 -0800

    msm-camera: enhance the camsenser query structure

    More information needs to pass to userspace.

    Change-Id: Ia7c5a5cf9a7f48e1c6167fd3ca2ddd56fbdbf8c9
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 4093ccc3b1498c2e7b7bf1ac7007babeaa58396c
Author: Arun Menon <menon@codeaurora.org>
Date:   Fri Mar 9 12:19:22 2012 -0800

    mm_video: vidc: SPS PPS enable for IDR and zero stuff bytes

    This change includes the driver support for the
    latest firmware updates - SPS PPS generation for
    every IDR frame encode and MPEG-2 zero stuff
    bytes consumption.

    Change-Id: Icdf3728897f47c90667cd650946ca324346611c5
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit 416878307740e2d475511ed0f12ebbd50db8c156
Author: Pradeep Jilagam <pjilagam@codeaurora.org>
Date:   Wed Feb 22 09:15:28 2012 +0530

    msm_fb : display : Add support for NT35516 qHD panel

    This change adds the drivers for NT35516 DSI Client and Truly qHD panel.

    Change-Id: Ifb7e02300a8e42d7097845638b77e311e92f69d6
    Signed-off-by: Pradeep Jilagam <pjilagam@codeaurora.org>

commit fd3a0274fc30e8f795365e8cd8c90d2b0b3df2d7
Author: Chandan Uddaraju <chandanu@codeaurora.org>
Date:   Mon Sep 26 17:29:37 2011 -0700

    msm_fb: display: Add MIPI DSI 720P Orise panel driver support

    Add support to run 720p MIPI DSI Orise panel in both
    cmd and video modes

    Change-Id: Iefd5594ba2fafe7797378f3297d169ebbce9b963
    Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>

commit 0bb7fe942f5e655d1ac1b10398ccda73ce83550e
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Thu Oct 27 16:06:30 2011 -0700

    msm_fb: display: Dynamic boot support for HDMI as primary display

    Move boot parameter to board display file as early_param for
    proper allocation of PMEM and ION sizes.

    Change-Id: Icfb163f572e8e010550747ec83787b6da6e86ee2
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit 94626402db72f77ee6241cf69c3ec584c39951da
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Fri Feb 17 16:52:12 2012 +0530

    msm: vidc: add slice info extradata feature for encoder

    One frame can have multiple slices or NAL units in the
    encoded bitstream output. Core can give slices information
    to the driver, if slice info metadata enabled, which inturn
    will be sent to the client as extradata in output buffer.
    This change will enable the core with slice information
    extradata feature.

    Change-Id: I52935a641dc7b4921da602b0132f0b81463b5cc8
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 4bb6ead226a37531bf7a9c272b6a805b0d674567
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Wed Feb 29 01:01:41 2012 -0800

    msm: camera: send error to HAL if daemon crashed

    When camera userspace daemon crashes, the server fd
    will be close, which trigger the msm_server_close
    function, we will check if there is an active camera
    session. If camera is active, we will send a v4l2
    event to HAL layer to signal an error. Application
    will exit gracefully and close other open fds and
    exit camera session.

    Change-Id: I14ebc864d6cace7ca6f4dbfb935623a76eeccaa8
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 766f87ae9589bf9db1135077e9a8c03b3ba05c78
Author: Riaz Rahaman <riazr@codeaurora.org>
Date:   Fri Feb 24 12:54:33 2012 -0800

    msm: vidc: Enable CP for 8660

    Set secure_session flag using a dedicated function.For secure session
    the order in the open call is first to open the client
    followed by calling the secure session. In release the unsecure of session
    needs to be done before closing the client.

    Change-Id: Ib03437d9d71358e1b2f5040ee0213ac83fa46c8a
    Signed-off-by: Riaz Ur Rahaman <riazr@codeaurora.org>

commit 0a1dfa3ebb6056c8969fd594be998b7e666a74cd
Author: Arun Menon <menon@codeaurora.org>
Date:   Wed Feb 22 20:31:19 2012 -0800

    vidc: Enable error concealment in video core

    Without error concealment, there is a bug in video core due to which it
    goes in to bad state for certain clips and times out. This change fixes
    the issue.

    Change-Id: I7452794e5901edd116acf22004bb70a7c398deed
    CRs-fixed: 336167
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit b0ded4e7fc3f7dd1c7f6468e00deff6672637f15
Author: Arun Menon <menon@codeaurora.org>
Date:   Wed Feb 15 13:54:10 2012 -0800

    vidc: Fix incorrect return value check

    Without this change, if the max number of clients is exceeded
    then vdec_clients array accesses memory out of bounds causing a crash.

    Change-Id: Ia7003fbb42d92a08d4a829803b764eb8da7c8fc6
    Signed-off-by: Arun Menon <menon@codeaurora.org>

commit 3a7774b2d5e1b3e6967bc2456be77402cd51b239
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Fri Feb 10 12:09:50 2012 -0800

    msm: vidc: Remove duplicate header files

    - Updated the header files in /include/media/msm to mirror the
      header files in drivers/video/msm/vidc/common/.
    - Deleting header files in drivers/video/msm/vidc/common/ as we
      wish to use headers in /include/media/msm going forward.

    Change-Id: I58f64e6168d3cc101394414400dd79b82c429ae4
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 04592007f7fd2dcff87ed034b8767dcc9550f08b
Author: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
Date:   Wed Feb 8 10:29:50 2012 -0800

    msm-camera: vertical and horizontal view angle of lens added.

    The application layer expects the view angle of the camera lens.
    The lens vertical and horizontal view angle of the sensors
    imx074 and ov2720 are added.

    Change-Id: I513fbbdf7fdfc5df0969fe54e05c7549123f6bcb
    Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>

commit 6c3bb3269d8dea04a2fbdc48a5cc267589f7f4f3
Author: Su Liu <suliu@codeaurora.org>
Date:   Tue Feb 14 02:15:05 2012 +0530

    msm: camera: EVB: Add Kernel driver OV5647 & OV7692

    Add Initial sensor driver support for 5MP OV5647
    and 1MP OV7692 on EVB 1.0 platform.

    Change-Id: I8155abe1ff3c388561feed3a032c6603df892e1e
    Signed-off-by: Su Liu <suliu@codeaurora.org>
    Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>

commit dbbefd7e3586a832447909f17e4ee99edb68bfc3
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Tue Feb 14 08:39:04 2012 -0800

    vidc: cleanup allocated ion buffers in case of crash.

    when a userspace process crashes, the video driver
    release function is called and the allocated
    ion buffers are cleaned up to avoid memory leaks in case
    of userspace process crash.

    Change-Id: I538381b08b27adffe64e23dcf479802fc62179a4
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 36d8ccd620799d2ad224f22a4c4c34c0256e1d08
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Fri Feb 10 11:53:49 2012 -0800

    msm_fb: display: Add DSI Video Toshiba WUXGA(1920x1200) panel support

    Add DSI Video Toshiba WUXGA(1920x1200) panel support using DSI Toshiba
    WSVGA bridge chip for controlling panel

    Change-Id: I36de195a0f86acd5415f2c6a0c4f0cfe050512bb
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit a4036e1a530eaa235c01c4eceadf48379964c8a4
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Mon Feb 13 12:28:45 2012 -0800

    vidc: Fix for release of secure session.

    When the video driver is released ,the memory is un protected
    by calling the unsecure heap API, It was observed that
    sometimes when the memory is unprotected without closing
    the device the video core was not responding, after testing
    it was found the call sequence of unprotecting and closing
    of the video driver was not proper, hence first close the
    video driver and then un protect the memory.

    Change-Id: I35bd2b18281d78eb8ff91925f5b989282c2b5603
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit de2d0ee764456f6fc4b77d47a021cae969a9fd6d
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Feb 13 13:42:29 2012 -0800

    msm: camera: Correct the IOCTL numbers.

    Two camera IOCTL types are enumerated using
    the same number by mistake. Rectify the mistake.

    Change-Id: I48ee8d0ca543c19a3f692ed2ca5baa950edacdf2
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 3b6551e3642301c92a1c96a70c4905da87b268ec
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Wed Feb 15 16:11:39 2012 -0800

    msm_fb: display: Add supported MIPI panels to LVDS/MIPI detect config

    Add supported MIPI panels to LVDS/MIPI panel detect config for
    backward compatibility with old targets

    Change-Id: I31048cd51c8e8d09e7a16c5f81eb3e6dc9c59259
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit 6861b213cc6793cb288b115afed134864c03d92d
Author: Deva Ramasubramanian <dramasub@codeaurora.org>
Date:   Tue Jan 31 16:29:31 2012 -0800

    vidc: Add check for ION import fd errors.

    ION APIs return error values rather than NULL pointers in case of
    failure.  Hence remove the explicit NULL check and use the IS_ERR macro
    to identify failure.

    Change-Id: I38d6ce06e676dfc0f85954bf509db53295906bbe
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>

commit 6cf8a749e2354cf09e564dfa8104f706dca9b437
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Sat Feb 4 23:40:50 2012 -0800

    camera: vfe32: Enable VFE configuration for inline JPEG encoding.

    During inline JPEG encoding, one VFE output is routed into
    internal memory (IMEM) instead of external memory. The JPEG
    encoding hardware (GEMINI) will read from IMEM and generates
    JPEG bitstream.

    Change-Id: I12d3600524538ab85021dd8882af0404bddc488f
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit ab05f94b75a40fdd70f018a12fef1d8e0b972175
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Thu Feb 9 19:18:45 2012 -0800

    msm_fb: display: Add LVDS display & LVDS/DSI panel auto detect support

    Add LVDS display PHY/PLL configuration and panel backlight support.
    Enable auto-detect support for LVDS/DSI panels

    Change-Id: I36a1a3c4cee9e015ae6fd03257bd10efa81450d8
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit 70613ecf6cde306b774578b5732f992f662e599a
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jan 26 16:24:23 2012 -0800

    msm: camera: support exposure metering and  HDR snapshots

    With this change we achieve multiple things related
    to correct HDR functionality. First, we do not
    always configure ping and pong to be the same buffer in
    case of the snapshot mode. This would help support taking
    mulitple snapshots. Second, we support for logic to skip
    frames in case of snapshot, a necessity for the exposure
    metering feature. Third, we support post processing
    divert of both snapshot and thumbnail buffers to be
    taken from either mctl queue or video queue, to be
    determined at runtime.

    Change-Id: Ibcf2bbfc171b2686ca44e6366feadf435368fa5f
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 0cfba7b42b33cc0712d81d3ea917a235b3cd8d7c
Author: Amir Samuelov <amirs@codeaurora.org>
Date:   Mon Feb 6 11:02:12 2012 +0200

    msm_fb: display: Add Chimei MIPI-DSI WUXGA panel driver.

    Add Chimei MIPI-DSI WUXGA (1920x1200) panel driver.

    Change-Id: Ie5d55309efa81e237215de4d79b0bc84ce5072ef
    Signed-off-by: Amir Samuelov <amirs@codeaurora.org>

commit 18044ce96c01a440a2ade3711aba776aa1fea64a
Author: Pradeep Jilagam <pjilagam@codeaurora.org>
Date:   Tue Dec 13 23:22:48 2011 +0530

    msm_fb: display: Add support for MIPI NT35510 WVGA panel.

    Adds DSI client and panel driver files to support Command and
    Video modes with NT35510 client and Truly WVGA panel

    Change-Id: Ia41bf282d070fa5fc5e0afeb24366a540c7ca9f5
    Signed-off-by: Pradeep Jilagam <pjilagam@codeaurora.org>
    Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>

commit c3cb9ea7ca154538e80c67f3ad9979833888733c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Fri Jan 6 15:11:10 2012 -0800

    msm: camera: Add MCTL camera node.

    Add support for MCTL camera node. This
    is a v4l2 device node which will be used
    by the camera daemon process to configure
    buffers for VFE.

    Change-Id: I8415288fb6881376a8c1e78ca03bb12f8f655863
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit dd12847121cfdc1e1a12ec5aeccff355d5d72d16
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Thu Dec 1 09:35:34 2011 -0800

    msm: camera: Configure VFE for two output mode.

    Configure upto two outputs of VFE desginated
    as primary and secondary. Depending on the irq,
    only send message type primary and secondary and
    allow MCTL to interpret these messages.

    Change-Id: I25568cb6bba5792658b0570383f64ddb58e21421
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit aa70f9da28370869b83afd6fad79473a7e3d141b
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Thu Jan 26 09:00:15 2012 -0800

    vidc: Caching support for video encoder/decoder.

    Added support for cache flushing when the ion
    buffers are allocated in cached mode for encoder
    and decoder.

    Change-Id: Ia6c3f82fe62d6aecf7651523c6918f05b8906917
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 318d7cbd8eaaced74293b90bec8533a280d41bdc
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Nov 29 14:24:26 2011 -0800

    msm: camera: Correct the reserve buffer logic in mctl_pp.

    When the daemon asks to reserve a free buffer, get the
    correct address by using the image mode to get to the
    correct camera instance and populating the buffer address.

    Change-Id: I23c6e00458562ef2b9880cbffe2d6a100de80ea1
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 51c0e6541a6eab7510def11804fb0b379d093b89
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Wed Feb 1 16:24:39 2012 -0800

    msm: video: Update macros to use readl/writel

    Currently, video code uses macros other than readl/writel
    to read/write from memory mapped registers. While technically
    correct, this prevents readl/writel logging from working as
    expected. Change the video macros to use readl/writel
    internally.

    Change-Id: Ia5b71849491b31f4c8dd04cd4228bb30602a78c4
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

commit f365b26933818f0073aa99b2b2624c703e19a833
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Wed Feb 1 13:07:43 2012 +0530

    vidc: 720p: Fix for H264 thumbnail generation

    Core is sending non frame data error for SPS and
    PPS, which is communicated as a fatal error to
    the component in case of idr only mode. Fixed this
    by sending it as a bit stream error.

    Change-Id: I79b1fb45857b3b18fa84f17dca3d8a8a2fbb1d2b
    CRs-Fixed: 326563
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 8eecbbe64be9bda61624d5d23cde9615b5ccb588
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Mon Jan 30 15:24:22 2012 +0530

    msm: vidc: insert break in switch-case statement

    Insert break statement at appropriate case statement
    in a switch condition. If no break statement resulting
    in corruption for next case statement.

    CRs-fixed: 333684

    Change-Id: Icc617ac11d90ccfdcd33ea1d5a3f421935f595ad
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 0a03871991ba38c1ab5ca09a61f218fb2b9775a8
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Thu Jan 26 15:25:07 2012 -0800

    msm: vidc: Update to new clock APIs.

    Update current clk_enable and clk_disable APIs to
    clk_prepare_enable and clk_disable_unprepare
    APIs respectively.

    Change-Id: I7cbd5d7ed0565b777b54deab0e77b0f424675901
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 49a21e0f093d8476f108f7174a09ff941ddaf4e0
Author: Luis GarciaCalderon <luisgc@codeaurora.org>
Date:   Tue Jan 24 11:34:30 2012 -0800

    vidc: Fix cleanup error after a failure when importing ion fd.

    An invalid value in the kernel address variable causes an
    ion unmap error when attempting to clean up after a failure
    occurs when importing the ion fd in the function
    vidc_insert_addr_table().

    When an ion import fd failure occurs, cleanup is not required.
    During failure we now go directly to bail out and the cleanup
    code is skipped.

    CRs-Fixed: 332841
    Change-Id: I3aa99a278806b8f8031c1618ab067391909105c7
    Signed-off-by: Luis GarciaCalderon <luisgc@codeaurora.org>

commit 62f887ce4c6a52be4a4b846606768c19487742b7
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Tue Oct 11 22:56:59 2011 -0700

    msm_fb: display: Add LVDS display driver support for Chimei WXGA

    Add LVDS display driver support for Chimei WXGA LVDS display panel

    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
    Change-Id: If8830295814d0e27f49dfffdeb96db63f73809ba

commit 055cb8ecdd4aa111e24844f80c30607470de22b5
Author: Suresh Vankadara <svankada@codeaurora.org>
Date:   Wed Jan 18 00:50:04 2012 +0530

    msm: camera: Add support to V4L2 architecture

    New targets are following V4L2 architecture for
    camera. Update 7x27a camera drivers to support
    new V4L2 architecture to unify all camera drivers
    in the same architecture.

    Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
    Change-Id: Ie23ac982375041c06b68537d5784d8cdbbc9bf04

commit 8a41a00c9a223ff75a53f5295d9c4931352d9cbe
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Jan 20 19:09:51 2012 +0530

    vidc: 720p: Update to new clock APIs.

    Updated current clk_enable and clk_disable APIs
    to clk_prepare_enable and clk_disable_unprepare
    APIs respectively to be inline with the new clock APIs.

    Change-Id: Ie45b620a7580ac65466b922b749b5746abbe4c20
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 3a2cd43253cd0bc4e4451b7384dbb2ea59a078d2
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Fri Nov 18 13:58:58 2011 -0800

    vidc: check for ION flags.

    Get the ION flags before and pass the flag info to
    ion_map_kernel() api, the flags indicate if ION
    device is opened in cached mode or uncached mode.

    Change-Id: I125ba066337851ff67961edee97aca90324e9799
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit fc81e10421b055303c2459fd52e19a57e2aff31e
Author: Alekhya,Monika <malekh@codeaurora.org>
Date:   Thu Dec 29 15:17:33 2011 +0530

    msm-camera: Add support for YV12 preview format

    Enable camera driver to output preview frames in YV12 format.

    Change-Id: Ib4e358460eb922c6a06314682380c4de30f81319
    Signed-off-by: Alekhya,Monika <malekh@codeaurora.org>

commit 0da46929eb69a01fa4b1d26a317e8fcc60a024ac
Author: Huaibin Yang <huaibiny@codeaurora.org>
Date:   Tue Nov 29 15:08:04 2011 -0800

    msm_fb: display: add mdp overlay1 writeback

    This feature is enabled to avoid underrun on the display external
    interface (HDMI). For example, if 1080p to 720p downscaling is
    required, and mdp clk rate already is in its max, writeback is the
    only solution for this situation.

    Change-Id: I2323272a90730da45601f1d4c7dfc2bf06337b59
    Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>

commit 7c3ad69aac323ce84e3015873b0c9b18387c12d3
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Thu Jan 19 13:10:57 2012 +0530

    vidc: Add support for video playback secure session.

    When video driver is opened in secure mode, buffers
    are allocated from secure heap.

    Change-Id: I813c52e65b88cc302d8f4d27fc7c5f13a6fa77a8
    Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
    Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit cc5d20d1c1c52cb69fc4bae5bb626fd76bfe730e
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Jan 10 18:43:50 2012 -0800

    vidc: Map firmware buffers after memory clocks are ON.

    Change will delay mapping of buffers until bus bandwidth is
    requested by video driver

    Change-Id: Ibb6867baf6b3e821ec3ceafcdcab1e9225a5b109
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 4d05ed377635f1955412c580d2e925babd0fa122
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri Jan 13 11:08:44 2012 -0800

    vidc: Enable clocks required for secure playback.

    The video driver should enable iommu clocks for vcodec, mdp and
    rotator for content protection playback. Expose clocks to video
    driver to enable for secure playback.

    Change-Id: I2037cf5825d0b9cc7f37cf7fe56396163cb1db24
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit c59d62226a850caf80afc04e35d0fd060e91adf4
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Tue Jan 17 14:37:44 2012 -0800

    vidc: Added proper check for ION handle.

    ION handle check was not correct for error case,
    added the proper check for ION handle to handle
    the error cases properly.

    Change-Id: I6bf3ce32d5b77d4f2c606fda1c511967156d62c0
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit e0e9e92051e2170b79713f3455c481e8defd2e47
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Tue Nov 22 13:41:28 2011 -0800

    msm: vidc: Remove endianness change for 1080p firmware.

    Endianness change is no longer required for 1080p
    firmware starting with Nov 30th 2011 firmware version.

    Change-Id: I309d63b7efb544f80b44c6fc13955f186ece934b
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 6fb6e94208d7eacebf159127b558515ac77ea164
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Wed Jan 11 04:54:51 2012 +0530

    vidc: 1080p: Increase context memory size of the H.264 encoder.

    Increasing the context memory size of H264 encoder
    to 20KB as it is a requirement from 11302011 firmware.

    Change-Id: I944026c96c9cfc2fcf599d4697bd528fbb43ed43
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 699edcfca1baabcebcf6c671fdf569b54493f0c0
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Thu Dec 1 17:43:47 2011 -0800

    wfd: msm: Adds encoder sub-device.

    Adds encoder subdevice to Wifi display driver.
    Captured output from MDP can be fed to this
    subdevice to get encoded.

    Change-Id: Iacdc551ef266525dea27bb99f98833093a57fb39
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 577d76ee513f6c09b761849dfcb4b36d1b510f8d
Author: Eric Ho <yinlokh@codeaurora.org>
Date:   Wed Jan 4 14:17:26 2012 -0800

    vidc: Add check for ion import fd errors.

    ion_import_fd can return ERR_PTR(-EINVAL) on error.
    fix added to check whether the handle returned
    has an error value.

    Change-Id: Icaf79630c44e0ffe13c07a26fd4323201479101c
    Crs-Fixed: 328546
    Signed-off-by: Eric Ho <yinlokh@codeaurora.org>

commit 57eeb74c2d92dd0fb9b64b6ecd5f39d4b17dd9db
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Wed Jan 11 10:22:04 2012 -0800

    vidc: allocate mfc shared memory from MM heap.

    The mfc shared command memory was only 8k, hence
    ION alloc was failing for multiple instances.
    This change allocates the mfc command shared
    memory from MM heap carveout.

    Change-Id: Ic54d19950cd4634bb4ec5148a0629e37bec56db3
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit b559874ae9d4dafcc5eb8b628b8675a3db9fea2e
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Wed Dec 21 16:52:33 2011 -0800

    msm: vidc: Adds video header files.

    Adds video header files in include location
    so that they can be included by other kernel
    modules, eg: by v4l2 capture driver for
    Wifi display.

    Change-Id: Ib7621d8f551e0d0e8660b19db25c2ff6a501cd67
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 57809833f29db84f5cbd68c5af730fe57101d5c9
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Mon Jan 9 23:52:28 2012 +0530

    msm: vidc: Add a check for fullHD playback.

    Added a check for fullHD playback based on
    the board specific platform data.

    Change-Id: Ib0aba63e04f86036d835b5f589d21a4af196265d
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 59955cbce487a63792488049110857a05bbd8206
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Thu Dec 8 10:23:01 2011 -0800

    vidc: Dec/Enc ION memory allocation according to new ION heap ID

    Allocate ION memory from the newly defined ION heap IDs.

    Change-Id: I599e13f3bd983a551fa62f00247228725fac8bcb
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 075d00c8aae9422dac51d60275df6a55b82aec98
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Jan 4 15:28:06 2012 -0800

    vidc: synchronize access to address lookup table.

    Video encoder driver supports meta mode. Different
    threads can update the table during recording.
    Adding mutex to restrict only one client to access
    lookup table.

    CRs-fixed: 327619
    Change-Id: I776cb933aa1819d68b504e9edc66cdfe3c815211
    Signed-off-by:  <gopikr@codeaurora.org>

commit 819b257a51108b3833256804030c522dc7059cb0
Author: Eugene Yasman <eyasman@codeaurora.org>
Date:   Thu Dec 29 18:36:56 2011 +0200

    video: msm: Add FB_MSM_HDMI_MHL to Kconfig

    Add FB_MSM_HDMI_MHL config to enable/disable the
    HDMI to MHL conversion support

    Change-Id: I51b58e9ca687e244c5b818a3aefb211e605c8e2a
    Signed-off-by: Eugene Yasman <eyasman@codeaurora.org>

commit 74236ece951d44e17e906433bd4877be0169741d
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Fri Nov 11 15:41:06 2011 -0800

    vidc: 1080p: Enable closed gop in MPEG4 encoder

    Change open gop to close gop encoding for MPEG4 ASP.

    Change-Id: I2e25b00a28848c3e7d6d971620830065fbd5b50e
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    CRs-fixed: 318148

commit 4587dabfaef0a2cde1b456cda870da68144b9736
Author: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Date:   Tue Dec 20 12:16:21 2011 -0800

    vidc: remove klocwork warnings

    Changes made to remove klocwork warnings
    in vidc.

    CRs-Fixed: 314450

    Change-Id: Ia239c93f078d1f9312092e8672b354bc9f849646
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit 4c7758f294a1d4881623a06bb2cd02c04c174a07
Author: Guruprasad Gaonkar <ggaonk@codeaurora.org>
Date:   Fri Dec 16 17:30:00 2011 -0800

    Camera : Change to retreive system time from Kernel

    This timestamp is needed in the userspace to flush old
    video frames.

    Change-Id: I432e5f5d35581b10857b41930d7751500ea131dc
    Signed-off-by: Guruprasad Gaonkar <ggaonk@codeaurora.org>

commit da525ca7a3adf7566ad5f4f4bb09d093786ba43d
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Mon Dec 12 09:19:07 2011 -0800

    vidc: fix for memset crash.

    Check if the luma size is less that or equal to frame size
    and then do the memset else return error.

    Change-Id: I975ece55437499efe8988c06d367a33bdd8ff6b6
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 353b8e8393fa572d1f77743f83703415e5d37d58
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Fri Dec 9 11:34:50 2011 -0800

    vidc: Check for return value of ion alloc.

    Check for the proper retrun value of ion alloc
    using the macros.

    Change-Id: I01dec7391807e7811f677c9c475c714135b88749
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit fc4be3fbbfd53f52fca2609298ea6a307efcdd9e
Author: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Date:   Wed Dec 14 16:18:49 2011 -0800

    vidc: Add video driver support for h264 level 3.2

    Add video encoding support for h264 level 3.2
    in video encoder.

    Change-Id: I0d661cceace46e5059538ae348fa3b3e60a9f62f
    CRs-fixed: 313116

    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit 6bc004a29148396bc3974dc6e22864a63fab4448
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Mon Dec 5 20:58:19 2011 -0800

    msm: camera: Support for MT9M114 YUV sensor

    Initial support for Aptina 720p YUV sensor

    Change-Id: Idb2eb0c1d98482077cb170f3fc581b1e548dc1ee
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit 9e002a1d9283acc53c0e6e11ae86a41575105fe5
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Wed Dec 14 15:23:19 2011 +0530

    vidc: Add metabuffer mode support for 720p encoder driver

    Added 720p core video encoder driver changes, this change
    depends-on 93816, which allows clients to register buffers
    in data path in meta buffer mode.

    Change-Id: I41f74ceabe348de37763d9728090238d71a786bd
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit a5ede607de98907eb9b76486e3734eb823c45408
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Dec 2 11:33:26 2011 -0800

    msm: vidc: Driver changes to disable demux in core decoder.

    Added the following driver changes to support demux
    disabling in video core.

    	- IOCTLs to check if feature can be enabled.
    	- set/get feature properties
    	- descriptor buffer handling
    	- HAL changes to enable/disable feature in
              video core
    	- Resource tracker changes

    Change-Id: I86cf4c959175aba954339fff9f78dae6b5be740c
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 0a34f5ce81e084dfdb0a148106b90c41bae7840d
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu Dec 1 12:01:19 2011 -0800

    vidc: Add metabuffer mode support for encoder driver.

    Video encoder driver when configured in meta buffer mode,
    will allow clients to register buffers in data path.

    Change-Id: I23e2cb07386461275da5731134d8aad7df1cd060
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 39ada7bc05276dc0ab6a4c1ceee74ff25ef0963c
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Mon Dec 12 12:40:45 2011 -0800

    vidc: Make more pr_info()s into pr_debug()s

    The logging messages in the vdec driver are for debug purposes.
    Replace the info printks with debug printks. If desired they can
    be turned on individually via

     # mount -t debugfs none /sys/kernel/debug
     # echo -n "file vdec.c +p" > /sys/kernel/debug/dynamic_debug/control

    Finer based prints can be done on a line by line basis as well.

    Change-Id: I5b6f94e13724036d02c25d1d478d25ca2555dfa2
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

commit 34c5f958890c8881e92a05e05ac6f95b5a48eaf1
Author: Huaibin Yang <huaibiny@codeaurora.org>
Date:   Tue Nov 29 13:56:59 2011 -0800

    msm_fb: display: cleanup overlay0 writeback funcs and config flags

    The writeback blt mode is controlled by assignment of blt_base (NULL
    or not), only the #ifdef in board file is effective. Those flags and
    funcs on the driver side is cleaned up.

    Change-Id: Idc9a7fbb5525071bf3cf68e5182bc7f6a5693932
    Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>

commit a86367e34880ba37cabc0a6041300c0e3ae2424b
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Mon Nov 28 11:59:58 2011 -0800

    msm: vidc: Fix handling EOS with bitstream error.

    If the EOS frame has codec config flag set and decoder
    return status is bitstream error, then driver was
    handling EOS done before the core returned with EOS done.

    Fixed by adding a check in the driver to not handle EOS done
    until the core returns with EOS done.

    CRs-Fixed: 320107
    Change-Id: If2c6dc67e5d8e7df54b17443c753f0325b6f5175
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 8feaa3fe882332192daacd5027386b000667674e
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Nov 23 11:33:52 2011 -0800

    msm: separating frame divert and post process path.

    Add a new IOCTL to handle the completion of diverted
    frame.

    Change-Id: I3bbfc2bd3bfdfcd5e078713c068f3f6f97f7239a
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit b7523cde9399347fa357f0a5d43ccdfeaa30a04a
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Nov 18 13:23:14 2011 +0530

    vidc: 1080p: Override profile to ASP for XVid/Divx456

    Always set profile to ASP for XVid/Divx456 apart from
    MPEG-4. Core will ignore the profile information from
    the sequence header and continue to decode with profile
    set by driver.

    Change-Id: Ided0fe74ace8c78e28dfc68ba172cce024015e47
    CRs-fixed: 319168
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit d973663b4a2086c7fe1bf0264f16d413673c36c3
Author: Liyuan Li <liyuanl@codeaurora.org>
Date:   Fri Nov 11 13:47:59 2011 -0800

    video: msm: Adding support for MDP4 HSIC controls

    Adding support for users to adjust Hue, Saturation, Intensity and
    Contrast of the display.

    Change-Id: I79cb69c871686ccba115798f635f768b9a50affc
    Signed-off-by: Liyuan Li <liyuanl@codeaurora.org>

commit 12301a7e05dd4c94ce1d9bc2e68f31912c792931
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Wed Nov 9 18:30:29 2011 -0800

    vidc: Select board specific memory heap id.

    Allocates ION memory from the heap id specified
    in the board file.

    Change-Id: If701972a632fa336c6447e95b79484739593f1da
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit d7dc26f4487d7945ec17ae50d912699df5ce4afe
Author: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Date:   Mon Nov 14 16:01:44 2011 -0800

    vidc: vdec: Pass alignment flag to mapping api's.

    Mapping api by default assumes 4K alignment.
    Video core requires output buffer to be aligned
    to 8K.This change will pass aligment information to
    the mapper API.

    Change-Id: Iea630649476946614dfdbdf5150d97cf46a0ba42
    Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>

commit 3e90b9f72602f9536bc31270643989a056e1bea3
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Nov 1 18:48:45 2011 -0700

    msm: camera: add ion support to native driver.

    This change adds ion support to native (non V4L2)
    camera driver. It also adds ion structures to the msm_frame
    structure.

    Change-Id: I9be720e7d9924074706c93eec52178cb6f130af6
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit c18a362bd68407b80e660425c7fa1d2a975fd0b0
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Wed Nov 2 19:13:38 2011 -0700

    msm: vidc: enable thumbnail mode with single output buffer

    Generate thumbnails using 720p core with single video decoder
    output buffer.

    Change-Id: I51453f240ab38abd5326df96ea407981c6806f6b
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit f6719199aff866be5c77f2ddcfd56539932dc1cf
Author: Deepak kotur <dkotur@codeaurora.org>
Date:   Fri Oct 21 15:03:11 2011 -0700

    vidc: Add ION support for Decoder and Encoder.

    If ION is enabled in the platform, then use the ION api's
    to allocate memory, to get the virtual address and physical
    address for decoder and  encoder.

    Change-Id: I6372d14914de3a8f589fbcf45ffcee211fe563e3
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit ebd12f62bc7dc8b32e8efc099c4fdfa235226106
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Fri Nov 4 11:56:35 2011 -0700

    msm: vidc: print message as kernel info instead of error

    both decoder and encoder uses same driver structure and
    720p/1080p core base addresses, so the below log message
    is not an error message. hence making it as kernel info
    meesage intead of error message.
    Log message: Device config mismatch

    CRs-fixed: 316470
    Change-Id: Ib0f070eb44217961639d8326409f18f8a3600f19
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 996be18a0a1cc98fbf70d05ab99eb4343dacf9b9
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Sun Oct 16 16:04:23 2011 -0700

    msm-camera: allow non-zero Y offset.

    Change-Id: I73238a6cfac0feb146279516f78f4a51c74bc9e9
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit d292ddd67b5eb550d02520403ea2ad1d72957189
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Tue Nov 8 16:22:49 2011 +0530

    vidc: 720p: Set DB line buffers in case of reconfig

    In the case of multi resolution H263 clip, there is
    no response from the core. With fixes in video f/w,
    there is a problem in reconfig. Fixed by setting the
    DB line buffers to the core again in the case of
    reconfiguration.

    Change-Id: Iab3402d76ee904568c684ecdcc36f19b417aaa42
    CRs-Fixed: 303874
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 27020d1b5db194e11b08dc46dd7b89078895b6eb
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri Oct 14 17:50:29 2011 -0700

    video: msm: Writeback support in mdp for WFD.

    Adds writeback mode in mdp for wifi-display(WFD).
    This mode can be used to get the captured
    frames from mdp. This is added to support
    wifi-display capture device.

    Change-Id: Iae30cac65af181d8df4b514a128cd876fe7dda1c
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 3d40367cac25700f31510af395f58975bec65522
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Fri Oct 28 16:35:00 2011 -0700

    vidc: Map userspace allocated buffers into video smmu.

    Buffers allocated in userspace are registered with
    video driver for video core to use them. Video driver
    uses the msm mapped buffer API's to get the device
    address for those buffers. This address is then passed
    on to video core.

    Change-Id: I33dae3c90feb6c320cf0d422adf17b14eee03625
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 4cff94aea759ca85177d8e95bbc5446e6efc742d
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Mon Oct 17 11:37:33 2011 -0700

    msm: camera: Add support for YV12 image format.

    If the application uses YV12 or similar image
    formats which have more than 2 planes, then enable
    all the 3 channels of VFE output.

    Change-Id: I31af22a4047a38a12fe09a0b07a68f435506aad1
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit a9bdb01e48798ed256c416c6eefa0964ffd6637c
Author: Taniya Das <tdas@codeaurora.org>
Date:   Thu Sep 8 11:21:33 2011 +0530

    msm: camera: Add camera driver support for ov5640 and ov7692

    Add supprt for ov5640 and ov7692 for QRD devices.

    Change-Id: I9aa5b5031f0cd05f88fa5958a8dd4dbea18f04ab
    Signed-off-by: Taniya Das <tdas@codeaurora.org>
    Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>

commit cd7bc3ba9b76cdb5293653121508b56be470d65c
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Oct 12 16:14:48 2011 -0700

    camera: Add multiplanar support in postprocessing.

    The current postprocessing framework uses single
    planar structures. Change the data structures
    to support multiplanar image formats.

    Change-Id: I27dc6f4c544a4a628bbf2b073d6abd899450a396
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit d893034f3c7b3bc9435cd0cba78f220349b484ae
Author: Taniya Das <tdas@codeaurora.org>
Date:   Tue Aug 23 18:47:05 2011 +0530

    msm_fb: display: Add support for MIPI DSI Truly panel

    Change-Id: I499f050622e72c9f1daafa251b16ac67c35a7991
    Signed-off-by: Taniya Das <tdas@codeaurora.org>

commit 5283716d21af697a88ce5ec20fc2bba7a19a6272
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu Oct 20 11:18:31 2011 -0700

    msm: vidc: 7x30: Fix device argument of clk_get() for mem_clk

    A NULL device pointer will cause clk_get() to fail.  Fix it.

    Change-Id: Iac42c467e1c9ed6ee30996d550ae24b231792a40
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit 272f660ed75b1c91187cbcbc24f4e6db2389ab04
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Oct 18 14:20:03 2011 -0700

    msm: camera: Add binning factor to sensor output info

    Incoporate binning factor to calculate exposure time

    Change-Id: I31f6896ae7b36f606b8a407e5662d341f8f8ff1e
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit ef93b15891225f596b0e8bed8d2b727560456107
Author: Eduardo Carrasco <cecarras@codeaurora.org>
Date:   Tue Oct 18 11:11:56 2011 -0700

    msm: vidc: Preventing dereference pointers and array
    out of bounds

    Preventing a dereference pointer, and adding logic to prevent
    array out of bounds

    Change-Id: I8b21e4cb25a3dbb13c907d84c7ea342a12eed468
    Signed-off-by: Eduardo Carrasco <cecarras@codeaurora.org>

commit a2c2767ee7fa7e55d9cb30873739dc42311d60f4
Author: Manoj Rao <manojraj@codeaurora.org>
Date:   Tue Aug 30 17:19:39 2011 -0700

    msm: display: HDMI: Driver support for CEC feature

    Driver implementation of HDMI CEC feature. Support includes
    CEC frame send and frame receive. Support added for sysfs interface
    for CEC daemon to interact with the driver for reading and writing frames.

    sysfs interface
    /sys/class/graphics/fb1/cec
            Read: CEC block state.
            Write: Enable/Disable CEC block.

    /sys/class/graphics/fb1/cec_logical_addr
            Read: Print CEC logical address
            Write: Set CEC logical address which is used for
                   addressing CEC messages to and from MSM

    /sys/class/graphics/fb1/cec_rd_frame
            Read: Read rcvd CEC message from message queue.
                  If queue is empty -EBUSY.
                  If CEC block is disabled -EPERM.
            Write: N/A

    /sys/class/graphics/fb1/cec_wr_frame
            Read: N/A
            Write: Write to send CEC message.
                   If CEC line arbitration fault/no ack -EINVAL.
                   If CEC block is disabled -EPERM.

    Change-Id: I62ce418b7f1e887550319081cc4b78fbd564a6f5
    Signed-off-by: Manoj Rao <manojraj@codeaurora.org>

commit e30d3697182ecd07564b547d98abf183cd0a2d55
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Oct 14 16:11:01 2011 -0700

    msm: camera: Separate video timing and output pixel clk

    Camera video timing pixel clk and output pixel clk
    can be different. Added vt_pixel_clk and op_pixel_clk
    to address the difference.

    Change-Id: I8770c9897bc340908776d01a7583fed84398ff33
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 898f4bd8a9e7027e2fd9e50000e34abb41834e19
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Fri Jul 15 18:25:47 2011 -0700

    msm_fb: display: Add support for HDMI as primary

    Add support for using HDMI as primary. Includes changing number
    of framebuffers to 2, using RGBA format, enabling HPD by default.

    Change-Id: I7a01ee3cf981b08d05eed13cd0fb7a41983211b5
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit 0b51780505f6bf734687533ab37d0f4e5b4ba000
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Wed Oct 5 09:49:51 2011 -0700

    camera: Modify the camera event interface.

    - The current camera event interface is limited
      to 64 bytes. This restricts the interaction
      between the driver and the  userspace since
      the current structures used are already using
      the entire 64 bytes. Hence change the interface
      to overcome this limitation and accomodate more
      usecases(eg: postprocessing for multiplanar formats)
    - Renamed the event structure to a more generic
      name.

    Change-Id: Id3c635e2652491da4efd8fe34c32d63464b83755
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 3f7660ba0f3fdbe3780bee49aaa8ddc3ae3ab6dc
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Wed Aug 17 21:25:13 2011 -0700

    msm: vidc: Register device with clock driver and rename clocks

    Rename the clocks per the new naming convention under which
    similarly named clocks are distinguish between using their
    associated device's name and ID.

    Change-Id: I807b6c46ec78bd4eb54d36e0f8a57a5c314ad46c
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit 7b6e1fa36e1dce1a098995c630307d66d8dc54de
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Wed Oct 12 12:29:55 2011 +0530

    vidc: 1080p: Recovery point SEI support for ISDB-Tmm

    Enable Recovery point SEI parsing in the core for H264.
    Core notifies the Decoded YUV correctness in the output
    done callback for both decode and display order types.
    Parse this information and notify the user space with
    VCD_FRAME_FLAG_DATACORRUPT if the data is corrupt.

    Change-Id: I58373a2e2e7517431d6b120ea6fcb810d1a463c8
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 29e31c3659ad0e0bf601026a7f8e1d7eacd97dbf
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Wed Sep 21 17:15:47 2011 -0700

    msm: vidc: Increase the decoder input buffer size.

    Increase the decoder input buffer size to 2MB to be able to handle
    input frames greater than 1 MB.

    CRs-Fixed: 306909
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit bfe9f472c3e904bd6e18bc5a536a9b315414b3b3
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Mon Aug 8 11:14:49 2011 -0700

    vidc: vdec: Buffer optimization for smooth streaming.

    Smooth streaming client has the buffer count optimized
    to lower value than profile and level based counts for
    H264 decoder. Adding support in driver to take advantage
    of lower buffer count to optimize memory requirements
    for smooth streaming.

    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit e17a2ddc109e0691a25c69acd3ee16de354f5a82
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Fri Sep 30 15:04:39 2011 -0700

    msm_fb: display: Fix display driver init calls for auto-detection

    Fix display driver init calls for auto-detection logic to
    avoid initialization of panel drivers that are not selected for
    loading through fastboot

    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit f6d94f2458bdbb02a5cd49a7efa270768fb0bddf
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Mon Oct 3 14:45:15 2011 -0700

    vidc: venc: Return the correct error code for IOCTL.

    When ioctl fails for VEN_IOCTL_CMD_READ_NEXT_MSG
    send the correct return value to userspace.

    CRs-fixed: 310431
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit c719c541d8ec1c9a036002a80725457aab10e54f
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Thu Jul 28 16:49:25 2011 -0700

    msm_fb: display: Add boot param LCDC/MIPI panel detection support

    Add boot param LCDC/MIPI panel detection support for automatically
    loading selected panels through fastboot command

    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit c0055a1e92d713993f221d145aef38b4934e7249
Author: Yonggui Mao <yongguim@codeaurora.org>
Date:   Thu Sep 29 19:31:47 2011 -0700

    Camera: add special effect of emboss, sketch and neon

    Signed-off-by: Yonggui Mao <yongguim@codeaurora.org>

commit 2c232595feefe3c0edc054cf140b656cb59dc009
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Tue Sep 20 15:49:36 2011 -0700

    msm: vidc: Fix to handle VOL header errors.

    VOL header errors trigger reconfig in the driver. Driver tries to
    handle the reconfig but the core returns incorrect status causing
    a hang. Fix will set the flag appropriately for the core to know
    that the driver is handling reconfig and thereby return the right
    status.

    CRs-Fixed: 299978
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 80eaa6c4e2f9ddd1b4bc4424e7feb9bcb4e14695
Author: Eduardo Carrasco <cecarras@codeaurora.org>
Date:   Fri Sep 23 10:37:42 2011 -0700

    msm: vidc: Fix GOB Header for H.263 encoding.

    For H.263, enable the GOB header, when user space selects this option

    Signed-off-by: Eduardo Carrasco <cecarras@codeaurora.org>
    CRs-Fixed: 305978

commit efc36f7734ab4a65bd0058f9ec91a53c16ef40f6
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Thu Sep 22 15:40:49 2011 -0700

    msm: vidc: Fix performance level computation

    The required performance level is rounded off to the incorrect
    value due to the order of execution of the operations. Fixed
    the issue by ensuring correct order of execution when computing
    this value.

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 8e9f99e6223480a453501c07afe6aadaeec2085e
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Aug 26 16:33:32 2011 -0700

    msm: add video processing engine (VPE) as a V4L2 subdev in 8960.

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 6354a925a1369a1925a040dbf3ede153b1a9f466
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Aug 12 16:49:42 2011 +0530

    vidc: vdec: Copy the End of Sequence flag

    To get End of Sequence flag in the output buffer
    from the video driver, we need to copy the end of
    sequence flag from the input buffer to the output
    buffer in the driver. Added these changes as
    needed for ISDB-Tmm EoSeq feature.

    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 5f4b344ef8050c77eadaff2e6471a0f49f81efa7
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Sep 8 14:56:35 2011 -0700

    msm: camera: Get info changes for unified actuator

    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit a4b5f30e624a97c17df789f442c8dece775f2ad1
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 12 16:23:22 2011 -0700

    msm: camera: Actuator changes for 8960

    1) Added actuator framework with common functions abstracted out
    2) Added actuator as a sub device in media controller
    3) coupled sensor with its specific actuator in board file
    4) Added new actuator control structure and new enum for communication
    between user space and kernel space
    5) Added common logging module with different logging levels

    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

    Conflicts:

    	arch/arm/configs/msm8960_defconfig

commit 5f31685a1775030f4c071f9b984d300b44467c62
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Thu Aug 18 11:35:17 2011 -0700

    msm: vidc: Fix H.263 30fps standard resolution encoding.

    For H.263, when encoding standard resolutions(CIF/QCIF)
    at 30fps, the encoded bitstream should not have the
    Custom PCF flag set in the PlusPType header. This is
    fixed by enabling the custom PCF for non-30fps encoding
    only.

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    CRs-Fixed: 300807

commit 07f710c887b0be083da21e36f60a62d2c31e5c9e
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 26 19:35:18 2011 -0700

    msm: camera: Add camera epprom utility functions

    New utility file for handling camera eeprom.
    Added standard functions for reading from eeprom.

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 36e2bdcdf3e325449daa899c08aab3511923415d
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Aug 30 17:21:21 2011 -0700

    msm: camera: Add camera sensor quarter & full size enum

    Add quarter and  full size as a valid resolution.
    Both size are always present and used in sensor driver.

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 1bc306ad8db1bd0b5cc55361d905cbc04d75ef62
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Aug 18 11:50:20 2011 -0700

    vidc: vdec: Update firmware memory size.

    Firmware releases dated 07/30/11 and later require
    800KB of firmware global context space.

    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit b84120b47e318d5144604e7249e0e0bc119e1301
Author: Amir Samuelov <amirs@codeaurora.org>
Date:   Sat Sep 3 17:49:43 2011 +0300

    msm_fb: display: Add Chimei MIPI-DSI WXGA panel driver.

    Add Chimei MIPI-DSI WXGA (1366x768) panel driver.

    Signed-off-by: Amir Samuelov <amirs@codeaurora.org>

commit ceea762f4b33c244059f674798527902b0e2168e
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Aug 23 14:01:03 2011 -0700

    msm: camera: Support for Multi planar image formats.

    Add support for multi-planar image formats. This
    allows the luma and chroma planes of the image to
    reside in different memory locations.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 15b5b3ec2a58cef0bc576ab442f9cb472eb5841b
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Aug 11 15:04:08 2011 -0700

    vidc: venc: Remove check for allocation of sequence buffer size.

    Firmware requires non-zero sequence buffer size for H.263.

    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 7a6a34fb26f959fcbad55c9450819d79015a6f2e
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu May 19 13:27:08 2011 -0700

    vidc: 1080p: Override SP profile to ASP for MPEG4 decoding.

    Always set profile to ASP for MPEG4 decoding. Core will
    ignore the profile information from the sequence header
    and continue to decode with profile set by driver.

    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit fe7abc088b52d20b47b84737bad0517acfd8a551
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 13:27:39 2011 -0700

    mm camera: Add pmem vaddr mapping in HAL

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 9559ee42d03855217bd884d814a643f85faa1c6d
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 11:54:22 2011 -0700

    msm camera: separate daemon pmem mapping away from video node

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 0a0fe6a2a6bf9496373d73545b81a1f063399b6c
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Tue Aug 23 18:57:58 2011 +0530

    vidc: 720p: Handle profile unknown as bitstream error.

    For corrupted VOL header in the middle of playback
    core is returning UNKNOWN PROFILE error and is being
    treated as Fatal error and playback is getting aborted.
    Now handling it as sequence header fail/recoverable
    error.

    CRs-Fixed: 302549
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 48bc4ee915717166ad735d852bd52491494086ce
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Wed Aug 24 18:27:51 2011 +0530

    vidc: 720p: Memset MPEG-4 recon buffers to black

    In the case of MPEG-4 decoding with clips which have
    initial frames starting with P-VOPs, green macroblocks
    are seen. This is because of recon buffers used for
    MPEG-4 have 0 preset values. The default values are
    changed to 0x10 & 0x80 for luma and chroma to get
    default color as black.

    CRs-Fixed: 303298
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit f94bcc6852eae1a1623388b16833569c985e2998
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Aug 22 15:23:53 2011 -0700

    msm: camera: add config identifier to control command structure.

    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit d880c704a91e2ad56514e5deee20dd194576cc0c
Author: Ananda Kishore <kananda@codeaurora.org>
Date:   Thu Jun 23 15:19:31 2011 +0530

    vdec: 720p: deblocking filter enabled for Divx and XVID

    Default deblocking filter is enabled for Divx 4,5,6 and XVID.

    Signed-off-by: Ananda Kishore <kananda@codeaurora.org>

commit 3a8b8514533d94af2e9fcb4b215f968f07d14253
Author: Zhang Chang Ken <kenz@codeaurora.org>
Date:   Thu Aug 4 18:41:39 2011 -0400

    msm:8060: lcdc nt35582 panel support

    Signed-off-by: Zhang Chang Ken <kenz@codeaurora.org>

commit 270813aace6f99b5d6b3515b581a0c40ffee771f
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Aug 10 17:23:18 2011 -0700

    msm: code clean up of the existing improper event implementation

    Current implementation has a bug in v4l2 event subscription.

    Also it is good to make the kernel to be transparent
    to those notification events from daemon to HAL.

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 4ab97a9943c6eede62a4c62aedeac3ebbcc093d3
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 26 15:30:14 2011 -0700

    msm: camera: Include Minimum Luma in Stats buffer

    Include Minimum Luma Pixel value in Stats buffer
    for AWB stats process.

    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit a980f399e0a4f7e0521449cdaef4766257677867
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Aug 1 20:55:00 2011 -0700

    msm: camera: Improve unify sensor apis

    Added more error checking code
    Separate dimension specific register settings into separate structure
    Code flow improvements

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit a35a77c817d5dad4d1f915a4fbfea26e9bcbcc60
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Aug 4 12:59:49 2011 -0700

    vidc: vdec: Set correct divx codec type.

    Added support in video driver to configure divx codecs 4/5/6.

    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    CRs-fixed: 297558

commit 1d053f856bb08c43006a76ecbfec71f5357df54c
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Wed Jul 20 20:45:11 2011 +0530

    vidc: 720p: Add IDR Frame type support for H264 format

    Read IDR frame type from 720p core register set and
    propagate it to user space using new IDR frame type
    enumeration added in api header file. The IDR frame
    type info is used in SYNCFRAME logic for H264 format
    in userspace.

    CRs-Fixed: 296738
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit 474f225b5559e57c8df99d0512c1b02861017d44
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Jul 23 23:17:56 2011 +0530

    msm: camera: Initial version of LED Driver on 8960

    Initial version of LED driver for Cdp & Mdp comprise

    - Enable SC628A LED Driver chip for 8960.
    - Configure SX150X Gpio Expander chip.
    - Restructure  Camera Gpio Mux settings table
    which will later be used to toggle function select for LED Flash
    between Mdp & Cdp.

    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 2fe35efa5b3075bc32d00356ad0004162d3df19d
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:20:08 2011 -0700

    camera: v4l2: Add zoom support in driver.

    Add implementation of G_CROP and event for
    zoom completion.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 0d9277c6c15665222a9cdb5d16e45cbb6055d147
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:19:10 2011 -0700

    camera: v4l2: Use v4l2_event for event from config to app.

    This simplies the way event is propagated. Driver only needs
    to pass on the v4l2_event structure directly.

    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 5b04d356f55188a7e196a47c570e1cdf6f714c59
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 21:18:42 2011 -0700

    msm camera: snapshot wavelet denoise support

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 248eac2b1519a94c2587d627fe68a38727b16b58
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Jul 12 14:24:14 2011 -0700

    vidc: vdec: Report dropped field for interlace clips.

    For field based interlace clips, video core will generate
    an error when one of field is missing in bitstream.
    Driver will report this to upper layer, so that it can
    take appropriate action.

    CRs-fixed: 290659
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit c50e30a43b78b54308f7c2681be42b5f110153bb
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Mon Jun 27 13:57:16 2011 -0700

    vidc: 1080p: Set chroma address change in smooth streaming mode

    If resolution change is detected in smooth streaming mode and
    status indicates that video core can continue decoding, update
    chroma address for new resolution instead of starting frame
    realloc.

    Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>

commit 746d9ab0dabf7165b88906860ed3b52b351bcfe8
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu Jul 7 11:55:13 2011 -0700

    vidc: vdec: Report bitstream errors to driver client.

    When video core generates recoverable bitstream errors,
    driver will report them to upper layer.

    CRs-fixed: 290659
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 5d41837ac192f0545416b7c0510f4769fc5c04ed
Author: Mansoor Aftab <maftab@codeaurora.org>
Date:   Tue Jul 26 17:01:26 2011 -0700

    msm: camera: Changes to enable events and Auto Focus

    Added event notify message support added entries for
    autofocus event types

    Signed-off-by: Mansoor Aftab <maftab@codeaurora.org>

commit 60f8007df48104b7b067de307704abb830ef901a
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Jul 20 12:10:07 2011 -0700

    vidc: vdec: Pass alignment flag to mapping api's.

    Mapping api by default assumes 4K alignment.
    Video core requires output buffer to be aligned
    to 8K.This change will pass aligment information to
    the mapper API.

    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

    Conflicts:

    	drivers/video/msm/vidc/common/init/vidc_init.c

commit 4288de3af5711a81e86eb33d29f06996a95eb94f
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Jul 15 17:40:12 2011 -0700

    msm: vidc: Set Y and C size registers to allocated size.

    Currently the Y and C sizes are set based on the
    size of video being decoded. In case of smooth
    streaming, decoded sizes are not the same as allocated
    sizes. This change will set the Y and C sizes to
    allocated sizes.

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit c63847bcddab79bbd5850322843bf0b4ae098745
Author: Ananda Kishore <kananda@codeaurora.org>
Date:   Mon Jul 18 19:02:15 2011 +0530

    vidc: add change to print MFC firmware version

    CRs-Fixed: 296531
    Signed-off-by: Ananda Kishore <kananda@codeaurora.org>

commit 4950550ed4974d3f971892777bab9bc074cecc2c
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Jul 19 20:44:36 2011 -0700

    msm: Add new msm_buffer and event structs and event defines

    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 0fb9dcfbc652ed617ceb244bd8a9201d00a124fe
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sun Jul 17 12:31:53 2011 -0700

    msm-camera: configure preview and recording buffers
    seperately.

    decouple preview and recording path configuration
    by configuring the buffers during preview start
    and recording start respectively.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 5a19c68d63da33710ed52a974a996f03a706b84f
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Jul 23 11:34:34 2011 -0700

    Revert "msm: camera: YV12 video support"

    This reverts commit 66882a5046143601429632a0b589d9ffeeb3c668.
    This change will be submitted later.

    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 7ff0cf49995d22fddaa90cea95dac8850abcac89
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Fri Jul 15 15:56:40 2011 -0700

    msm: camera: YV12 video support

    Support for color format YV12.

    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit d81678207da7c9bb936e98c4f7f917eff81f710a
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu Jul 14 12:38:07 2011 -0700

    vidc: Stop using vcodec_axi_a_clk and vcodec_axi_b_clk directly

    These two clock are now implicityly enabled and disabled as
    dependencies of vcodec_clk (as was already the case for
    vcodec_axi_clk).

    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit a411f7e5195777253d4c3c94430787b4f19ea068
Author: Stepan Moskovchenko <stepanm@codeaurora.org>
Date:   Wed Jul 20 13:21:08 2011 -0700

    video: Kconfig: Remove extraneous dots from help text

    Clean up the help text by removing extraneous punctuation.

    Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>

commit 653c0f9b74db91425f7cda4f13cb2bde638282eb
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Jul 15 18:14:30 2011 +0530

    vidc: 1080p: Removed check for comparing DPB Size

    For best effort decoding we don't need to compare
    the available DPB size with the decoded size and
    throw error. So, removed the check that compares
    them.

    CRs-Fixed: 296211
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit bdc7bbba1cc1202166a45b479b1cb7b0e54eec8f
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Fri Jul 15 12:26:19 2011 -0700

    msm: Remove last references to NPA-related code for AXI rate management

    The NPA driver was removed some time ago, but wrapper code
    and some of its driver hooks persisted in the tree, despite
    not being compiled (or even compilable). Remove these now.

    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit 814e6171ab7a99fdcb2207b5c0c96dab4b3a3f2b
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Jun 29 13:10:58 2011 -0700

    vidc: 1080p: Allocate firmware buffer in driver init.

    Video core has requirement that firmware buffer address
    should be a lesser value than the all other video buffers.
    Hence moving allocation to driver init function to
    satisfy this requirement.

    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit abfb35634e1a165f194208834db1aab9fa7007a9
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Jun 22 12:53:00 2011 -0700

    vidc: Map video driver allocated buffers to video smmu

    video driver will use the new msm mapped buffer
    api's to get kernel virtual and device virtual
    address.This change will replace ioremap calls
    with new api's.

    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 3f2bc4d6eb5a4fada842462ba22bb6bbb41d00c7
Author: Bryan Huntsman <bryanh@codeaurora.org>
Date:   Tue Aug 16 17:27:22 2011 -0700

    Initial Contribution

    msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

    Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
commit 9743b69d29eb846eca3425a647ef9d290925d441
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Wed Sep 21 17:15:47 2011 -0700

    msm: vidc: Increase the decoder input buffer size.

    Increase the decoder input buffer size to 2MB to be able to handle
    input frames greater than 1 MB.

    CRs-Fixed: 306909
    Change-Id: I0b426e505326e1c1825faf481f77f46369c09154
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 3b9047132b38c211d4d8a26896ceb4e151bf618a
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Fri Sep 30 15:04:39 2011 -0700

    msm_fb: display: Fix display driver init calls for auto-detection

    Fix display driver init calls for auto-detection logic to
    avoid initialization of panel drivers that are not selected for
    loading through fastboot

    Change-Id: I32a7c220efd33f748a7b46fb1006e5f0a59dc4dd
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit 91be717084e45121fc1232e8309343c605603928
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Thu Jul 28 16:49:25 2011 -0700

    msm_fb: display: Add boot param LCDC/MIPI panel detection support

    Add boot param LCDC/MIPI panel detection support for automatically
    loading selected panels through fastboot command

    Change-Id: I5f5167411ac2e5bbc4287148d22608a7e1f2af35
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit f871a5629dd82a60309610bf8d3f82fbf0c8d0d1
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Mon Oct 3 14:45:15 2011 -0700

    vidc: venc: Return the correct error code for IOCTL.

    When ioctl fails for VEN_IOCTL_CMD_READ_NEXT_MSG
    send the correct return value to userspace.

    CRs-fixed: 310431
    Change-Id: I9afa3f9afcd718c31d5de99964030fe73eb7be57
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>

commit 6f6a85717fdc5e82cc0b993840e6efe006d57040
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Mon Aug 8 11:14:49 2011 -0700

    vidc: vdec: Buffer optimization for smooth streaming.

    Smooth streaming client has the buffer count optimized
    to lower value than profile and level based counts for
    H264 decoder. Adding support in driver to take advantage
    of lower buffer count to optimize memory requirements
    for smooth streaming.

    Change-Id: I26a726df8357a5b8ab5de6263b16e842887cac3f
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit f209909baab78b37409249530ca1e840720a4a31
Author: Yonggui Mao <yongguim@codeaurora.org>
Date:   Thu Sep 29 19:31:47 2011 -0700

    Camera: add special effect of emboss, sketch and neon

    Change-Id: Iac4c7127745b55e2569ca1976e41ce9dbfd60f5a
    Signed-off-by: Yonggui Mao <yongguim@codeaurora.org>

commit 65f8ca24b292d4af84955620ee4061b078e5e582
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Tue Sep 20 15:49:36 2011 -0700

    msm: vidc: Fix to handle VOL header errors.

    VOL header errors trigger reconfig in the driver. Driver tries to
    handle the reconfig but the core returns incorrect status causing
    a hang. Fix will set the flag appropriately for the core to know
    that the driver is handling reconfig and thereby return the right
    status.

    Change-Id: Ic3ea0f57d886abc5597b7ac0d85f9ae5597aa5d1
    CRs-Fixed: 299978
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit e92f9695de49c179e60172b4e625a94bf0ff6dc0
Author: Eduardo Carrasco <cecarras@codeaurora.org>
Date:   Fri Sep 23 10:37:42 2011 -0700

    msm: vidc: Fix GOB Header for H.263 encoding.

    For H.263, enable the GOB header, when user space selects this option

    Change-Id: I03690a7755c48f540fe359cd31ff4257992b9680
    Signed-off-by: Eduardo Carrasco <cecarras@codeaurora.org>
    CRs-Fixed: 305978

commit c9fc55be6efdd5518618f64f9a658619e86d5139
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Thu Sep 22 15:40:49 2011 -0700

    msm: vidc: Fix performance level computation

    The required performance level is rounded off to the incorrect
    value due to the order of execution of the operations. Fixed
    the issue by ensuring correct order of execution when computing
    this value.

    Change-Id: Ic0b18fac50ca7bd0094f147b36ee3c2050305445
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 8763c92c756a1dcd82f3309de42f1961c2e1853b
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Aug 26 16:33:32 2011 -0700

    msm: add video processing engine (VPE) as a V4L2 subdev in 8960.

    Change-Id: I635bfc6f484ca727df2144a0ae59f0af1a180091
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 1a16d5244a27781dad10838c93f11ec58758ee49
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Aug 12 16:49:42 2011 +0530

    vidc: vdec: Copy the End of Sequence flag

    To get End of Sequence flag in the output buffer
    from the video driver, we need to copy the end of
    sequence flag from the input buffer to the output
    buffer in the driver. Added these changes as
    needed for ISDB-Tmm EoSeq feature.

    Change-Id: I15c33f1457bdeda978973f74eb2f91c809f530ba
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit ba5cc67740ee3c5a62a000f097cf08147a234193
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Thu Sep 8 14:56:35 2011 -0700

    msm: camera: Get info changes for unified actuator

    Change-Id: I3dcce410edf9ce8daaecc94ef231e26832f105dc
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 900d17d8855fd42f0245178824a85012d8af6aaf
Author: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
Date:   Mon Sep 12 16:23:22 2011 -0700

    msm: camera: Actuator changes for 8960

    1) Added actuator framework with common functions abstracted out
    2) Added actuator as a sub device in media controller
    3) coupled sensor with its specific actuator in board file
    4) Added new actuator control structure and new enum for communication
    between user space and kernel space
    5) Added common logging module with different logging levels

    Change-Id: Ic32e19dc35092e31e972b77e2f48362a956ae175
    Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>

commit 184e6cc62fdb2a15da3ea267799a3c1a04ae4808
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Fri Aug 26 19:35:18 2011 -0700

    msm: camera: Add camera epprom utility functions

    New utility file for handling camera eeprom.
    Added standard functions for reading from eeprom.

    Change-Id: Ia08c2bfe2e6c37ed2c679822d1a2b1ae94f5e6eb
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 8142983e23840b115a968704be81fa2cb42df246
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Thu Aug 18 11:35:17 2011 -0700

    msm: vidc: Fix H.263 30fps standard resolution encoding.

    For H.263, when encoding standard resolutions(CIF/QCIF)
    at 30fps, the encoded bitstream should not have the
    Custom PCF flag set in the PlusPType header. This is
    fixed by enabling the custom PCF for non-30fps encoding
    only.

    Change-Id: I2cd896e5d78cef6160413d792a8be57ce1368bcd
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    CRs-Fixed: 300807

commit 6948f366310cc43779ef7d4f13bb0855aee6a098
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Tue Aug 30 17:21:21 2011 -0700

    msm: camera: Add camera sensor quarter & full size enum

    Add quarter and  full size as a valid resolution.
    Both size are always present and used in sensor driver.

    Change-Id: I347aac21175f3d15e7fa50f885c83e58f3f741f0
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 4f7e10164fc8f8477a0929cb910a849772620bc9
Author: Amir Samuelov <amirs@codeaurora.org>
Date:   Sat Sep 3 17:49:43 2011 +0300

    msm_fb: display: Add Chimei MIPI-DSI WXGA panel driver.

    Add Chimei MIPI-DSI WXGA (1366x768) panel driver.

    Change-Id: I0409909ea6f24db3da6ebf4d92233e45da93c2a4
    Signed-off-by: Amir Samuelov <amirs@codeaurora.org>

commit ba77ebe9cf446942cb0b2851a881425b6caab5d5
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu May 19 13:27:08 2011 -0700

    vidc: 1080p: Override SP profile to ASP for MPEG4 decoding.

    Always set profile to ASP for MPEG4 decoding. Core will
    ignore the profile information from the sequence header
    and continue to decode with profile set by driver.

    Change-Id: I8800ea0e97c0966c243210bb9fd86eb6178575fe
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit debb66baacf7db342891436d01b94a3afde0d905
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Aug 18 11:50:20 2011 -0700

    vidc: vdec: Update firmware memory size.

    Firmware releases dated 07/30/11 and later require
    800KB of firmware global context space.

    Change-Id: Ice7410dcdcef262dd3737b2d63e0f2ff91a5de46
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 93d42d4357772a178c7729d20f1a4353a5d9b08d
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Tue Aug 23 14:01:03 2011 -0700

    msm: camera: Support for Multi planar image formats.

    Add support for multi-planar image formats. This
    allows the luma and chroma planes of the image to
    reside in different memory locations.

    Change-Id: Ibd85b89d752d17d6f840e6959d9b3692e0f2aa98
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit 93f518e6dfac090e4caaf5b6bb7d2cddd057e377
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 13:27:39 2011 -0700

    mm camera: Add pmem vaddr mapping in HAL

    Change-Id: I2f5768eeeee42f5df527a85980f3eab24d773451
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 8ca74aecd2072d2aec9a7d0167198180a6c2386c
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Aug 9 11:54:22 2011 -0700

    msm camera: separate daemon pmem mapping away from video node

    Change-Id: Ie4731ea5cea5c51142093fcc2671942a1297644a
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 301cbf57a42e99ef403b38793431046fd0d1bc19
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Tue Aug 23 18:57:58 2011 +0530

    vidc: 720p: Handle profile unknown as bitstream error.

    For corrupted VOL header in the middle of playback
    core is returning UNKNOWN PROFILE error and is being
    treated as Fatal error and playback is getting aborted.
    Now handling it as sequence header fail/recoverable
    error.

    Change-Id: I28f79cec1946d3430f90087920f93ef74cf4c101
    CRs-Fixed: 302549
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 207df7f89bf731c456bf6d5c905bde1aa014a8af
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Wed Aug 24 18:27:51 2011 +0530

    vidc: 720p: Memset MPEG-4 recon buffers to black

    In the case of MPEG-4 decoding with clips which have
    initial frames starting with P-VOPs, green macroblocks
    are seen. This is because of recon buffers used for
    MPEG-4 have 0 preset values. The default values are
    changed to 0x10 & 0x80 for luma and chroma to get
    default color as black.

    CRs-Fixed: 303298
    Change-Id: I526605ff5bf08256f01bebed4a6ba1bfed0c7803
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit ede104a0244a04ca6fa6ce8fe9fc98008462df9e
Author: Zhang Chang Ken <kenz@codeaurora.org>
Date:   Thu Aug 4 18:41:39 2011 -0400

    msm:8060: lcdc nt35582 panel support

    Change-Id: Ic5714dad929cf56505569cba14722a20dee12c15
    Signed-off-by: Zhang Chang Ken <kenz@codeaurora.org>

commit 4f65a96f9c198458cb8c237bddf68551f1c5a6ec
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Aug 22 15:23:53 2011 -0700

    msm: camera: add config identifier to control command structure.

    Change-Id: I5db0e3efe3aea783e969c612463f93b5c31824b9
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 2b20a4b52083d8f054b27daf6f23ec5e3603bc13
Author: Ananda Kishore <kananda@codeaurora.org>
Date:   Thu Jun 23 15:19:31 2011 +0530

    vdec: 720p: deblocking filter enabled for Divx and XVID

    Default deblocking filter is enabled for Divx 4,5,6 and XVID.

    Change-Id: I7fe9d4194c30bb9effdc8a24e4f5549eb64b42a9
    Signed-off-by: Ananda Kishore <kananda@codeaurora.org>

commit d7c755ef190523324dace3b46431ae5d89e3bb1c
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Wed Aug 10 17:23:18 2011 -0700

    msm: code clean up of the existing improper event implementation

    Current implementation has a bug in v4l2 event subscription.

    Also it is good to make the kernel to be transparent
    to those notification events from daemon to HAL.

    Change-Id: If09a7721c43bde513611c67bd2c13470620bcef9
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit b1a3ca7e81ef3336818945e834ac6b19101e1490
Author: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
Date:   Tue Jul 26 15:30:14 2011 -0700

    msm: camera: Include Minimum Luma in Stats buffer

    Include Minimum Luma Pixel value in Stats buffer
    for AWB stats process.

    Change-Id: I7ca6121dd8b250588a21634af956685c0f0f4525
    Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>

commit 1afa3df4f6ec987a4adee2ab912926932d2f6590
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Mon Aug 1 20:55:00 2011 -0700

    msm: camera: Improve unify sensor apis

    Added more error checking code
    Separate dimension specific register settings into separate structure
    Code flow improvements

    Change-Id: Ib54f2ac5fd69da9b9b9cd48a96a7f521715c637c
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 28bf67bfebafe573525e73b9c2ad6dad3f588ecb
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Aug 11 15:04:08 2011 -0700

    vidc: venc: Remove check for allocation of sequence buffer size.

    Firmware requires non-zero sequence buffer size for H.263.

    Change-Id: I49da2db9ca90afe7c981b300e0cd526cf7ca50c9
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 893d5e34665abafade791c0308de09edf55b2c82
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Aug 4 12:59:49 2011 -0700

    vidc: vdec: Set correct divx codec type.

    Added support in video driver to configure divx codecs 4/5/6.

    Change-Id: I0ee1353e1398207eec7df2d194fdf67e098e4dca
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    CRs-fixed: 297558

commit 94c88008c3f291c17ad3abd992df88681f1e6aa0
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Sat Jul 23 23:17:56 2011 +0530

    msm: camera: Initial version of LED Driver on 8960

    Initial version of LED driver for Cdp & Mdp comprise

    - Enable SC628A LED Driver chip for 8960.
    - Configure SX150X Gpio Expander chip.
    - Restructure  Camera Gpio Mux settings table
    which will later be used to toggle function select for LED Flash
    between Mdp & Cdp.

    Change-Id: Ieed8b066128d29958d83351152b0611a1cd3c1f0
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 99aca45235226074dca943b5099eb26f9eca9c1c
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:20:08 2011 -0700

    camera: v4l2: Add zoom support in driver.

    Add implementation of G_CROP and event for
    zoom completion.

    Change-Id: I258af6801d235ea47b0b643eb415d995596625b7
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 3b1e09c3011b504da77f5670221b6d169a325b2a
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Thu Jul 28 10:19:10 2011 -0700

    camera: v4l2: Use v4l2_event for event from config to app.

    This simplies the way event is propagated. Driver only needs
    to pass on the v4l2_event structure directly.

    Change-Id: Ic6bc06e0c26989fbf22a8c3b294f5d677ac79d90
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit f6af73ecdbab8b493acc5a3815f474a2f9cca865
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Wed Jul 20 20:45:11 2011 +0530

    vidc: 720p: Add IDR Frame type support for H264 format

    Read IDR frame type from 720p core register set and
    propagate it to user space using new IDR frame type
    enumeration added in api header file. The IDR frame
    type info is used in SYNCFRAME logic for H264 format
    in userspace.

    Change-Id: Ibf925967464bcdfa73dbe471ddb8c5336e14233f
    CRs-Fixed: 296738
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>

commit e2bc8ebfbb47c71d0cd862eacc4767b9bee04745
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Fri Jul 22 21:18:42 2011 -0700

    msm camera: snapshot wavelet denoise support

    Change-Id: I9d29083f0c4e386e25da05fb8fcdb3c61f424e78
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 9897903fd8db48b47a0c0fb20b00d0492938497b
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Jul 12 14:24:14 2011 -0700

    vidc: vdec: Report dropped field for interlace clips.

    For field based interlace clips, video core will generate
    an error when one of field is missing in bitstream.
    Driver will report this to upper layer, so that it can
    take appropriate action.

    CRs-fixed: 290659
    Change-Id: I4e208e533b556c74088171e4b44f28f07116d511
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit bcfc24b9152d0e4a8624074b8d787cf8e2cef6a9
Author: Mansoor Aftab <maftab@codeaurora.org>
Date:   Tue Jul 26 17:01:26 2011 -0700

    msm: camera: Changes to enable events and Auto Focus

    Added event notify message support added entries for
    autofocus event types

    Change-Id: Ieb4cc38df89b04b15c673d12e8cf9e09dbe56aa1
    Signed-off-by: Mansoor Aftab <maftab@codeaurora.org>

commit be6b9a6592940fb0eda12ae3722d4f6e8cf2846a
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Tue Jul 19 20:44:36 2011 -0700

    msm: Add new msm_buffer and event structs and event defines

    Change-Id: Ic0a82e13c4a80d7896d53321f0c48db4d71bc978
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 6e2b2c568fbbd95762b777e7e6e0107e6bdb0c84
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sun Jul 17 12:31:53 2011 -0700

    msm-camera: configure preview and recording buffers
    seperately.

    decouple preview and recording path configuration
    by configuring the buffers during preview start
    and recording start respectively.

    Change-Id: I4ea157db4e84add285191dc5702dc1276b2bb2c2
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit 9b10b255cf789b4cb06ba554515b001ec5f8ad16
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Jul 15 17:40:12 2011 -0700

    msm: vidc: Set Y and C size registers to allocated size.

    Currently the Y and C sizes are set based on the
    size of video being decoded. In case of smooth
    streaming, decoded sizes are not the same as allocated
    sizes. This change will set the Y and C sizes to
    allocated sizes.

    Change-Id: Iad03498953477934b9a9b8b49b7d8d11586dcc6b
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 6465d940156fa4d05a27772eb64d7fbeee343445
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Mon Jun 27 13:57:16 2011 -0700

    vidc: 1080p: Set chroma address change in smooth streaming mode

    If resolution change is detected in smooth streaming mode and
    status indicates that video core can continue decoding, update
    chroma address for new resolution instead of starting frame
    realloc.

    Change-Id: Ib3abae9be955eae525dfade37a6376ddd786a712
    Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>

commit 5cbaea9e412af13dd0b0e2d0dbcf461f1c7457b2
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Jul 20 12:10:07 2011 -0700

    vidc: vdec: Pass alignment flag to mapping api's.

    Mapping api by default assumes 4K alignment.
    Video core requires output buffer to be aligned
    to 8K.This change will pass aligment information to
    the mapper API.

    Change-Id: If064d5ff09855c395aa5ca9d3d7e6ef48af32adc
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 01a5bde2b58c6968994480d9738c0defd8149b1a
Author: Kiran Kumar H N <hurlisal@codeaurora.org>
Date:   Sat Jul 23 11:34:34 2011 -0700

    Revert "msm: camera: YV12 video support"

    This reverts commit 66882a5046143601429632a0b589d9ffeeb3c668.
    This change will be submitted later.

    Change-Id: I9ac60ad2dadbc330a0b010a706bbefe344d706e7
    Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>

commit a6782181ebd3600967e269efd176c8e2454bee56
Author: Ananda Kishore <kananda@codeaurora.org>
Date:   Mon Jul 18 19:02:15 2011 +0530

    vidc: add change to print MFC firmware version

    Change-Id: Ia93a09115b8ae212a0ea24cff0e962ec1a947873
    CRs-Fixed: 296531
    Signed-off-by: Ananda Kishore <kananda@codeaurora.org>

commit 66882a5046143601429632a0b589d9ffeeb3c668
Author: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
Date:   Fri Jul 15 15:56:40 2011 -0700

    msm: camera: YV12 video support

    Support for color format YV12.

    Change-Id: I89c139c6c7a4d3ec6555cadcb8afe9eef0023de2
    Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>

commit f830dce45e3493c750b57eff550b8df9da3af796
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu Jul 7 11:55:13 2011 -0700

    vidc: vdec: Report bitstream errors to driver client.

    When video core generates recoverable bitstream errors,
    driver will report them to upper layer.

    CRs-fixed: 290659
    Change-Id: I5b1187a6784c99ab987cbc7369ba140274a21ff7
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit ff1c35bd257e0cf42051ae365dd40ae879cc628d
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu Jul 14 12:38:07 2011 -0700

    vidc: Stop using vcodec_axi_a_clk and vcodec_axi_b_clk directly

    These two clock are now implicityly enabled and disabled as
    dependencies of vcodec_clk (as was already the case for
    vcodec_axi_clk).

    Change-Id: I640e2b618760b0dfc216301fe1be2e8587a46ca5
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit a34b0bc9e1e66f9e9c6ef6063bf3c858bca2e2f4
Author: Stepan Moskovchenko <stepanm@codeaurora.org>
Date:   Wed Jul 20 13:21:08 2011 -0700

    video: Kconfig: Remove extraneous dots from help text

    Clean up the help text by removing extraneous punctuation.

    Change-Id: I043abaf33ce6a5f926a3b27551a517e829b30af9
    Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>

commit 3eaa215567715925b93e5d5d60f679de6028d0c1
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Fri Jul 15 12:26:19 2011 -0700

    msm: Remove last references to NPA-related code for AXI rate management

    The NPA driver was removed some time ago, but wrapper code
    and some of its driver hooks persisted in the tree, despite
    not being compiled (or even compilable). Remove these now.

    Change-Id: I34148433f8fd946a9aa664df6ca7782cb02bba2b
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit 0df6ccfc7ac0cf0e34e8fd4bd1ca86565b9f0b3a
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Jul 15 18:14:30 2011 +0530

    vidc: 1080p: Removed check for comparing DPB Size

    For best effort decoding we don't need to compare
    the available DPB size with the decoded size and
    throw error. So, removed the check that compares
    them.

    Change-Id: Ifcc597a164618ddb5bc9fbba29336ec1a45646c1
    CRs-Fixed: 296211
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>

commit 3eca044c87d55176025410d729d8ee61fbf2dab0
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Jun 29 13:10:58 2011 -0700

    vidc: 1080p: Allocate firmware buffer in driver init.

    Video core has requirement that firmware buffer address
    should be a lesser value than the all other video buffers.
    Hence moving allocation to driver init function to
    satisfy this requirement.

    Change-Id: Idc24c25ce4a8a174704d0ed2a016f7bb652f69d1
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit f39923cb3a786a13dda46782f550ec66bbdd3953
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Jun 22 12:53:00 2011 -0700

    vidc: Map video driver allocated buffers to video smmu

    video driver will use the new msm mapped buffer
    api's to get kernel virtual and device virtual
    address.This change will replace ioremap calls
    with new api's.

    Change-Id: I61df32ae239d3acbf52be78e897765fca01550d4
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit e762e7006e0f5e199d14cc7bf52daab7f74324ff
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu Jun 16 19:04:32 2011 -0700

    vidc: Map userspace allocated buffers into video smmu.

    When video driver client allocates the buffers in userspace,
    it has to register with driver for video core to use it.
    Driver will use the msm mapped buffer api's to get the
    device address. Device address will be passed onto the
    video core.

    Change-Id: I73e0ff769c2ef3daf03dd56289e65f256632e991
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit a1f3f0704761e961df64f7b466c30122d3d1fce3
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon Jun 27 12:37:00 2011 -0700

    vidc: venc: add Check for infinite intraperiod configuration.

    Max value allowed is 0xFFFF, any higher value is configured
    as infinite intra period to the video core.

    CRs-fixed: 292859

    Change-Id: Ieda8e0880b2b9b687e41d8fac87c055e6025dfe1
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 413398e81521f677418d1de9681dbcd06ed90deb
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Jul 7 19:30:44 2011 -0700

    msm: camera: Add v4l2 strobe flash ctrl command

    Adding v4l2 strobe flash ctrl command used in userspace driver

    Change-Id: If9c7bbc6631a3ad08d75acee7e93756ab7f9f571
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 08fd174f02cc8001d1da38b5db2386cca542a2ee
Author: Ananda Kishore <kananda@codeaurora.org>
Date:   Wed Jul 6 14:42:59 2011 +0530

    vidc: 720p:Increased the default input buffer size

    Increased the default input buffer size from half-frame size
    to three fourth of frame size.

    CRs-Fixed: 294663

    Change-Id: I16779b04032221a24c3a3e33f2583d1da54dc7ad
    Signed-off-by: Ananda Kishore <kananda@codeaurora.org>

commit b191c0f83532e1f1238dca2f6965389f87e88a39
Author: Mingcheng Zhu <mingchen@codeaurora.org>
Date:   Thu Jun 30 19:59:10 2011 -0700

    Camera V4L2: Adding native camera control command support

    Change-Id: Idc7f8831eea0b2c2ad0988aafd5cbc3f48ce27d0
    Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

commit da7283c54090a0597d0ae4127f9214ab4f338c83
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Sat Jun 18 22:59:45 2011 -0700

    camera: v4l2: Implement raw snapshot.

    Enhance videobuf-msm-mem, msm_mctl, and msm_vfe32 to
    support CAMIF raw snapshot.

    Change-Id: Id93b9e76c461f12fedddd9ac8b7e8c3c571759a4
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit c26269f2d539f2b72ef9a24d1435e5e86744cafa
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Thu Jun 23 19:21:17 2011 -0700

    msm: vidc: Move from internal_power_rail APIs to regulator APIs for 7x30

    Remove use of the msm-specific internal_power_rail driver in
    favor of the new footswitch-pcom driver, which uses the regulator
    framework's APIs.

    Change-Id: I70462d028622b44bafb4745fe10efd33085d9ff1
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit 791278e730c6ebce77aea7c16e256eb4ae161aca
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Mon Jun 6 14:18:36 2011 -0700

    msm: camera: Support for manual convergence in stereo camera.

    Adding support for manual convergence in stereo camera and
    changing the delivery method of stereo quality indicator.

    Change-Id: Ic614b198c59458797a3f7830621c9556790ece35
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 941c6bf893e856837e91be76ccac6664de30d921
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Jun 8 13:01:20 2011 -0700

    vidc: venc: configure slicing for every frame.

    Slicing support was there only during init time, firmware
    support is now added to configure dynamically.

    Change-Id: Ife5ce4e23a86d8b8fc66c5a34c5cd40711774a80
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 9c4382b6cd117160559a1c4d812332e83c2aa8ee
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Apr 27 12:18:25 2011 -0700

    vidc: 1080p: Reject unsupported profile clips.

    HIGH10 profile clips are not supported by video core. so
    added check in driver to reject playback of those clips.

    Change-Id: I84ba584e1dac0f5932db82f86308e2afeb510a71
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    CRs-fixed: 273798

commit b345af06153ff47c428858912c348338875dd68e
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jun 23 10:08:30 2011 -0700

    msm: v4l2: add private CID for backlight and snow detection.

    Change-Id: Ia990c92d2cd2cf0c14fc9af9f1e34f09f95ce7b8
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 1397bd786a0b96d9728c15f9b7898a074c326102
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Jun 21 17:17:03 2011 -0700

    vidc: Use acm api's for firmware buffer allocation.

    To ensure address range consistency for video, moving
    to acm allocaiton api's.

    Change-Id: I0b2a0f94b9855772cce13d92a71970c8f7e93c2c
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 0ae7f99864cb402e886486477f2eba79296006ed
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Tue Jun 21 15:08:37 2011 -0700

    msm: v4l2: add private CID for auto focus mode

    Change-Id: I60a1520c6182a1a517f3f39a03bff17577a94062
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 17ab2187ccf5c82ec2ff6017f85f4a104df736e8
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Mon Jun 20 11:27:20 2011 -0700

    msm: vidc: Fix not coded vop handling in decode order.

    When decoding not coded vops in decode order, the output buffer
    address was incorrect. Fix will read the correct buffer address
    from the decode order address register.

    Change-Id: I1cd0e46af71bfa730e2e794f583b97ae3c3650e4
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    CRs-fixed: 291342

commit e60198edb29f74b55ee1f4d8bfabddf078444d99
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Jun 20 21:00:25 2011 -0700

    msm: v4l2: add private CID for Best Shot mode.

    Change-Id: Ibea4dcbc657ad074df244ed81385ad4825320c70
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 3be1fe39bd035ef2a3008c0a4e585f46543651bb
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Jun 16 18:49:38 2011 -0700

    msm: v4l2: Add private CID for Luma Adaptation.

    Change-Id: I1403b445e25ed1a618d96a603ceef94a14c12def
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit f2a6f6f3959f5ab0a79fad769317d50039a20f2c
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri May 20 11:35:42 2011 -0700

    vidc: 1080p: Startup latency optimization.

    Startup latency optimization for video
    playback:
    1. Bumped up bus and video core clock at
       startup.
    2. memsetting output buffers in kernel
       rather than in userspace.

    Change-Id: I9f0caa05a0a7133795c78d763a23561566461508
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit fc299bb8066e0325db239bb356c546e57c7ef347
Author: kuogee hsieh <khsieh@codeaurora.org>
Date:   Mon Jun 6 10:29:28 2011 -0700

    msm_fb: display: add mdp writeback mode support dsi video mode

    MDP writeback mode has been worked for both lcdc and dsi comamnd
    mode. This patch add dsi video mode writeback mode support and unify
    interface to enable/disable writeback mode.

    CRs-fixed: 287700
    Change-Id: I4ced3fa8927fb94e5457957aab274e7d07acdd79
    Signed-off-by: KUogee Hsieh <khsieh@codeaurora.org>

commit 81bb021aa870c9649d0b3157e1273e8b1639fa44
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Tue Jun 7 13:30:24 2011 -0700

    vidc: vidc: Replace pmem calls with new API

    pmem_kalloc() pmem_free() are being deprecated, hence
    replacing them with new API's.

    Change-Id: Iebe4a73d7834fe5301d101552487f1268eaf87d7
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 638485841a6243c5bf4fd7291e436516bc6b82a1
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Mon Jun 6 18:28:55 2011 -0700

    vidc: Remove memory type #defines from video driver.

    Memory type for the driver will be obtained from the
    board file. Removing the #defines from driver.

    Change-Id: Id4578cfe777f19f69a3791203335c4efd87cebf4
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 0141c1bb3831768724c1a4621859e73040ee4564
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Mon Jun 6 12:19:15 2011 -0700

    vidc: Move platform specific configuration into board file.

    7x30,8660 and 8960 support different memory configurations.
    This information will be obtained by video driver using
    platform_data.

    Change-Id: Ice7faac7121547c3d432f12dcface523d030a8ff
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit d8a1c720541845e513bce5a37731ee77b3c7c504
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Wed Jun 8 14:48:37 2011 -0700

    msm: vidc: Increase firmware memory size to 500KB.

    Latest firmware size is greater than 400KB.

    Change-Id: Ic2101e6ff1f93c88b9499eb8c160414f7db82b1e
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 898afe35de8add2401c15299095805e1a2fc8723
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri Jun 3 10:30:23 2011 -0700

    vidc: 1080p: Handle b-frame not supported error.

    MPEG4 simple profile doesn't support b-frames. There could
    be erroneous clips in which we can have bframes in simple
    profile clip. Video core will report an error in this usecase
    and driver should consider this as warning.

    Change-Id: I0685ae0839f9a21df41846cc81ec551d2128b242
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit e9ae0f93eafec0f16207c777daabde7f29189580
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Jun 1 17:30:44 2011 -0700

    camera: Use msm_cam_evt_msg to pass VFE events/messages.

    v4l2_event structure isn't big enough to hold all possible
    VFE events/messages. The solution is to store the events/
    messages in a separate buffer, and maintain a pointer in
    msm_cam_evt_msg.

    Change-Id: I620bf4f4cad34654336928ee06514bfe4ede15ff
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 0ef7cd7e5f0510c937171c931f00583484741910
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Wed May 11 14:02:19 2011 -0700

    vidc: 1080p: Update buffer count calculation for smooth streaming

    Calculate worst case buffer requirement in smooth streaming mode to
    avoid unecessary port reconfiguration.
    Change-Id: If87466ff77823ff87e5915b39f5b7a4c2c174ef6
    Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>

commit 2936befa32f998589a4b33ab262e296017134a4e
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Fri May 13 14:28:54 2011 -0700

    vidc: 1080p: Send smooth streaming event in output done callback

    In smooth streaming mode, if a change in frame size is detected,
    send info event in output done callback instead of sequence done
    callback. This ensures that the openmax compoenent appends
    extradata corersponding to updated width and height to the output
    buffer with updated frame size.

    Change-Id: Ib42ad1bd9a5f744d8824722d7a55aa46530ae015
    Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>

commit 7c395a949da6a08bb3a86a5faf760f26cbbd91db
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Tue May 3 14:13:41 2011 -0700

    msm: vidc: Support dynamic change of interlaced format.

    The interlaced format can change dynamically with in a
    sequence/clip. This change ensures that the interlaced
    format is updated and passed to the client appropriately.

    Change-Id: If067d8b2bea6060d1103596bc145a93484db2145
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 604dc5ee98802356b5a7563ed62f632ad5bba5dc
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Tue Apr 19 13:55:44 2011 -0700

    msm: vidc: Fix recoverable error log message.

    Change to log core recoverable errors as recoverable
    errors to be able to distinguish them from other
    errors when triaging issues.

    Change-Id: I9a5404c3257a14a748713188bfc32ae9f2d9ad78
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 3c11dee0fdd6cc31f28e052a93d1b5d27e47792e
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Thu Mar 31 15:32:00 2011 -0700

    msm: v4l2: V4L2 multi buffer for video and snapshot.

    Enable multi buffer queues and pcam instances for
    snapshot and video integration.

    Change-Id: Ifa16c17df414bbd204243bf80e95f32c002fcbd0
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 866779d5deb7ad68e4625739c33e03c6163e06b4
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu May 19 12:47:37 2011 -0700

    vidc: 1080p: Move firmware buffer allocation to driver init.

    Video core has requirement that firmware base address should
    be less than input, output and scratch buffer addresses.
    Hence we allocate the memory during driver initialization.
    This change will be reverted once SMMU driver is integrated
    and verified in 8960 target.

    Change-Id: Ie3c43663f237b89d922af3b7e533df810fffa1d5
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 6d7f475e8e4d40c0a787c7e1f2fe7e57a4d84929
Author: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
Date:   Wed May 18 16:19:40 2011 -0700

    msm: camera: Consolidate VFE messages for performance improvement

    Change-Id: I7c8afa619824bbbb188e60b2b78d5ccd13f9b12f
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>

commit 8a1df7e451ceb7c74ed7d0745dfeefb44628cb40
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed May 18 18:16:45 2011 -0700

    vidc: 1080p: Enable AXI clock gating for video core.

    Add support for gating AXI clocks for porta and portb
    of video core.

    Change-Id: I34f4b7d73c59d7172dcf9e00be007bc1214d36ce
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 0bc71c3ce0852d717720fa81fc90a2c24e40a41c
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed May 18 18:57:04 2011 -0700

    vidc: 1080p: Pass correct memtype to alloc function.

    SMI memory type was used wrongly passed to allocation api.
    1080p video core work with SMI/EBI memory.

    Change-Id: I4ce256ffa48a38bcb5c2262fd45d9e243e571535
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit f4d7806fbccb201a45d12cff1f64aa6fb363952f
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed May 18 17:37:31 2011 -0700

    Revert "vidc: Disable AXI and pixel cache for 8960 virtio."

    This reverts commit 7f710b28cf71f08b30d657afca7650487eb0f615.

    Target supports Axi bus and pixel cache. Reverting change made
    sepcific to simulator.

    Change-Id: I09ca785b5111f6d40b43ec1987d0b7705caabd4a
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit c7163d9a33d86d1001aa4083423c68c07743861c
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Mon May 16 14:07:15 2011 -0700

    msm_fb: display: Reorganize DSI clock and PHY settings code

    Reorganize DSI clock and PHY layer settings by moving code to
    different file from base driver

    Change-Id: I7d02a4cd0f5322b80462e3721d5c8fb4f83d002f
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit 757e2ea8064b379ecfd02a6fdd36f6f2894066c8
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Wed Apr 6 11:15:36 2011 -0700

    msm_fb: Display: Enable WSVGA Toshiba MIPI DSI video mode panel.

    Add code to configure and enable MDT61 Toshiba MIPI DSI video
    mode panel. Add new command set to initialize and configure
    the new panel.

    Change-Id: I8c543677f75ade967a77100a7878b9e487dc991b
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit f6f653c41b41d6c77fcfe1c50be3fe5044dc496a
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Fri May 13 14:07:06 2011 -0700

    vdec: 1080p: Align stride and scan lines for tile format

    Update decoder output buffer stride and scan lines as per
    tile format specificaton.

    Change-Id: I2192b7f6f81d867b8f7cefe870184c2c70134b6a
    Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>

commit 261ac91e537884441aebc8c7a2dffba67f77b496
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Wed May 11 18:44:56 2011 -0700

    vidc: 1080p: Fix compilation error in debug message

    Change-Id: Ib7c9eccaf8eec9945df02745ab087f7a4835c4eb
    Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>

commit 5bc5a8c6c58a60d0a3d2032c3398b254a081cb75
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri Apr 29 17:27:07 2011 -0700

    vidc: 1080p: Move target specific changes into devices file.

    Bus architecture is different in 8660 and 8960 for video core.
    This change updates devices file with target specific info.

    Change-Id: I87aed6d88143b78600f4cceb8519302031e5b8e7
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 1fda5c33b03ae5ff6d2e1fb15e50d23f10b5f08e
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Thu May 5 17:17:00 2011 -0700

    msm: vidc: Fix to handle non-fatal sequence header errors.

    Non-fatal sequence header errors thrown by the core in frame run
    state are being handled as fatal errors. Fix will handle non-fatal
    errors as recoverable bit-stream errors.

    CRs-fixed: 286257
    Change-Id: Id4c8949248e00655ad11b86b3de71b8c69a0ddbd
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit ddd599efc860c6d60018c3c2e4696e23317ff9f5
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri May 6 11:48:42 2011 -0700

    vidc: vdec: Generate reconfig when minimum count changes.

    Generate output port reconfig when minimum buffer count
    that the video core requests after the sequnce header parsing
    doesn't match clients count.

    Change-Id: Ief927c6e104bb105c4b5d60eaf671a49c09e2e0f
    CRs-fixed: 278839
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 946be5687a15c87a43a786cb9f51244bc1133b56
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Mon Apr 18 17:27:48 2011 -0700

    vidc: 1080p: Add smooth streaming support for video decode

    Avoid port reconfiguration for dynamic frame size changes,
    if client allocates sufficient number of buffers of required
    size. If not, fallback to port reconfiguration.

    Change-Id: Ic020a83f714f921c5cc3586f8b2a83e044066460
    Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>

commit 4913bb029b869fcc66661d83304f3a4a50b156ee
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Apr 15 11:30:18 2011 -0700

    msm:vidc: Interlaced content error handling.

    Fix NPF and bitstream error handling for interlaced clips.
    When a paired field is missing or bitstream error occurs for
    one of the fields, release the previous field, if it is present.

    Change-Id: I4f18a5948c2a2f27fc18ffdd52087471f513fafe
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 56e2543e6541f95f60b29d33804ce4805ee46985
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Apr 26 19:50:39 2011 -0700

    vdec: 720p: Update video dimensions based on color format.

    Change updates the stride and scan line values based
    on color format.

    CRs-fixed: 284790
    Change-Id: Ief87f95344857218ba18b8c89527965ef74dcf0d
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit f14e9201e64dd73ea1b11f8e42090c6b4d510919
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Apr 27 11:12:39 2011 -0700

    vdec: 1080p: Align stride and scan lines for TILE format.

    For tile format buffer size is calculated by aligning width
    to 128 pixels and height to 32 pixels for decoding.
    This change updates the stride and scanline values as per
    TILE format specification.

    CRs-fixed: 284571
    Change-Id: I0363292cce7e5a9c9c49fe10a6e187001b141d5c
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 551c692934c576d7105a0d65b39aca126652ec3a
Author: Pradeep Jilagam <pjilagam@codeaurora.org>
Date:   Wed Apr 20 12:37:54 2011 +0530

    msm_fb: mdp: Add support for DSI Interface in MDP 3.03

    Add new interface support (DSI) support for MDP v3.03

    Change-Id: Ifc85b8d1f84a91e97ac11c8e62480568096f1845
    Signed-off-by: Pradeep Jilagam <pjilagam@codeaurora.org>

commit b90405524409bcad8f825169690c34171d26f395
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Apr 26 16:37:37 2011 -0700

    vidc: 720p: Report unsupported resolution as fatal error.

    After parsing sequence header if core reports unsupported
    resolution error, driver will raise a client fatal error
    to the upper layer for session to be cleaned up.

    CRs-fixed: 275983
    Change-Id: I1a6ccdaaf7eb8afd1681f884495879c3e9043d36
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit a05374e7a851b02ed9c43d5b68dee17b8d5b1b49
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Apr 27 14:35:55 2011 -0700

    vidc: 1080p: Reject unsupported resolution clips.

    Reject clips for which video core reports unsupported resolution error.

    Change-Id: I039027f1b021c86f7d4fa3f09cc5f68f4972e393
    CRs-fixed: 275983
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 0038bf513bbc101cb975f36bd6d45f0bb4d8b1fe
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Tue Apr 26 15:00:57 2011 -0700

    vidc: 1080p: Set concealed MB to black color.

    When MB's are concealed, it was displayed as green frames. Now
    changing concealed MB's to black.

    Change-Id: I0ebbbeabe601aad4525ff38118753505db2006c2
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    CRs-fixed: 284571

commit b3715620d09f0166c2b88c549adae64b34395c44
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Mon Apr 25 10:32:48 2011 -0700

    msm: vidc: Disable debug logs.

    Some debug logs are being logged as error messages.
    This change disables these debug logs.

    CRs-fixed: 275926, 275927, 275928
    Change-Id: I6c97036c61474bb594c48838522aed924496be6c
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 7a35826ae448f47d871d6a38cf8cc99f196fc990
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Apr 20 19:21:10 2011 -0700

    msm: camera: Support for more 3D camera features.

    support for following new 3D camera features have been
    added.
    1. 3D Digital Zoom for snapshot and video recording.
    2. 3D Quality Indicator for preview and video recording.
    3. Framework changes to support 3D 1080p video recording.

    Change-Id: I17996756ad5f27a3b12cb356ba01f1e493fa3056
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 4fcad1c781dd427195c79a4519908f997c5583cf
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 27 03:17:41 2011 +0530

    msm: Disable Vfe Rolloff for 3D Sensor

    Update camera sensor info structure with support_3d variable
    which is passed to user space to determine whether to enable
    or disable VFE RollOff.

    Change-Id: Ic74aec61bca64b5380ed4cefdb4401b563e9948a
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 5a698c0f9e55742641bdd7724451d418fb426b0c
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Apr 19 17:25:35 2011 -0700

    vidc: vdec: Fix 720p driver memory alloc failure handling.

    When memory allocation fails, driver should gracefully close
    the session.

    Change-Id: I98ff304cc08c30a85003a4e1b1e315d389b5b3d8
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit a6a1618edcdfa45b8a03dceb768e873ac5cec731
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Thu Apr 21 00:12:44 2011 -0700

    msm_fb: display: Mipi driver for 8960 simulator

    Mipi display panel driver support is added for  8960 simulator.
    It will control the data flow between dsi controller and the
    mipi dsi panel. Right now it supports only video mode.

    Change-Id: I3712907a0e0c07b9ebd7e9fb2678f37a3058d5f3
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit 708f3b8c4c8115e9a6543b6cef50288dc94aedfd
Author: Pradeep Jilagam <pjilagam@codeaurora.org>
Date:   Thu Feb 17 01:13:07 2011 -0800

    msm_fb: display: Add support for MIPI DSI Renesas panel

    Adds basic support for renesas mipi dsi panel driver.
    It will control the data flow between msm dsi controller
    and the renesas mipi dsi panel.

    Change-Id: Ib92a342bfb3d596d99dbcf564c86a684c2d2f8c4
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit 7f710b28cf71f08b30d657afca7650487eb0f615
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Apr 20 20:27:49 2011 -0700

    vidc: Disable AXI and pixel cache for 8960 virtio.

    Pixel cache and Axi bus is not supported in virtio,
    for video core hence disabling them.

    Change-Id: Ib911461c0753ed5a65ca57a14518ac8a76e41191
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit c545195f2e4d2c1a964d34206991e17d6a47d362
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Apr 20 20:10:18 2011 -0700

    vidc: 1080p: Add video driver support for 8960.

    Change-Id: I2c4daf1301a57d2b7bfef260955d31e6d8f56227
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit fedc6ec9550713de753d288a32539f5964c7388c
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Apr 18 15:08:47 2011 -0700

    Revert "msm: vcd: Update bistream error handling in EOS"

    This reverts commit ed060bcc936f1a05a6e17e60505dd8f247c328c1.
    This commit was causing issues with flash playback so
    reverting it.

    CRs-fixed: 280822
    Change-Id: I3429743ec4b58c9c20f676b7401f739af48cece2
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit 39a431b383ee8eb54fe358b4fed1881295942096
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Apr 15 16:15:00 2011 -0700

    msm: v4l2: 8960 V4L2 kernel re-architecture

    Change-Id: I144053e1a9a30c360a21b5dd1da4e3ca4b7241b3
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 910fd2b7cbd05a21040546e0bd1fd6656835d5a3
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu Apr 14 14:50:37 2011 -0700

    vidc: vdec: Generate output done in reconfig.

    In reconfig, if output buffers are queued then
    driver will generate output buffer done with
    filled length as zero.

    Change-Id: Ib1a8ffc37aa8b5c6ed9d986bc621341e617367a9
    CRs-fixed: 283868
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 04a6f98fb77c9749cfa50fa9e5cbfda132fdd28e
Author: Pradeep Jilagam <pjilagam@codeaurora.org>
Date:   Sun Apr 17 03:42:22 2011 +0530

    msm_fb: display: Add support for LCDC Toshiba FWVGA panel.

    Add driver file to support Toshiba FWVGA panel with LCDC interface

    Change-Id: I15dd2abcfe474ec7737e7915884ea33ea78da689
    Signed-off-by: Pradeep Jilagam <pjilagam@codeaurora.org>

commit c23977d023044c77e6c8c92fa3a28c2eb5b41eef
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Mar 24 03:35:38 2011 -0700

    camera: Support for 60 & 120 fps in MT9E013 Sensor

    Added HFR support in MT9E013 Sensor
    Added HFR structure in msm_camera.h

    Change-Id: I7782992f95511598f7ea01790b4751f7d5a376bc
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit 95470cb9230c1dd31172e410683c402dc52787b3
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu Apr 7 17:23:13 2011 -0700

    vidc: vdec: Generate input done for codec config buffer.

    When video core consumes more than bitstream buffer payload length
    during sequence header parsing, generate a inputdone.

    Change-Id: I395696e3ab3f5c5a81b485c7b7bdde659ebcb993
    CRs-fixed: 282370
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit d153b2cfa8ea220b042b02e8c37ef4e7c80c74d5
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Wed Apr 6 13:46:35 2011 -0700

    msm: vidc: Improve the decoding times for interlaced clips.

    Increasing the performance level to 720p for all
    interlaced clips with VGA resolution to improve the
    decoding times.

    Change-Id: I5cf8afe10b51c4fb7e70c156261b16318944c685
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 77c13428ea3b78dd674771332a2dd95c80452441
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Apr 5 18:26:41 2011 +0530

    msm: Fixes in the 3D Camera Sensor

    Enable the 3D Calibration and Lens shading. Fix the i2c configuration
    for eeprom. Add new settings for the 3D View Finder

    Change-Id: Ia4e3b68bfe0549f6f9aa77ba95698d438e3c84a8
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit 744d4918e393f8e4466a86e8a716598dbeaf0d94
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Apr 15 10:31:38 2011 -0700

    msm: vidc: msm: vidc: Decode order interlaced decoding fix.

    Fix to handle the top and bottom frame tags appropriately
    for interlaced clips when decode order display is enabled.

    Change-Id: Ib48312549c1dd4337e7e1affc8d3f302958299a7
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    CRs-fixed: 274264

commit 28570c3c979b6906ba76850225b48a8deec0dc96
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Thu Apr 7 13:43:53 2011 -0700

    Revert "msm: vidc: Release first field transaction for interlace frames"

    This reverts commit 53c267d871521c0ac7c0d1a9e43a02654761067f.

    Change-Id: Id44708bd3d980ea1412e6277a2e3d3a761aa305b
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    CRs-fixed: 280620,280692

commit 81ffc9580ff39248634e2cac2153fc6688cdb2c7
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Tue Apr 5 14:49:08 2011 -0700

    vidc: 1080p: Add support for non-multiple of 16 input width in driver.

    Change-Id: I9eeff5f9b258bc220be8322bc987cead9f96abcc
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    CRs-fixed: 280280

commit 8e393f6c4d77b37e5a7a8fb9e7e495cd55e2fb47
Author: Michael Bohan <mbohan@codeaurora.org>
Date:   Thu Feb 24 12:10:11 2011 -0800

    Initial contribution

    This commit takes the MSM and driver changes from
    git://codeaurora.org/quic/la/kernel/msm.git:android-msm-2.6.35 and applies
    them on top of
    git://android.git.kernel.org/kernel/common.git:android-2.6.38.

    Change-Id: I3e80240311c76c05d4177a4958a660fba80d5d14
    Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
commit 2e0515a0d01c3d8b77ec39960d9c2f4af255acbe
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Mon Jan 30 15:24:22 2012 +0530

    msm: vidc: insert break in switch-case statement

    Insert break statement at appropriate case statement
    in a switch condition. If no break statement resulting
    in corruption for next case statement.

    CRs-fixed: 333684

    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
    (cherry picked from commit 8eecbbe64be9bda61624d5d23cde9615b5ccb588)

    Change-Id: Ie842ca7f784f31a456696a30bc2ad76dec4c2d47
    Signed-off-by: Swetha Basineni <sbasin@codeaurora.org>

commit 0d636e968954539c87cd777d839111e3498ddbb2
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Wed Jan 25 11:40:11 2012 +0530

    msm: vidc: Remove endianness change for 1080p firmware.

    Endianness change is no longer required for 1080p
    firmware starting with Nov 30th 2011 firmware version.

    CRs-Fixed: 317041
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    (cherry picked from commit e0e9e92051e2170b79713f3455c481e8defd2e47)

    Conflicts:

    	drivers/video/msm/vidc/1080p/ddl/vcd_ddl_utils.c

    Change-Id: I848b4c5000e8a81d50d25be333b1666fa172182b
    Signed-off-by: Swetha Basineni <sbasin@codeaurora.org>

commit d3b8ce23c9adc7d1d32f7e6a80975af7cd547abf
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Wed Jan 11 04:54:51 2012 +0530

    vidc: 1080p: Increase context memory size of the H.264 encoder.

    Increasing the context memory size of H264 encoder
    to 20KB as it is a requirement from 11302011 firmware.

    CRs-Fixed: 317041
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
    (cherry picked from commit 6fb6e94208d7eacebf159127b558515ac77ea164)

    Change-Id: I1ac38b430261bae5fe13a94523457568e9b8d1d9
    Signed-off-by: Swetha Basineni <sbasin@codeaurora.org>

commit 6a966397517d2df84c61ba3e53d4f41723a23b65
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Mon Nov 28 11:59:58 2011 -0800

    msm: vidc: Fix handling EOS with bitstream error.

    If the EOS frame has codec config flag set and decoder
    return status is bitstream error, then driver was
    handling EOS done before the core returned with EOS done.

    Fixed by adding a check in the driver to not handle EOS done
    until the core returns with EOS done.

    CRs-Fixed: 320107

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    (cherry picked from commit a86367e34880ba37cabc0a6041300c0e3ae2424b)

    Change-Id: I67d891d38cf746245fb26600b15d05f38c679b02
    Signed-off-by: Swetha Basineni <sbasin@codeaurora.org>

commit 7dac58fcb9d5a70373f015271e3df7f3b4d1c790
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Nov 18 13:23:14 2011 +0530

    vidc: 1080p: Override profile to ASP for XVid/Divx456

    Always set profile to ASP for XVid/Divx456 apart from
    MPEG-4. Core will ignore the profile information from
    the sequence header and continue to decode with profile
    set by driver.

    CRs-fixed: 319168
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
    (cherry picked from commit b7523cde9399347fa357f0a5d43ccdfeaa30a04a)

    Change-Id: I3672f172460ec56afc4d22c435af59612b6669bc
    Signed-off-by: Swetha Basineni <sbasin@codeaurora.org>

commit 10b798f6f82d275f9f4360ca71c9a317549366b5
Author: Maheshwar Ajja <majja@codeaurora.org>
Date:   Fri Nov 4 11:56:35 2011 -0700

    msm: vidc: print message as kernel info instead of error

    both decoder and encoder uses same driver structure and
    720p/1080p core base addresses, so the below log message
    is not an error message. hence making it as kernel info
    meesage intead of error message.
    Log message: Device config mismatch

    CRs-fixed: 316470
    Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
    (cherry picked from commit ebd12f62bc7dc8b32e8efc099c4fdfa235226106)

    Change-Id: I5a5c29423e0b79201b75d912d79c662071a55833
    Signed-off-by: Swetha Basineni <sbasin@codeaurora.org>

commit 0a693110809d2a782a137f242f6438cb0e32218b
Author: Manoj Rao <manojraj@codeaurora.org>
Date:   Wed Nov 16 22:00:05 2011 -0800

    msm: display: HDMI: Driver support for CEC feature

    Driver implementation of HDMI CEC feature. Support includes
    CEC frame send and frame receive. Support added for sysfs interface
    for CEC daemon to interact with the driver for reading and writing frames.

    sysfs interface
    /sys/class/graphics/fb1/cec
            Read: CEC block state.
            Write: Enable/Disable CEC block.

    /sys/class/graphics/fb1/cec_logical_addr
            Read: Print CEC logical address
            Write: Set CEC logical address which is used for
                   addressing CEC messages to and from MSM

    /sys/class/graphics/fb1/cec_rd_frame
            Read: Read rcvd CEC message from message queue.
                  If queue is empty -EBUSY.
                  If CEC block is disabled -EPERM.
            Write: N/A

    /sys/class/graphics/fb1/cec_wr_frame
            Read: N/A
            Write: Write to send CEC message.
                   If CEC line arbitration fault/no ack -EINVAL.
                   If CEC block is disabled -EPERM.

    Change-Id: I00ccf91c022d6b9962ec0231eb3c8f159a200e40
    Signed-off-by: Manoj Rao <manojraj@codeaurora.org>

commit adec2759e9289d184762f0c535068f2deaee3820
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Tue Nov 8 16:22:49 2011 +0530

    vidc: 720p: Set DB line buffers in case of reconfig

    In the case of multi resolution H263 clip, there is
    no response from the core. With fixes in video f/w,
    there is a problem in reconfig. Fixed by setting the
    DB line buffers to the core again in the case of
    reconfiguration.

    CRs-Fixed: 303874
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
    (cherry picked from commit d292ddd67b5eb550d02520403ea2ad1d72957189)

    Change-Id: I5c794bb016636780cf0f37426d91c4ed9935a80c
    Signed-off-by: swetha <sbasin@codeaurora.org>

commit 7cf99d3aada509d17ade5c413e6c415aa7629dec
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Mon Aug 8 11:14:49 2011 -0700

    vidc: vdec: Buffer optimization for smooth streaming.

    Smooth streaming client has the buffer count optimized
    to lower value than profile and level based counts for
    H264 decoder. Adding support in driver to take advantage
    of lower buffer count to optimize memory requirements
    for smooth streaming.

    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
    (cherry picked from commit 6f6a85717fdc5e82cc0b993840e6efe006d57040)

    Change-Id: Id073af9e68b2558a6d8aabaff8e0d97200fc2d96
    Signed-off-by: swetha <sbasin@codeaurora.org>

commit ae1e361e1a81c132b40f3569229a0af9775ccbfb
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Wed Sep 21 17:15:47 2011 -0700

    msm: vidc: Increase the decoder input buffer size.

    Increase the decoder input buffer size to 2MB to be able to handle
    input frames greater than 1 MB.

    CRs-Fixed: 306909
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    (cherry picked from commit 9743b69d29eb846eca3425a647ef9d290925d441)

    Change-Id: I229985fb1cc90e96d36d0b065dec57e5144d28ee
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit a32bcdf8975a5367d454b8b713a2a9e36b924a19
Author: Deepak Kotur <dkotur@codeaurora.org>
Date:   Mon Oct 3 14:45:15 2011 -0700

    vidc: venc: Return the correct error code for IOCTL.

    When ioctl fails for VEN_IOCTL_CMD_READ_NEXT_MSG
    send the correct return value to userspace.

    CRs-fixed: 310431
    Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>
    (cherry picked from commit f871a5629dd82a60309610bf8d3f82fbf0c8d0d1)

    Change-Id: I5e6e41f0389608ac0a38d2d4bc2b3d3264bc133d
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit ad90a0e360d4c4cefca3fd5f0405c4754cb40984
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Wed Oct 12 12:29:55 2011 +0530

    vidc: 1080p: Recovery point SEI support for ISDB-Tmm

    Enable Recovery point SEI parsing in the core for H264.
    Core notifies the Decoded YUV correctness in the output
    done callback for both decode and display order types.
    Parse this information and notify the user space with
    VCD_FRAME_FLAG_DATACORRUPT if the data is corrupt.

    CRs-Fixed: 313004
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
    (cherry picked from commit 7b6e1fa36e1dce1a098995c630307d66d8dc54de)

    Change-Id: I9638253a857409a49d28344cb4107a9956fcce8b
    Signed-off-by: swetha <sbasin@codeaurora.org>

commit 145a91a210719b13ce82cf331a75b479894db962
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Aug 12 16:49:42 2011 +0530

    vidc: vdec: Copy the End of Sequence flag

    To get End of Sequence flag in the output buffer
    from the video driver, we need to copy the end of
    sequence flag from the input buffer to the output
    buffer in the driver. Added these changes as
    needed for ISDB-Tmm EoSeq feature.

    CRs-Fixed: 313005
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
    (cherry picked from commit 1a16d5244a27781dad10838c93f11ec58758ee49)

    Change-Id: Ieac43a71edb5c2f64096016716be748e1c334695
    Signed-off-by: swetha <sbasin@codeaurora.org>

commit 726c854342a1684291581f83807bcd57e7d0c8e6
Author: Eduardo Carrasco <cecarras@codeaurora.org>
Date:   Fri Sep 23 10:37:42 2011 -0700

    msm: vidc: Fix GOB Header for H.263 encoding.

    For H.263, enable the GOB header, when user space selects this option

    Signed-off-by: Eduardo Carrasco <cecarras@codeaurora.org>
    CRs-Fixed: 305978
    (cherry picked from commit e92f9695de49c179e60172b4e625a94bf0ff6dc0)

    Change-Id: Idc3e93fa087f4e8168795ef9e4c48bf94b2f9b74
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit fcbf7a9a41c51e0df5ca1c69785d3db42d22bcbc
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Thu Sep 22 15:40:49 2011 -0700

    msm: vidc: Fix performance level computation

    The required performance level is rounded off to the incorrect
    value due to the order of execution of the operations. Fixed
    the issue by ensuring correct order of execution when computing
    this value.

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    (cherry picked from commit c9fc55be6efdd5518618f64f9a658619e86d5139)

    Change-Id: I46350ef37d4549e882d90a9063841f4e39292ed2
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 708a271386b2238fff1df20eb44ff51af14bd786
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Tue Sep 20 15:49:36 2011 -0700

    msm: vidc: Fix to handle VOL header errors.

    VOL header errors trigger reconfig in the driver. Driver tries to
    handle the reconfig but the core returns incorrect status causing
    a hang. Fix will set the flag appropriately for the core to know
    that the driver is handling reconfig and thereby return the right
    status.

    CRs-Fixed: 299978
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    (cherry picked from commit 65f8ca24b292d4af84955620ee4061b078e5e582)

    Change-Id: Ie4060c96e7766f9a752c6989d404e96a6cb61664
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 51b100549accd6e0ac79a4f8fe6db0c76f74a3a7
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Thu Aug 18 11:35:17 2011 -0700

    msm: vidc: Fix H.263 30fps standard resolution encoding.

    For H.263, when encoding standard resolutions(CIF/QCIF)
    at 30fps, the encoded bitstream should not have the
    Custom PCF flag set in the PlusPType header. This is
    fixed by enabling the custom PCF for non-30fps encoding
    only.

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    CRs-Fixed: 300807
    (cherry picked from commit a19b9ad00c0ae9d93c358a24595cbca463074526)

    Change-Id: I94d37cd218c0a1876768a22d1281f168db64f1f1
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit f741b6181d29f5482a679977c9065f32bda66bdd
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Aug 18 11:50:20 2011 -0700

    vidc: vdec: Update firmware memory size.

    Increase firmware global context space from 500kb to 800kb as per
    the updated firmware requirements.

    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    (cherry picked from commit dc435924798f7a80e2136e88330e89505766bf63)

    Change-Id: Iad5b14f6830a487e22a2def9167d85bf063dcec9
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit ff76156be8e17b1e927c724c80e949c8c39de33f
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Aug 11 15:04:08 2011 -0700

    vidc: venc: Remove check for allocation of sequence buffer size.

    Firmware requires non-zero sequence buffer size for H.263.

    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    (cherry picked from commit 28bf67bfebafe573525e73b9c2ad6dad3f588ecb)

    Change-Id: Iddecdd8051bcb065a8ab17315f0f1e8697a73899
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 3b452d3580630ad80cb1cf5610327d5aeb89c870
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu May 19 13:27:08 2011 -0700

    vidc: 1080p: Override SP profile to ASP for MPEG4 decoding.

    Always set profile to ASP for MPEG4 decoding. Core will
    ignore the profile information from the sequence header
    and continue to decode with profile set by driver.

    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
    (cherry picked from commit 343eda5d60c084abcb53e4713eb45ee2be50e7a8)

    Change-Id: Iadbff386ad6ba6a92ee5275c0fa2314e76caa2fc
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 6dd953ba1536ebc951edbc64a3f1fa00bf3153c2
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Wed Aug 24 18:27:51 2011 +0530

    vidc: 720p: Memset MPEG-4 recon buffers to black

    In the case of MPEG-4 decoding with clips which have
    initial frames starting with P-VOPs, green macroblocks
    are seen. This is because of recon buffers used for
    MPEG-4 have 0 preset values. The default values are
    changed to 0x10 & 0x80 for luma and chroma to get
    default color as black.

    CRs-Fixed: 303298
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
    (cherry picked from commit 207df7f89bf731c456bf6d5c905bde1aa014a8af)

    Change-Id: I45b0c241dd5f75b25e15ae9d211fd51d701d3c83
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 48ae59ca8a48e62c3bac361ad430e166a75a4819
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Tue Aug 23 18:57:58 2011 +0530

    vidc: 720p: Handle profile unknown as bitstream error.

    For corrupted VOL header in the middle of playback
    core is returning UNKNOWN PROFILE error and is being
    treated as Fatal error and playback is getting aborted.
    Now handling it as sequence header fail/recoverable
    error.

    CRs-Fixed: 302549
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
    (cherry picked from commit 301cbf57a42e99ef403b38793431046fd0d1bc19)

    Change-Id: I1aaa99ef6bf8e5096d30d644f434792fba4b1981
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 79563d6a95103435f9b303f8acb95febfd260c40
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Aug 4 12:59:49 2011 -0700

    vidc: vdec: Set correct divx codec type.

    Added support in video driver to configure divx codecs 4/5/6.

    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    CRs-fixed: 297558
    (cherry picked from commit 893d5e34665abafade791c0308de09edf55b2c82)

    Change-Id: I8dd9275a7047c4ca6969801b4b469948528da7fc
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit f06d93da8a290927cf3be14ce07a85148e50d530
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Jun 8 13:01:20 2011 -0700

    vidc: venc: configure slicing for every frame.

    Slicing support was there only during init time, firmware
    support is now added to configure dynamically.

    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    (cherry picked from commit 941c6bf893e856837e91be76ccac6664de30d921)

    CRs-fixed: 297685
    Change-Id: I1db1e9679b6a5f14f28927602587f19276839224
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 3c3dacdb73d76aacab9368a325d5c914a6f3a75f
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri Jun 3 10:30:23 2011 -0700

    vidc: 1080p: Handle b-frame not supported error.

    MPEG4 simple profile doesn't support b-frames. There could
    be erroneous clips in which we can have bframes in simple
    profile clip. Video core will report an error in this usecase
    and driver should consider this as warning.

    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
    (cherry picked from commit 898afe35de8add2401c15299095805e1a2fc8723)

    CRs-fixed: 300633
    Change-Id: I911e85d03b90780dcc082f1c2e937cccaa53f880
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit dddae4afb8809a2d6f4d27ac903e79466964b54e
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Jul 12 14:24:14 2011 -0700

    vidc: vdec: Report dropped field for interlace clips.

    For field based interlace clips, video core will generate
    an error when one of field is missing in bitstream.
    Driver will report this to upper layer, so that it can
    take appropriate action.

    CRs-fixed: 290659
    Change-Id: I4e208e533b556c74088171e4b44f28f07116d511
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit e468071478237e5d157613bc26548b3bc7dc80df
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu Jul 7 11:55:13 2011 -0700

    vidc: vdec: Report bitstream errors to driver client.

    When video core generates recoverable bitstream errors,
    driver will report them to upper layer.

    CRs-fixed: 290659
    Change-Id: I5b1187a6784c99ab987cbc7369ba140274a21ff7
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit d26a61df194f503bec6289899029fe04c9050320
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Jul 15 17:40:12 2011 -0700

    msm: vidc: Set Y and C size registers to allocated size.

    Currently the Y and C sizes are set based on the
    size of video being decoded. In case of smooth
    streaming, decoded sizes are not the same as allocated
    sizes. This change will set the Y and C sizes to
    allocated sizes.

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    (cherry picked from commit 9b10b255cf789b4cb06ba554515b001ec5f8ad16)

    Change-Id: I7f2f7448e81893bd2a6dec6f23dfcbdb21da4694
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit f6ee43e1c97241b65aeacb33e33abce43c301c58
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Mon Jun 27 13:57:16 2011 -0700

    vidc: 1080p: Set chroma address change in smooth streaming mode

    If resolution change is detected in smooth streaming mode and
    status indicates that video core can continue decoding, update
    chroma address for new resolution instead of starting frame
    realloc.

    Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>
    (cherry picked from commit 6465d940156fa4d05a27772eb64d7fbeee343445)

    Change-Id: Ie4c1c0970bd79fab3094178e9dd265e8c69c409b
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit cf11804b78c6257f5f23bf56a309e787b5d60079
Author: Ananda Kishore <kananda@codeaurora.org>
Date:   Mon Jul 18 19:02:15 2011 +0530

    vidc: add change to print MFC firmware version

    CRs-Fixed: 296531
    Signed-off-by: Ananda Kishore <kananda@codeaurora.org>
    (cherry picked from commit a6782181ebd3600967e269efd176c8e2454bee56)

    Change-Id: Ibbd8bb6f818ecec3a6b1457e4af3ecdb25d3ef17
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 56ac84551cdcfc3f76ee86a8eda1af3f22e1c494
Author: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
Date:   Fri Jul 15 18:14:30 2011 +0530

    vidc: 1080p: Removed check for comparing DPB Size

    For best effort decoding we don't need to compare
    the available DPB size with the decoded size and
    throw error. So, removed the check that compares
    them.

    CRs-Fixed: 296211
    Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
    (cherry picked from commit 0df6ccfc7ac0cf0e34e8fd4bd1ca86565b9f0b3a)

    Change-Id: Icfabb4cf2fba6b04964edf5294e53aab326f2dc7
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit e28b9efb04371ded7bfe2ee7c56636ac9f2e72fa
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon Jun 27 12:37:00 2011 -0700

    vidc: venc: add Check for infinite intraperiod configuration.

    Max value allowed is 0xFFFF, any higher value is configured
    as infinite intra period to the video core.

    CRs-fixed: 292859

    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    (cherry picked from commit a1f3f0704761e961df64f7b466c30122d3d1fce3)

    Change-Id: I1c4c3a1a0277eff88c8cd44db9c7c7c613d09876
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit a6677cef8954109c3e99047e2c21482dbe46008e
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Mon Jun 6 14:18:36 2011 -0700

    msm: camera: Support for manual convergence in stereo camera.

    Adding support for manual convergence in stereo camera and
    changing the delivery method of stereo quality indicator.

    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
    (cherry picked from commit 791278e730c6ebce77aea7c16e256eb4ae161aca)

    Change-Id: I4f9073309c11e326150623edc19dfb7453428631
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 6a50674d696213efebb93a5d9d109723aa69d758
Author: Chandan Uddaraju <chandanu@codeaurora.org>
Date:   Wed Jun 22 23:38:16 2011 -0700

    msm: Display: Fix IOCTL ID for 3D ioctl.

    Add code to have unique ID for 3D Ioctl call.
    Move Novatek specific changes for 3D to novatek panel
    file and remove the usage of featurization
    macro "CONFIG_FB_MSM_MIPI_NOVATEK_3D_PANEL".

    Change-Id: I01e2ec5cd85d2778fc800fd452ee3b1e6d0602f3
    Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>

commit ef65cd2dba8cd82fbea61e8be6560c8092a5d441
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Apr 27 12:18:25 2011 -0700

    vidc: 1080p: Reject unsupported profile clips.

    HIGH10 profile clips are not supported by video core. so
    added check in driver to reject playback of those clips.

    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    CRs-fixed: 273798
    (cherry picked from commit 9c4382b6cd117160559a1c4d812332e83c2aa8ee)

    Change-Id: I58626968d5f8c1e5704d6d14ae4de62df939f477
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit a91286f049791f2dc605270b6423a1b07595e999
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Thu May 5 17:17:00 2011 -0700

    msm: vidc: Fix to handle non-fatal sequence header errors.

    Non-fatal sequence header errors thrown by the core in frame run
    state are being handled as fatal errors. Fix will handle non-fatal
    errors as recoverable bit-stream errors.

    CRs-fixed: 286257
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    (cherry picked from commit 1fda5c33b03ae5ff6d2e1fb15e50d23f10b5f08e)

    Change-Id: Iddbc8091d8839c58af74fddad5554cad4e66a5e6
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 6a5a125bf8fca8b9dfe3b4cb10a536c148e81c77
Author: Raj Kushwaha <rajk@codeaurora.org>
Date:   Wed Jun 22 11:49:45 2011 -0700

    msm: Display: Add code to provide 3D panel information to UI.

    Add code to provide information to the user interface
    about wheather the panel supports 3D display or not.

    Change-Id: I1086b8deb2980ffcacae153ba5ac80c680e04eb8
    Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 515353fd67a55051febe8c32c4c6e3c874a684a9
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Mon Jun 20 11:27:20 2011 -0700

    msm: vidc: Fix not coded vop handling in decode order.

    When decoding not coded vops in decode order, the output buffer
    address was incorrect. Fix will read the correct buffer address
    from the decode order address register.

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    CRs-fixed: 291342
    (cherry picked from commit 17ab2187ccf5c82ec2ff6017f85f4a104df736e8)

    Change-Id: Id4bf53813df71147305d77e6aff4dac4f650b3a6
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 779f7bd1701f03df11030c420b59a2034cf13554
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Wed Jun 8 14:48:37 2011 -0700

    msm: vidc: Increase firmware memory size to 500KB.

    Latest firmware size is greater than 400KB.

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    (cherry picked from commit d8a1c720541845e513bce5a37731ee77b3c7c504)

    Change-Id: Ie9f0188a74bdbc439fb26cfdbe012fb533e61916
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit ef56408ab473612c4102f1e816b5076abd9b19f6
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Fri May 20 11:35:42 2011 -0700

    vidc: 1080p: Startup latency optimization.

    Startup latency optimization for video
    playback:
    1. Bumped up bus and video core clock at
       startup.
    2. memsetting output buffers in kernel
       rather than in userspace.

    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
    (cherry picked from commit f2a6f6f3959f5ab0a79fad769317d50039a20f2c)

    Change-Id: I56085e61bec65bc78de6a159f92548589c6688e1
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 3b6b2347a2b87e96c566d8460c6e697622a759a5
Author: kuogee hsieh <khsieh@codeaurora.org>
Date:   Mon Jun 6 10:29:28 2011 -0700

    msm_fb: display: add mdp writeback mode support dsi video mode

    MDP writeback mode has been worked for both lcdc and dsi comamnd
    mode. This patch add dsi video mode writeback mode support and unify
    interface to enable/disable writeback mode.

    Change-Id: I74898d7d80e9b4727eb417b0f1d831845d229c73
    CRs-fixed: 287700
    Signed-off-by: KUogee Hsieh <khsieh@codeaurora.org>

commit fedcafa7b4e53b325a14561512dbcdb21749b959
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Tue May 3 14:13:41 2011 -0700

    msm: vidc: Support dynamic change of interlaced format.

    The interlaced format can change dynamically with in a
    sequence/clip. This change ensures that the interlaced
    format is updated and passed to the client appropriately.

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    (cherry picked from commit 7c395a949da6a08bb3a86a5faf760f26cbbd91db)

    Change-Id: I1bf81748245e34d33bc2a2f8746551f397ea0ed1
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit efe458de5146143a03d73310d66fadd50e64bdb6
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Jun 8 11:59:59 2011 -0700

    msm: camera: Consolidate VFE messages for performance improvement

    (cherry picked from commit 6d7f475e8e4d40c0a787c7e1f2fe7e57a4d84929)

    Change-Id: Id378388f3d1219cb8e69f48acac79dbf4ebbbc32
    Signed-off-by: Nagesh Subba Reddy <nageshsreddy@codeaurora.org>
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit a017c3a92b28096b789577a2e2d0c01b47efd569
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri May 6 11:48:42 2011 -0700

    vidc: vdec: Generate reconfig when minimum count changes.

    Generate output port reconfig when minimum buffer count
    that the video core requests after the sequnce header parsing
    doesn't match clients count.

    CRs-fixed: 278839
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
    (cherry picked from commit ddd599efc860c6d60018c3c2e4696e23317ff9f5)

    Change-Id: I284b4d35c94e151ca899dbc1202bd2e29ab8eaf4
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit dc3ac7e8f22d5482ad28597763f34b40ef84201a
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Wed May 11 14:02:19 2011 -0700

    vidc: 1080p: Update buffer count calculation for smooth streaming

    Calculate worst case buffer requirement in smooth streaming mode to
    avoid unecessary port reconfiguration.

    (cherry picked from commit 0ef7cd7e5f0510c937171c931f00583484741910)

    Change-Id: I0384bbc896ec3ab242b31f7cda01872754a059aa
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit b227bf53b1ddf87b0f7603fb49431100e92b3111
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Fri May 13 14:28:54 2011 -0700

    vidc: 1080p: Send smooth streaming event in output done callback

    In smooth streaming mode, if a change in frame size is detected,
    send info event in output done callback instead of sequence done
    callback. This ensures that the openmax compoenent appends
    extradata corersponding to updated width and height to the output
    buffer with updated frame size.

    (cherry picked from commit 2936befa32f998589a4b33ab262e296017134a4e)

    Change-Id: I3e9cea92e3a4d8bf8456d256435cd0a9c28de08c
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 4fc46c5440383aa7897cafc906d347951ab9e43a
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Fri May 13 14:07:06 2011 -0700

    vdec: 1080p: Align stride and scan lines for tile format

    Update decoder output buffer stride and scan lines as per
    tile format specificaton.

    (cherry picked from commit f6f653c41b41d6c77fcfe1c50be3fe5044dc496a)

    Change-Id: I42ee9eddd5f6ced83a35b03567c6be76072bcc0e
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 11f7e4082ffc8d0f357a24a1d8faa4a0b14be20c
Author: Pradnya Chaphekar <pradnyac@codeaurora.org>
Date:   Wed May 11 18:44:56 2011 -0700

    vidc: 1080p: Fix compilation error in debug message

    (cherry picked from commit 261ac91e537884441aebc8c7a2dffba67f77b496)

    Change-Id: I15631079c1c0fa5f5c5c975d77c34de049c85030
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit 18a0862208c1b960b661b849d4b748c72888d256
Author: Raj Kushwaha <rajk@codeaurora.org>
Date:   Tue Jun 7 09:40:36 2011 -0700

    vidc: 1080p: Add smooth streaming support for video decode

    Avoid port reconfiguration for dynamic frame size changes,
    if client allocates sufficient number of buffers of required
    size. If not, fallback to port reconfiguration.

    (cherry picked from commit 946be5687a15c87a43a786cb9f51244bc1133b56)

    Change-Id: Ife31a748d3df507c1a173ccb47b86f8c904c3e7e
    Signed-off-by: Raj Kushwaha <rajk@codeaurora.org>

commit cad97a5b2a19c15c981b5cf534d687db550a969b
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Wed Apr 20 19:21:10 2011 -0700

    msm: camera: Support for more 3D camera features.

    support for following new 3D camera features have been
    added.
    1. 3D Digital Zoom for snapshot and video recording.
    2. 3D Quality Indicator for preview and video recording.
    3. Framework changes to support 3D 1080p video recording.

    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
    (cherry picked from commit 7a35826ae448f47d871d6a38cf8cc99f196fc990)

    Change-Id: I99f6cb2498328ae09b06dc7a7e5c5567f42f2f46
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 116e0b4800a5794b25fe2be3851b8bf5d0bde4e7
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Apr 27 14:35:55 2011 -0700

    vidc: 1080p: Reject unsupported resolution clips.

    Reject clips for which video core reports unsupported resolution error.

    CRs-fixed: 275983
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
    (cherry picked from commit a05374e7a851b02ed9c43d5b68dee17b8d5b1b49)

    Change-Id: If319dbf79f86691fdb9cf598588ce695cb59f22c
    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit de6c370237bfeb0a5ff78b55593724a894142644
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Wed Apr 27 03:17:41 2011 +0530

    msm: Disable Vfe Rolloff for 3D Sensor

    Update camera sensor info structure with support_3d variable
    which is passed to user space to determine whether to enable
    or disable VFE RollOff.

    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 4fcad1c781dd427195c79a4519908f997c5583cf)

    Change-Id: I81abb1e35d3c093083fcc18dc13dad843be54aaa
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit e9dc3f8bd651b0cd54c6b7d9f359d41d59c9e894
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Apr 15 11:30:18 2011 -0700

    msm:vidc: Interlaced content error handling.

    Fix NPF and bitstream error handling for interlaced clips.
    When a paired field is missing or bitstream error occurs for
    one of the fields, release the previous field, if it is present.

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    (cherry picked from commit 4913bb029b869fcc66661d83304f3a4a50b156ee)

    Change-Id: I98a5e084309aa0b26be4a187552e0bde40dddb54
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 1c22dd35c3e0944038825b0804ce7c3b62cc941d
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Mon Apr 18 15:08:47 2011 -0700

    Revert "msm: vcd: Update bistream error handling in EOS"

    This reverts commit ed060bcc936f1a05a6e17e60505dd8f247c328c1.
    This commit was causing issues with flash playback so
    reverting it.

    CRs-fixed: 280822
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
    (cherry picked from commit fedc6ec9550713de753d288a32539f5964c7388c)

    Change-Id: I5bfa248e831d3c02e755afa0d8078d5698feadb4
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 1f3f7d05fdb83d49b34e6bb55b955bb6ae4a514d
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Apr 26 16:37:37 2011 -0700

    vidc: 720p: Report unsupported resolution as fatal error.

    After parsing sequence header if core reports unsupported
    resolution error, driver will raise a client fatal error
    to the upper layer for session to be cleaned up.

    CRs-fixed: 275983
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
    (cherry picked from commit b90405524409bcad8f825169690c34171d26f395)

    Change-Id: Iba53e8f794f098d1b864a35ac76f90f0c5754f1c

    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 7877d69ed85126d66d04c40eb7bf16e3b900234e
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Apr 19 17:25:35 2011 -0700

    vidc: vdec: Fix 720p driver memory alloc failure handling.

    When memory allocation fails, driver should gracefully close
    the session.

    CRs-Fixed: 282400
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
    (cherry picked from commit 5a698c0f9e55742641bdd7724451d418fb426b0c)

    Change-Id: I5ac672a7903656b0e695f7d971d9dc5fcb00de27

    Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>

commit 71b3a7c5c8ff11bded3f98d2842c184e9eeccaab
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Mar 24 03:35:38 2011 -0700

    camera: Support for 60 & 120 fps in MT9E013 Sensor

    Added HFR support in MT9E013 Sensor
    Added HFR structure in msm_camera.h

    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>
    (cherry picked from commit c23977d023044c77e6c8c92fa3a28c2eb5b41eef)

    Change-Id: I4b2307a4b9e289df96338ea06e17cb590bd85a2f
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit b008122b1e86f137e8b328eec86ffd22ec1c3150
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Apr 26 19:50:39 2011 -0700

    vdec: 720p: Update video dimensions based on color format.

    Change updates the stride and scan line values based
    on color format.

    CRs-fixed: 284790
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
    (cherry picked from commit 56e2543e6541f95f60b29d33804ce4805ee46985)

    Change-Id: Iff082c3313a12ef6269d2029f89d34be6735de8f
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit b74f08bf7cbcf518620cee3e002c72afbcfa0cc7
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Apr 27 11:12:39 2011 -0700

    vdec: 1080p: Align stride and scan lines for TILE format.

    For tile format buffer size is calculated by aligning width
    to 128 pixels and height to 32 pixels for decoding.
    This change updates the stride and scanline values as per
    TILE format specification.

    CRs-fixed: 284571
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
    (cherry picked from commit f14e9201e64dd73ea1b11f8e42090c6b4d510919)

    Change-Id: I48ae5fdd6ed3e9bbd4e59d87d2e887719a67a0bf
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit ffcc9ef7fb5c82a335cf03f67f10f0dd39821fe4
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Mon Apr 25 10:32:48 2011 -0700

    msm: vidc: Disable debug logs.

    Some debug logs are being logged as error messages.
    This change disables these debug logs.

    CRs-fixed: 275926, 275927, 275928
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    (cherry picked from commit b3715620d09f0166c2b88c549adae64b34395c44)

    Change-Id: Idc81995f6fc3bc4a3848e3a8e8cf4cb77e5df4c6
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 9bc2d7e8e19572317877e9967818d9c4c6ac252d
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Apr 15 10:31:38 2011 -0700

    msm: vidc: msm: vidc: Decode order interlaced decoding fix.

    Fix to handle the top and bottom frame tags appropriately
    for interlaced clips when decode order display is enabled.

    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    CRs-fixed: 274264
    (cherry picked from commit 744d4918e393f8e4466a86e8a716598dbeaf0d94)

    Change-Id: I08e25003de82e1472f17500e115fe08c46ee51b6
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit f9e61145cd1dd027d00db3bf588fed1d80d7721f
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu Apr 14 14:50:37 2011 -0700

    vidc: vdec: Generate output done in reconfig.

    In reconfig, if output buffers are queued then
    driver will generate output buffer done with
    filled length as zero.

    CRs-fixed: 283868
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
    (cherry picked from commit 910fd2b7cbd05a21040546e0bd1fd6656835d5a3)

    Change-Id: I73632acadc0ae6454ff58931d22f3f34437da828
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 0baf9b524bf6863fa0f263d3c813e4ca5e56407f
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Tue Apr 5 18:26:41 2011 +0530

    msm: Fixes in the 3D Camera Sensor

    Enable the 3D Calibration and Lens shading. Fix the i2c configuration
    for eeprom. Add new settings for the 3D View Finder

    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
    (cherry picked from commit 77c13428ea3b78dd674771332a2dd95c80452441)

    Change-Id: I476e4e268c2a23e5aeb29f7e4409d3c45b58b955
    Signed-off-by: Shruthi Krishna <skrish@codeaurora.org>

commit 8a505d574a92fec20889f3134aa2dac02073f9b1
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Wed Apr 6 13:46:35 2011 -0700

    msm: vidc: Improve the decoding times for interlaced clips.

    Increasing the performance level to 720p for all
    interlaced clips with VGA resolution to improve the
    decoding times.

    Change-Id: I5cf8afe10b51c4fb7e70c156261b16318944c685
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 82f440a89565bac0bc1371fbf733e45d81680800
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Thu Apr 7 13:43:53 2011 -0700

    Revert "msm: vidc: Release first field transaction for interlace frames"

    This reverts commit 53c267d871521c0ac7c0d1a9e43a02654761067f.

    Change-Id: Id44708bd3d980ea1412e6277a2e3d3a761aa305b
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    CRs-fixed: 280620,280692

commit 4ddcddbc417702d9f809182c38ff6f1c2b36e979
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Tue Apr 5 14:49:08 2011 -0700

    vidc: 1080p: Add support for non-multiple of 16 input width in driver.

    Change-Id: I9eeff5f9b258bc220be8322bc987cead9f96abcc
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    CRs-fixed: 280280

commit 1b7d16d196656c9c22f625c624cb59d1d32481f6
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon Apr 4 19:11:18 2011 -0700

    vidc: vdec: Fix VC1 failure in driver

    Configure Width, height for the core in case of VC1 and
    VC1_RCV codecs.

    Change-Id: I90a6f9fdfe000575e954894451f2c68a724d69f5
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    CRs-fixed: 279645

commit 388867a3bb6d72b3da409962380ebf876c735622
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Tue Mar 29 11:24:52 2011 -0700

    msm: vidc: Fix video core clock power up/down sequence

    Change to ensure that the clock is enabled before enabling
    or disabling the power rail.

    Change-Id: If182550752e8f89a2756d61953d79f1a4814c533
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>
    CRs-fixed: 281686

commit 4b0a040d6b2eb420c36abbb6ef505b46b0021617
Author: Vinay Kalia <vkalia@codeaurora.org>
Date:   Tue Mar 22 18:03:34 2011 -0700

    msm: vidc: Adding ioctl for IDR only decoding

    Adding ioctl for only sync frame decoding. This
    will configure hardware in IDR only decoding mode.

    Change-Id: I1e218bdf9705fdadbf51cfc5d0542eb7fc970c40
    Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>

commit f09a67fa9d158783da17e0bb7d480f0970ab3ed0
Author: Rajakumar Govindaram <crajaku@codeaurora.org>
Date:   Fri Mar 25 15:58:19 2011 -0700

    msm: camera: Add IMX074 Calibration data usage support

    The IMX074 camera sensor has calibration data available
    in eeprom to adjust the variation of color and focus parameters.
    This data is used to adjust the tuned parameters.

    Change-Id: I5b998b26ef748e341bce1c0f892d73897538f52b
    Signed-off-by: Rajakumar Govindaram <crajaku@codeaurora.org>

commit 1559eab74c563cb60a22048997337db5af423d0d
Author: Nishant Pandit <npandit@codeaurora.org>
Date:   Fri Feb 25 09:26:54 2011 +0530

    msm: camera: 8x60: Initial support for qs_s5k4e1 camera sensor

    Change-Id: I10b4c7eee463da8f5ea21676ad2706cbad4dc614
    Signed-off-by: Nishant Pandit <npandit@codeaurora.org>

commit f6de814765ccb615c173dccdd588c6f5cb97b66b
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Mar 23 15:07:40 2011 -0700

    vidc: Enable Messages when Hardware timeout happens.

    Change-Id: I0cd90006096571e885bee260da1decd2dcf428bd
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit f4a2361bbaad07a9e7eade0e42a1a0d20bd81914
Author: Zhang Chang Ken <kenz@codeaurora.org>
Date:   Fri Mar 11 15:41:04 2011 -0500

    msm_fb: display: AUO WVGA LCDC Panel

    Adding driver for AUO wvga(480x800) 3.61" lcdc panel.
    Activated for msm8660 Fluid platform revision 3 and up

    Change-Id: I528894540ed1990b7d0e8ea763fd9c54c70cf276
    Signed-off-by: Zhang Chang Ken <kenz@codeaurora.org>

commit 7e4217db2504593e2c8c962dd32c896cb7fe2129
Author: Ujwal Patel <ujwalp@codeaurora.org>
Date:   Sat Mar 19 13:32:35 2011 -0700

    msm: camera: Stereoscopic 3D Camera feature.

    This is the base change for S3D camera feature.

    Change-Id: I4dd5a4fac4fde73defc34b2f08aade8ca373cf6f
    Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>

commit 964e19b741decbd2189a407b09f2918a70b3ead1
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri Mar 11 17:30:20 2011 -0800

    vidc: 720p: Align stride and scanlines to Tile format.

    If color format is tile, decoder will align the stride
    and scan lines to 128 & 32 pixels.

    CRs-fixed: 276530
    Change-Id: If467fcd51b3ef543bf9e234dbcc4d113680fbd59
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit fec11dfdf2db7026bf63eeaff81bea4ae5c12da3
Author: Ajay Dudani <adudani@codeaurora.org>
Date:   Thu Jan 13 15:16:19 2011 -0800

    msm: vdec: Cleanup info level logs

    Change-Id: Ice71d404e510529dcad40e7a8afba87cca06ef59
    Signed-off-by: Ajay Dudani <adudani@codeaurora.org>

commit e5b0e25fd8a4ad347cad6db874e6930aadfa8ac2
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Mar 9 12:00:38 2011 -0800

    vidc: 1080p: Align stride and scanline values to yuv tile

    Render is expecting stride and scaline values as per tile
    format.This change will align sride to 128 and scan line to
    32 pixels.

    CRs-fixed: 276530
    Change-Id: I228a98f0d6b60e42fbd24f4b96c53e922ef6d6df
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 4d6ea04a7e9bd0350e5fe3822ac1c0f6bd3afe80
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Mar 2 18:20:08 2011 -0800

    vidc: vdec: Reject unsupported data partition clips.

    Video core supports data partition clips upto SD
    dimension. This change rejects data partitioned clips
    that has dimension greater than SD resolution.

    CRs-fixed: 277123
    Change-Id: I5b958107f352e77603b66c5aae8b1df61d039755
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 8ae66ceb26dd7baecc85d2b334029903cb7a1bb8
Author: Urs Muff <umuff@codeaurora.org>
Date:   Wed Sep 8 12:42:21 2010 -0600

    msm_fb: display: Samsung AMOLED PenTile panel

    Adding driver for the Samsung AMS367PE02 3.7" PenTile
    480 x 800 16.7M AMOLED panel.

    Enable LCDC auto detect when MIPI detect is enabled
    Clear regulator handles after they are released to
    avoid crashing

    Change-Id: I6abf705fd19d5baa429fb2a7c47e4299f73c6b67
    Signed-off-by: Urs Muff <umuff@codeaurora.org>
    Signed-off-by: Wentao Xu <wentaox@codeaurora.org>

commit 5092bd17c84279fe44d6ae0f9e2dcc39bd919068
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Feb 16 13:05:28 2011 -0800

    msm: vidc: Add dynamic enabling for pmem messages

    Add support to enable the pmem messages at runtime for memory
    allocation and de-allocation to detect memory leaks.

    Change-Id: I515cbcafeee5a5dfc83dc42838b7bef8a7c0ab02
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 410d84a28f6019f9ee6d8e065ea86c0c2ef4147a
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Thu Feb 24 12:30:33 2011 -0800

    msm: camera: Zero Shutter Lag feature support

    Changes include
    - VFE 3 output configuration
    - ZSL streaming mode support
    - Handling of raw snapshot, regular snapshot and
    zsl streaming in IRQ1.

    Change-Id: If94135d4d6a6ed0a8344413725ded2e45f5f7a5a
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit c500a60e670c44f217369d98145013bce46002b1
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Fri Jan 21 16:27:48 2011 -0800

    v4l2: msm: Add back chained copy for msm_ctrl_cmd.

    v4l2_event structure is not enough to hold all control commands.
    Instead, we use pre-allocated buffers in the driver and daemon
    so that no run-time allocation is required.

    Change-Id: I37f0512b5de33bb4cd43ed5f535c1ac76de397e6
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit 6ae4ecafedef28e15fac051fcb2cad61c592f922
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Feb 16 18:29:48 2011 -0800

    vidc: 1080p: Add time metrics for decoder initialization

    Add logic to provide the decoder initialization times.

    Change-Id: I39bbf85b292428cc7e5f61cba8138b5e2e1ae58e
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 477d8d33411c2a4298cd259f3e918e45aa4e02f5
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Feb 24 17:26:25 2011 -0800

    msm: 720p: Set resolution to core for VC1 and VC1_RCV

    Set resolution to core for VC1 and VC1_RCV codec
    enumerations in HAL.

    Change-Id: Idc2be9312546f24ef29fd7ab82216b900ca629b1
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 53c267d871521c0ac7c0d1a9e43a02654761067f
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Feb 24 08:16:33 2011 -0800

    msm: vidc: Release first field transaction for interlace frames

    Release the transaction corresponding to the first field of
    interlace frames since no output done callback is expected for
    this field.

    Change-Id: I621738424b1f8fe6b4d998a5f7e152dc29da17f6
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>
    CRs-fixed: 274264

commit c315489fbe1a75c52b968c4a237d9f7f4334336f
Author: kuogee hsieh <khsieh@codeaurora.org>
Date:   Mon Feb 7 16:58:43 2011 -0800

    msm_fb: display: add chimei panel driver

    Add Chimei LCDC panel driver. This patch also incorporate
    backlight control through PWM of gpio-24 (channel 0) of pm8058.

    Change-Id: I2e00d6ce0f6a9858a56d929c660776fcbfc54732
    Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>

commit d1e94baf4e6fdacc87c619f40c3abca2a88fb593
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Feb 16 16:52:19 2011 -0800

    msm: vidc: Add time metrics for decoder initialization

    Add logic to provide the decoder initialization times.

    Change-Id: Iff66fc8d7ff0f43ccb8fb16ab6310c56567e0589
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit bac3c0d10476b3d2023a1569e3520f3e90fe0a33
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Feb 8 17:48:20 2011 -0800

    msm: camera: snapshot interface redesign

    Created pic node and associated snapshot functionality
    to the new node.
    Fixed pmem lookup error for raw snapshot.

    Change-Id: I3fe532d9818f9dfb2ad8157b6e1ff98dfce8dfff
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit b9a23083f5bb8ceaa5325f6feefbbba5f1b2a94a
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Mon Feb 14 11:55:38 2011 -0800

    msm: vidc: Remove not requested flush done callback

    Remove flush done callback when the driver is stopped
    while handling an error in invalid state.

    Change-Id: I6cbdee961f6caa8172be7c2ac829ae258547213b
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit d034fc1101365fd5593b8dc1da66da63d8a5f61f
Author: Harshad Bhutada <hbhutada@codeaurora.org>
Date:   Fri Jan 21 19:42:49 2011 +0530

    msm_fb: display: add 3 frame buffers support

    Add triple framebuffer to improve display performance

    Change-Id: I132c74f11f5ddcee62d12599c85dd615e14235d4
    Signed-off-by: Harshad Bhutada <hbhutada@codeaurora.org>

commit 76ad97c210e10d57584e8d8a1eb90723c22bbd8f
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Mon Jan 31 18:57:53 2011 -0800

    msm: 1080p: Support output decode order

    Add support for output in decode order.

    Change-Id: I9af33604a7ec879210b09a00c399fec4216c0300
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>
    CRs-fixed: 273581

commit 62f6148fd162d51f900d10b16bdd421528fc2b38
Author: Gagan Mac <gmac@codeaurora.org>
Date:   Mon Jan 10 23:11:23 2011 -0700

    msm: msm_bus: Decouple nodes from fabrics for scalability

    Node ids need to be independent of the fabrics.
    For this external ids and internal ids need to be maintained
    separately. This is required to avoid misleading enums in case
    a node is switched from one fabric to other.

    Change-Id: I3ef56eba3a8cb504d7dedeeab4b47468c87fe729
    Signed-off-by: Gagan Mac <gmac@codeaurora.org>

commit 3f7a7060fc6b4d14f90354f9ccefe787531becbd
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Tue Jan 25 17:26:37 2011 -0800

    vidc: venc: bframe cleanup during flush

    In bframe encoding when flush command is issued last buffer
    does not get released.This changes releases the remaining buffer.

    Change-Id: I3a85c447106e462a673dc8e70698c0c8551e55ce
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 364d619844ec836388c7022bf4ab1155d6d48f01
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Feb 1 12:53:25 2011 -0800

    vidc: vdec: Handle clips with corrupted sequence header.

    When sequence header is corrupt video firmware can return
    data consumed length greater than supplied.Added support
    to handle this usecase

    Change-Id: Idd8df3b50aee5b44ed543f05adb2e53f3a28f636
    CRs-fixed: 273148
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit cb64336b06207f55b38bf808d0b71e94ed02c9cd
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Feb 1 16:52:37 2011 -0800

    vidc: vdec: Handle Eos with corrupted sequence header.

    Driver was not passing transaction pointer when an error
    occured with sequence header parsing and eos flag set

    Change-Id: I2b00d5c650545ae1bacd98650ede2bb13031b397
    CRs-fixed: 273137
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 91e6e6dfd6cd17b0bf701bbe4a950097aba0ecb9
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Mon Jan 31 12:16:28 2011 -0800

    vidc: vdec: Support to reject YUV422 clips.

     For h264 decoding once sequence header is parsed,
     core will return yuv format. YUV422 clips will
     be rejected based on the idc format

    CRs-fixed: 253750
    Change-Id: If073ca355427fb0f107e6c1ad89237ec7a2e16ce
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 68ce6a52d8017dd4cad4f5aba024bb9d0a0fcaf7
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Feb 3 12:45:56 2011 -0800

    vidc: venc: Enable OOO support in MGEN2AXI register

    Enable Out of Order instruction execution in MGEN2AXI.

    Change-Id: I38f9009bf1dbdb41fd18bb39c4f25f1118ee75b3
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 8e879b7af034784a850cc76f17a9af5dc8f63e8e
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Feb 2 11:13:49 2011 -0800

    vidc: venc: Initialize the vop_timing to high value for H.264

    Change-Id: I105978a86d57f4e20d3246e2e2f1c41fac0f3078
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit ed060bcc936f1a05a6e17e60505dd8f247c328c1
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Fri Jan 21 18:04:27 2011 -0800

    msm: vcd: Update bistream error handling in EOS

    Update the logic to don't report the EOS done event
    to client until this event is received from core
    for completely corrupted bistreams.

    Change-Id: I914d7044f2349c449c8d7cee6f93174dddb83251
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>
    CRs-fixed: 271520

commit b727d2ede2075c99ff82891012687bffcbf9104b
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Fri Jan 21 18:23:58 2011 -0800

    msm: vdec: Fix memory leak for video decoder message

    Free memory allocated for video decoder message when
    message is not required.

    Change-Id: Ia64bebdaff903dd22deed31084ff869825fc4f44
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>
    CRs-fixed: 271497

commit 6497dfb946781d3f9ae5f27910869b2739876ba6
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Jan 20 18:45:14 2011 -0800

    msm: 1080p: Support dynamic reconfiguration for video decoder

    Add logic to support reconfiguration at runtime for video decoder.

    Change-Id: I170d221afd139abfc1f09be7bea95a1261f988c1
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 5e42eff243e5fbf145fe4f2c6d03a09aba809233
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Dec 29 14:01:27 2010 -0800

    msm: vidc: Add logic to handle reconfiguration in error state

    Add logic to handle the reconfiguration event in invalid
    state and close the driver instance properly.

    Change-Id: I7b7fcc565be692b355fb0f2ea963be71fda79b32
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>
    CRs-fixed: 269214

commit aa7fb33f8deb4a81b5b68302324f40439256cc23
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Tue Dec 21 17:44:09 2010 -0800

    vidc: 720p: Support non-standard resolutions for h264 encoder

    Add support for resolutions non-multiple of 16 for h.624
    encoder. Input YUV still must have multiple of 16 dimensions,
    buffer size will be calculated rounding the dimension set
    by the client up to next multiple of 16.

    Change-Id: Ia5379ca45e4028ec8bfae183be0e9bd634f34dcd
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>
    CRs-fixed: 268399

commit 74626e6d2e22ce20065f3dd18e04eef5748dae5b
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Fri Nov 12 09:29:35 2010 -0800

    v4l2: Enable passing msm_isp_ctrl_cmd in v4l2_event structure.

    Create a new control command structure so that it can be
    packed in v4l2_event. This avoids the deep copy required
    for msm_ctrl_cmd.

    Change-Id: I48210062fb6c53c480174186994f26b4aa7e70d8
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit 3eb3330418fb87cf756cf3a886c509e51a56c5bf
Author: Ankit Premrajka <ankitp@codeaurora.org>
Date:   Mon Dec 13 14:47:43 2010 -0800

    msm_camera: export certain kernel headers for use from user space.

    Change-Id: I850d5fc6cb33948b29814757ea3e56adca725fb4
    Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>

commit e19c02de0a3b062d21fe82eee4913e631683e105
Author: Shuzhen Wang <shuzhenw@codeaurora.org>
Date:   Wed Dec 22 11:43:27 2010 -0800

    v4l2: msm: Implement preview support for vx6953 sensor.

    Add v4l2 implementation of msm camera driver. The application
    interacts with the driver via v4l2 APIs.The configue daemon
    polls on events from /dev/config0 and sends appropriate control
    commands to hardware.

    Change-Id: Ifb07cd2452599106915035daddd862c074088d28
    Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>

commit c57c3cd0ea7a0bc645516df5d96c20fc782849d7
Author: Stephen Boyd <sboyd@codeaurora.org>
Date:   Mon Dec 20 17:19:54 2010 -0800

    video: vidc: Migrate to clock rate voting

    Use the clock api, instead of pm_qos, to vote on the EBI1 rate.

    The transformation is as follows:

     pm_qos_add_request() -> clk_get() and clk_enable()

     pm_qos_update_request(*, *) -> clk_set_rate()

     pm_qos_remove_request() -> clk_disable() and clk_put()

    Change-Id: I9ecaa8b0b5026958e034910b44a2ea489d0a149d
    Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

commit 905d5644635740c0ae1d85a0d1d3707251e66670
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Mon Jan 10 20:12:17 2011 -0800

    msm: 1080p: Update handling of SYNC_POINT_NOT_RECEIVED warning

    Update the handling of the SYNC_POINT_NOT_RECEIVED warning
    from cor to issue the input done callback but don't report
    this as an error.

    Change-Id: I90fb9ce44386e333b504688774cbe197288bf5d4
    CRs-fixed: 269494
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit cb3981db8c84ba6e16516eb2e03d9163cb12c3eb
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon Jan 10 18:54:13 2011 -0800

    vidc: venc: Add support for Dynamic setting changes in encoder.

    Change-Id: I639119063367d84d9b917a66ea19acd229936026
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 19bd80a50f313d21ec80cd099cb88f8621a073c4
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Mon Jan 10 19:13:22 2011 -0800

    vidc:1080p: Integrate firmware version 01072011.

    Driver changes to pick firmware version 01072011

    Change-Id: I9244b8854250189dea2104b40f7bb38001b8954e
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 7194f4369912e0ac56fa5a80ee5e258f3d427cc2
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Fri Jan 14 19:54:43 2011 -0800

    vidc: venc: Add constrain baseline support for H.264

    Change-Id: I4f6cc2fc315656c0d67185383f0f7c7b59cbfc25
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit f0114c5cf39a0dd3968076e331a11ac70f1a1841
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Jan 5 11:44:00 2011 -0800

    vidc: venc: 1080p Encoder RC config changes.

    Modified the RC setting to reflect the changes for achieving
    proper bitrate.

    CRs-fixed: 269181
    Change-Id: Ie2b0292a49a93d60828b9aa37bfd5f54a3946458
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 4908e57928a2c2a7570a4d991561f7c35f6cbb05
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Fri Jan 7 12:22:28 2011 -0800

    msm: camera: Support for providing sensor mount angle to the APP

    Added support to provide the sensor mount angle. This will
    enable the camera application to display the camera preview
    with the correct orientation.

    Change-Id: I9f3096807f6f99c711a12044f5259dab30555986
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit a3677e5726482ac28afc6e21c2aa7a8cdc5fde72
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Tue Dec 7 14:37:15 2010 -0800

    vidc: venc: Add Bframe support

    B frame support is necessary for MPEG4 ASP, H264 HIGH and
    MAIN profiles.

    Change-Id: I291d10ce9faa12dd12bd15172bfd229eba4925b1
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 4b795f85a01714849dc159b701ae09c780459b3f
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Tue Dec 14 18:26:32 2010 -0800

    msm: vidc: Add missing mutex in close function

    Add missing mutex to fix error in close function when
    multiple video instances are running concurrently.

    Change-Id: I569ded1c30565b7bec5beae796d2e5de3a79b624
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>
    CRs-fixed: 267339

commit 3dbc778eaeda8b7b0b0e6023a2a826e6f721dbf8
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Tue Nov 16 18:58:10 2010 -0800

    msm: vidc: Update stride calculation for mpeg4

    Update the stride calculation for mpeg4 to round
    the value to the next multiple of 16 instead to
    next multiple of 32, this was causing some color
    noise at the bottom of the displayed screen.

    Change-Id: I9747256066ef2226cea477fc914a950f3950a01d
    CRs-fixed: 267073
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 6a7d21afce5211a76c15163804642ecd68058371
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Fri Dec 17 18:45:17 2010 -0800

    vidc: venc: Free unprocessed messages

    When stop is called the remaining unprocessed messages were not
    released.

    Change-Id: I26d48634733241e9a79ab2d885eca88640a23770
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 986181e64ef2837c63c3b2d10ad400f6297aeb56
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Dec 15 19:28:41 2010 -0800

    vidc: VCD to return error when the event is corrupted.

    Encoder and Decoder to return error when the callback event
    is corrupted in vcd.

    Change-Id: I0929fdfec6293a0c3dfdffc3d2d3e17feb80c8f8
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit 33ddab182878e9c0f48f49ad299a25760bf0e8e6
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Dec 15 10:50:14 2010 -0800

    vidc: vdec: Report error for H264 FMO clips.

    Video core doesn't support FMO clips.Core will respond with
    unsupported feature in profile error once sequence header is
    parsed.In case of H264 driver will raise a client fatal error.

    Change-Id: Idd1e4112b18f87fd3bce99b944a31bd3e1cc15fd
    CRs-fixed: 263176
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 9232895c67d0eefbf7af3fa356b27ba200430ec8
Author: Gagan Mac <gmac@codeaurora.org>
Date:   Mon Dec 13 14:58:55 2010 -0700

    msm: 8x60: Add name for video and camera clients

    This patch adds the name to camera and video
    platform data to view requests using debugfs

    Change-Id: I53d25548cb59b4a19675f0a556f571c63e4b32ae
    Signed-off-by: Gagan Mac <gmac@codeaurora.org>

commit f47b11552ba9705722b79d6cb40dd4ff938e57c9
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon Dec 6 12:40:32 2010 -0800

    vidc: 1080p: Port flipping for IPP sequence encoder

    Enable the port flipping for 1080p core in line with new firmware.

    Change-Id: I09fc6151dced68e7873a895a504c8fc8fea4d719
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit ba72eb905c3a1c1b92daf5c8ba99e1e3681a631c
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Tue Dec 7 14:38:08 2010 -0800

    video: vidc: Removing the CONFIG_ARCH from the video driver

    Removed the CONFIG_ARCH_MSM7X30 from the video driver as it
    should not be used outside of the machine architecture code

    Change-Id: Iad54c2dc124f3d226b9b70d15eeee2e6e135e950
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>
    CRs-fixed: 260771

commit 3cd5438f2b13286566c6eb0e2ec6fe22d3711652
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Nov 30 17:28:31 2010 -0800

    vidc: 1080p: Update bus bandwidth for video driver

    Based on dimension video driver requests the bus
    bandwidth

    Change-Id: I55f5cdbd8c7dfe1046bae792c894bae3229f90e8
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit b1723b7f02cbfabd99b61473e7681223d08ff0ab
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Nov 3 17:42:52 2010 -0700

    vidc: 1080p: Change trigger for reconfig event.

    Decoder should raise reconfig event if output buffer count
    reduces after sequence header parsing.

    Change-Id: I1a48acba812e893188f552843e4a03c34c849034
    CRs-fixed: 261451
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 83996fbd86254e0eda667734c07fb5f298660fea
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Mon Dec 6 12:24:54 2010 -0800

    vidc: 1080p: Memory optimization for videoplayback

    Video decoder estimates buffer requirements based on profile
    and level which is worst case requirements.
    Actual clip memory requirements will be lesser than worst case.
    This change will reduce the intial estimate to a lower value,
    so that clips with low memory requirements can be supported
    when multiple instances are played.

    Change-Id: Ie9e8a7c07d45d269608bfe315979084cca872e2b
    CRs-fixed: 261451
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 5567d544d44a3440973e537327558da406741a46
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Fri Dec 3 10:05:38 2010 -0800

    msm: vdec: Update to return error code in get message

    Return the error code in the get next message ioctl to
    handle properly errors in user space based on this code.

    Change-Id: I2248d9db1e0752fe0321f69cc3264b311e35c205
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>
    CRs-fixed: 266516

commit c6927fa95ca2ba9e86ff50a69c5079633ec6c8b2
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri Dec 3 10:31:08 2010 -0800

    vidc: 1080p: Handle display status for decoder.

    Video core can generate frames with display_only status.
    Added support to handle display_only status and generate
    frame done to client.

    Change-Id: I80c035295ec5861fa82662ddd8bce2b480254815
    CRs-fixed: 265494
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 3ac59c5be790c9ce6d38d03dfa24c71b7ca93d1f
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Mon Nov 15 15:30:15 2010 -0800

    msm: camera: Support for querying the camera info

    Added ioctl for querying the camera info such as
    1) num of camera nodes created
    2) check the position of camera (front/back)
    3) check whether 3D mode is supported

    Change-Id: I4492c3cc8b32b8d6a607775f6987d1520b26274c
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit fcf8eac2ff452e9343b7304b207766766bb0694d
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Mon Nov 15 19:57:05 2010 -0800

    vidc: Kernel memory optimizations

    - Changes for encoder and decoder header files
    - Moved reconstruction buffer allocation to userspace
    - Moved h264_mv buffer allocation to userspace

    Change-Id: I2f5511c4513252f84cf0f0d44ab88ee166d1dfbd
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit f00a2e9a6ed9e80597ebbc70c83d8849da5cdaff
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Dec 3 10:47:11 2010 -0800

    msm: vidc: Fix to handle EOS in clips where all frames are corrupted.

    The 7x30 and 8660 cores behave differently in this scenario.
    Driver needs to handle the usecase differently for each core.
    Fixed by adding a api to identify the core.

    CRs-fixed: 261861
    Change-Id: I4e9e9ad79395a43198bdff0d82564a6eafb64b42
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit d69992c27c7ff358089b3b4f7511f7c01d7560f2
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Nov 19 15:22:19 2010 -0800

    msm: vidc: Fix for Reconfig in EOS.

    When core returns with SeqDone when EOS flag is set,
    the driver is raising a Reconfig event on a transaction
    that has already been invalidated.

    Fixed the issue by not raising a reconfig event when EOS
    flag is already set.

    CRs-fixed: 263178
    Change-Id: Id7df1e2c7b4903756317addb63929a68e3b9b220
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit ea6f85c39749cdf419292e9918b3419a02a72884
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Tue Nov 30 15:26:33 2010 -0800

    msm: vidc: Fix un-initialized variable.

    The ddl_context was un-initialized in metadata parser.
    Fixed by initializing the ddl_context.

    Change-Id: Ic6888cb78bae8a5d5e1b8d2bd292bcc1f4b39996
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 40b7baee14bfb8d33f7f0c3082b4707bccb3900c
Author: Laura Abbott <lauraa@codeaurora.org>
Date:   Wed Nov 17 17:55:24 2010 -0800

    video: vidc: Fix section mismatch

    The function vidc_720p_probe is referenced outside of the __init section.
    This is fixed by placing the probe function in the __devinit section
    which is for driver initialization code.

    Change-Id: Ib552280c8ea2b8e35149290b5778937122d4bfce
    Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

commit b9151f12c369ea1bcfed0cb63bd8c204bd43cf51
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Thu Nov 18 17:08:46 2010 -0800

    vidc: 1080p: Video optimizations

    - Enable Pixel cache
    - Use burst size of 9 for reads/writes in MGEN2MAXI instead of 4
    - Enable core timing message

    Change-Id: Ie2fd2d34317cdfd0fd2136e83863c1914db76b75
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>
    CRs-fixed: 257534

commit 03a342909deec930eb52fc947bbb60b2198fb011
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Nov 24 15:40:17 2010 -0800

    vidc: 1080p: Video footswitch regulator support.

    With this change video driver will
    - enable video core foot switch at start of session.
    - disable video core foot switch at end of session.

    Change-Id: Ib23e4164abd48ad7c1447bdafb8f734e5c01cc24
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit d0735aca94d969e653da4f62c02200607231dfa4
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Tue Sep 14 19:47:32 2010 -0700

    vidc: 1080p: Clock gating for 8660 video driver

    Enable clock gating feature for video driver

    Change-Id: Ic265222e4c1350e8f0fb574e86af696e1a88522a
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit e69f641acbe060badb10a354bfbf46076f8ad7e7
Author: Philip Elcan <pelcan@codeaurora.org>
Date:   Thu Oct 14 15:20:01 2010 -0400

    msm_fb: Add VGA resolution to 8660 FFA panel

    On 8660, the LCDC panel and VGA display are on the
    same bus, so specify the maximum VGA mode as the
    secondary mode in the panel definition and the
    Samsung WSGA panel settings for the primary. This
    will allow userspace to change the resolution when
    using VGA mode.

    Change-Id: Ia805ce6477cf9b300a1f969679f2012980d14a61
    Signed-off-by: Philip Elcan <pelcan@codeaurora.org>

commit be482dd056b5ff02c8a3f98d60875e7f80fe0aec
Author: Chandan Uddaraju <chandanu@codeaurora.org>
Date:   Tue Nov 9 16:57:21 2010 -0800

    defconfig: Add configuration macros for MIPI DSI display Interface.

    Add configuration macros for Toshiba and Novatek MIPI panels. Add
    macros for both command and video mode.

    Disable MIPI panels and enable SAMSUNG display by default.

    Change-Id: Id2a9dca3a2467e588ffdad1ec9d149ca6a4d4d76
    Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>

commit 3661713ece532d5b50fd0fa1ab415058736fd0ce
Author: kuogee hsieh <khsieh@codeaurora.org>
Date:   Wed Nov 3 09:19:57 2010 -0700

    msm_fb: display Add Novatek video/cmd panel support

    Incorporated both video/command mode panel configuation
    to mipi_host_init to support both video/command.

    Change-Id: I51555e9065038607765de54e98c36128aa611d8f
    Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>

commit 7ebd338046d3fa07df2dad394bc824ae271a30d4
Author: Ashray Kulkarni <ashrayk@codeaurora.org>
Date:   Wed Nov 17 20:21:19 2010 -0800

    vidc: 1080p: Remove check for byte based slicing

    Remove the check for minimum of 1920 bytes for byte based
    slicing. The hardware now supports smaller byte size slices.

    Change-Id: I404b91ae1ce859690b93e4221c27a1d5f982ca4c
    Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org>

commit d9e6339a4fafcfdc0689ae55eec571d3ded4fcbf
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Tue Nov 16 17:30:07 2010 -0800

    msm: vidc: Add IOCTL to get number of encoder instances

    Add IOCTL to read the number of current encoder instances
    and allow create new instances based on client requirements
    to support single or multiple instances.

    Change-Id: Id0ad7e296f87122ef434fb29e7bdbd9ec3a68b9b
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>
    CRs-fixed: 263431

commit 83a16cc81ef55165de4f89b2a9419d733d41d4c4
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Thu Sep 16 16:31:11 2010 -0700

    video: vidc: Metadata support is added

    SEI, VUI, ConcealMB, QPArray metadata support
    is added to the 8660 video driver.

    This metadata support is needed for features like
    3D video compression and playback.

    Change-Id: I945215cb74c687b0c6e4ad84373faa7914bb9c62
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit 09b822088791f8b0be37d4aa7cf998ca482b07e9
Author: Neil Leeder <nleeder@codeaurora.org>
Date:   Tue Oct 26 16:41:13 2010 -0400

    msm_fb: qrdc: add backlight support

    Make the driver a platform driver to add the backlight callback.
    Add the EC driver used to control the backlight as a Kconfig dependency.

    Change-Id: Id66f3d371917d8721c3bfe9af761080171f206a1
    Signed-off-by: Neil Leeder <nleeder@codeaurora.org>

commit 8a0f8c6e3e7b78c2fb4cf62394548e43c8049a7e
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Mon Nov 1 11:37:42 2010 -0700

    msm: vidc: Fix for video codec HW reset with fatal error.

    When fatal error occurs, the video core reset was failing
    thereby blocking any further video playback.

    Fixing this by changing the reset sequence as per the new
    video firmware interface.

    CRs-fixed: 260074,257708
    Change-Id: I24d8a4b45acadf1e15d61602797c56cd983838c1
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 6aa7b7900119027b60fd8afc1861bec99b8e13d1
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Nov 9 20:32:24 2010 -0800

    Revert "msm: vidc: Increase hardware timeout to 10 secs."

    This reverts commit 34d4c6c773d16b1065de9e2a357620c372b4dcb2.
    Firmware fixes the H264 decoding issue,reverting
    timeout value to 1 sec.

    Change-Id: I6b262837e1e9919a8a659be2c6d1c0d20f3feab1
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 0bd1ab16c20a675495d167c7a46b673daac0ab4f
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Oct 27 17:19:58 2010 -0700

    msm: vidc: Fix frame channel tracking for reconfiguration

    Remove frame channel release from the client state machine
    when a reconfiguration event is received in stopping state,
    frame channel is released inside the function in charge to
    handle the reconfiguration event.

    Change-Id: Icfddaa3256e465e7ff0a0013f547466300fef836
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 539c8fae724e2c05bc4ba7414dfd454d64660c9e
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Nov 4 16:22:56 2010 -0700

    msm: 720p: Fix to recover from header parse errors

    Fix to report header parse errors as recoverable.

    Change-Id: I3630811946ec07ecb81e877971c8d3a686c8653b
    CRs-fixed: 262904
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit eaa86835c64178fa3c4028779eeabb0c28548c73
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Mon Oct 25 12:51:17 2010 -0700

    msm: vidc: Fix logic for extradata processing

    Fix the logic to enable extradata by client request only

    Change-Id: Ie013263222c9857c2a53e4a4957c23f74b77102c
    CRs-fixed: 258603
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 0485614603ab2ca87285295feb666b675370ed12
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Oct 21 16:11:28 2010 -0700

    msm: vidc: Fix EOS done callback for bit stream errors

    Fix to send EOS done callback when the input bit stream
    is corrupted only if no other input frame has been processed,
    otherwise EOS done must be received from core.

    Change-Id: I79f15337a0ead3a94f7dc6f5c2d3456e4b3a5147
    CRs-fixed: 260370
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 035bcbcb0facfc6ccfe207e986830b3cdbb466f2
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Sun Nov 7 18:26:35 2010 -0800

    vidc: 1080p: Add bus scaling support for video.

    Bus scaling support for video playback and recording.

    Change-Id: I4648d828467a66b6d6255845c961382d868f4acb
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit be2ca92457ca00d30e01ce9687c5971871bd8450
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Wed Oct 20 12:13:04 2010 -0700

    camera: Add the support of facial framework feature

    attach face-detection region-of-interested information to frame

    Change-Id: I6a127163dad740f452d67a439cddae0306ea49e2
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit 324d255ee45b6bd6f412aa9efc5c3e95d829a799
Author: Ninad Patgaonkar <ninadp@codeaurora.org>
Date:   Thu Oct 14 16:53:15 2010 -0700

    msm: camera: Support for common IOCTL call for LED & Strobe Flash

    Added a single IOCT interface for LED & Strobe Flash control
    operations.

    Change-Id: I206076dd82ad99588c74e2776cf8a2875ddc35e5
    Signed-off-by: Ninad Patgaonkar <ninadp@codeaurora.org>

commit b583d437533ceba0efecd85bbd7d58e2a0582187
Author: Ashray kulkarni <ashrayk@codeaurora.org>
Date:   Thu Oct 21 16:50:27 2010 -0700

    vidc: 1080p: Fix Level check in MPEG4

    Change-Id: I92f8d977b62d4e5939629f4e02c746b1253b5572
    Signed-off-by: Ashray kulkarni <ashrayk@codeaurora.org>

commit 0e2aea52cea7488889ca8c591d774da7642c3a9c
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Oct 13 12:48:08 2010 -0700

    vidc: 720p: Fix memory leak for reconfiguration

    Fix to release the memory allocated for comv (h264) and
    reference (mpeg4) buffers when reconfiguration happens
    at the middle of the playback.

    Change-Id: I6e4f91e193bd77a9ef089de9d9b4f08a8fa883d9
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit fffb24688cfd3560ecca5b8d162427c21467ecd1
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Tue Oct 19 15:49:07 2010 -0700

    msm_fb: display: Correct Initlogo filename

    Correct Initlogo filename accessed from display driver

    CRs-fixed: 257109
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
    Change-Id: I95e5ff1f473e3c0a73a7a693c1965ad6e7653ee5

commit 761df5db2b9852c290364e0e26cce767e40d4950
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Tue Oct 19 13:33:26 2010 -0700

    msm: 720p: Add constrained baseline profile for h264

    Add enumeration to support constrained baseline profile
    for h264 encoder.

    Change-Id: Ib6c0acaec7a6c06c3fb0bdf0cada2a77f5780018
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>
    CRs-fixed: 252192

commit e7cc19c8991a41767322f25cc2129c5e52f62e5d
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Tue Oct 19 00:34:46 2010 -0700

    media: camera: Fix for freeze in msm_get_pic while aborting capture

    Changes are made to woke up the userspace thread executing msm_get_pic
    when abort is called during capture. Also made the abort flag thread
    safe and reset the flag during msm_get_pic to avoid race condition which
    can cause capture failure

    CRs-fixed: 260328
    Change-Id: I5be1153494a5680079788e994b417ad2136260bb
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit 9e6464530b9600897ae25af594967c4acc521fbe
Author: Ashray kulkarni <ashrayk@codeaurora.org>
Date:   Mon Oct 18 14:57:06 2010 -0700

    vidc: 1080p: Add H264 Level 4 support

    Change-Id: Idcd89305efd024f945fa7b83e5ec6a6b3398325f
    Signed-off-by: Ashray kulkarni <ashrayk@codeaurora.org>

commit 50c6e660d401c083233946d8aff0bc375a9dea62
Author: Ashray kulkarni <ashrayk@codeaurora.org>
Date:   Mon Oct 18 15:27:31 2010 -0700

    venc: 720p: Add missing mutex unlock.

    Change-Id: I2cff29ea58dca53b531df91519f25fe3536b7781
    Signed-off-by: Ashray kulkarni <ashrayk@codeaurora.org>

commit c8a5ba53effdfb7e28b56f8c43baad43d1a6f948
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Mon Oct 18 11:42:39 2010 -0700

    msm: vidc: Fix to handle Reconfig in EOS case

    Suspending client from scheduler until Reconfig is complete.

    CRs-fixed: 257273
    Change-Id: I073e0149cb25220bad4f23e92bc723e86148f018
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit c607332a3c77fceaa44d41a8b83f1db766d5642c
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri Oct 15 11:53:50 2010 -0700

    vidc: 1080p: Fix for interlace playback.

    Read interlace flag from decode status instead
    of display_status.

    Change-Id: I788317c8713069fc74f1176a007f2bf728cc7de8
    CRs-fixed: 257731
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 1d5c84793f2e6bb5513b8441034d4b9b8b871009
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Oct 13 16:52:32 2010 -0700

    Revert "msm: vidc: Handle eos & flush for decoder."

    This reverts commit 0b23433851716783cda50d93e7e6097d853a21b8.
    Reverting work around since video firmware fixes issues.

    Change-Id: I214d8aa93bbfff4882bebbcb745d5b2de782d44a
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 97967b0cfe8aba9230233f11785c65ada912acd2
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Mon Oct 11 11:08:47 2010 -0700

    vidc: 720p: Remove sequence header after it's parsed

    Remove the sequence header from the input buffer in the
    header done callback for all codecs except for H263, this
    codec requires short header along with each frame.

    Change-Id: Ia842f14934f17bb3db05b48430bedaa75efc3647
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>
    CRs-Fixed: 257552

commit 0b91c7ceee8bd00d4ad45a08841e892ff7a4040d
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Tue Oct 12 09:39:24 2010 -0700

    vidc: 720p: Reset ARM endianness register

    Reset the ARM endianness register in reset core function.

    Change-Id: I8b1474a3d986cdac01a9dd63d226c1a33847573f
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 302e36a9907723d9b48d37297072b64ac078cd76
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Tue Oct 12 19:59:42 2010 -0700

    msm_fb: display: Add dynamic MIPI panel detection support

    Change-Id: Ie1281a353c15c7d7575eb1b591d325382d61c303
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit ac62b3d02df6c4146a27f9d869c9f07dd4c03733
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Oct 5 12:41:26 2010 -0700

    vidc: 720p: Enable mb level rc for h264 encoder

    - Enable Macro Block level RC for H264 encoder.
    - Allow setting dynamic properties for encoder in
      frame_done state.
    - Change reaction co-efficient for CBR_VFR mode.

    Change-Id: I55a0820d2a86fd233a16f76ba18139a1f9d6f66f
    CRs-fixed: 257652
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 21cad0ff89284f24df708c2085007721a1e788c7
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Tue Oct 5 14:23:02 2010 -0700

    mm-video: venc: Fix for chroma corruption in 1080p clips.

    This fix uses the un-aligned width and height to compute
    the input yuv buffer size for the encoder.

    CRs-fixed: 258138
    Change-Id: Ic26025764db2100558c131698ac9da946f5a8351
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit b47c1eb0bf3da41572af1abcbdb90f8ccc0466ec
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Tue Sep 14 13:39:20 2010 -0700

    video: vidc: Runtime PM support for 8660 video driver

    Runtime PM support is added for the 8660 video driver

    Change-Id: I8175494b22ae29eca7e1a6853547823558ca7e63
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit 80726b692d586d1d7d10d75db1966128f468f27a
Author: David Brown <davidb@codeaurora.org>
Date:   Thu Oct 7 14:56:56 2010 -0700

    msm_fb: Warning fixes

    Eliminite some unused variables.

    Change-Id: Ia8d6d1edb99eb67bf60cc183a87482d5871a129a
    Signed-off-by: David Brown <davidb@codeaurora.org>

commit 27cef4d3f474c834ce0c90a5bb49137a11d2db29
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Oct 7 14:05:31 2010 -0700

    msm: vidc: Fix error handling in vcd

    Fix error handling to release channel and close component
    properly after some error.

    Change-Id: I6500210675e2b1a8623fda3514c0420a4478fee4
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 2b67939aa0169a7078ad17a6480bd0309014cfd7
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Oct 7 14:59:30 2010 -0700

    msm: vidc: Update codel level enumeration for vc1

    Update codec level enumeration for vc1 simple, advance
    and main profiles.

    Change-Id: I26f7132cb0dc264b3ef98f80b80311145cb356cc
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit c23c38750bff1b5e0886d4aba9cb7b9b7e027026
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Mon Oct 4 16:42:11 2010 -0700

    vidc: common: Fix device fatal error recovery path

    Driver should cleanup context only if client is in NULL
    state.If client is not in NULL state driver should notify
    that fatal error occured and move the client into invalid
    state.

    Change-Id: I041c830c39d46fbaaf9ec12f1a9d77de0f85fa9e
    CRs-Fixed: 258697
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit e662af7106510eddc6f6144df0afd54704fff1c2
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Wed Sep 1 17:32:16 2010 -0700

    msm_fb: display: Add QuickLogic MDDI panel driver

    Change-Id: I2829ea3c91cbb658544a46fc1de5343a9883637b
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit 5b3b773b3bd38c2d70c1d97c4008d6424406d923
Author: Ashish Singhal <ashishs@codeaurora.org>
Date:   Mon Oct 4 09:45:42 2010 -0600

    vidc: 720p: Removing the clock setting before enabling the clock

    Change-Id: I952e0bd275c9091ff9267f5a629e1323fe910364
    Signed-off-by: Ashish Singhal <ashishs@codeaurora.org>

commit ed9d41ff440649c6ad9ee15c572427d0d38b68d2
Author: Kevin Chan <ktchan@codeaurora.org>
Date:   Thu Sep 16 11:38:40 2010 -0700

    camera: Support for enhanced ESD interface

    Once CAMIF error is detected, reset the VFE and make
    Camera state to ERROR. This state will prevent VFE to
    start again when reset ack is received. Now send a fake
    frame with error code to camframe which will send an
    instant error callback to HAL which inturn will shutdown
    camera preventing 6 seconds timeout.

    CRs-fixed: 256140
    Change-Id: I925bde6d625fd60a7a25aef768baffacdf1784c6
    Signed-off-by: Kevin Chan <ktchan@codeaurora.org>

commit aabef1e74db50ce5342171daf0119c2cee77ddb8
Author: Urs Muff <umuff@codeaurora.org>
Date:   Tue Sep 28 16:01:42 2010 -0600

    msm_fb: msm_hdmi: support 3D Side-by-side mode

    Adding support to send 3D mode over HDMI.
    To turn 3D on write 1 into /sys/class/graphics/fbx/format_3d.
    This can be done during actual playback, switching in real-time.

    Change-Id: If933332b84ecbbe6b75fd896b3acf804216a6abf
    Signed-off-by: Urs Muff <umuff@codeaurora.org>

commit 7afed7369cc57382a8053cb12fade2f763df2391
Author: Matt Wagantall <mattw@codeaurora.org>
Date:   Tue Aug 17 19:51:14 2010 -0700

    msm: vidc: Enable/disable video encoder/decoder power rail as needed

    On newer SoC like 8x60, power to the rotator hardware must be turned
    off and on explicity.  Introduce use of 'regulator' APIs to turn on
    and off power with the clocks.

    Previous SoC that automatically turned power on and off as part of
    clk_enable() and clk_disable() calls are still supported.  The
    vidc driver assumes that if the call to regulator_get() is
    unsuccessful, then the rail will be controlled automatically.

    Change-Id: I8c0186dbd5c739c8ccadc2984684cfb5892c0e1c
    Signed-off-by: Matt Wagantall <mattw@codeaurora.org>

commit c6f5c0bd9e55d2c5931e1e44a136b3b175aa9ee0
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Sep 24 14:15:34 2010 -0700

    msm: vidc: Support for Rate Control configuration CBR_CFR

    CRs Fixed: 256119

    Change-Id: I8387b390ac7aefdcf34d7b3d888b3e483aef1994
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 08eea16771990edacb31620aaf9f57e3afd50d8e
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Sep 28 16:04:54 2010 -0700

    vidc: 1080p: Fix for multiple decode playback.

    Instance id is returned by the video core when a channel
    is opened. Instance id was wrongly assigned by the driver
    to channel id, which was causing the second instance to
    fail.

    Change-Id: I064c969f7e0f9249124b2afee25b99cc7c1f0066
    CRs-Fixed: 257267
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 2451e66dae8ff6b5797a91209180856b301166ee
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Mon Sep 27 19:58:46 2010 -0700

    vidc: 1080p: Output buffer requirements fix.

    Buffer requirements shouldn't change when start decode
    is called.

    Change-Id: Ie18920b289baf65f90f1f586322f8fcfdd5bb36d
    CRs-Fixed: 257427
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 0760a6783ef14e12e7631aa7c000f514ec81cb29
Author: Ashray kulkarni <ashrayk@codeaurora.org>
Date:   Fri Sep 24 15:16:04 2010 -0700

    vidc: 1080p: Added missing error handling cases

    Added missing H/W error cases

    Change-Id: Iee24857bb99b025a28385ee1aad20e828e89641c
    Signed-off-by: Ashray kulkarni <ashrayk@codeaurora.org>

commit 6104cf5d17be998dc6784350096d92c71842b138
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Fri Sep 24 16:47:02 2010 -0700

    msm: 720p: Enable SEI & VUI metadata

    Enable SEI & VUI metadata to propagate picture timing and
    panscan data to client.

    Change-Id: I5f5b43552a0f8b2984a3c80e817eb3849dfaf17e
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 2d308c56e2fa2ccc3f0b3758970b3242f5dc68a6
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Sun Sep 19 15:01:37 2010 -0700

    video: vidc: Fix for the VC1 AP issue

    VC1 AP clips are failed as the core is getting non frame data.
    as part of fix we are not updating the consumed bytes while
    parsing the sequence header for the AP clips.

    Change-Id: I48960ad3ecfd688a46953409f143c3f323ebea5a
    CRs-fixed: 256437
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit 92df7eef80e028adfeb30445c6cbf66b1fbe830e
Author: Neil Leeder <nleeder@codeaurora.org>
Date:   Tue Sep 21 17:54:34 2010 -0400

    msm_fb: add qrdc lcd panel support

    Change-Id: Id8f57b99300075d4b4a0f7a53b222c8f9614b2ef
    Signed-off-by: Neil Leeder <nleeder@codeaurora.org>

commit 65dd5e92304aa362582c72def459c04141a171c9
Author: Ravishangar Kalyanam <rkalya@codeaurora.org>
Date:   Mon Sep 13 18:36:21 2010 -0700

    msm_fb: display: Add common Debugfs support for all MDP versions

    Change-Id: Ifd57e1d9072444678d5d325ebaee1aecbb788a43
    Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

commit 2f1e48f67af62b078300c178251804c1db8d7839
Author: Ashray kulkarni <ashrayk@codeaurora.org>
Date:   Mon Sep 20 14:29:05 2010 -0700

    vidc:1080p: Decoder input buffer optimizations.

    Changed Decoder Input buffer count and input buffer size

    Change-Id: I93ae5295c26d24b54c3ce3722852842df9ff3432
    Signed-off-by: Ashray kulkarni <ashrayk@codeaurora.org>

commit f2c71ffd6123c48d7991a21fdb47231923819a27
Author: Ashray kulkarni <ashrayk@codeaurora.org>
Date:   Wed Sep 22 11:19:12 2010 -0700

    vidc:720p: Set the clk_rate before enabling the clock

    Change-Id: Ifd6d99142224c5ef8c9f0ede5ef20e4b3d125094
    Signed-off-by: Ashray kulkarni <ashrayk@codeaurora.org>

commit 748e97a5b21ec2adf87fb92ed064fec94456e156
Author: Carlos Romanillos <croman@codeaurora.org>
Date:   Tue Sep 21 21:01:32 2010 -0700

    vidc: 1080p: Seek till the end of file fix.

    Certain cases core returns dpb buffer empty for flush
    command, in those cases input buffer needs to be requeued.

    Change-Id: Ib488d6354e556175d1967103fbec9c7dac9ff419
    CRs-fixed: 256436
    Signed-off-by: Carlos Romanillos <croman@codeaurora.org>

commit 26eac4cddb0d9a3d7dbc559c0631ee01f44942b9
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Sep 16 14:13:42 2010 -0700

    msm: 720p: Enable comv buffer allocation for h263 decoder

    Enable comv buffer allocation for h263 decoder

    Change-Id: I5ef1f7b078c2a0aa6b2d5d48989eb11d9c960096
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 71459b08e11f1c8c834912c35cb7e5dec1162fd6
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Sep 15 15:34:07 2010 -0700

    msm: 720p: Support video portrait recording up to 720p

    Updates to support video portrait recording up to 720p

    Change-Id: I24f5e910ca9a8a359afeac40c9c467072c2e1cc2
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 34a939d02afa388b911070b3b872f6f12cfabbc2
Author: Ajay Krishnaprasad <ajayvenk@codeaurora.org>
Date:   Tue Sep 14 13:08:24 2010 -0600

    msm: video: cable detect feature for tv-out

    Cable detect feature for tv-out. Interrupt-driven
    when external display is on. Polling-driven when
    external display is off.

    Change-Id: I41e9005c61d65657b9db54531306bd664d839cde
    Signed-off-by: Ajay Krishnaprasad <ajayvenk@codeaurora.org>

commit e9ce823d0f79b665ccc780281701f4bd92f97375
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Sep 15 14:56:25 2010 -0700

    msm: vidc: Add support to set frame rate for decoder

    Add support to set frame rate for decoder and update
    scheduler and resource tracker according.

    CRs-Fixed: 253989
    Change-Id: I31a7e2288a943bb440883dcec0a0b31d3ac3ffa4
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 99e9d919300ab0b552b95271bcb4d52c28bc31e7
Author: Carlos Romanillos <croman@codeaurora.org>
Date:   Fri Sep 17 12:44:02 2010 -0700

    vidc: 1080p: Disabled deblock filter.

    When post filter is enabled most of the mpeg4 clips are failing
    and firmware is complaining that buffers are not released by the
    app properly. Need to triage this issue separately.

    Change-Id: Iddeb9c68ef507aa7a5c2ba44be0b81c6b2c1deab
    Signed-off-by: Carlos Romanillos <croman@codeaurora.org>

commit 0b23433851716783cda50d93e7e6097d853a21b8
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Sep 15 14:33:02 2010 -0700

    msm: vidc: Handle eos & flush for decoder.

    When EOS with flush is sent to video core, firmware
    is ignoring the flush command.As a workaround, driver
    will generate EOS done, so that session is closed.

    Change-Id: I04e2e6ff0507e67cc387ec3609a82c0e3f3ab367
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 8d0920f77ecbbdb2082a5a67a5cfa929a1e990d7
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Fri Sep 17 15:24:27 2010 -0700

    msm: vidc: Fix to update performance level in resource tracker

    Remove client context pointer check to update the performance
    level when no client pointer is passed.

    Change-Id: I36a71a9d9f1de4df32676417c3f370dc89917467
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 128e65b4dd913d8d8c9af20ca150e1cd7d54b4ca
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Tue Sep 14 23:04:53 2010 -0700

    video: vidc: Changes to the 8660 video driver property interface.

    couple of encoder properties moved to dynamic properties

    Change-Id: Icefdb08681792160b35d9c2ad874d35cfabd9a88
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit e3530ce520cb0622d58a0f9f8958199f16f80cd5
Author: Abhishek Kharbanda <akharban@codeaurora.org>
Date:   Mon Sep 13 11:36:58 2010 -0700

    msm_fb: HDCP feature support on 7x30

    Read EDID,set HDCP start bit,set internal keys bit,
    wait for BKSV interrupts,read BKSV keys against revocation
    list,shut down A/V transmission on HDMI interface on getting HDCP
    controller error interrupt.

    Change-Id: I5cf518598f2ccde8327757e5da39f5b8de46b765
    CRs-Fixed: 254800
    Signed-off-by: Abhishek Kharbanda <akharban@codeaurora.org>

commit 207a747004c6ead4c7fe7b9d3dca789744eabf19
Author: Ajay Krishnaprasad <ajayvenk@codeaurora.org>
Date:   Thu Sep 16 13:01:33 2010 -0600

    msm: video: featurize external interface code for hdmi and tv-out

    Featurized HDMI specific code to use appropriate methods and
    sysfs attributes.

    Change-Id: I9b67ec23a6c3debfc6e65e9776d05e059c3e3cd2
    Signed-off-by: Ajay Krishnaprasad <ajayvenk@codeaurora.org>

commit 84c26603f052a116cca0633dbb6500320a09d1c0
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Sep 16 14:08:07 2010 -0700

    msm: vidc: Verify device sm status before pause sessions

    Add device sm status verification before pause
    all the sessions.

    Change-Id: Ie8d5b22841a34a6b59b396462da6e432c66b9083
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 631773558e5673d9d1b8d6e39a4c46c548b6783e
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Sep 16 14:04:53 2010 -0700

    msm: vidc: Allow read properties in transition states

    Enable read properties by client in transition states:
    starting and flushing.

    Change-Id: Ib34db8385a780f1361f683fb38295a84c11d5472
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit b4ac0c10f60127dacd56b888e90b2ba9201902d7
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Sep 16 14:01:00 2010 -0700

    msm: vidc: Propagate transaction frame type for decoder only

    Propagate the frame type from the transaction in the frame done
    callback for decoder only, DDL populates this field for encoder
    case.

    Change-Id: Ic065a6682fcb6f94760e4875d7a08e51aa0a4224
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit aed9026d953987b4507a7ee96d643facb52efc0b
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Sep 15 14:36:31 2010 -0700

    msm: vidc: Update frame delta calculation for encoder

    Update frame delta calculation for encoder to handle cases
    where camera sends erratic timestamps with very small delta.

    Change-Id: I03454066f226ef75c057eff199a1dd55b202b542
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 3da74428dd36a57d4df6340e87e30cca598b5785
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Sep 15 13:08:47 2010 -0700

    msm: 720p: Implement output decode order support

    Implement support for output in decode order.

    Change-Id: I73090b856bedb38ebf66bdc73431d7614d9899fe
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit a6ce0fa8475b398f7402108916cdbe92c27e74a7
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Sep 15 12:49:53 2010 -0700

    msm: 720p: Remove check to allow client read default parameters

    Remove conditions to allow client read default parameters

    Change-Id: I81f13b4410ee73cf2863ab12a049748add5cff8f
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit b2dca140a5d46df344f52f0402cfea98349279f7
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Tue Sep 14 22:47:27 2010 -0700

    video: vidc: Vc1 rcv support to the 8660 video driver

    rcv is not supported in vc1 and this change adds the
    support for rcv

    Change-Id: I9bc1df4260719c56b6df2c89c4bb3c3707acacdd
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit 6820cfcd67258601fd7f9d52d60333e13c62c647
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Sep 16 12:07:14 2010 -0700

    msm: 720p: Disable adaptive rc flags for encoder by default

    Disable adaptive rc flags for encoder by default

    Change-Id: I3d986ff775fd11ee04f6e5c82b4613248e780d03
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 546fae156eae496acfe525f00d6ee59249aa50e7
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Sep 16 12:06:16 2010 -0700

    msm: 720p: Update vop timing resolution for non-mpeg4 encoder

    Update vop timing resolution for non-mpeg4 encoder

    Change-Id: I795b39f62b0cd98cb1e8583d497ec5a80c438fce
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 6806a6d77ed7fcfad06e37d9cc5cc22014ac01af
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Sep 16 12:03:02 2010 -0700

    msm: 720p: Add bitrate boundaries check for encoder

    Add bitrate boundaries check for encoder

    Change-Id: I53d00a0d16c94e6279ce47cce00a2f97ce1baf33
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit c2368ed51e32e78666099cf9e05cf042673f5ecd
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Sep 15 10:47:38 2010 -0700

    msm: 720p: Add dynamic intra refresh support for encoder

    Add dynamic intra refresh support for encoder.

    Change-Id: Ie610d7a483042b4b4426db411aa2fcceb052c953
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 2dd86c4ce08abfb3674fa0f4448a987e911f17b8
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Tue Sep 14 22:33:02 2010 -0700

    video: vidc: 8660 video driver memory optimizations

    unused buffers are removed to reduce memory

    Change-Id: Ief0d4891e90baf1c0e44b8e54f1199e72e17afd8
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit 34d4c6c773d16b1065de9e2a357620c372b4dcb2
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Sep 15 12:45:14 2010 -0700

    msm: vidc: Increase hardware timeout to 10 secs.

    Increased the hardware time out to 10 secs.
    When command is issued if core is not responding in 10 secs
    session will be cleaned up with device fatal error.

    This is required for current firmware version of 1080p
    core. For some clips 1080p core is taking more time to
    respond.

    Change-Id: Ia8c25b77d6f5bd078cc4de1d0b3b5018446faf79
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit e0d8a781a00c43726baa32864925fa04f373e534
Author: Ajay Krishnaprasad <ajayvenk@codeaurora.org>
Date:   Tue Sep 14 21:57:35 2010 -0600

    msm: video: rename hdmi common code for reuse with tv-out

    Rename hdmi common as external common so that it could be
    reused with TV out

    Change-Id: I110fb77df6db097f9f60d1845b692fda5b9a1b42
    Signed-off-by: Ajay Krishnaprasad <ajayvenk@codeaurora.org>

commit 3c471193614eb95c7e43dfba74b1dcf1141b1b7c
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Sep 15 10:36:09 2010 -0700

    msm: vidc: Fix to handle sequence header buffer with EOS

    Fix to handle sequence header buffer with EOS and
    no reconfiguration event raised.

    Change-Id: I046e10d861282de24e17eceea96b4089938ce953
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit a15b7f6dd6b1cf772f331de06e82877b8d4e6a20
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Sep 15 10:12:49 2010 -0700

    msm: 720p: Fix comv buffer size calculation

    Fix comv buffer size calculation in DDL to use stride and
    scan lines instead of width and height.

    CRs-Fixed: 253518
    Change-Id: I11560a3d7fbe3b93186f5e017856dcc8d68144b4
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 41b61d7eed3002dfac9d4c225781b76956a8fc6a
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Tue Sep 14 21:17:27 2010 -0700

    video: vidc: New error types are added to the video driver.

    New error types are added to the 8660 video driver

    Change-Id: I7593bb7f7ac9b663a279efe34da9fff0e6cf4adc
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit a62d12543c3f3bea529dfa92fbfcd473ef24c4db
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Tue Sep 14 20:35:31 2010 -0700

    video: vidc: Crop support is added to video driver.

    Crop support is added to the 8660 video driver

    Change-Id: I8c7397231bac3c5010d8b4cc0e9f15824114e882
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit 7b288484a98c0c0a7aeb5e52664f4fa221b56bd7
Author: Ashray kulkarni <ashrayk@codeaurora.org>
Date:   Mon Sep 13 16:27:14 2010 -0700

    vidc: Added support for ConcealMB extradata

    Change-Id: I6c23f8756a8899a05101fa3551f964fe9d6ba249
    Signed-off-by: Ashray kulkarni <ashrayk@codeaurora.org>

commit 160d42d529f7a5563bbd7cd117c83b7f434f0c22
Author: Bryan Huntsman <bryanh@codeaurora.org>
Date:   Wed Sep 8 18:01:18 2010 -0700

    Initial contribution.

    This commit takes the MSM and driver changes from
    git://codeaurora.org/quic/la/kernel/msm.git:android-msm-2.6.32 and
    applies them on top of
    git://android.git.kernel.org/kernel/common.git:android-2.6.35.

    Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
commit aff28a5412ffa8cb4b87598cb8381bbe7efc8679
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Sep 7 16:12:31 2010 -0700

    msm: vidc: Handle core warnings.

    Recoverable errors were being reported as fatal by driver, which leading
    to termination of playback.

    CRs-fixed: 254621
    Change-Id: I9b9c6a3c0e92e36241267e9c3a1aeb43b146eb19
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit eaaa034ea93b9dea24aeebdda24a6f87d099a491
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri Sep 3 16:55:20 2010 -0700

    msm: vidc: Change the default input buffer size.

    - Input buffer size should be 4K aligned.
    - We set the default input buffer size to maximum
      resolution supported(1080p.)

    CRs-fixed: 254023
    Change-Id: Ica6e0216765486b120beb9fc4c2df63bfdcd1101
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit ce0817fe24ba0dc6c267089c549d1ed1d5ad68a1
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Sep 1 18:15:12 2010 -0700

    msm: vidc: Handle multiple decode stop command.

    - Handle multiple stop commands from client.
    - Handle usecase where driver release is called by client
      without calling stop.
    - Handle hardware timeout when stop is called in release.

    Change-Id: I461efe0de1b3b203ae2e736541f92373b0a4edc7
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 750c7abed0995878cda089697d8bff2a10aa5c16
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Wed Sep 1 18:21:18 2010 -0700

    msm: 720p: Fix for grey fade out issue for h263 codec

    Fix grey fade out issue for h263 when reconfig is not happening.

    Change-Id: I9ac455c450f5f7eec52e2ceb4ab1b626ef222ff5
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 8b41367efcee71aaf25c69f5e22f7969b7190d57
Author: Carlos Romanillos <croman@codeaurora.org>
Date:   Tue Aug 31 13:18:30 2010 -0700

    vidc: dec: 1080p clock scaling work around.

    As a workaround for clock scaling the 1080p
    core clocks are always set.

    Change-Id: Iad50ba1b650e4414d12f9ba8c7cde7bf944b1d3f
    CRs-Fixed: 253533
    Signed-off-by: Carlos Romanillos <croman@codeaurora.org>

commit 9aa17462f1d3d201c32a7b942919d974c1ebb943
Author: Kalyani Oruganti <ckoruga@codeaurora.org>
Date:   Wed Aug 25 20:28:52 2010 -0700

    camera: To add support for strobe and LED flash.

    This change adds the functionality for LED and
    Xenon strobe flash.

    Change-Id: I9cd1d4e696cd1971e8c3c3c7e4c6cdd0a3d7d5bc
    Signed-off-by: Kalyani Oruganti <ckoruga@codeaurora.org>

commit a92c2dee2d51acbcdaece820500ee2815528a15e
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Tue Aug 31 16:59:45 2010 -0700

    msm: vidc: Fix first output received flag for reconfig

    Fix first output received flag for reconfig scenario.

    Change-Id: Ia2443455ee685d1f26352facf7d70f48fd762592
    CRs-Fixed: 253623
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 5a6964716f3bb6e3c9274162622b5dfcfaf9a667
Author: Carlos Romanillos <croman@codeaurora.org>
Date:   Mon Aug 30 20:27:50 2010 -0700

    vidc: vcd: Free buffer pool fix.

    Free buffer pool without iterating over already blank
    items, only reset list head.

    Change-Id: I177293f4a18e12a1cf02374bde31607b4d3e393e
    Signed-off-by: Carlos Romanillos <croman@codeaurora.org>

commit 34eefcb285e0ed232b86c165aa8de2ea8d397bb9
Author: Deepika Pepakayala <deepikap@codeaurora.org>
Date:   Fri Aug 27 16:24:18 2010 -0700

    msm: vidc: Support for VC1 simple and main profiles (RCV)

    Add codec index for VC1 RCV.

    Change-Id: I964c7ce02fc304220a3c52bc084d3b8365a2f8a6
    Signed-off-by: Deepika Pepakayala <deepikap@codeaurora.org>

commit 444aa5a8324427cc42f7d757ad8eef42b22838c2
Author: Ajay Krishnaprasad <ajayvenk@codeaurora.org>
Date:   Thu Aug 26 11:37:40 2010 -0600

    msm: video: sysfs support for TV out driver and replace old files

    TV out driver with sysfs support for switching
    video modes. Merged files for better management
    of sysfs attributes for TV out

    Change-Id: I3f71e8f92a3e420762190824265ad4209bd3f42d
    Signed-off-by: Ajay Krishnaprasad <ajayvenk@codeaurora.org>

commit ccddd0db8976f06bdfa813fc6b4e1fc402fe85d5
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Aug 26 14:53:16 2010 -0700

    msm: vdec: Add DivX 3 codec index

    Add DivX 3 codec index to support 3.11 content in 8660

    Change-Id: I08008109a5ae73aecae8bafecac6df8635d76d10
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 307aed551ec3f2c08c4445a2c77a915f98278c3a
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Thu Aug 26 16:02:12 2010 -0700

    vidc: 1080p: Reconfig fixes for 1080p decoder.

    Raise the reconfig event if any of frame size,stride,scan
    lines are modified.

    Change-Id: Ib951b70f2c5c48302a9ca9c33774def78e9bb6d9
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 690317ef813b9ad5bc9cd303283924da4b53beff
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Tue Aug 24 20:58:09 2010 -0700

    msm: vidc: Videco core clock scaling changes for 8660

    Added video core clock scaling for 8660 video driver

    Change-Id: I1e34d8ec5bee5b244452d7ac98ce7e79aa52912d
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit 56e744c769b9f76f25542ff3763a8f5b553c53c8
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Tue Aug 24 13:59:16 2010 -0700

    msm: vidc: Input Format type Fix for 8660 encoder.

    NV12_16M2KA format is added for KAD layer to support input
    format type for 8660 encoder

    Change-Id: I13dedc9789f673b2f0c93c546f7397adf8c3f4d0
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit dec207bf6bd3c32c1965b07bd53ab7143c058741
Author: Mansi Patel <mansip@codeaurora.org>
Date:   Thu Jul 22 13:22:44 2010 -0600

    msm: video: 8660 HDMI TX / PHY kernel driver: HDCP

    Adding HDCP support

    Change-Id: I6f6f9a6cd3f3b0ed62973095a5abb91c9fb69583
    Signed-off-by: Mansi Patel <mansip@codeaurora.org>

commit e28154c9723ee7d232e7a9aab42a4d24b3390c3d
Author: Urs Muff <umuff@codeaurora.org>
Date:   Tue Aug 10 10:01:42 2010 -0600

    msm: video: HDMI common code

    Move common HDMI code into hdmi_common.c so that it can be reused
    by 7x30 and other HDMI drivers.

    Change-Id: I41ecc78f9e68e8f80b3ce8da41eb27244e5b101d
    Signed-off-by: Urs Muff <umuff@codeaurora.org>

commit 6a2e3fc2cc64ae4e1b8ad30614271bd0f4e840bf
Author: kuogee hsieh <khsieh@codeaurora.org>
Date:   Wed Jul 7 15:09:53 2010 -0700

    msm_fb: display: Add mipi dsi display panel support

    Add mipi dsi both video and command mode display support
    by adding mipi dsi host, mipi dsi client and display panel
    drivers.

    Change-Id: I67d6d6881993c021706f07d96b02902c9393f7d9
    Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>

commit b9a7552d34c82d411018b77c21d5cffe3be6886b
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Mon Aug 23 19:51:59 2010 -0700

    msm: vidc: Add interlace format support

    - Add code in DDL to report a reconfiguration event when the
      format detected is not progressive (interlace detected).
    - Add code in KAD to support interlace/progressive query from
      the client.

    Change-Id: Ibf43d17f13a6f44550ba93b8d4d87ea4bde153cf
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 6939c313498e53d7b8810d10cf646bf75da3e1dd
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Mon Aug 23 19:02:00 2010 -0700

    msm: vidc: Implement logic to handle reconfiguration in EOS

    Implement logic to handle properly a reconfiguration event when the
    eos has been received.

    Change-Id: Idcda8dbb225c717a55dd6a5cdb59b19708a9516b
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit a0aad1ddc08f8490e8a7d722c5c638bca40e83da
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Aug 19 17:27:38 2010 -0700

    msm: vdec: Free remaining client messages in driver release.

    Free remaining client messages in video driver release
    to fix memory leak.

    Change-Id: Ief264501ceb9860c50f792ae0a5967a9b7866bb1
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 5893e2088d9e7d5931648b8424672452c54b14bc
Author: Sunid Wilson <sunid@codeaurora.org>
Date:   Fri Aug 20 01:43:59 2010 -0700

    msm: camera: Live snapshot feature support

    Added output type for live snapshot frame to distinguish it from
    video frame and code for propagating the frame to userspace.

    Change-Id: Ic7530fa2b143293ae663f91e618953b5c04d384f
    Signed-off-by: Sunid Wilson <sunid@codeaurora.org>

commit ef6af7d7b2fdc2e3770238f010a01551a8507a16
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Fri Aug 13 10:45:12 2010 -0700

    vidc: 1080p: Update default decoder input buffer requirements

    Update the default actual count and buffer size for the decoder
    input buffer requirements. This fixes the scenario when the
    client set the frame size and the buffer requirements are
    recalculated.

    Change-Id: Idc701fd1ae2b80c5924ccb816eec11496b10beae
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 9d252b35b2d392369bae3eff71dc64f451fbeb50
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Fri Aug 13 10:19:09 2010 -0700

    vidc: 720p: Update default decoder input buffer requirements

    Update the default actual count and buffer size for the decoder
    input buffer requirements. This fixes the scenario when the
    client set the frame size and the buffer requirements are
    recalculated.

    Change-Id: I7ef8cd61c9af256869e4224e1116518c09dd4454
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 58b1152d7d51363d74c96ec3bbeaef018c87b27a
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Fri Aug 13 15:32:20 2010 -0700

    vidc: 720p: Update default encoder input buffer requirements

    Update the default number of buffers for encoder to 8 input
    and 5 output buffers.

    Change-Id: I36e0c656a68c19db6c99ca67abdb06e211886227
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 5c28aa36bf36b5a5f2f19e3932fe9dde43f97a73
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Tue Aug 10 17:08:11 2010 -0700

    vidc: 720p: Fix to update the output tokens in ftb.

    - Fix to update the output tokens before try to submit a frame when
      an output buffer is received.

    Change-Id: I964bbdb0be7d6b4ad8ecb31d3c9585755acb3de0
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 0703df21832ee8a1da621228e30f9fe838a23bbf
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Aug 5 15:56:54 2010 -0700

    msm: vidc: Fixes to handle errors and commands at EOS

    Fixes to handle pause-resume sequence, recoverable errors in eos
    state and propagate the eos done event to client when not output
    buffer is available.

    Change-Id: Ibc0042779d51da474bd3330235cf2a834ee7a22e
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 9a0a181271c96220f24cc2fab49fee3593b3a0d0
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Aug 12 16:32:11 2010 -0700

    vidc: 720p: Add error concealment register

    Add error concealment register.

    Change-Id: Ibf3c44293b9428a74d316ace0def7cbdf72d4cca
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit d3fd017fc21087f098ba7714b5a92064f1b93efa
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Aug 12 16:07:01 2010 -0700

    msm: vidc: Add processing mask and updates for reconfiguration

    - Add mask to remove multiple boolean flags
    - Add flag to handle ftb while reconfiguration is in progress
    - Handle the case when the scheduler structure already exists when
      the client is added
    - Remove old scheduler macros

    Change-Id: Idd65dfdf0e304c704977d6c9981105847172f941
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit bda3be1685fb70052f8827c56fb81c420af6d2a0
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Aug 12 15:28:52 2010 -0700

    vidc: 720p: Add support for reconfiguration at any time

    The changes to add support for reconfiguartion at any time are:
    - Move DDL cmd to EOS to flush remaining buffers with hw
    - Read resolution change register when FW is done to identify if
      process is complete because of a real EOS or a reconfiguration
      is in progress.
    - Increase H264 VSP buffer size and moved to init codec

    Change-Id: I79686d422d4905d083f70b18973ea6bd9c446ac5
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 0af975339191d66dbffd55707e5828ad5d375e57
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Aug 12 14:55:01 2010 -0700

    msm: vidc: Update transaction, error and input buffers handling

    - Add logic to verify the received transaction exists in the
      transactions table
    - Replace assignments with the function to release transactions
    - Release transaction & command channel when stop is done for invalid
      state
    - Add error handling for eos functions
    - Add logic to handle separately the cases when an empty buffer or one
      with null virtual address is received
    - Move logic to handle frame with VCD_FRAME_FLAG_CODECCONFIG flag to
      decoder specific condition and reset this flag

    Change-Id: I0fdac229ea41bcbe019132efa11c015a66e4fc86
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 685d33b75877e12e0c6318a9d3e6442f2804ad4b
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Thu Aug 12 14:25:57 2010 -0700

    vidc: 720p: Updates parameters and calculations in DDL.

    - Set recommended parameters for high quality H264 encoding
    - Set multislice default size as 0 (multislice OFF)
    - Update DDL_I_FRAME_PROC_UNITS and yuv buffer size calculation

    Change-Id: I37d8cebbbac070361b3ae41ead1462f0fdb53796
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 96a030255f62913472edcdd1d074030a86781619
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Tue Jul 27 17:03:44 2010 -0700

    vidc: 720p: Remove invalid interrupt and assert messages.

    Remove invalid interrupt status and assert messages.

    Change-Id: Iee3aae462227ebf2900d2dd64c34727dbf5f0583
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 08a4c2ca97a85a15a40441b17a328a252d930e01
Author: Marco A Vital Yep <mvital@codeaurora.org>
Date:   Fri Jul 23 19:31:02 2010 -0700

    vidc: 720p: Fix green line on top of video for stage fright.

    Fix green line on top of video for stage fright when the width and
    height set by the client doesn't match with the stride and scan-line
    parsed from the header.

    Change-Id: I8c96aad5692e0845bcb22e76978153d7f8af62da
    Signed-off-by: Marco A Vital Yep <mvital@codeaurora.org>

commit 782f0632da67164210d7edbadc43e8c28d143553
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Tue Aug 10 17:52:22 2010 -0700

    msm: vidc: Video driver cleanup

    Remove type hint from variable names.

    Change-Id: I9ef779fd82635bbcd7886444943af0d302b358d0
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 5455b12c4d410da95dd8a90f9934d494c122bd2c
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Mon Aug 9 18:52:09 2010 -0700

    msm: vidc: Move 720p video driver into msm folder.

    Moved the 720p driver files from
    drivers/misc/vidc to
    drivers/video/msm/vidc

    Change-Id: I27cfd2e9258a95e9190ce0fec37fad2265fba8eb
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 9a04b5201fe5af031ef0f91f40ff620fab39aaa7
Author: Jignesh Mehta <jigneshm@codeaurora.org>
Date:   Tue Aug 10 22:23:35 2010 -0700

    camera: Add support for video preprocessing engine for VFE 3.1

    Include support for video preprocessing engine for VFE 3.1.

    Change-Id: I82101ccf2fa26aab21c7a95a342d247b0c334a06
    Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>

commit 9724e0deb88d0961c630d6fcb6e9a7d76702716e
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri Aug 6 14:17:17 2010 -0700

    msm: vidc: Converge 1080p & 720p driver common code.

    As part of converging to a common driver base for 720p and 1080p
    core,these changes were pulled from 720p to 1080p common
    folder.

    Change-Id: I2aef25b8927a8802935cceac7c886c060664050a
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 6e8a672946e445d7e278b9524c0c9b4a1b2b160c
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Wed Aug 4 11:40:02 2010 -0700

    msm: vidc: Reduce Max clock freq of video core.

    Bumping down max clock frequency to 200Mhz.

    Change-Id: I2d6352aa8d80d2a8bf712a0c0538c6a8f0b08168
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 10280429cb8a5709cfe2d1e75a6be93eaf3fa576
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Fri Jul 30 18:37:43 2010 -0700

    msm: vidc: disabling the clock gating for 8660 video core.

    disabled the clock gating at frame level for 8660 video core

    Change-Id: Iaf660df1f55748eaea683d5bc35dfdc413ad7630
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit c5cdaaa58e7b1bd6da45f4ab14caf749a9dc21cf
Author: kuogee hsieh <khsieh@codeaurora.org>
Date:   Fri Jul 30 16:04:45 2010 -0700

    msm_fb: display: make TV_OUT is not set by default

    Make TV_OUT configure is not set at default configure setting
    to avoid confliction with DTV.

    Change-Id: I95b51f38ea9fcb3178639a161822880fe370059f
    Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>

commit 1a9a814f18cdee2ff2b07b18222d5b6f6a0438ef
Author: Urs Muff <umuff@codeaurora.org>
Date:   Wed Jun 9 11:32:37 2010 -0600

    msm: video: 8660 HDMI TX / PHY kernel driver.

    Setup PHY and TX Core, and adding FB_MSM device.
    Handle Power on/off events by the controlling panel.
    HDMI Audio support (2 channel, 48kHz)
    HDMI SWI debug support (enabled by default until feature complete)
    MDP-DTV debug support (needs to be enabled)

    Change-Id: I74cdfe1489f8a981efa7b415f6f7ee0507643fe1
    Signed-off-by: Urs Muff <umuff@codeaurora.org>

commit 86b810f046b0d76146d46ae720dbbdc18fee4d5c
Author: Ravi Bandi <rbandi@codeaurora.org>
Date:   Mon Jul 12 15:16:38 2010 -0700

    msm_fb: MDP4 Analog TV support

    Add an RGB pipe as base layer to blend with a VG pipe to carry
    Analog TV YUV format and put it to tv encoder through dma_e dma
    engine.

    CRs-fixed: 241816
    Change-Id: I847a7eeafe6f4b1b9977e144374eb3c1a6a2498a
    Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>

commit 8834d94ad6a82fc4c668a9197792b64a487e4894
Author: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
Date:   Fri Jul 9 18:13:18 2010 -0700

    vidc: 1080p: Update resource tracker

    Change-Id: I6fbe36ec33c50c48ce57102efec761f6404e4c25
    Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>

commit 2a228e7612135c700d75917a69668942d8910d43
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Wed Jun 16 09:59:15 2010 -0700

    msm: vidc: 1080p video driver support for 8660

    1080p video driver support is added for 8660

    Change-Id: I0e2a491dd32d2a8eeee5d65cd70a7fe4fa719678
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit 6e171f11960234827f335fb0be0ff777cfa752f8
Author: Nagamalleswararao Ganji <nganji@codeaurora.org>
Date:   Wed Jul 7 23:21:19 2010 -0700

    include: linux: Level4 support for H264 encoder Interface

    Level4 support is added for the H264 encoder Interface

    Change-Id: Ib8d2c9bc664db5d3414cc68f81b10bebd5090a8d
    Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>

commit afca0b48329ef4d35de4fc8dc9b87aaf4ec14f55
Author: Yen-Pin Hsiao <yphsiao@codeaurora.org>
Date:   Fri Apr 9 15:46:15 2010 -0700

    msm7x30: camera: Sony 12MP Bayer sensor support.

    Addition of new files for supporting
    Sony 12 MP Bayer sensor.

    Change-Id: I45133ff8140b040cc1974ba7e636fb2470c0cf62
    Signed-off-by: Yen-Pin Hsiao <yphsiao@codeaurora.org>

commit b8edd675c91c8f6f92a6067356cacf01dff95393
Author: Jordan Crouse <jcrouse@codeaurora.org>
Date:   Mon Jun 28 11:08:34 2010 -0600

    msm_fb: Set the default color depth from the kernel config

    Make the default color depth for the framebuffer configurable via
    the kernel config.  Default is RGB565, but ARGB8888 and RGBA8888
    are available.

    Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>

commit 91277807c75b4ed9844441da31d9a49c990c1334
Author: kuogee hsieh <khsieh@codeaurora.org>
Date:   Fri Jun 4 08:19:58 2010 -0700

    msm_fb: display: Add FB_MSM_OVERLAY dependency

    Add FB_MSM_OVERLAY dependency to FB_MSM_HDMI_ADV7520_PANEL
    to fix compiler error when FB_MSM_OVERLAY is not defined.

    CRs-fixed: 240734
    Change-Id: I948b2b198f69ada3dfb2eb4903363230a48935aa
    Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>

commit a54aac47e202993920fae8e9297e6bf59221b765
Author: Ajay Dudani <adudani@codeaurora.org>
Date:   Wed Jun 2 18:40:14 2010 -0700

    msm_fb: Add ST1.5 LCDC driver

    Change-Id: Ia592bed81e316118f4c301ad59931fb9502ce49e
    Signed-off-by: Ajay Dudani <adudani@codeaurora.org>

commit f95c6bd8c07d38466c51d2c245aeaac3aac189d8
Author: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Date:   Fri Apr 2 13:11:55 2010 -0700

    msm_fb: display: Add panel driver for wsvga display

    Add code for the Samsung's wsvga panel (part number LTS480WS-C01).
    It has a resolution of 1024 x 600 pixels, runs over an LVDS interface and
    accepts RGB666 pixel data.

    Change-Id: I399a0c08257a645fe205d5f3cb766e7dfbf20121
    Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>

commit b239b82c8efa23759c5ab320cb2cb648b133e2fd
Author: Jeremy Gebben <jgebben@codeaurora.org>
Date:   Wed May 12 12:05:15 2010 -0600

    msm: kgsl: move to drivers/gpu/msm

    This location was recommended by google and matches where other
    chipset vendors are putting their gpu drivers for android.

    Change-Id: I1a1620871e5121363c8a080b80ec25d725065e4c
    Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2013-02-25 11:29:04 -08:00
Linus Torvalds
b6255ee3d8 Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media fixes from Mauro Carvalho Chehab:
 "For a some fix patches for v3.4, including a regression fix at DVB core"

Fix up trivial conflicts in Documentation/feature-removal-schedule.txt

* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
  [media] gspca - sonixj: Fix a zero divide in isoc interrupt
  [media] media: videobuf2-dma-contig: include header for exported symbols
  [media] media: videobuf2-dma-contig: quiet sparse noise about plain integer as NULL pointer
  [media] media: vb2-memops: Export vb2_get_vma symbol
  [media] s5p-fimc: Correct memory allocation for VIDIOC_CREATE_BUFS
  [media] s5p-fimc: Fix locking in subdev set_crop op
  [media] dvb_frontend: fix a regression with DVB-S zig-zag
  [media] fintek-cir: change || to &&
  [media] V4L: Schedule V4L2_CID_HCENTER, V4L2_CID_VCENTER controls for removal
  [media] rc: Postpone ISR registration
  [media] marvell-cam: fix an ARM build error
  [media] V4L: soc-camera: protect hosts during probing from overzealous user-space
2012-05-14 11:23:37 -07:00
Guennadi Liakhovetski
2f9a0c880d [media] V4L: soc-camera: protect hosts during probing from overzealous user-space
If multiple clients are registered on a single camera host interface,
the user-space hot-plug software can try to access the one, that probed
first, before probing of the second one has completed. This can be
handled by individual host drivers, but it is even better to hold back
the user-space until all the probing on this host has completed. This
fixes a race on ecovec with two clients registered on the CEU1 host, which
otherwise triggers a BUG() in sh_mobile_ceu_remove_device().

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-04-26 11:30:12 -03:00
Linus Torvalds
250f6715a4 Merge tag 'device-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux
Pull <linux/device.h> avoidance patches from Paul Gortmaker:
 "Nearly every subsystem has some kind of header with a proto like:

	void foo(struct device *dev);

  and yet there is no reason for most of these guys to care about the
  sub fields within the device struct.  This allows us to significantly
  reduce the scope of headers including headers.  For this instance, a
  reduction of about 40% is achieved by replacing the include with the
  simple fact that the device is some kind of a struct.

  Unlike the much larger module.h cleanup, this one is simply two
  commits.  One to fix the implicit <linux/device.h> users, and then one
  to delete the device.h includes from the linux/include/ dir wherever
  possible."

* tag 'device-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux:
  device.h: audit and cleanup users in main include dir
  device.h: cleanup users outside of linux/include (C files)
2012-03-24 10:41:37 -07:00
Guennadi Liakhovetski
48e971cd7f [media] V4L: sh_mobile_ceu_camera: maximum image size depends on the hardware version
Newer CEU versions, e.g., the one, used on sh7372, support image sizes
larger than 2560x1920. Retrieve maximum sizes from platform properties.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-19 22:11:06 -03:00
Martin Hostettler
251cb88e2e [media] v4l: Add driver for Micron MT9M032 camera sensor
The MT9M032 is a parallel 1.6MP sensor from Micron controlled through I2C.

The driver creates a V4L2 subdevice. It currently supports cropping, gain,
exposure and v/h flipping controls in monochrome mode with an
external pixel clock.

[Lots of clean up, fixes and enhancements]

Signed-off-by: Martin Hostettler <martin@neutronstar.dyndns.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-19 18:56:33 -03:00
Dan Carpenter
955b44304a [media] gpio-ir-recv: a couple signedness bugs
There are couple places where we check unsigned values for negative.  I
changed ->gpin_nr to signed because in gpio_ir_recv_probe() we do:
        if (pdata->gpio_nr < 0)
                return -EINVAL;
I also change gval to a signed int in gpio_ir_recv_irq() because that's
the type that gpio_get_value_cansleep() returns and we test for negative
returns.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Trilok Soni <tsoni@codeaurora.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-19 15:45:01 -03:00
Scott Jiang
63b1a90da9 [media] add blackfin capture bridge driver
This is a v4l2 bridge driver for Blackfin video capture device, support ppi and eppi interface.

Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-19 15:08:20 -03:00
Scott Jiang
f877ed9780 [media] vs6624: add vs6624 sensor driver
This is a v4l2 sensor-level driver for the ST VS6624 camera.

Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-19 15:04:26 -03:00
Scott Jiang
202ea1f05b [media] adv7183: add adv7183 decoder driver
This driver is a v4l2 subdevice driver to support Analog Devices ADV7183 SDTV video decoder.

Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-19 15:04:10 -03:00
Laurent Pinchart
b9d0aa6e21 [media] v4l: Add custom compat_ioctl32 operation
Drivers implementing custom ioctls need to handle 32-bit/64-bit
compatibility themselves. Provide them with a way to do so.

To avoid circular module dependencies, merge the v4l2-compat-ioctl32
module into videodev. There is no point in keeping them separate, as the
v4l2_compat_ioctl32() function is required by videodev if CONFIG_COMPAT
is set anyway.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-19 14:06:12 -03:00
Paul Gortmaker
313162d0b8 device.h: audit and cleanup users in main include dir
The <linux/device.h> header includes a lot of stuff, and
it in turn gets a lot of use just for the basic "struct device"
which appears so often.

Clean up the users as follows:

1) For those headers only needing "struct device" as a pointer
in fcn args, replace the include with exactly that.

2) For headers not really using anything from device.h, simply
delete the include altogether.

3) For headers relying on getting device.h implicitly before
being included themselves, now explicitly include device.h

4) For files in which doing #1 or #2 uncovers an implicit
dependency on some other header, fix by explicitly adding
the required header(s).

Any C files that were implicitly relying on device.h to be
present have already been dealt with in advance.

Total removals from #1 and #2: 51.  Total additions coming
from #3: 9.  Total other implicit dependencies from #4: 7.

As of 3.3-rc1, there were 110, so a net removal of 42 gives
about a 38% reduction in device.h presence in include/*

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2012-03-16 10:38:24 -04:00
Ravi Kumar V
fd0f6851eb [media] rc: Add support for GPIO based IR Receiver driver
Adds GPIO based IR Receiver driver. It decodes signals using decoders
available in rc framework.

Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-03-08 11:14:10 -03:00