Currently, the shifted value we are providing to comp mask is
32-bit. The number of output ports have increased beyond 32,
and it requires for the correct bit to be set to report buf
done to context correctly. Extend the mask value calculation
to 64-bit.
CRs-Fixed: 2948116
Change-Id: I70e30fc44c178c04d0e962a31e4c48e3e5a13e75
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
CSIPHY version 2_1_0, secure phy mask is different for csiphy
hw 0/1/2/3 and hw 4/5. This needs to be configure before enabling
secure lanes. This change adds the appropriate version check to
perform this operation.
CRs-Fixed: 3039500
Change-Id: I8e856757886e880a6bf57ed4083ddf99cd325a7a
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
Check if ctx_data is null after assignment but before checking if it's in use.
CRs-Fixed: 3026736
Change-Id: I366383cbd30b7c22c16610d7b73e4e0ad8f74a55
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
Currently, during verification of consumed address, we are not
taking into account the exapanded memory address that newer
targets have. Also, we are using wrong index for fence map
table, leading to supplying same resource handle for copying
buffer of different fence map entry, leading to empty frame.
Add correct comparision for consumed address and supply correct
index for fence map entry.
CRs-Fixed: 2932495
Change-Id: I1743d894ce47a51f2d93dc185865bb47b7655c05
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
Add support for more error codes in the kernel code to
report more errors to user.
CRs-Fixed: 3026930
Change-Id: I430b26c285f1c9fcf0a4d7bb9a618bbbf7bf0662
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
All the paths that are enabled program their RUP/AUP
respectively. At the end of that program MUP as well via
AHB. The change also removes programming MUP for scratch buffers.
CRs-Fixed: 3038703
Change-Id: I3b6b23bb9c6b7644b5943815253b965a40080973
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
CPAS stops during shutdown needs to be done only for the TPGs which has
done the cpas start. This change add the state checks while tpg reset.
CRs-Fixed: 2998830
Change-Id: I4cdd9ec74daa65999ed5094a3c4a4c165b9a1569
Signed-off-by: Tony Lijo Jose <tjose@codeaurora.org>
When pipeline is IFE_Lite and IFE_LITE doesn't define dump_data,
Need to have null check for dump_data.
CRs-Fixed: 2980840
Change-Id: Icb3322b82b265829e4a54271fa30260a00f90175
Signed-off-by: Sujit Das <sujitd@codeaurora.org>
Signed-off-by: Dharmender Sharma <dharshar@codeaurora.org>
Enable the csid long packet and cphy packet capture
feature to log the VC, DT and WC info during the error IRQ.
CRs-fixed: 3029730
Change-Id: I86c3400b58ecd5243d93b0fbbe0d4a38f895320e
Signed-off-by: Jigar Agrawal <jigar@codeaurora.org>
Add support for copying buffers to and from presil in
jpeg.
CRs-Fixed: 2932495
Change-Id: I0ca7069feae3f063259d88f1d02177de9675388a
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
Printk format %pOFfp is used to print node name,
but we just can use this format to print device node
structure.
CRs-Fixed: 3028231
Change-Id: If703b81acb0b85f0eca7d6dc9ebfd875d86e2f3a
Signed-off-by: chengxue <chengxue@codeaurora.org>
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
In notify trigger and if link state isn't ready, it may
print excessive log which causes watchdog bite.
CRs-Fixed: 3031599
Change-Id: I758dcb26d9d110b0ba080e31f87e1fcafc6fd0e8
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
When checking if a request is ready, for pending devices of a
given pipeline delay, update the request pending mask correctly.
This will ensure "Skip frame" log indicates the right devices
missing a request packet.
CRs-Fixed: 3031843
Change-Id: Ib2aff1d0c31cb9425616ff53cadd78a6130206e7
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Notify devices of frame skip when CRM skip a frame,
this is needed by SW frame sync.
CRs-Fixed: 3030315
Change-Id: If99cd976c215fe85c8f9fc600af22a82bb972917
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
Timestamp enable field moved from path config 1
to path config 0 register in CSID 780 HW. This
change will enable global timestamp for CSID 780.
Buff-done IRQ mask is changed and Bits 11 and 12
are reserved in CSID 780. This change will create
the correct buff-done mask for RDI and PD clients.
CRs-Fixed: 2948116
Change-Id: Id239f6e7b360853c2d1ed1155c069d2d44e041e7
Signed-off-by: Chandan Kumar Jha <cjha@codeaurora.org>
In the IRQ controller top half, registers which do not belong to any
event should not be read since they are not going to be processed
further.
Also, issue the global clear after top half processing to accommodate
cases where two controllers share a common global clear and one is
triggered by the other. This change adds support for this by introducing
functions to explicitly define such dependencies.
CRs-Fixed: 2846451
Change-Id: Ie5df596bc3f342550c08f172647ad0cb5ed3f3c7
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
There is a chance of use after release of client data in
cdm internal operation calls. Hence acquire mutex lock whenever
accessing client data to avoid use after release scenario.
CRs-Fixed: 3010261
Change-Id: Iaf7f41d56301299a6f63a5dc1090334063019881
Signed-off-by: Shravya Samala <shravyas@codeaurora.org>
Add YUV format support in ISP driver. This change is
needed to support the requirement of many OEM who
are trying to bring up YUV sensors.
This commit adds support for YUV 422 8 bit and YUV422 10 bit
format using IPP and RDI path.
CRs-Fixed: 3025233
Change-Id: I61c5881bc655451a6aa6aebe6d6bbf520597a473
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>