Update the csiphy2.1.0 programming sequence for the update
on 01/13/2021 in revision 6.
CRs-Fixed: 2856350
Change-Id: Ib1d9f8ea48bdcb333773bb0fbc3a2c14b10105af
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
Fix clang warning about improper indentation level of a variable
assignment following a one-line if statement.
CRs-Fixed: 2835738
Change-Id: If31d282044ddffc668b1b59b105edd4d5ce4aee7
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
Adds LOCAL_SRC_FILES tracking list to Android.mk to enable support for
incremental compilation.
CRs-Fixed: 2835738
Change-Id: I5f4c5f5f73485e1fe1dd54483ef263129b557386
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
Need to update API's provided by memory team for retreiving fault id's when an
SMMU translation fault occurs for the new kernel version.
CRs-Fixed: 2835738
Change-Id: I061914ce01196fd1271c8a466f6a4ef8e6dce28f
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
Reset Done irq for slave CSID is not received. Change the programming
sequence for dual ife halt reset.
Change-Id: If1d559c434e76ff9a9a6b1d1bc4c63f2e472a8aa
CRs-Fixed: 2830502
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
This change add cpas hw version map entry for 680 titan
version. And remove cpas version check for ubwc support.
CRs-Fixed: 2825675
Change-Id: I858838a5a774c964a1a09d96114442f69058670a
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
Starting from waipio, ICP [lx7] FW is to loaded using
secure PIL. For debug purposes also added support for
non secure image loading for lx7.
CRs-Fixed: 2722486
Change-Id: I30026fb8e65f323ab73336e0ae787a2359bc934f
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Currently, CSID reset completion struct gets initialized once but never
gets reinitialized. This change reinitializes the completion struct
before calling CSID reset to prevent errors.
CRs-Fixed: 2830502
Change-Id: Ie538c3cb2152edcd7c38d1a6f98ab21831288ac8
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
The number of bus resources to deinitialize should match the number of
bus resources initialized.
CRs-Fixed: 2846451
Change-Id: Ie94e1bf06f888a7436a151b2a85182e7bf0ca2cb
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
If CRM skips applying settings on a given frame, in case of sHDR
program scratch buffers along with RUP/AUP to ensure
continuity with respect to sensor frames.
CRs-Fixed: 2841729
Change-Id: I296dbc713f49db54681043415b6ad1499dc13de4
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Use fw_uncached region instead of secondary heap region. Pass
this region information to FW through CSR registers.
Allocate Qtlb, cmd_q, msg_q, dbg_q from fw_uncached region
instead of shared mem region. Allocate Sec heap also from
fw uncached region instead of its own dedicated region.
CRs-Fixed: 2722486
Change-Id: Ib88b2202ca1b610946c712fcca936b72d4eecd15
Signed-off-by: Pavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Due LX7 cache requirement, buffers need 4K padding at the
end. Allocate accordingly, this is hidden from user mode
driver and umd never uses this extra 4K memory.
CRs-Fixed: 2722486
Change-Id: I3b327ab3615eee30d17c95e23703024ff7446648
Signed-off-by: Pavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Currently, image stride programming in line based mode programs
the unaligned value from io config directly to config register.
If the value coming from user space is not aligned, buf done will
not be seen for that WM. Throw a warning in this case.
Also, LTM Stats port is programmed to be in frame based mode,
change it to line based mode to reflect correct configuration.
CRs-Fixed: 2854696
Change-Id: I71b4e0576dfda7dfe025dbdb81bdb9462b82704a
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
Kernel 5.5+ changed debugfs API's for creating simple dentry variables.
There is now no return value for those API's.
CRs-Fixed: 2835738
Change-Id: Ic5eea63f2e94451e5dfb211cb2b4aa80ce47073a
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>