Add support to mt9e013 and ov9726 sensors for v4l2 camera
architecture
Change-Id: Ie0e12bb0b8f1d80c0aa40800f5578208ca86efcb
Signed-off-by: Sandeep Kodimela <skodimela@codeaurora.org>
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>
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>
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>
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>
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>
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>
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
Add a new IOCTL to handle the completion of diverted
frame.
Change-Id: I3bbfc2bd3bfdfcd5e078713c068f3f6f97f7239a
Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
Add support for update command for demosaic module.
Change-Id: I06cc7c4e41cbc8c8486277151edc577097661cab
Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
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>
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>
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>
- 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>
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>