msm: vidc: Update sub_anchor_mv buffer size

The sub_anchor_mv size is not sufficient if the height
is more than 1088 in video clips, this change will amend
the buffer size to avoid video hardware resulting iommu
crash failures for such clips.

Change-Id: Ie59f04b9edaa9d2364d4e5014d2eb6f882728c76
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
msm: vidc: Set extradata flag properly

Extradata flag is not set to output buffer header's flag in
case when a Mpeg2 clip is played and extenstion and user data
extradata is not enabled.
This change fixes the issue and set extradata flag properly
if extradata is enabled and extradata is available with the
the buffer.

Change-Id: I0a14a942b19826f812fa44d3a272bb75f861652b
CRs-fixed: 490067
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
msm_fb: Correct R and G offsets for correct mapping

R and G colors are swapped when ARGC test cases are executed.
Correct the color mapping to right register offset to fix
the color swapping issue.

CRs-Fixed: 491215

Change-Id: I4997acce577bdbbdf39e22502a678dbecf0bfc37
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
msm: vidc: Handle mgen2maxi interrupt in video driver

Handle interrupt generated by mgen2maxi h/w and
avoid unknown interrupts storm which results in
target reset issues.

Change-Id: Ida24cb2dde15c9cd4a4c1d9ca336b1a4b662c4d1
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
msm_fb: Increase base fence timeout

The earlier value of 1 second caused unnecessary warnings on
heavy workloads by the GPU.

Change-Id: Ib4a5b098267251d5c63c4d8d2a2f51b339acc1d2
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
msm_fb:hdmi:Video playback failure issue from SOM

SOMCS has repoted Video playback failure
(before Video, Audio fails actually) issue,
because hdmi_msm_power_off() skips
SWITCH_SET_HDMI_AUDIO, hdmi_msm_audio_off()

Change-Id: I4db61a62217bc49741571f23703361d273648fee
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Revert "msm_fb: Set backlight to zero during adb shell stop scenario"

This reverts commit 54438503aae779e73c3b9fe7b8e420fec5d227c7.
msm: display: oppo specific changes
msm: camera: Fix for properly configuring AXI bus when using dual_enabled mode

When lp_mode=0 and dual_enabled=1, the msm_camio_bus_scale_cfg API is not
called in axi_start() i.e. the AXI bus is not configured properly

Change-Id: Ifca9ca97ea21b8442ae801802e38d7d98433ba97
CRs-Fixed: 458802
Signed-off-by: Krupal Divvela <kdivvela@codeaurora.org>
msm: camera: composite stats support for bayer hist

Add composite stats support for bayer hist

Change-Id: Ib6759fdbc791604f9d8b1cef0103cc3b72e24aa1
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
msm: camera: Change AEC register settings for ov8825 for low fps

AEC register settings are changed to fix low fps when preview
starts in ov8825 sensor

CRs-Fixed: 472915
Change-Id: Idbe2eae264f327eb79b5123586dedb5ebd601cd2
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
msm: camera: Update register settings for ov9724 sensor

Register settings for ov9724 sensor updated to correct
improper colors in preview

Change-Id: Ie8644d7df80bc34469fbeab661403eeb774468b1
CRs-Fixed: 472906
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
msm: camera: Fix for camera crash

Add NULL checks to avoid NULL pointer dereference in
msm_vfe_subdev_ioctl

Change-Id: I215f87e0c35a63404fa4f7c02f743b25550c2e00
CRs-Fixed: 475242
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
msm: camera: Handle incorrect parameter properly

By this change, when incorrect size is passed, we
return back rather than proceeding forward.

CRs-Fixed: 477936

Change-Id: I8f3ea3c7680a468e36ed0cdb026e95cc29e3f4be
Signed-off-by: Aditya Jonnalagadda <ajonnala@codeaurora.org>
msm: camera: Fix event queue drain issue

when camera daemon is killed, then command processing
timeout happens and there is a possibility of pending
event payload data. It creates a problem for further
command processing due to mismatch of event ids.
Drain the event payload queue when there is a timeout
for any event.

Change-Id: I046baf5ecc8abc8e795f96f8a1701da5c8506b88
CRs-Fixed: 467053
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
msm: camera: Add HFR support for ov8825 sensor

HFR support is added by updating sensor register settings
for 60fps, 90fps, 120fps

Change-Id: I421a8d790c85e7e7d8c588d81d6e781bdeac6135
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
msm: camera: Fix for flip issue in ov9724 sensor

Sensor flip register settings need to be correctly
set in ov9724

Change-Id: I8b244afbaf237f5c5266c68338f2541018794440
CRs-Fixed: 478874
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
msm: camera: Invalidate the vpe_ctrl frame info field during close.

During VPE subdev close, if there is a pending frame with VPE HW,
we unmap the frame, but dont invalidate the frame info field. This
might cause issues if the VPE subdevice is opened again and closed
without sending a frame to VPE. Hence we need to invalidate this
field during close.

Change-Id: I8944af7b5233e277a42b15644e297332f9e38341
CRs-Fixed: 479655
Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
simple kernel build script
update defconfig