summaryrefslogtreecommitdiff
path: root/drivers/media (follow)
Commit message (Collapse)AuthorAge
...
| | * | | | si2157: return -EINVAL if firmware blob is too bigLaura Abbott2016-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit d2cc2f0b35465951eaaf0387fd55e29835ed7ea6 upstream. A previous patch added a check if the firmware is too big, but it didn't set the return error code with the right value. [mchehab@osg.samsung.com: I ended by applying a v1 of Laura's patch, without the proper return code. This patch contains the difference between v2 and v1 of the Laura's "si2157: Bounds check firmware" patch] Signed-off-by: Laura Abbott <labbott@fedoraproject.org> Reviewed-by: Olli Salonen <olli.salonen@iki.fi> Tested-by: Olli Salonen <olli.salonen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
| | * | | | media: dvb-core: Don't force CAN_INVERSION_AUTO in oneshot modeMalcolm Priestley2016-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit c9d57de6103e343f2d4e04ea8d9e417e10a24da7 upstream. When in FE_TUNE_MODE_ONESHOT the frontend must report the actual capabilities so user can take appropriate action. With frontends that can't do auto inversion this is done by dvb-core automatically so CAN_INVERSION_AUTO is valid. However, when in FE_TUNE_MODE_ONESHOT this is not true. So only set FE_CAN_INVERSION_AUTO in modes other than FE_TUNE_MODE_ONESHOT Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| | * | | | rc: sunxi-cir: Initialize the spinlock properlyChen-Yu Tsai2016-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 768acf46e1320d6c41ed1b7c4952bab41c1cde79 upstream. The driver allocates the spinlock but fails to initialize it correctly. The kernel reports a BUG indicating bad spinlock magic when spinlock debugging is enabled. Call spin_lock_init() on it to initialize it correctly. Fixes: b4e3e59fb59c ("[media] rc: add sunxi-ir driver") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | | | | | Merge "msm: vidc: Fix buffer overflow issue in driver"Linux Build Service Account2016-07-15
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | msm: vidc: Fix buffer overflow issue in driverArun Menon2016-07-13
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes a buffer overflow issue during venus version write to a local buffer. CRs-Fixed: 944588 Change-Id: Id97f89debbd8d160a8ef624ae0c1be16c47d3270 Signed-off-by: Arun Menon <avmenon@codeaurora.org>
* | | | | Merge "msm: vidc: Fix an issue with high bitrate playback"Linux Build Service Account2016-07-13
|\ \ \ \ \
| * | | | | msm: vidc: Fix an issue with high bitrate playbackArun Menon2016-07-12
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the instant bitrate during playback is higher than the max supported bitrate, then driver should ensure that venus core is scaled at max frequency. Without this change we will see frame drops if instant bitrate is higher than max supported. CRs-Fixed: 1038427 Change-Id: Id76865085285e2d8b92dba6aa456b972374789ac Signed-off-by: Arun Menon <avmenon@codeaurora.org>
* | | | | Merge "Revert "msm: vidc: Handle encoder input in true dynamic mode""Linux Build Service Account2016-07-13
|\ \ \ \ \
| * | | | | Revert "msm: vidc: Handle encoder input in true dynamic mode"Vikash Garodia2016-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1681bd4286bc ("msm: vidc: Handle encoder input in true dynamic mode") Keep iova mappings of encoder input buffers as we move towards a handle based mapping and encoder input buffers once allocated are maintained through- out the session. CRs-Fixed: 1026885 Change-Id: Ib6df539c5e04ba4eefed59355fd13191f85492d8 Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org> Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
* | | | | | Merge "msm: camera: isp: Fix RDI stream streamoff issue"Linux Build Service Account2016-07-13
|\ \ \ \ \ \
| * | | | | | msm: camera: isp: Fix RDI stream streamoff issueJing Zhou2016-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When stop the RDI stream, the wait flag should not be set to true if we are halting the system. In the new logic, the halt will cause the system timeout due to ispif might be stopped. The change will stop the RDI without waiting if the VFE will be halted. CRs-fixed: 991080 Change-Id: Ia0a7512006c1eeb15deb10b87aaff5668a7b5ef2 Signed-off-by: Jing Zhou <jzhou70@codeaurora.org> Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
| * | | | | | msm: camera: isp: Fix the framedrop setting issueJing Zhou2016-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes a framedrop issue due to unsynced epoch signal. In dual vfe case, the epoch signal from each VFE might arrived in any order. Since reset the framedrop pattern for both VFE is done in the epocch signal, we need to align this action with the last vfe epoch signal. The current implementation is to do the reset always on the vfe1 signal, this has led to incorrect framedrop pattern reset which cause the framedrop pattern out of sync between two VFEs. This change aligns this action with the latest epoch signal so split will not happen. CRs-fixed: 991080 Change-Id: I20a911fd8cec9e36e6867fa19428513f36054a8a Signed-off-by: Jing Zhou <jzhou70@codeaurora.org> Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
| * | | | | | msm: isp: Add 48K UB for MSM8917 targetShilpa Mamidi2016-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to increase UB size to 48K and also change burst length for MSM8917 as per HW specifications. Change-Id: I086aa920fb93524aa2bf8a740514a3012cd5f8a0 Signed-off-by: Shilpa Mamidi <shilpam@codeaurora.org> Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | | | | | | Merge "msm: vidc: pm qos stability fixes for video driver"Linux Build Service Account2016-07-13
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | msm: vidc: pm qos stability fixes for video driverSrinu Gorle2016-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stability issues are observed, if pm qos request removes without adding it. Check pm qos request status before remove it. The default request type PM_QOS_REQ_ALL_CORES is applicable to all CPU cores that are online and would have a power impact when there are more number of CPUs. Specify a request type as PM_QOS_REQ_AFFINE_IRQ. CRs-Fixed: 995426 Change-Id: I738f201ed126c6be4076c582c37999362e1d0e88 Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
* | | | | | | msm: vidc: Remove forced-setting of layer-wise bitrate for HPPraveen Chavan2016-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Layerwise bitrate with predefined distribution table is applied if HP is enabled. This is wrong (since client may configure custom distribution) and unnecessary (client may not configure layerwise distribution and use cumulative). CRs-Fixed: 1023504 Change-Id: I053587ae85b36ce0b08fdb5918c0f6b9d678dd24 Signed-off-by: Praveen Chavan <pchavan@codeaurora.org>
* | | | | | | msm: sde: Correct rotator irq enable mismatchAlan Kwong2016-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This corrects rotator irq enable mismatch by moving enable/disable sequence to resource allocation/deallocation time. This will eliminate race condition between regdma start and wait for done, which causes unacknowledged rotator interrupt to continuosly trigger MDSS main interrupt handler, ending in watchdog reset. CRs-Fixed: 1035411 Change-Id: I597b58b478a35e9c3e3afb1a2ddd20ad87961c1a Signed-off-by: Alan Kwong <akwong@codeaurora.org>
* | | | | | | msm: sde: Updating linear format definition for v4l2 rotatorBenjamin Chan2016-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Providing additonal linear format support for v4l2 rotator in mdss 3.x hardware. CRs-Fixed: 1032294 Change-Id: Ie8a19341831d4ffaea36898a80c71ab25f5daf3c Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
* | | | | | | msm: vidc: add ion_handle checking before mapping buffersAbdulla Anam2016-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compare ion handles in driver instead of matching fds to check if a buffer is already mapped or not. Bug: 28747768 CRs-Fixed: 1026885 Change-Id: Ifd18d8689351c4a6a22c988d359fb413be19e142 Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org> Signed-off-by: Praveen Chavan <pchavan@codeaurora.org> Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org> Signed-off-by: Arun Menon <avmenon@codeaurora.org> Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org> Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
* | | | | | | msm: vidc: update the check to ignore extradata plane in dqbufPraveen Chavan2016-07-11
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | userptr may or may not be a null-value. Checking for this field to qualify a plane as extradata has no merit. Ignore that check. Bug: 28747768 CRs-Fixed: 1026885 Change-Id: I08d85ef462f09003aaa17f6ebc5d27de7083796f Signed-off-by: Praveen Chavan <pchavan@codeaurora.org> Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org> Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
* | | | | | msm: camera: Return HAL buffer to fix drain issuesHariram Purushothaman2016-07-06
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return the HAL buffer to avoid drain issue and provide the get buf by index interface so clients can get buffer based on index. CRs-Fixed: 1018651 Change-Id: I20329a6834f5f1498388c39b1dd95db2896b3239 Signed-off-by: Hariram Purushothaman <hariramp@codeaurora.org>
* | | | | msm: vidc: Fix use of unininitialized variables.Abdulla Anam2016-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix use of uninitialized variables. Add checks for out of bound array access. CRs-Fixed: 997966 Change-Id: I66973d7dcc0988dba36da4b3c0e01484847a7a7e Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org>
* | | | | msm: vidc: ensure venus is in power on before scaling clocksAbdulla Anam2016-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is to be ensured that venus is in power on state before scaling clocks. When venus goes to power collapse, a resume can happen either when driver writes some command to the command queue or any response comes from firmware. So when client requests a particular perf_level, venus is not resumed and scale clocks is called. CRs-Fixed: 1000809 Change-Id: I2ac46c481065ada2b62a5eb248fbdf18f2b1a91f Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org>
* | | | | msm: vidc: Communicate session error to client if aborted.Abdulla Anam2016-06-29
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msm_comm_kill_session is called in driver only in situations where the driver state goes bad. session_abort is called on firmware which may be honored. But still the session_error needs to be communicated to the client or else client will operate oblivious about the bad video driver state. Change-Id: Iafb90cde31a985bf5377fdcdd1a9653a965c5600 Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org>
* | | | msm: camera: isp: Add drop reporting in RESUMING stateHarsh Shah2016-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In RESUMING state, WM is stopped causing skip in diverted buffers. Add drop reporting for these frames, so that modules down stream can be notified in case of reg_update miss. CRs-Fixed: 1012335 Change-Id: I67d700c5c844fd6be3bf6ded756fb93e0ebfb537 Signed-off-by: Harsh Shah <harshs@codeaurora.org> Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | | | msm: vidc: Destroy mutexes used by vidc driverPraneeth Paladugu2016-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently vidc driver is not destroying the mutexes that it used. This can cause mutex resources leak. This changes fixes the same. Change-Id: I293ad3c4c5ed46c692ae066e7188efe41e5dc482 Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org>
* | | | msm: vidc: Add missing qmenu entries for MPEG ctrlsArun Menon2016-06-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | V4l2 control framework mandates a qmenu entry for each control item. Validate_new() function accesses the qmenu entry for control item, and any missing qmenu entries causes a crash within this function. This patch fixes those crashes. CRs-Fixed: 1031156 Change-Id: Ie507b1de9ce08221678a730146164d6e970aac8a Signed-off-by: Arun Menon <avmenon@codeaurora.org> Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
* | | | msm: isp: Reducing logs in error caseAbhishek Kondaveeti2016-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reducing logs in error case by making pr_err as pr_err_limited. Change-Id: I2ff998fcec7ace9a94ca67a797f008389dc510f2 Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org> Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | | | msm: isp: Avoid unaligned register accessAbhishek Kondaveeti2016-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unaligned register access will reslut in device crash. Avoid them by checking the register address before accessing them. Change-Id: Ib58efa2a68115ec9929b9270c123c904737196ee Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org> Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | | | msm: camera: isp: Fix framedrop reportingJing Zhou2016-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixed the framedrop reporting that causes the CTS test failure. The failure is due to the wrong frame id is used to report the framedrop. This change will change the framedrop report logic so that the correct frame id is used. Change-Id: I5b219ed570b81a7fd6a97be46977cafd3e452492 Signed-off-by: Jing Zhou <jzhou70@codeaurora.org> Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | | | msm: camera: isp: Implement new ioctlShubhraprakash Das2016-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a new ioctl that sets the ahb clock vote. This can be used from user space to make register programming quicker. CRs-Fixed: 1001335 Change-Id: I1bc0253ada50040d55b57f0ed07ba66b5535106a Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | | | msm: camera: Changes to support MIPI C-Phy modeViswanadha Raju Thotakura2016-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to support MIPI Cphy mode on CSID version 5.0. CRs-Fixed: 1030317 Change-Id: I6e0835811a47820714eddcf851ea15ece729c2bb Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
* | | | msm:camera: Enable/Disable camera daemonJignesh Mehta2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Camera daemon process is moving to mediaserver process. MCT will send contol command to indicate camera daemon is present or not. For backward compatibility, add check so kernel can support camera daemon present and camera daemon not present. Change-Id: Ia9e45f539bd5ec0d2edfe9bfb90942d88b6d30da Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>
* | | | msm: sensor: Add support for downloading OIS coefficient and frameworkSureshnaidu Laveti2016-06-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add OIS framework and coefficient download in OIS driver. Change-Id: Iff8e1c0367d13bb0d89946d81fb79427b6ef070e Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
* | | | msm: vidc: Fix Low latency step sizeArun Menon2016-06-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Low latency step size was inadvertently removed by a previous commit. Fix the error. CRs-Fixed: 1027653 Change-Id: I843f35ee08159c59aaee7df4a23dfb4ae9c6b689 Signed-off-by: Arun Menon <avmenon@codeaurora.org>
* | | | msm: camera: isp: Enable write master for statsShubhraprakash Das2016-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In vfe 48 version the stats write masters have to be enabled in addition to enabling the stats module. Add code to do this. Also, the stop of write master was not programmed correctly, fix this. CRs-Fixed: 999619 Change-Id: Ic5b38b038508802b0b5779dc5d54ec6772f24b65 Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | | | msm: camera: isp: Vote bandwidth to 0 when shutting vfeShubhraprakash Das2016-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When vfe is shutdown vote the bandwidth to 0 otherwise the higher bandwidth will leak power. Change-Id: I69e1570fe2bdb2e0b5bc14eb2dc158fe504ce921 CRs-Fixed: 999619 Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | | | msm: camera: Setting actuator to initial positionTanvi Aggarwal2016-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the hw_params before setting initial position for VCM type actuator. CRs-Fixed: 987939 Change-Id: I1b1f1801eb0578644b2e954a3a3ade17b3f2a1fd Signed-off-by: Tanvi Aggarwal <tanvia@codeaurora.org>
* | | | msm: vidc: Enable blur support for encodeArun Menon2016-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add v4l2 control extensions to allow the video driver client to enable/disable blur feature in the firmware. CRs-Fixed: 975505 Change-Id: I1b340d13bfef3b71d049d53c9bb79e4effafc79a Signed-off-by: Arun Menon <avmenon@codeaurora.org>
* | | | msm: camera: isp: For vfe version 4.8 do not reset vbifShubhraprakash Das2016-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not reset vbif for vfe version 4.8 based on recommendation from h/w team. Change-Id: Ia31c3f10c24380d9670cd0ca83834844435e593d CRs-Fixed: 999619 Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | | | msm: camera: Configure some of the csiphy registersViswanadha Raju Thotakura2016-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reset the ctrl register while releasing the hardware. CRs-Fixed: 1021009 Change-Id: Id0687402d56f24ca851916f92f86a145136bb866 Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
* | | | msm: camera: Add support for DPCM modesVijay kumar Tumati2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DPCM8 and DPCM6 are 10 bit to 8 and 10 bit to 6 bit compression formats respectively which sensor outputs and it is decompressed to 10 bit in CSID Change-Id: I8ec4de7d9cfa5e9c86d97bd9cb81feddc97dc7b8 Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org> Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
* | | | msm: camera: sensor: Disable IRQ in csid after few framesRajesh Bondugula2016-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IRQ of CSID is enabled when MSM_SD_NOTIFY_FREEZE is called. It must be disabled in MSM_SD_UNNOTIFY_FREEZE and also after few IRQs we disbale the debug IRQ. This prevents excess logs. Crs-Fixed: 1011965 Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org> Change-Id: I10bf7ed20e7d5d29c6e5fff0ed7a8474c96acea5
* | | | msm: camera: sensor: Add support for 3B readRajesh Bondugula2016-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Newer I2C slaves have 3bytes read address. Add support to read the data from slaves that support 3 byte address. CRs-Fixed: 1013787 Change-Id: Ieb0a7aa1b1b5f23220854092dcc2119d29c57146 Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
* | | | msm: camera: isp: Fix warning and errors based on static analysisJing Zhou2016-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes the warning/errors from static analysis CRs-fixed: 992942 Change-Id: Iaf90ab4c1d17f903d03458d76cab1b4c0a5c8836 Signed-off-by: Jing Zhou <jzhou70@codeaurora.org>
* | | | msm: vidc: Add SEI extradataVikash Garodia2016-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change extend the support in video driver to enable few SEI extradata. Also update the extradata menu V4L2 control with all the available list of extradata. CRs-Fixed: 1007521 Change-Id: I6d060afb48aca34c2bb54221c5babc0ac55aff7c Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
* | | | msm: camera: cpp: Support conditional reset of microRajakumar Govindaram2016-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The micro clock needs to be conditionally reset based on target. This can help to avoid probe failures on targets where it is not supported. CRs-Fixed: 1017151 Change-Id: Idd7e7255ebc8a08f418289fa172c37f72a21ced0 Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
* | | | msm: camera: isp: For testgen disable camif on frame boundaryShubhraprakash Das2016-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When testgen is used then we cannot gate the input testgen on a frame boundary and then stop camif. In this case if camif is stopped immediately then it causes hardware failures on next camif start. To avoid these errors from hardware always stop camif on frame boundary when testgen is used. Change-Id: I4e8e58626e5e8bd8468f3d216eadb2b326a84f75 CRs-Fixed: 987962 Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | | | msm: camera: isp: Set init rate for mnoc_maxi_clkShubhraprakash Das2016-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mnoc_maxi_clk requires a rate to be set before voting, set the initial rate for this clock. CRs-Fixed: 987962 Change-Id: I6c4f8fd494b6206b0e1fae8ddfe9d7bc708723d2 Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | | | [media] v4l: Add qcom video color formatsArun Menon2016-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update v4l_fill_fmtdesc() with qcom specific video color formats to prevent it from throwing up a warning stacktrace and flooding the logs. CRs-Fixed: 1018787 Change-Id: Ia140bfb2fcd699937cd845c4489458e5fefb5150 Signed-off-by: Arun Menon <avmenon@codeaurora.org>