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 7191e9ba2508ca6f1eaab251cf3f0a2318eebe26
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 6f9e56945d4ee3a2621968caa72b135cb07e49c4
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 9ae7e01de1cf03c77054da44d135a7e85863fcb0
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 043a61468f395dd6d4fc518299726955e9999c59
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 0d1259b5f84969bd00811ff9faa1c44cdb9fdbb5
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 be4a1ee79a89da3ca705aecc2ac92cbeedd032bd
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 46d71337f9aa84694e4e6cca7f3beb6b033bbf76
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 903f6c716db3d4e26952aae9717f81dd5bc9e4ba
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-01-11 00:25:33 +00:00
|
|
|
#ifndef _MSM_VIDC_ENC_H_
|
|
|
|
#define _MSM_VIDC_ENC_H_
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/ioctl.h>
|
|
|
|
|
|
|
|
/** STATUS CODES*/
|
|
|
|
/* Base value for status codes */
|
|
|
|
#define VEN_S_BASE 0x00000000
|
|
|
|
#define VEN_S_SUCCESS (VEN_S_BASE)/* Success */
|
|
|
|
#define VEN_S_EFAIL (VEN_S_BASE+1)/* General failure */
|
|
|
|
#define VEN_S_EFATAL (VEN_S_BASE+2)/* Fatal irrecoverable failure*/
|
|
|
|
#define VEN_S_EBADPARAM (VEN_S_BASE+3)/* Error passed parameters*/
|
|
|
|
/*Command called in invalid state*/
|
|
|
|
#define VEN_S_EINVALSTATE (VEN_S_BASE+4)
|
|
|
|
#define VEN_S_ENOSWRES (VEN_S_BASE+5)/* Insufficient OS resources*/
|
|
|
|
#define VEN_S_ENOHWRES (VEN_S_BASE+6)/*Insufficient HW resources */
|
|
|
|
#define VEN_S_EBUFFREQ (VEN_S_BASE+7)/* Buffer requirements were not met*/
|
|
|
|
#define VEN_S_EINVALCMD (VEN_S_BASE+8)/* Invalid command called */
|
|
|
|
#define VEN_S_ETIMEOUT (VEN_S_BASE+9)/* Command timeout. */
|
|
|
|
/*Re-attempt was made when multiple invocation not supported for API.*/
|
|
|
|
#define VEN_S_ENOREATMPT (VEN_S_BASE+10)
|
|
|
|
#define VEN_S_ENOPREREQ (VEN_S_BASE+11)/*Pre-requirement is not met for API*/
|
|
|
|
#define VEN_S_ECMDQFULL (VEN_S_BASE+12)/*Command queue is full*/
|
|
|
|
#define VEN_S_ENOTSUPP (VEN_S_BASE+13)/*Command not supported*/
|
|
|
|
#define VEN_S_ENOTIMPL (VEN_S_BASE+14)/*Command not implemented.*/
|
|
|
|
#define VEN_S_ENOTPMEM (VEN_S_BASE+15)/*Buffer is not from PMEM*/
|
|
|
|
#define VEN_S_EFLUSHED (VEN_S_BASE+16)/*returned buffer was flushed*/
|
|
|
|
#define VEN_S_EINSUFBUF (VEN_S_BASE+17)/*provided buffer size insufficient*/
|
|
|
|
#define VEN_S_ESAMESTATE (VEN_S_BASE+18)
|
|
|
|
#define VEN_S_EINVALTRANS (VEN_S_BASE+19)
|
|
|
|
|
|
|
|
#define VEN_INTF_VER 1
|
|
|
|
|
|
|
|
/*Asynchronous messages from driver*/
|
|
|
|
#define VEN_MSG_INDICATION 0
|
|
|
|
#define VEN_MSG_INPUT_BUFFER_DONE 1
|
|
|
|
#define VEN_MSG_OUTPUT_BUFFER_DONE 2
|
|
|
|
#define VEN_MSG_NEED_OUTPUT_BUFFER 3
|
|
|
|
#define VEN_MSG_FLUSH_INPUT_DONE 4
|
|
|
|
#define VEN_MSG_FLUSH_OUPUT_DONE 5
|
|
|
|
#define VEN_MSG_START 6
|
|
|
|
#define VEN_MSG_STOP 7
|
|
|
|
#define VEN_MSG_PAUSE 8
|
|
|
|
#define VEN_MSG_RESUME 9
|
|
|
|
#define VEN_MSG_STOP_READING_MSG 10
|
|
|
|
|
|
|
|
/*Buffer flags bits masks*/
|
|
|
|
#define VEN_BUFFLAG_EOS 0x00000001
|
|
|
|
#define VEN_BUFFLAG_ENDOFFRAME 0x00000010
|
|
|
|
#define VEN_BUFFLAG_SYNCFRAME 0x00000020
|
|
|
|
#define VEN_BUFFLAG_EXTRADATA 0x00000040
|
|
|
|
#define VEN_BUFFLAG_CODECCONFIG 0x00000080
|
|
|
|
|
|
|
|
/*Post processing flags bit masks*/
|
|
|
|
#define VEN_EXTRADATA_NONE 0x001
|
|
|
|
#define VEN_EXTRADATA_QCOMFILLER 0x002
|
|
|
|
#define VEN_EXTRADATA_SLICEINFO 0x100
|
|
|
|
|
|
|
|
/*ENCODER CONFIGURATION CONSTANTS*/
|
|
|
|
|
|
|
|
/*Encoded video frame types*/
|
|
|
|
#define VEN_FRAME_TYPE_I 1/* I frame type */
|
|
|
|
#define VEN_FRAME_TYPE_P 2/* P frame type */
|
|
|
|
#define VEN_FRAME_TYPE_B 3/* B frame type */
|
|
|
|
|
|
|
|
/*Video codec types*/
|
|
|
|
#define VEN_CODEC_MPEG4 1/* MPEG4 Codec */
|
|
|
|
#define VEN_CODEC_H264 2/* H.264 Codec */
|
|
|
|
#define VEN_CODEC_H263 3/* H.263 Codec */
|
|
|
|
|
|
|
|
/*Video codec profile types.*/
|
|
|
|
#define VEN_PROFILE_MPEG4_SP 1/* 1 - MPEG4 SP profile */
|
|
|
|
#define VEN_PROFILE_MPEG4_ASP 2/* 2 - MPEG4 ASP profile */
|
|
|
|
#define VEN_PROFILE_H264_BASELINE 3/* 3 - H264 Baseline profile */
|
|
|
|
#define VEN_PROFILE_H264_MAIN 4/* 4 - H264 Main profile */
|
|
|
|
#define VEN_PROFILE_H264_HIGH 5/* 5 - H264 High profile */
|
|
|
|
#define VEN_PROFILE_H263_BASELINE 6/* 6 - H263 Baseline profile */
|
|
|
|
|
|
|
|
/*Video codec profile level types.*/
|
|
|
|
#define VEN_LEVEL_MPEG4_0 0x1/* MPEG4 Level 0 */
|
|
|
|
#define VEN_LEVEL_MPEG4_1 0x2/* MPEG4 Level 1 */
|
|
|
|
#define VEN_LEVEL_MPEG4_2 0x3/* MPEG4 Level 2 */
|
|
|
|
#define VEN_LEVEL_MPEG4_3 0x4/* MPEG4 Level 3 */
|
|
|
|
#define VEN_LEVEL_MPEG4_4 0x5/* MPEG4 Level 4 */
|
|
|
|
#define VEN_LEVEL_MPEG4_5 0x6/* MPEG4 Level 5 */
|
|
|
|
#define VEN_LEVEL_MPEG4_3b 0x7/* MPEG4 Level 3b */
|
|
|
|
#define VEN_LEVEL_MPEG4_6 0x8/* MPEG4 Level 6 */
|
|
|
|
|
|
|
|
#define VEN_LEVEL_H264_1 0x9/* H.264 Level 1 */
|
|
|
|
#define VEN_LEVEL_H264_1b 0xA/* H.264 Level 1b */
|
|
|
|
#define VEN_LEVEL_H264_1p1 0xB/* H.264 Level 1.1 */
|
|
|
|
#define VEN_LEVEL_H264_1p2 0xC/* H.264 Level 1.2 */
|
|
|
|
#define VEN_LEVEL_H264_1p3 0xD/* H.264 Level 1.3 */
|
|
|
|
#define VEN_LEVEL_H264_2 0xE/* H.264 Level 2 */
|
|
|
|
#define VEN_LEVEL_H264_2p1 0xF/* H.264 Level 2.1 */
|
|
|
|
#define VEN_LEVEL_H264_2p2 0x10/* H.264 Level 2.2 */
|
|
|
|
#define VEN_LEVEL_H264_3 0x11/* H.264 Level 3 */
|
|
|
|
#define VEN_LEVEL_H264_3p1 0x12/* H.264 Level 3.1 */
|
|
|
|
#define VEN_LEVEL_H264_3p2 0x13/* H.264 Level 3.2 */
|
|
|
|
#define VEN_LEVEL_H264_4 0x14/* H.264 Level 4 */
|
|
|
|
|
|
|
|
#define VEN_LEVEL_H263_10 0x15/* H.263 Level 10 */
|
|
|
|
#define VEN_LEVEL_H263_20 0x16/* H.263 Level 20 */
|
|
|
|
#define VEN_LEVEL_H263_30 0x17/* H.263 Level 30 */
|
|
|
|
#define VEN_LEVEL_H263_40 0x18/* H.263 Level 40 */
|
|
|
|
#define VEN_LEVEL_H263_45 0x19/* H.263 Level 45 */
|
|
|
|
#define VEN_LEVEL_H263_50 0x1A/* H.263 Level 50 */
|
|
|
|
#define VEN_LEVEL_H263_60 0x1B/* H.263 Level 60 */
|
|
|
|
#define VEN_LEVEL_H263_70 0x1C/* H.263 Level 70 */
|
|
|
|
|
|
|
|
/*Entropy coding model selection for H.264 encoder.*/
|
|
|
|
#define VEN_ENTROPY_MODEL_CAVLC 1
|
|
|
|
#define VEN_ENTROPY_MODEL_CABAC 2
|
|
|
|
/*Cabac model number (0,1,2) for encoder.*/
|
|
|
|
#define VEN_CABAC_MODEL_0 1/* CABAC Model 0. */
|
|
|
|
#define VEN_CABAC_MODEL_1 2/* CABAC Model 1. */
|
|
|
|
#define VEN_CABAC_MODEL_2 3/* CABAC Model 2. */
|
|
|
|
|
|
|
|
/*Deblocking filter control type for encoder.*/
|
|
|
|
#define VEN_DB_DISABLE 1/* 1 - Disable deblocking filter*/
|
|
|
|
#define VEN_DB_ALL_BLKG_BNDRY 2/* 2 - All blocking boundary filtering*/
|
|
|
|
#define VEN_DB_SKIP_SLICE_BNDRY 3/* 3 - Filtering except sliceboundary*/
|
|
|
|
|
|
|
|
/*Different methods of Multi slice selection.*/
|
|
|
|
#define VEN_MSLICE_OFF 1
|
|
|
|
#define VEN_MSLICE_CNT_MB 2 /*number of MBscount per slice*/
|
|
|
|
#define VEN_MSLICE_CNT_BYTE 3 /*number of bytes count per slice.*/
|
|
|
|
#define VEN_MSLICE_GOB 4 /*Multi slice by GOB for H.263 only.*/
|
|
|
|
|
|
|
|
/*Different modes for Rate Control.*/
|
|
|
|
#define VEN_RC_OFF 1
|
|
|
|
#define VEN_RC_VBR_VFR 2
|
|
|
|
#define VEN_RC_VBR_CFR 3
|
|
|
|
#define VEN_RC_CBR_VFR 4
|
|
|
|
#define VEN_RC_CBR_CFR 5
|
|
|
|
|
|
|
|
/*Different modes for flushing buffers*/
|
|
|
|
#define VEN_FLUSH_INPUT 1
|
|
|
|
#define VEN_FLUSH_OUTPUT 2
|
|
|
|
#define VEN_FLUSH_ALL 3
|
|
|
|
|
|
|
|
/*Different input formats for YUV data.*/
|
|
|
|
#define VEN_INPUTFMT_NV12 1/* NV12 Linear */
|
|
|
|
#define VEN_INPUTFMT_NV21 2/* NV21 Linear */
|
|
|
|
#define VEN_INPUTFMT_NV12_16M2KA 3/* NV12 Linear */
|
2013-02-12 11:25:21 +00:00
|
|
|
#define VEN_INPUTFMT_NV21_16M2KA 4
|
|
|
|
|
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 7191e9ba2508ca6f1eaab251cf3f0a2318eebe26
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 6f9e56945d4ee3a2621968caa72b135cb07e49c4
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 9ae7e01de1cf03c77054da44d135a7e85863fcb0
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 043a61468f395dd6d4fc518299726955e9999c59
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 0d1259b5f84969bd00811ff9faa1c44cdb9fdbb5
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 be4a1ee79a89da3ca705aecc2ac92cbeedd032bd
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 46d71337f9aa84694e4e6cca7f3beb6b033bbf76
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 903f6c716db3d4e26952aae9717f81dd5bc9e4ba
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-01-11 00:25:33 +00:00
|
|
|
|
|
|
|
/*Different allowed rotation modes.*/
|
|
|
|
#define VEN_ROTATION_0 1/* 0 degrees */
|
|
|
|
#define VEN_ROTATION_90 2/* 90 degrees */
|
|
|
|
#define VEN_ROTATION_180 3/* 180 degrees */
|
|
|
|
#define VEN_ROTATION_270 4/* 270 degrees */
|
|
|
|
|
|
|
|
/*IOCTL timeout values*/
|
|
|
|
#define VEN_TIMEOUT_INFINITE 0xffffffff
|
|
|
|
|
|
|
|
/*Different allowed intra refresh modes.*/
|
|
|
|
#define VEN_IR_OFF 1
|
|
|
|
#define VEN_IR_CYCLIC 2
|
|
|
|
#define VEN_IR_RANDOM 3
|
|
|
|
|
|
|
|
/*IOCTL BASE CODES Not to be used directly by the client.*/
|
|
|
|
/* Base value for ioctls that are not related to encoder configuration.*/
|
|
|
|
#define VEN_IOCTLBASE_NENC 0x800
|
|
|
|
/* Base value for encoder configuration ioctls*/
|
|
|
|
#define VEN_IOCTLBASE_ENC 0x850
|
|
|
|
|
|
|
|
struct venc_ioctl_msg{
|
|
|
|
void __user *in;
|
|
|
|
void __user *out;
|
|
|
|
};
|
|
|
|
|
|
|
|
/*NON ENCODER CONFIGURATION IOCTLs*/
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - unsigned long, OutputData - NULL*/
|
|
|
|
#define VEN_IOCTL_SET_INTF_VERSION \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 0, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:CMD: InputData - venc_timeout, OutputData - venc_msg*/
|
|
|
|
#define VEN_IOCTL_CMD_READ_NEXT_MSG \
|
|
|
|
_IOWR(VEN_IOCTLBASE_NENC, 1, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:CMD: InputData - NULL, OutputData - NULL*/
|
|
|
|
#define VEN_IOCTL_CMD_STOP_READ_MSG _IO(VEN_IOCTLBASE_NENC, 2)
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_allocatorproperty, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_allocatorproperty*/
|
|
|
|
#define VEN_IOCTL_SET_INPUT_BUFFER_REQ \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 3, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_INPUT_BUFFER_REQ \
|
|
|
|
_IOR(VEN_IOCTLBASE_NENC, 4, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:CMD: InputData - venc_bufferpayload, OutputData - NULL*/
|
|
|
|
#define VEN_IOCTL_CMD_ALLOC_INPUT_BUFFER \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 5, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:CMD: InputData - venc_bufferpayload, OutputData - NULL*/
|
|
|
|
#define VEN_IOCTL_SET_INPUT_BUFFER \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 6, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params: CMD: InputData - venc_bufferpayload, OutputData - NULL*/
|
|
|
|
#define VEN_IOCTL_CMD_FREE_INPUT_BUFFER \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 7, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_allocatorproperty, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_allocatorproperty*/
|
|
|
|
#define VEN_IOCTL_SET_OUTPUT_BUFFER_REQ \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 8, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_OUTPUT_BUFFER_REQ \
|
|
|
|
_IOR(VEN_IOCTLBASE_NENC, 9, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:CMD: InputData - venc_bufferpayload, OutputData - NULL*/
|
|
|
|
#define VEN_IOCTL_CMD_ALLOC_OUTPUT_BUFFER \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 10, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:CMD: InputData - venc_bufferpayload, OutputData - NULL*/
|
|
|
|
#define VEN_IOCTL_SET_OUTPUT_BUFFER \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 11, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:CMD: InputData - venc_bufferpayload, OutputData - NULL.*/
|
|
|
|
#define VEN_IOCTL_CMD_FREE_OUTPUT_BUFFER \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 12, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/* Asynchronous respone message code:* VEN_MSG_START*/
|
|
|
|
#define VEN_IOCTL_CMD_START _IO(VEN_IOCTLBASE_NENC, 13)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:CMD: InputData - venc_buffer, OutputData - NULL
|
|
|
|
Asynchronous respone message code:VEN_MSG_INPUT_BUFFER_DONE*/
|
|
|
|
#define VEN_IOCTL_CMD_ENCODE_FRAME \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 14, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:CMD: InputData - venc_buffer, OutputData - NULL
|
|
|
|
Asynchronous response message code:VEN_MSG_OUTPUT_BUFFER_DONE*/
|
|
|
|
#define VEN_IOCTL_CMD_FILL_OUTPUT_BUFFER \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 15, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:CMD: InputData - venc_bufferflush, OutputData - NULL
|
|
|
|
* Asynchronous response message code:VEN_MSG_INPUT_BUFFER_DONE*/
|
|
|
|
#define VEN_IOCTL_CMD_FLUSH \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 16, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*Asynchronous respone message code:VEN_MSG_PAUSE*/
|
|
|
|
#define VEN_IOCTL_CMD_PAUSE _IO(VEN_IOCTLBASE_NENC, 17)
|
|
|
|
|
|
|
|
/*Asynchronous respone message code:VEN_MSG_RESUME*/
|
|
|
|
#define VEN_IOCTL_CMD_RESUME _IO(VEN_IOCTLBASE_NENC, 18)
|
|
|
|
|
|
|
|
/* Asynchronous respone message code:VEN_MSG_STOP*/
|
|
|
|
#define VEN_IOCTL_CMD_STOP _IO(VEN_IOCTLBASE_NENC, 19)
|
|
|
|
|
|
|
|
#define VEN_IOCTL_SET_RECON_BUFFER \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 20, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
#define VEN_IOCTL_FREE_RECON_BUFFER \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 21, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
#define VEN_IOCTL_GET_RECON_BUFFER_SIZE \
|
|
|
|
_IOW(VEN_IOCTLBASE_NENC, 22, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*ENCODER PROPERTY CONFIGURATION & CAPABILITY IOCTLs*/
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_basecfg, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_basecfg*/
|
|
|
|
#define VEN_IOCTL_SET_BASE_CFG \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 1, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_BASE_CFG \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 2, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_switch, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_switch*/
|
|
|
|
#define VEN_IOCTL_SET_LIVE_MODE \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 3, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_LIVE_MODE \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 4, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_profile, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_profile*/
|
|
|
|
#define VEN_IOCTL_SET_CODEC_PROFILE \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 5, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_CODEC_PROFILE \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 6, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - ven_profilelevel, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - ven_profilelevel*/
|
|
|
|
#define VEN_IOCTL_SET_PROFILE_LEVEL \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 7, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
#define VEN_IOCTL_GET_PROFILE_LEVEL \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 8, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_switch, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_switch*/
|
|
|
|
#define VEN_IOCTL_SET_SHORT_HDR \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 9, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_SHORT_HDR \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 10, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params: SET: InputData - venc_sessionqp, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_sessionqp*/
|
|
|
|
#define VEN_IOCTL_SET_SESSION_QP \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 11, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_SESSION_QP \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 12, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_intraperiod, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_intraperiod*/
|
|
|
|
#define VEN_IOCTL_SET_INTRA_PERIOD \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 13, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_INTRA_PERIOD \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 14, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/* Request an Iframe*/
|
|
|
|
#define VEN_IOCTL_CMD_REQUEST_IFRAME _IO(VEN_IOCTLBASE_ENC, 15)
|
|
|
|
|
|
|
|
/*IOCTL params:GET: InputData - NULL, OutputData - venc_capability*/
|
|
|
|
#define VEN_IOCTL_GET_CAPABILITY \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 16, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:GET: InputData - NULL, OutputData - venc_seqheader*/
|
|
|
|
#define VEN_IOCTL_GET_SEQUENCE_HDR \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 17, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_entropycfg, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_entropycfg*/
|
|
|
|
#define VEN_IOCTL_SET_ENTROPY_CFG \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 18, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_ENTROPY_CFG \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 19, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_dbcfg, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_dbcfg*/
|
|
|
|
#define VEN_IOCTL_SET_DEBLOCKING_CFG \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 20, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_DEBLOCKING_CFG \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 21, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_intrarefresh, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_intrarefresh*/
|
|
|
|
#define VEN_IOCTL_SET_INTRA_REFRESH \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 22, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_INTRA_REFRESH \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 23, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_multiclicecfg, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_multiclicecfg*/
|
|
|
|
#define VEN_IOCTL_SET_MULTI_SLICE_CFG \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 24, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_MULTI_SLICE_CFG \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 25, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_ratectrlcfg, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_ratectrlcfg*/
|
|
|
|
#define VEN_IOCTL_SET_RATE_CTRL_CFG \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 26, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_RATE_CTRL_CFG \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 27, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_voptimingcfg, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_voptimingcfg*/
|
|
|
|
#define VEN_IOCTL_SET_VOP_TIMING_CFG \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 28, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_VOP_TIMING_CFG \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 29, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_framerate, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_framerate*/
|
|
|
|
#define VEN_IOCTL_SET_FRAME_RATE \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 30, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_FRAME_RATE \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 31, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_targetbitrate, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_targetbitrate*/
|
|
|
|
#define VEN_IOCTL_SET_TARGET_BITRATE \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 32, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_TARGET_BITRATE \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 33, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_rotation, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_rotation*/
|
|
|
|
#define VEN_IOCTL_SET_ROTATION \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 34, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_ROTATION \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 35, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_headerextension, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_headerextension*/
|
|
|
|
#define VEN_IOCTL_SET_HEC \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 36, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_HEC \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 37, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_switch, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_switch*/
|
|
|
|
#define VEN_IOCTL_SET_DATA_PARTITION \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 38, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_DATA_PARTITION \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 39, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_switch, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_switch*/
|
|
|
|
#define VEN_IOCTL_SET_RVLC \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 40, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_RVLC \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 41, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_switch, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_switch*/
|
|
|
|
#define VEN_IOCTL_SET_AC_PREDICTION \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 42, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_AC_PREDICTION \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 43, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - venc_qprange, OutputData - NULL
|
|
|
|
GET: InputData - NULL, OutputData - venc_qprange*/
|
|
|
|
#define VEN_IOCTL_SET_QP_RANGE \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 44, struct venc_ioctl_msg)
|
|
|
|
#define VEN_IOCTL_GET_QP_RANGE \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 45, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
#define VEN_IOCTL_GET_NUMBER_INSTANCES \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 46, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
#define VEN_IOCTL_SET_METABUFFER_MODE \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 47, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - unsigned int, OutputData - NULL.*/
|
|
|
|
#define VEN_IOCTL_SET_EXTRADATA \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 48, struct venc_ioctl_msg)
|
|
|
|
/*IOCTL params:GET: InputData - NULL, OutputData - unsigned int.*/
|
|
|
|
#define VEN_IOCTL_GET_EXTRADATA \
|
|
|
|
_IOR(VEN_IOCTLBASE_ENC, 49, struct venc_ioctl_msg)
|
|
|
|
|
|
|
|
/*IOCTL params:SET: InputData - NULL, OutputData - NULL.*/
|
|
|
|
#define VEN_IOCTL_SET_SLICE_DELIVERY_MODE \
|
|
|
|
_IO(VEN_IOCTLBASE_ENC, 50)
|
|
|
|
|
2012-09-27 05:58:45 +00:00
|
|
|
/*IOCTL params:SET: InputData - unsigned int, OutputData - NULL*/
|
|
|
|
#define VEN_IOCTL_SET_SPS_PPS_FOR_IDR \
|
|
|
|
_IOW(VEN_IOCTLBASE_ENC, 51, struct venc_ioctl_msg)
|
|
|
|
|
2012-11-26 22:50:13 +00:00
|
|
|
/*IOCTL params:SET: InputData - NULL, OutputData - NULL.*/
|
|
|
|
#define VEN_IOCTL_SET_VUI_BITSTREAM_RESTRICT_FLAG \
|
|
|
|
_IO(VEN_IOCTLBASE_ENC, 52)
|
|
|
|
|
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 7191e9ba2508ca6f1eaab251cf3f0a2318eebe26
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 6f9e56945d4ee3a2621968caa72b135cb07e49c4
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 9ae7e01de1cf03c77054da44d135a7e85863fcb0
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 043a61468f395dd6d4fc518299726955e9999c59
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 0d1259b5f84969bd00811ff9faa1c44cdb9fdbb5
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 be4a1ee79a89da3ca705aecc2ac92cbeedd032bd
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 46d71337f9aa84694e4e6cca7f3beb6b033bbf76
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 903f6c716db3d4e26952aae9717f81dd5bc9e4ba
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-01-11 00:25:33 +00:00
|
|
|
struct venc_switch{
|
|
|
|
unsigned char status;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_allocatorproperty{
|
|
|
|
unsigned long mincount;
|
|
|
|
unsigned long maxcount;
|
|
|
|
unsigned long actualcount;
|
|
|
|
unsigned long datasize;
|
|
|
|
unsigned long suffixsize;
|
|
|
|
unsigned long alignment;
|
|
|
|
unsigned long bufpoolid;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_bufferpayload{
|
|
|
|
unsigned char *pbuffer;
|
|
|
|
size_t sz;
|
|
|
|
int fd;
|
|
|
|
unsigned int offset;
|
|
|
|
unsigned int maped_size;
|
|
|
|
unsigned long filled_len;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_buffer{
|
|
|
|
unsigned char *ptrbuffer;
|
|
|
|
unsigned long sz;
|
|
|
|
unsigned long len;
|
|
|
|
unsigned long offset;
|
|
|
|
long long timestamp;
|
|
|
|
unsigned long flags;
|
|
|
|
void *clientdata;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_basecfg{
|
|
|
|
unsigned long input_width;
|
|
|
|
unsigned long input_height;
|
|
|
|
unsigned long dvs_width;
|
|
|
|
unsigned long dvs_height;
|
|
|
|
unsigned long codectype;
|
|
|
|
unsigned long fps_num;
|
|
|
|
unsigned long fps_den;
|
|
|
|
unsigned long targetbitrate;
|
|
|
|
unsigned long inputformat;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_profile{
|
|
|
|
unsigned long profile;
|
|
|
|
};
|
|
|
|
struct ven_profilelevel{
|
|
|
|
unsigned long level;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_sessionqp{
|
|
|
|
unsigned long iframeqp;
|
|
|
|
unsigned long pframqp;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_qprange{
|
|
|
|
unsigned long maxqp;
|
|
|
|
unsigned long minqp;
|
|
|
|
};
|
|
|
|
struct venc_intraperiod{
|
|
|
|
unsigned long num_pframes;
|
|
|
|
unsigned long num_bframes;
|
|
|
|
};
|
|
|
|
struct venc_seqheader{
|
|
|
|
unsigned char *hdrbufptr;
|
|
|
|
unsigned long bufsize;
|
|
|
|
unsigned long hdrlen;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_capability{
|
|
|
|
unsigned long codec_types;
|
|
|
|
unsigned long maxframe_width;
|
|
|
|
unsigned long maxframe_height;
|
|
|
|
unsigned long maxtarget_bitrate;
|
|
|
|
unsigned long maxframe_rate;
|
|
|
|
unsigned long input_formats;
|
|
|
|
unsigned char dvs;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_entropycfg{
|
2013-10-18 09:47:33 +00:00
|
|
|
unsigned long entropysel;
|
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 7191e9ba2508ca6f1eaab251cf3f0a2318eebe26
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 6f9e56945d4ee3a2621968caa72b135cb07e49c4
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 9ae7e01de1cf03c77054da44d135a7e85863fcb0
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 043a61468f395dd6d4fc518299726955e9999c59
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 0d1259b5f84969bd00811ff9faa1c44cdb9fdbb5
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 be4a1ee79a89da3ca705aecc2ac92cbeedd032bd
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 46d71337f9aa84694e4e6cca7f3beb6b033bbf76
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 903f6c716db3d4e26952aae9717f81dd5bc9e4ba
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-01-11 00:25:33 +00:00
|
|
|
unsigned long cabacmodel;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_dbcfg{
|
|
|
|
unsigned long db_mode;
|
|
|
|
unsigned long slicealpha_offset;
|
|
|
|
unsigned long slicebeta_offset;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_intrarefresh{
|
|
|
|
unsigned long irmode;
|
|
|
|
unsigned long mbcount;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_multiclicecfg{
|
|
|
|
unsigned long mslice_mode;
|
|
|
|
unsigned long mslice_size;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_bufferflush{
|
|
|
|
unsigned long flush_mode;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_ratectrlcfg{
|
|
|
|
unsigned long rcmode;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_voptimingcfg{
|
|
|
|
unsigned long voptime_resolution;
|
|
|
|
};
|
|
|
|
struct venc_framerate{
|
|
|
|
unsigned long fps_denominator;
|
|
|
|
unsigned long fps_numerator;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_targetbitrate{
|
|
|
|
unsigned long target_bitrate;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct venc_rotation{
|
|
|
|
unsigned long rotation;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_timeout{
|
|
|
|
unsigned long millisec;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_headerextension{
|
|
|
|
unsigned long header_extension;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_msg{
|
|
|
|
unsigned long statuscode;
|
|
|
|
unsigned long msgcode;
|
|
|
|
struct venc_buffer buf;
|
|
|
|
unsigned long msgdata_size;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_recon_addr{
|
|
|
|
unsigned char *pbuffer;
|
|
|
|
unsigned long buffer_size;
|
|
|
|
unsigned long pmem_fd;
|
|
|
|
unsigned long offset;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct venc_recon_buff_size{
|
|
|
|
int width;
|
|
|
|
int height;
|
|
|
|
int size;
|
|
|
|
int alignment;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _MSM_VIDC_ENC_H_ */
|