Commit graph

7 commits

Author SHA1 Message Date
Rajakumar Govindaram
999f30e946 msm: camera2: Add support to send error status in cpp driver
The error status need to be sent as part of the payload so
that userspace can identify and do frame skip if needed.

Change-Id: I02e42439e84d71dc34e90ebb76f7da75c3f3c180
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
2013-04-22 18:27:42 -07:00
Rajakumar Govindaram
192a7e7614 msm: camera2: Enhance cpp driver
The cpp driver is enhanced to store the buffer mapping info. This
helps to get vb2 buffers directly from vb2 queue in kernel space.
The redundant queues in cpp kernel driver is removed as because
the userspace streamlines the priority based queue.

Change-Id: I304c1b929f73331f89b7ac666222156b9f3e9063
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
2013-04-22 18:27:42 -07:00
Rajakumar Govindaram
8e504d82b1 msm: camera2: Fix to flush the queue in cpp driver
The kernel driver supports flush interface to allow flusing
the queue.

Change-Id: I4f71a53cf9d384a1ce3b27d6bd10874ca9f45189
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
2013-04-18 16:08:40 -07:00
Rajakumar Govindaram
4350f3254d msm: camera2: Add support for HW information based FW load
This change adds support to read the HW information and use it
to select FW version.

Change-Id: I8ce11341f87b61668f907e969e07bdde5601c066
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
2013-04-18 16:08:39 -07:00
Rajakumar Govindaram
2b020310a8 msm: camera2: Fix ION memory release in cpp driver
The ION handles were not properly released. This change releases
the ION handle after hardware acknowledgement.

Change-Id: Ie3a86e23837a94a1b15d6e2cf2029da3e1c4e1ec
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
2013-04-18 16:08:38 -07:00
Rajakumar Govindaram
d269011a00 msm: camera2: Enhance cpp driver.
This change adds necessary state and IOCTL interface for correct
sequence of firmware loading. This also helps to avoid redundant firmware
loading.

Change-Id: I1aff000b36bfe0fbe2fabb01b9a23e1f86bf1a88
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
2013-04-18 16:08:34 -07:00
Sreesudhan Ramakrish Ramkumar
f24bcddcc0 msm: camera2: Add driver for cpp module
Add driver for Camera Post Processing hardware. This
module is responsible for supporting scaling, cropping,
rotation, flip, wavelet denoise and Sharpening features.

Change-Id: I4b130a5e53d40f96186992d540b93bbf4f8e628f
Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
2013-04-18 16:08:33 -07:00